1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{79742:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],o=t[1];return(r+o)*3/4-o},t.toByteArray=function(e){var t,r,l=c(e),s=l[0],d=l[1],u=new i((s+d)*3/4-d),p=0,f=d>0?s-4:s;for(r=0;r<f;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],u[p++]=t>>16&255,u[p++]=t>>8&255,u[p++]=255&t;return 2===d&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,u[p++]=255&t),1===d&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,u[p++]=t>>8&255,u[p++]=255&t),u},t.fromByteArray=function(e){for(var t,o=e.length,i=o%3,l=[],s=0,d=o-i;s<d;s+=16383)l.push(function(e,t,o){for(var i,l=[],s=t;s<o;s+=3)l.push(r[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return l.join("")}(e,s,s+16383>d?d:s+16383));return 1===i?l.push(r[(t=e[o-1])>>2]+r[t<<4&63]+"=="):2===i&&l.push(r[(t=(e[o-2]<<8)+e[o-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),l.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,d=l.length;s<d;++s)r[s]=l[s],o[l.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var o=r===t?0:4-r%4;return[r,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},48764:function(e,t,r){"use strict";var o=r(79742),i=r(80645),l="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,d.prototype),t}function d(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!d.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|g(e,t),o=s(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}(e,t);if(ArrayBuffer.isView(e))return function(e){if(P(e,Uint8Array)){var t=new Uint8Array(e);return m(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return m(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return d.from(o,t,r);var i=function(e){if(d.isBuffer(e)){var t,r=0|h(e.length),o=s(r);return 0===o.length||e.copy(o,0,0,r),o}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return d.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return u(e),s(e<0?0:0|h(e))}function f(e){for(var t=e.length<0?0:0|h(e.length),r=s(t),o=0;o<t;o+=1)r[o]=255&e[o];return r}function m(e,t,r){var o;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),d.prototype),o}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function g(e,t){if(d.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(e).length;default:if(i)return o?-1:j(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,r){var i,l,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=A[e[l]];return i}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(127&e[i]);return o}(this,t,r);case"latin1":case"binary":return function(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}(this,t,r);case"base64":return i=t,l=r,0===i&&l===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(i,l));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+256*o[l+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function y(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}function b(e,t,r,o,i){var l;if(0===e.length)return -1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(l=r=+r)!=l&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
1else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=d.from(t,o)),d.isBuffer(t))return 0===t.length?-1:x(e,t,r,o,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):x(e,[t],r,o,i);throw TypeError("val must be string, number or Buffer")}function x(e,t,r,o,i){var l,s=1,d=e.length,c=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return -1;s=2,d/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var p=-1;for(l=r;l<d;l++)if(u(e,l)===u(t,-1===p?0:l-p)){if(-1===p&&(p=l),l-p+1===c)return p*s}else -1!==p&&(l-=l-p),p=-1}else for(r+c>d&&(r=d-c),l=r;l>=0;l--){for(var f=!0,m=0;m<c;m++)if(u(e,l+m)!==u(t,m)){f=!1;break}if(f)return l}return -1}function w(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l,s,d,c,u=e[i],p=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(p=u);break;case 2:(192&(l=e[i+1]))==128&&(c=(31&u)<<6|63&l)>127&&(p=c);break;case 3:l=e[i+1],s=e[i+2],(192&l)==128&&(192&s)==128&&(c=(15&u)<<12|(63&l)<<6|63&s)>2047&&(c<55296||c>57343)&&(p=c);break;case 4:l=e[i+1],s=e[i+2],d=e[i+3],(192&l)==128&&(192&s)==128&&(192&d)==128&&(c=(15&u)<<18|(63&l)<<12|(63&s)<<6|63&d)>65535&&c<1114112&&(p=c)}null===p?(p=65533,f=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|1023&p),o.push(p),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=4096));return r}(o)}function k(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function _(e,t,r,o,i,l){if(!d.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw RangeError('"value" argument is out of bounds');if(r+o>e.length)throw RangeError("Index out of range")}function C(e,t,r,o,i,l){if(r+o>e.length||r<0)throw RangeError("Index out of range")}function $(e,t,r,o,l){return t=+t,r>>>=0,l||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,o,23,4),r+4}function S(e,t,r,o,l){return t=+t,r>>>=0,l||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,o,52,8),r+8}t.lW=d,t.h2=50,d.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),d.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(e,t,r){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},d.allocUnsafe=function(e){return p(e)},d.allocUnsafeSlow=function(e){return p(e)},d.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==d.prototype},d.compare=function(e,t){if(P(e,Uint8Array)&&(e=d.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=d.from(t,t.offset,t.byteLength)),!d.isBuffer(e)||!d.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,o=t.length,i=0,l=Math.min(r,o);i<l;++i)if(e[i]!==t[i]){r=e[i],o=t[i];break}return r<o?-1:o<r?1:0},d.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return d.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,o=d.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var l=e[r];if(P(l,Uint8Array))i+l.length>
vendor: 10,107 bytes, line 1
1o.length?d.from(l).copy(o,i):Uint8Array.prototype.set.call(o,l,i);else if(d.isBuffer(l))l.copy(o,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=l.length}return o},d.byteLength=g,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},d.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},d.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},d.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?w(this,0,e):v.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(e){if(!d.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===d.compare(this,e)},d.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},l&&(d.prototype[l]=d.prototype.inspect),d.prototype.compare=function(e,t,r,o,i){if(P(e,Uint8Array)&&(e=d.from(e,e.offset,e.byteLength)),!d.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||r>e.length||o<0||i>this.length)throw RangeError("out of range index");if(o>=i&&t>=r)return 0;if(o>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var l=i-o,s=r-t,c=Math.min(l,s),u=this.slice(o,i),p=e.slice(t,r),f=0;f<c;++f)if(u[f]!==p[f]){l=u[f],s=p[f];break}return l<s?-1:s<l?1:0},d.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},d.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},d.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},d.prototype.write=function(e,t,r,o){if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)o=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,l,s,d,c,u,p,f,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var h=!1;;)switch(o){case"hex":return function(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o))>i&&(o=i):o=i;var l=t.length;o>l/2&&(o=l/2);for(var s=0;s<o;++s){var d=parseInt(t.substr(2*s,2),16);if(d!=d)break;e[r+s]=d}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,l=r,T(j(e,this.length-i),this,i,l);case"ascii":case"latin1":case"binary":return s=t,d=r,T(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,d);case"base64":return c=t,u=r,T(N(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p=t,f=r,T(function(e,t){for(var r,o,i=[],l=0;l<e.length&&!((t-=2)<0);++l)o=(r=e.charCodeAt(l))>>8,i.push(r%256),i.push(o);return i}(e,this.length-p),this,p,f);default:if(h)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),h=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},d.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var o=this.subarray(e,t);return Object.setPrototypeOf(o,d.prototype),o},d.prototype.readUintLE=d.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||k(e,t,this.length);for(var o=this[e],i=1,l=0;++l<t&&(i*=256);)o+=this[e+l]*i;return o},d.prototype.readUintBE=d.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||k(e,t,this.length);for(var o=this[e+--t],i=1;t>0&&(i*=256);)o+=this[e+--t]*i;return o},d.prototype.readUint8=d.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},d.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||k(e,t,this.length);for(var o=this[e],i=1,l=0;++l<t&&(i*=256);)o+=this[e+l]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},d.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||k(e,t,this.length);for(var o=t,i=1,l=this[e+--o];o>0&&(i*=256);)l+=this[e+--o]*i;return l>=(i*=128)&&(l-=Math.pow(2,8*t)),l},d.prototype.readInt8=function(e,t){return(e>>>=0,t||k(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},d.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},d.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},d.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},d.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),i.read(this,e,!0,23,4)},d.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),i.read(this,e,!1,23,4)},d.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),i.read(this,e,!0,52,8)},d.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),i.read(this,e,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var l=1,s=0;for(this[t]=255&e;++s<r&&(l*=256);)this[t+s]=e/l&255;return t+r},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var l=r-1,s=1;for(this[t+l]=255&e;--l>=0&&(s*=256);)this[t+l]=e/s&255;return t+r},d.prototype.writeUint8=d.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,255,0),this[t]=255&e,t+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},d.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var l=0,s=1,d=0;for(this[t]=255&e;++l<r&&(s*=256);)e<0&&0===d&&0!==this[t+l-1]&&(d=1),this[t+l]=(e/s>>0)-d&255;return t+r},d.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var l=r-1,s=1,d=0;for(this[t+l]=255&e;--l>=0&&(s*=256);)e<0&&0===d&&0!==this[t+l+1]&&(d=1),this[t+l]=(e/s>>0)-d&255;return t+r},d.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},d.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},d.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},d.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},d.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},d.prototype.writeFloatLE=function(e,t,r){return $(this,e,t,!0,r)},d.prototype.writeFloatBE=function(e,t,r){return $(this,e,t,!1,r)},d.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},d.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},d.prototype.copy=function(e,t,r,o){if(!d.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);var i=o-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,o):Uint8Array.prototype.set.call(e,this.subarray(r,o),t),i},d.prototype.fill=function(e,t,r,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,r=this.length):"string"==typeof r&&(o=r,r=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!d.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===e.length){var i,l=e.charCodeAt(0);("utf8"===o&&l<128||"latin1"===o)&&(e=l)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=d.isBuffer(e)?e:d.from(e,o),c=s.length;
1if(0===c)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%c]}return this};var E=/[^+/0-9A-Za-z-_]/g;function j(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],s=0;s<o;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return l}function N(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var o=16*r,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()},94184:function(e,t){var r;!function(){"use strict";var o={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var l=typeof r;if("string"===l||"number"===l)e.push(r);else if(Array.isArray(r)){if(r.length){var s=i.apply(null,r);s&&e.push(s)}}else if("object"===l){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var d in r)o.call(r,d)&&r[d]&&e.push(d)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},8679:function(e,t,r){"use strict";var o=r(59864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};function c(e){return o.isMemo(e)?s:d[e.$$typeof]||i}d[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d[o.Memo]=s;var u=Object.defineProperty,p=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,g=Object.prototype;e.exports=function e(t,r,o){if("string"!=typeof r){if(g){var i=h(r);i&&i!==g&&e(t,i,o)}var s=p(r);f&&(s=s.concat(f(r)));for(var d=c(t),v=c(r),y=0;y<s.length;++y){var b=s[y];
1if(!l[b]&&!(o&&o[b])&&!(v&&v[b])&&!(d&&d[b])){var x=m(r,b);try{u(t,b,x)}catch(e){}}}}return t}},80645:function(e,t){t.read=function(e,t,r,o,i){var l,s,d=8*i-o-1,c=(1<<d)-1,u=c>>1,p=-7,f=r?i-1:0,m=r?-1:1,h=e[t+f];for(f+=m,l=h&(1<<-p)-1,h>>=-p,p+=d;p>0;l=256*l+e[t+f],f+=m,p-=8);for(s=l&(1<<-p)-1,l>>=-p,p+=o;p>0;s=256*s+e[t+f],f+=m,p-=8);if(0===l)l=1-u;else{if(l===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,o),l-=u}return(h?-1:1)*s*Math.pow(2,l-o)},t.write=function(e,t,r,o,i,l){var s,d,c,u=8*l-i-1,p=(1<<u)-1,f=p>>1,m=23===i?5960464477539062e-23:0,h=o?0:l-1,g=o?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(d=isNaN(t)?1:0,s=p):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+f>=1?t+=m/c:t+=m*Math.pow(2,1-f),t*c>=2&&(s++,c/=2),s+f>=p?(d=0,s=p):s+f>=1?(d=(t*c-1)*Math.pow(2,i),s+=f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+h]=255&d,h+=g,d/=256,i-=8);for(s=s<<i|d,u+=i;u>0;e[r+h]=255&s,h+=g,s/=256,u-=8);e[r+h-g]|=128*v}},62753:function(e){e.exports=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}},94150:function(e,t,r){e=r.nmd(e);var o,i,l,s="__lodash_hash_undefined__",d=1/0,c="[object Arguments]",u="[object Array]",p="[object Boolean]",f="[object Date]",m="[object Error]",h="[object Function]",g="[object Map]",v="[object Number]",y="[object Object]",b="[object Promise]",x="[object RegExp]",w="[object Set]",k="[object String]",_="[object Symbol]",C="[object WeakMap]",$="[object ArrayBuffer]",S="[object DataView]",E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/,N=/^\./,T=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,A=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R[c]=R[u]=R[$]=R[p]=R[S]=R[f]=R[m]=R[h]=R[g]=R[v]=R[y]=R[x]=R[w]=R[k]=R[C]=!1;var D="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,M="object"==typeof self&&self&&self.Object===Object&&self,L=D||M||Function("return this")(),I=t&&!t.nodeType&&t,F=I&&e&&!e.nodeType&&e,B=F&&F.exports===I&&D.process,V=function(){try{return B&&B.binding("util")}catch(e){}}(),z=V&&V.isTypedArray;function H(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function U(e){var t=-1,r=Array(e.size);return e.forEach(function(e,o){r[++t]=[o,e]}),r}function Z(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var W=Array.prototype,K=Function.prototype,q=Object.prototype,G=L["__core-js_shared__"],J=(o=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"",Y=K.toString,X=q.hasOwnProperty,Q=q.toString,ee=RegExp("^"+Y.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),et=L.Symbol,en=L.Uint8Array,er=q.propertyIsEnumerable,ea=W.splice,eo=(i=Object.keys,l=Object,function(e){return i(l(e))}),ei=eA(L,"DataView"),el=eA(L,"Map"),es=eA(L,"Promise"),ed=eA(L,"Set"),ec=eA(L,"WeakMap"),eu=eA(Object,"create"),ep=eF(ei),ef=eF(el),em=eF(es),eh=eF(ed),eg=eF(ec),ev=et?et.prototype:void 0,ey=ev?ev.valueOf:void 0,eb=ev?ev.toString:void 0;function ex(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function ew(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function ek(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function e_(e){var t=-1,r=e?e.length:0;for(this.__data__=new ek;++t<r;)this.add(e[t])}function eC(e){this.__data__=new ew(e)}function e$(e,t){for(var r=e.length;r--;)if(eV(e[r][0],t))return r;return -1}ex.prototype.clear=function(){this.__data__=eu?eu(null):{}},ex.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ex.prototype.get=function(e){var t=this.__data__;if(eu){var r=t[e];return r===s?void 0:r}return X.call(t,e)?t[e]:void 0},ex.prototype.has=function(e){var t=this.__data__;return eu?void 0!==t[e]:X.call(t,e)},ex.prototype.set=function(e,t){return this.__data__[e]=eu&&void 0===t?s:t,this},ew.prototype.clear=function(){this.__data__=[]},ew.prototype.delete=function(e){var t=this.__data__,r=e$(t,e);return!(r<0)&&(r==t.length-1?t.pop():ea.call(t,r,1),!0)},ew.prototype.get=function(e){var t=this.__data__,r=e$(t,e);return r<0?void 0:t[r][1]},ew.prototype.has=function(e){return e$(this.__data__,e)>-1},ew.prototype.set=function(e,t){var r=this.__data__,o=e$(r,e);return o<0?r.push([e,t]):r[o][1]=t,this},ek.prototype.clear=function(){this.__data__={hash:new ex,map:new(el||ew),string:new ex}},ek.prototype.delete=function(e){return eP(this,e).delete(e)},ek.prototype.get=function(e){return eP(this,e).get(e)},ek.prototype.has=function(e){return eP(this,e).has(e)},ek.prototype.set=function(e,t){return eP(this,e).set(e,t),this},e_.prototype.add=e_.prototype.push=function(e){return this.__data__.set(e,s),this},e_.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.clear=function(){this.__data__=new ew},eC.prototype.delete=function(e){return this.__data__.delete(e)},eC.prototype.get=function(e){return this.__data__.get(e)},eC.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ew){var o=r.__data__;if(!el||o.length<199)return o.push([e,t]),this;r=this.__data__=new ek(o)}return r.set(e,t),this};var eS=function(e,t,r){for(var o=-1,i=Object(e),l=r(e),s=l.length;s--;){var d=l[++o];if(!1===t(i[d],d,i))break}return e};function eE(e,t){var r;t=eD(t,e)?[t]:eH(r=t)?r:eL(r);for(var o=0,i=t.length;null!=e&&o<i;
1)e=e[eI(t[o++])];return o&&o==i?e:void 0}function ej(e,t){return null!=e&&t in Object(e)}function eN(e,t,r,o,i){return e===t||(null!=e&&null!=t&&(eK(e)||eq(t))?function(e,t,r,o,i,l){var s=eH(e),d=eH(t),h=u,b=u;s||(h=(h=eO(e))==c?y:h),d||(b=(b=eO(t))==c?y:b);var C=h==y&&!H(e),E=b==y&&!H(t),j=h==b;if(j&&!C)return l||(l=new eC),s||eJ(e)?eT(e,t,r,o,i,l):function(e,t,r,o,i,l,s){switch(r){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case $:if(e.byteLength!=t.byteLength||!o(new en(e),new en(t)))break;return!0;case p:case f:case v:return eV(+e,+t);case m:return e.name==t.name&&e.message==t.message;case x:case k:return e==t+"";case g:var d=U;case w:var c=2&l;if(d||(d=Z),e.size!=t.size&&!c)break;var u=s.get(e);if(u)return u==t;l|=1,s.set(e,t);var h=eT(d(e),d(t),o,i,l,s);return s.delete(e),h;case _:if(ey)return ey.call(e)==ey.call(t)}return!1}(e,t,h,r,o,i,l);if(!(2&i)){var N=C&&X.call(e,"__wrapped__"),T=E&&X.call(t,"__wrapped__");if(N||T){var P=N?e.value():e,A=T?t.value():t;return l||(l=new eC),r(P,A,o,i,l)}}return!!j&&(l||(l=new eC),function(e,t,r,o,i,l){var s=2&i,d=eY(e),c=d.length;if(c!=eY(t).length&&!s)return!1;for(var u=c;u--;){var p=d[u];if(!(s?p in t:X.call(t,p)))return!1}var f=l.get(e);if(f&&l.get(t))return f==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++u<c;){var g=e[p=d[u]],v=t[p];if(o)var y=s?o(v,g,p,t,e,l):o(g,v,p,e,t,l);if(!(void 0===y?g===v||r(g,v,o,i,l):y)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x)&&(m=!1)}return l.delete(e),l.delete(t),m}(e,t,r,o,i,l))}(e,t,eN,r,o,i):e!=e&&t!=t)}function eT(e,t,r,o,i,l){var s=2&i,d=e.length,c=t.length;if(d!=c&&!(s&&c>d))return!1;var u=l.get(e);if(u&&l.get(t))return u==t;var p=-1,f=!0,m=1&i?new e_:void 0;for(l.set(e,t),l.set(t,e);++p<d;){var h=e[p],g=t[p];if(o)var v=s?o(g,h,p,t,e,l):o(h,g,p,e,t,l);if(void 0!==v){if(v)continue;f=!1;break}if(m){if(!function(e,t){for(var r=-1,o=e?e.length:0;++r<o;)if(t(e[r],r,e))return!0;return!1}(t,function(e,t){if(!m.has(t)&&(h===e||r(h,e,o,i,l)))return m.add(t)})){f=!1;break}}else if(!(h===g||r(h,g,o,i,l))){f=!1;break}}return l.delete(e),l.delete(t),f}function eP(e,t){var r,o=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function eA(e,t){var r=null==e?void 0:e[t];return!(!eK(r)||J&&J in r)&&(eZ(r)||H(r)?ee:A).test(eF(r))?r:void 0}var eO=function(e){return Q.call(e)};function eR(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||O.test(e))&&e>-1&&e%1==0&&e<t}function eD(e,t){if(eH(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||eG(e))||j.test(e)||!E.test(e)||null!=t&&e in Object(t)}function eM(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}(ei&&eO(new ei(new ArrayBuffer(1)))!=S||el&&eO(new el)!=g||es&&eO(es.resolve())!=b||ed&&eO(new ed)!=w||ec&&eO(new ec)!=C)&&(eO=function(e){var t=Q.call(e),r=t==y?e.constructor:void 0,o=r?eF(r):void 0;if(o)switch(o){case ep:return S;case ef:return g;case em:return b;case eh:return w;case eg:return C}return t});var eL=eB(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(eG(e))return eb?eb.call(e):"";var t=e+"";return"0"==t&&1/e==-d?"-0":t}(t);var t,r=[];return N.test(e)&&r.push(""),e.replace(T,function(e,t,o,i){r.push(o?i.replace(P,"$1"):t||e)}),r});function eI(e){if("string"==typeof e||eG(e))return e;var t=e+"";return"0"==t&&1/e==-d?"-0":t}function eF(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eB(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=r.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return r.cache=l.set(i,s),s};return r.cache=new(eB.Cache||ek),r}function eV(e,t){return e===t||e!=e&&t!=t}function ez(e){return eq(e)&&eU(e)&&X.call(e,"callee")&&(!er.call(e,"callee")||Q.call(e)==c)}eB.Cache=ek;var eH=Array.isArray;function eU(e){return null!=e&&eW(e.length)&&!eZ(e)}function eZ(e){var t=eK(e)?Q.call(e):"";return t==h||"[object GeneratorFunction]"==t}function eW(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function eK(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eq(e){return!!e&&"object"==typeof e}function eG(e){return"symbol"==typeof e||eq(e)&&Q.call(e)==_}var eJ=z?function(e){return z(e)}:function(e){return eq(e)&&eW(e.length)&&!!R[Q.call(e)]};function eY(e){return eU(e)?function(e,t){var r=eH(e)||ez(e)?function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}(e.length,String):[],o=r.length,i=!!o;for(var l in e)X.call(e,l)&&!(i&&("length"==l||eR(l,o)))&&r.push(l);return r}(e):function(e){if(t=e&&e.constructor,e!==("function"==typeof t&&t.prototype||q))return eo(e);var t,r=[];
1for(var o in Object(e))X.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function eX(e){return e}e.exports=function(e,t){var r,o,i,l,s,d,c,u,p={};return t="function"==typeof(c=t)?c:null==c?eX:"object"==typeof c?eH(c)?(i=c[0],l=c[1],eD(i)&&(s=l)==s&&!eK(s)?eM(eI(i),l):function(e){var t,r=void 0===(t=null==e?void 0:eE(e,i))?void 0:t;return void 0===r&&r===l?null!=e&&function(e,t,r){t=eD(t,e)?[t]:eH(o=t)?o:eL(o);for(var o,i,l=-1,s=t.length;++l<s;){var d=eI(t[l]);if(!(i=null!=e&&r(e,d)))break;e=e[d]}if(i)return i;var s=e?e.length:0;return!!s&&eW(s)&&eR(d,s)&&(eH(e)||ez(e))}(e,i,ej):eN(l,r,void 0,3)}):1==(d=function(e){for(var t=eY(e),r=t.length;r--;){var o=t[r],i=e[o];t[r]=[o,i,i==i&&!eK(i)]}return t}(c)).length&&d[0][2]?eM(d[0][0],d[0][1]):function(e){return e===c||function(e,t,r,o){var i=r.length,l=i;if(null==e)return!l;for(e=Object(e);i--;){var s=r[i];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var d=(s=r[i])[0],c=e[d],u=s[1];if(s[2]){if(void 0===c&&!(d in e))return!1}else{var p,f=new eC;if(!(void 0===p?eN(u,c,void 0,3,f):p))return!1}}return!0}(e,0,d)}:eD(r=c)?(o=eI(r),function(e){return null==e?void 0:e[o]}):function(e){return eE(e,r)},u=function(e,r,o){p[r]=t(e,r,o)},e&&eS(e,u,eY),p}},83454:function(e,t,r){"use strict";var o,i;e.exports=(null==(o=r.g.process)?void 0:o.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(77663)},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(60070)}])},91997:function(e,t,r){"use strict";r.d(t,{b:function(){return l}});var o=r(67294);let i=(0,o.createContext)({trustpilotReviews:[],googleReviews:[],infoMeetings:[],lcc:null,referralId:null,locale:null,blogTags:[],locations:{},referralInfo:null}),l=()=>(0,o.useContext)(i);t.Z=i},89754:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}}),"function"==typeof SuppressedError&&SuppressedError;var o,i,l,s=r(67294),d=function(e){var t=(0,s.useRef)(e);return t.current=e,t},c=function(e){return"function"==typeof e},u=!!window.document&&!!window.document.createElement;function p(e,t){return u?e?c(e)?e():"current"in e?e.current:e:t:void 0}var f=function(e){var t=d(e);(0,s.useEffect)(function(){return function(){t.current()}},[])};function m(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}var h=(o=s.useEffect,function(e,t,r){var i=(0,s.useRef)(!1),l=(0,s.useRef)([]),d=(0,s.useRef)([]),c=(0,s.useRef)();o(function(){var o,s=(Array.isArray(r)?r:[r]).map(function(e){return p(e)});if(!i.current){i.current=!0,l.current=s,d.current=t,c.current=e();return}s.length===l.current.length&&m(l.current,s)&&m(d.current,t)||(null===(o=c.current)||void 0===o||o.call(c),l.current=s,d.current=t,c.current=e())}),f(function(){var e;null===(e=c.current)||void 0===e||e.call(c),i.current=!1})}),g=function(e,t,r){void 0===r&&(r={});var o=r.enable,i=void 0===o||o,l=d(t);h(function(){if(i){var t=p(r.target,window);if(null==t?void 0:t.addEventListener){var o=function(e){return l.current(e)},s=Array.isArray(e)?e:[e];return s.forEach(function(e){t.addEventListener(e,o,{capture:r.capture,once:r.once,passive:r.passive})}),function(){s.forEach(function(e){t.removeEventListener(e,o,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)},v=function(e){var t=(0,s.useRef)(e);t.current=(0,s.useMemo)(function(){return e},[e]);var r=(0,s.useRef)();return r.current||(r.current=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.current.apply(this,e)}),r.current},y=(i=s.useEffect,function(e,t){var r=(0,s.useRef)(!1);i(function(){return function(){r.current=!1}},[]),i(function(){if(r.current)return e();r.current=!0},t)}),b="AHOOKS_SYNC_STORAGE_EVENT_NAME",x=(l=function(){return u?localStorage:void 0},function(e,t){void 0===t&&(t={});var r,o=t.listenStorageChange,i=void 0!==o&&o,d=t.onError,u=void 0===d?function(e){console.error(e)}:d;try{r=l()}catch(e){u(e)}function p(){try{var o=null==r?void 0:r.getItem(e);if(o)return t.deserializer?t.deserializer(o):JSON.parse(o)}catch(e){u(e)}return c(t.defaultValue)?t.defaultValue():t.defaultValue}var f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,l=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=l.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}return s}
1((0,s.useState)(p),2),m=f[0],h=f[1];y(function(){h(p())},[e]);var x=function(t){t.key===e&&t.storageArea===r&&h(p())};return g("storage",x,{enable:i}),g(b,function(e){x(e.detail)},{enable:i}),[m,v(function(o){var l=c(o)?o(m):o;i||h(l);try{var s=void 0,d=null==r?void 0:r.getItem(e);void 0===l?(s=null,null==r||r.removeItem(e)):(s=t.serializer?t.serializer(l):JSON.stringify(l),null==r||r.setItem(e,s)),dispatchEvent(new CustomEvent(b,{detail:{key:e,newValue:s,oldValue:d,storageArea:r}}))}catch(e){u(e)}})]})},38199:function(e,t){"use strict";var r,o,i,l;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return f},ACTION_NAVIGATE:function(){return d},ACTION_PREFETCH:function(){return p},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return c},ACTION_SERVER_ACTION:function(){return m},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return o},PrefetchKind:function(){return r},isThenable:function(){return h}});let s="refresh",d="navigate",c="restore",u="server-patch",p="prefetch",f="fast-refresh",m="server-action";function h(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=r||(r={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(l=o||(o={})).fresh="fresh",l.reusable="reusable",l.expired="expired",l.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87195:function(e,t,r){"use strict";function o(e,t,r,o){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),r(98337),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74080:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let o=r(10260),i=r(77697),l=r(85893),s=i._(r(67294)),d=o._(r(73935)),c=o._(r(23867)),u=r(35283),p=r(96594),f=r(23945);r(83179);let m=r(81928),h=o._(r(13872)),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function v(e,t,r,o,i,l,s){let d=null==e?void 0:e.src;e&&e["data-loaded-src"]!==d&&(e["data-loaded-src"]=d,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let o=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>o,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{o=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}}))}function y(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}let b=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:o,sizes:i,height:d,width:c,decoding:u,className:p,style:f,fetchPriority:m,placeholder:h,loading:g,unoptimized:b,fill:x,onLoadRef:w,onLoadingCompleteRef:k,setBlurComplete:_,setShowAltText:C,sizesInput:$,onLoad:S,onError:E,...j}=e;return(0,l.jsx)("img",{...j,...y(m),loading:g,width:c,height:d,decoding:u,"data-nimg":x?"fill":"1",className:p,style:f,sizes:i,srcSet:o,src:r,ref:(0,s.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(E&&(e.src=e.src),e.complete&&v(e,h,w,k,_,b,$))},[r,h,w,k,_,E,b,$,t]),onLoad:e=>{v(e.currentTarget,h,w,k,_,b,$)},onError:e=>{C(!0),"empty"!==h&&_(!0),E&&E(e)}})});function x(e){let{isAppRouter:t,imgAttributes:r}=e,o={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&d.default.preload?(d.default.preload(r.src,o),null):(0,l.jsx)(c.default,{children:(0,l.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...o},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(m.RouterContext),o=(0,s.useContext)(f.ImageConfigContext),i=(0,s.useMemo)(()=>{var e;let t=g||o||p.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),i=t.deviceSizes.sort((e,t)=>e-t),l=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:l}},[o]),{onLoad:d,onLoadingComplete:c}=e,v=(0,s.useRef)(d);(0,s.useEffect)(()=>{v.current=d},[d]);let y=(0,s.useRef)(c);(0,s.useEffect)(()=>{y.current=c},[c]);let[w,k]=(0,s.useState)(!1),[_,C]=(0,s.useState)(!1),{props:$,meta:S}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:w,showAltText:_});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(b,{...$,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:v,onLoadingCompleteRef:y,setBlurComplete:k,setShowAltText:C,sizesInput:e.sizes,ref:t}),S.priority?(0,l.jsx)(x,{isAppRouter:!r,imgAttributes:$}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});let o=r(10260),i=r(85893),l=o._(r(67294)),s=r(36075),d=r(53955),c=r(48041),u=r(99903),p=r(65490),f=r(81928),m=r(60257),h=r(84229),g=r(87195),v=r(89470),y=r(38199),b=new Set;function x(e,t,r,o,i,l){if(l||(0,d.isLocalURL)(t)){if(!o.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==o.locale?o.locale:"locale"in e?e.locale:void 0);if(b.has(i))return;b.add(i)}(async()=>l?e.prefetch(t,i):e.prefetch(t,r,o))().catch(e=>{})}}function w(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let k=l.default.forwardRef(function(e,t){let r,o;let{href:c,as:b,children:k,prefetch:_=null,passHref:C,replace:$,shallow:S,scroll:E,locale:j,onClick:N,onMouseEnter:T,onTouchStart:P,legacyBehavior:A=!1,...O}=e;r=k,A&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let R=l.default.useContext(f.RouterContext),D=l.default.useContext(m.AppRouterContext),M=null!=R?R:D,L=!R,I=!1!==_,F=null===_?y.PrefetchKind.AUTO:y.PrefetchKind.FULL,{href:B,as:V}=l.default.useMemo(()=>{if(!R){let e=w(c);return{href:e,as:b?w(b):e}}let[e,t]=(0,s.resolveHref)(R,c,!0);return{href:e,as:b?(0,s.resolveHref)(R,b):t||e}},[R,c,b]),z=l.default.useRef(B),H=l.default.useRef(V);A&&(o=l.default.Children.only(r));let U=A?o&&"object"==typeof o&&o.ref:t,[Z,W,K]=(0,h.useIntersection)({rootMargin:"200px"}),q=l.default.useCallback(e=>{(H.current!==V||z.current!==B)&&(K(),H.current=V,z.current=B),Z(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[V,U,B,K,Z]);l.default.useEffect(()=>{M&&W&&I&&x(M,B,V,{locale:j},{kind:F},L)},[V,B,W,j,I,null==R?void 0:R.locale,M,L,F]);let G={ref:q,onClick(e){A||"function"!=typeof N||N(e),A&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),M&&!e.defaultPrevented&&function(e,t,r,o,i,s,c,u,p){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!p&&!(0,d.isLocalURL)(r)))return;e.preventDefault();let m=()=>{let e=null==c||c;"beforePopState"in t?t[i?"replace":"push"](r,o,{shallow:s,locale:u,scroll:e}):t[i?"replace":"push"](o||r,{scroll:e})};p?l.default.startTransition(m):m()}(e,M,B,V,$,S,E,j,L)},onMouseEnter(e){A||"function"!=typeof T||T(e),A&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),M&&(I||!L)&&x(M,B,V,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:F},L)},onTouchStart:function(e){A||"function"!=typeof P||P(e),A&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),M&&(I||!L)&&x(M,B,V,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:F},L)}};if((0,u.isAbsoluteUrl)(V))G.href=V;else if(!A||C||"a"===o.type&&!("href"in o.props)){let e=void 0!==j?j:null==R?void 0:R.locale,t=(null==R?void 0:R.isLocaleDomain)&&(0,g.getDomainLocale)(V,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales);G.href=t||(0,v.addBasePath)((0,p.addLocale)(V,e,null==R?void 0:R.defaultLocale))}return A?l.default.cloneElement(o,G):(0,i.jsx)("a",{...O,...G,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84229:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let o=r(67294),i=r(84474),l="function"==typeof IntersectionObserver,s=new Map,d=[];function c(e){let{rootRef:t,rootMargin:r,disabled:c}=e,u=c||!l,[p,f]=(0,o.useState)(!1),m=(0,o.useRef)(null),h=(0,o.useCallback)(e=>{m.current=e},[]);return(0,o.useEffect)(()=>{if(l){if(u||p)return;let e=m.current;if(e&&e.tagName)return function(e,t,r){let{id:o,observer:i,elements:l}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},o=d.find(e=>e.root===r.root&&e.margin===r.margin);if(o&&(t=s.get(o)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},d.push(r),s.set(r,t),t}(r);return l.set(e,t),i.observe(e),function(){if(l.delete(e),i.unobserve(e),0===l.size){i.disconnect(),s.delete(o);let e=d.findIndex(e=>e.root===o.root&&e.margin===o.margin);e>-1&&d.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!p){let e=(0,i.requestIdleCallback)(()=>f(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,r,t,p,m.current]),[h,p,(0,o.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},32602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return d},noSSR:function(){return s}});let o=r(10260);r(85893),r(67294);let i=o._(r(35491));function l(e){return{default:(null==e?void 0:e.default)||e}}function s(e,t){return delete t.webpack,delete t.modules,e(t)}function d(e,t){let r=i.default,o={loading:e=>{let{error:t,isLoading:r,pastDelay:o}=e;return null}};e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o={...o,...e});let d=(o={...o,...t}).loader;return(o.loadableGenerated&&(o={...o,...o.loadableGenerated},delete o.loadableGenerated),"boolean"!=typeof o.ssr||o.ssr)?r({...o,loader:()=>null!=d?d().then(l):Promise.resolve(l(()=>null))}):(delete o.webpack,delete o.modules,s(r,o))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35283:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return d}}),r(83179);let o=r(96630),i=r(96594);function l(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d(e,t){var r,d;let c,u,p,{src:f,sizes:m,unoptimized:h=!1,priority:g=!1,loading:v,className:y,quality:b,width:x,height:w,fill:k=!1,style:_,overrideSrc:C,onLoad:$,onLoadingComplete:S,placeholder:E="empty",blurDataURL:j,fetchPriority:N,decoding:T="async",layout:P,objectFit:A,objectPosition:O,lazyBoundary:R,lazyRoot:D,...M}=e,{imgConf:L,showAltText:I,blurComplete:F,defaultLoader:B}=t,V=L||i.imageConfigDefault;if("allSizes"in V)c=V;else{let e=[...V.deviceSizes,...V.imageSizes].sort((e,t)=>e-t),t=V.deviceSizes.sort((e,t)=>e-t),o=null==(r=V.qualities)?void 0:r.sort((e,t)=>e-t);c={...V,allSizes:e,deviceSizes:t,qualities:o}}if(void 0===B)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let z=M.loader||B;delete M.loader,delete M.srcSet;let H="__next_img_default"in z;if(H){if("custom"===c.loader)throw Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=z;z=t=>{let{config:r,...o}=t;return e(o)}}if(P){"fill"===P&&(k=!0);
1let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(_={..._,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!m&&(m=t)}let U="",Z=s(x),W=s(w);if("object"==typeof(d=f)&&(l(d)||void 0!==d.src)){let e=l(f)?f.default:f;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(u=e.blurWidth,p=e.blurHeight,j=j||e.blurDataURL,U=e.src,!k){if(Z||W){if(Z&&!W){let t=Z/e.width;W=Math.round(e.height*t)}else if(!Z&&W){let t=W/e.height;Z=Math.round(e.width*t)}}else Z=e.width,W=e.height}}let K=!g&&("lazy"===v||void 0===v);(!(f="string"==typeof f?f:U)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,K=!1),c.unoptimized&&(h=!0),H&&f.endsWith(".svg")&&!c.dangerouslyAllowSVG&&(h=!0),g&&(N="high");let q=s(b),G=Object.assign(k?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:O}:{},I?{}:{color:"transparent"},_),J=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,o.getImageBlurSvg)({widthInt:Z,heightInt:W,blurWidth:u,blurHeight:p,blurDataURL:j||"",objectFit:G.objectFit})+'")':'url("'+E+'")',Y=J?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},X=function(e){let{config:t,src:r,unoptimized:o,width:i,quality:l,sizes:s,loader:d}=e;if(o)return{src:r,srcSet:void 0,sizes:void 0};let{widths:c,kind:u}=function(e,t,r){let{deviceSizes:o,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let o;o=e.exec(r);o)t.push(parseInt(o[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=o[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:o,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,s),p=c.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:c.map((e,o)=>d({config:t,src:r,quality:l,width:e})+" "+("w"===u?e:o+1)+u).join(", "),src:d({config:t,src:r,quality:l,width:c[p]})}}({config:c,src:f,unoptimized:h,width:Z,quality:q,sizes:m,loader:z});return{props:{...M,loading:K?"lazy":v,fetchPriority:N,width:Z,height:W,decoding:T,className:y,style:{...G,...Y},sizes:X.sizes,srcSet:X.srcSet,src:C||X.src},meta:{unoptimized:h,priority:g,placeholder:E,fill:k}}}},96630:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:o,blurHeight:i,blurDataURL:l,objectFit:s}=e,d=o?40*o:t,c=i?40*i:r,u=d&&c?"viewBox='0 0 "+d+" "+c+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},76210:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},getImageProps:function(){return d}});let o=r(10260),i=r(35283),l=r(74080),s=o._(r(13872));function d(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=l.Image},13872:function(e,t){"use strict";function r(e){var t;let{config:r,src:o,width:i,quality:l}=e,s=l||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>
1Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(o)+"&w="+i+"&q="+s}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r.__next_img_default=!0;let o=r},1159:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let o=r(10260)._(r(67294)).default.createContext(null)},35491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let o=r(10260)._(r(67294)),i=r(1159),l=[],s=[],d=!1;function c(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function p(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function c(){if(!l){let t=new u(e,r);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if(!d){let e=r.webpack?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(t.includes(r))return c()})}function p(e,t){!function(){c();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let s=o.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),o.default.useMemo(()=>{var t;return s.loading||s.error?o.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:l.retry}):s.loaded?o.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return p.preload=()=>c(),p.displayName="LoadableComponent",o.default.forwardRef(p)}(c,e)}function f(e,t){let r=[];for(;e.length;){let o=e.pop();r.push(o(t))}return Promise.all(r).then(()=>{if(e.length)return f(e,t)})}p.preloadAll=()=>new Promise((e,t)=>{f(l).then(e,t)}),p.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(d=!0,t());f(s,e).then(r,r)})),window.__NEXT_PRELOADREADY=p.preloadReady;let m=p},60070:function(e,t,r){"use strict";let o,i,l,s,d,c,u,p,f,m,h,g,v,y,b,x;r.r(t),r.d(t,{default:function(){return eeV}});var w,k,_,C,$,S,E,j,N,T,P,A,O,R={};r.r(R),r.d(R,{addListener:function(){return na},arch:function(){return ne},argv:function(){return no},binding:function(){return t0},browser:function(){return tX},chdir:function(){return ni},cwd:function(){return nl},default:function(){return nr},dlopen:function(){return t6},emit:function(){return ns},emitWarning:function(){return tQ},env:function(){return nd},execArgv:function(){return nn},execPath:function(){return nt},exit:function(){return t1},features:function(){return t3},kill:function(){return t4},listeners:function(){return nc},memoryUsage:function(){return t9},nextTick:function(){return nu},off:function(){return np},on:function(){return nf},once:function(){return nm},pid:function(){return t2},platform:function(){return t7}
1,prependListener:function(){return nh},prependOnceListener:function(){return ng},removeAllListeners:function(){return nv},removeListener:function(){return ny},title:function(){return nb},umask:function(){return nx},uptime:function(){return t8},uvCounters:function(){return t5},version:function(){return nw},versions:function(){return nk}});var D=r(85893),M=r(5152),L=r.n(M),I=r(67294),F=r(48399),B=r(4382);let V=(e,t)=>(0,I.useMemo)(()=>(0,B.tv)(t?(0,B.RH)(e,t):e),[e,t]),z=(0,B.c6)({slots:{root:"left-0 right-0 top-0 z-40 flex max-h-screen flex-col"},variants:{isVisible:{true:{root:"opacity-1 translate-y-0 transition-[transform,opacity]"},false:{root:"-translate-y-full opacity-0"}},isTopScreen:{true:{root:"opacity-1 relative translate-y-0 animate-none"},false:{root:"fixed"}},staticHeader:{true:{root:"transition-none"}},showMenu:{true:{root:"top-[--offset-top] max-lg:fixed max-lg:bottom-0 lg:top-0"}},animateHideHeader:{true:{root:"transition-[transform,opacity]"}},variant:{extended:{},condensed:{}}},compoundVariants:[{isTopScreen:!1,isVisible:!0,variant:"extended",class:{root:"lg:-translate-y-[92px]"}},{isTopScreen:!1,isVisible:!0,class:{root:"shadow-dark-m-20 max-lg:group-has-[.ef-navigation-bar]/layout:shadow-none lg:group-has-[.ef-utility-bar:not([data-stick-on-scroll])]/root:-translate-y-8"}}]}),H=(0,B.c6)({slots:{root:"group/root mono:border-b-system-stroke-mono mono:border-b",wrapper:""},variants:{position:{fixed:{root:"pt-[--header-height]"},relative:{}},isTopScreen:{true:{root:"max-lg:has-[[data-menu-open=true]]:pt-[--header-height]"}}}}),U={};function Z(e){return"function"==typeof e.write}function W(e){return"v"in e||"e"in e}function K(e){if("e"in e)throw e.e;if((U?"production":void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}function q(e){return"function"==typeof(null==e?void 0:e.then)}function G(e,t,r){if(!r.p.has(e)){r.p.add(e);let o=()=>r.p.delete(e);t.then(o,o)}}function J(e,t,r){let o=r.get(e),i=null==o?void 0:o.t,l=t.p;if(!(null!=i&&i.size))return l;if(!l.size)return i;let s=new Set(i);for(let e of l)s.add(e);return s}let Y=(e,t,r,...o)=>r.read(...o),X=(e,t,r,...o)=>r.write(...o),Q=(e,t,r)=>r.INTERNAL_onInit(t),ee=(e,t,r,o)=>{var i;return null==(i=r.onMount)?void 0:i.call(r,o)},et=(e,t,r)=>{var o;let i=e[0],l=i.get(r);if(!l){let s=e[6],d=e[9];l={d:new Map,p:new Set,n:0},i.set(r,l),null==(o=s.i)||o.call(s,r),r.INTERNAL_onInit&&d(e,t,r)}return l},en=(e,t)=>{var r;let o=e[1],i=e[3],l=e[4],s=e[5],d=e[6],c=e[13];if(!d.f&&!i.size&&!l.size&&!s.size)return;let u=[],p=e=>{try{e()}catch(e){u.push(e)}};do{d.f&&p(d.f);let u=new Set;for(let e of i){let t=null==(r=o.get(e))?void 0:r.l;if(t)for(let e of t)u.add(e)}for(let e of(i.clear(),s))u.add(e);for(let e of(s.clear(),l))u.add(e);for(let e of(l.clear(),u))p(e);i.size&&c(e,t)}while(i.size||s.size||l.size);if(u.length)throw AggregateError(u)},er=(e,t)=>{let r=e[1],o=e[2],i=e[3],l=e[11],s=e[14],d=e[17];if(!i.size)return;let c=[],u=[],p=new WeakSet,f=new WeakSet,m=[],h=[];for(let r of i)m.push(r),h.push(l(e,t,r));for(;m.length;){let i=m.length-1,s=m[i],d=h[i];if(f.has(s)){m.pop(),h.pop();continue}if(p.has(s)){if(o.get(s)===d.n)c.push(s),u.push(d);else if((U?"production":void 0)!=="production"&&o.has(s))throw Error("[Bug] invalidated atom exists");f.add(s),m.pop(),h.pop();continue}for(let o of(p.add(s),J(s,d,r)))p.has(o)||(m.push(o),h.push(l(e,t,o)))}for(let r=c.length-1;r>=0;--r){let l=c[r],p=u[r],f=!1;for(let e of p.d.keys())if(e!==l&&i.has(e)){f=!0;break}f&&(o.set(l,p.n),s(e,t,l),d(e,t,l)),o.delete(l)}},ea=new WeakSet,eo=(e,t,r)=>{var o,i;let l,s;let d=e[1],c=e[2],u=e[3],p=e[6],f=e[7],m=e[11],h=e[12],g=e[13],v=e[14],y=e[16],b=e[17],x=e[20],w=e[26],k=e[28],_=m(e,t,r),C=k[0];if(W(_)){if(d.has(r)&&c.get(r)!==_.n||_.m===C)return _.m=C,_;let o=!1;for(let[r,i]of _.d)if(v(e,t,r).n!==i){o=!0;break}if(!o)return _.m=C,_}let $=!0,S=new Set(_.d.keys()),E=()=>{for(let e of S)_.d.delete(e)},j=()=>{if(d.has(r)){let o=!u.size;b(e,t,r),o&&(g(e,t),h(e,t))}},N=_.n,T=c.get(r)===N;try{(U?"production":void 0)!=="production"&&ea.delete(t);let i=f(e,t,r,o=>{var i;if(o===r){let r=m(e,t,o);if(!W(r)){if("init"in o)x(e,t,o,o.init);else throw Error("no atom init")}return K(r)}let l=v(e,t,o);try{return K(l)}finally{S.delete(o),_.d.set(o,l.n),q(_.v)&&G(r,_.v,l),d.has(r)&&(null==(i=d.get(o))||i.t.add(r)),$||j()}},{get signal(){return l||(l=new AbortController),l.signal},get setSelf(){return(U?"production":void 0)!=="production"&&console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),(U?"production":void 0)==="production"||Z(r)||console.warn("setSelf function cannot be used with read-only atom"),
1!s&&Z(r)&&(s=(...o)=>{if((U?"production":void 0)!=="production"&&$&&console.warn("setSelf function cannot be called in sync"),!$)try{return y(e,t,r,o)}finally{g(e,t),h(e,t)}}),s}});if((U?"production":void 0)!=="production"&&ea.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),x(e,t,r,i),q(i)){w(e,t,i,()=>null==l?void 0:l.abort());let r=()=>{E(),j()};i.then(r,r)}else E();return null==(o=p.r)||o.call(p,r),_.m=C,_}catch(e){if(function(e){if(!(e instanceof Error))return!1;let t=e.name,r=e.message.toLowerCase();return("RangeError"===t||"InternalError"===t)&&(r.includes("call stack")||r.includes("too much recursion")||r.includes("stack overflow"))}(e))throw e;return delete _.v,_.e=e,++_.n,_.m=C,_}finally{$=!1,_.n!==N&&T&&(c.set(r,_.n),u.add(r),null==(i=p.c)||i.call(p,r))}},ei=(e,t,r)=>{let o=e[1],i=e[2],l=e[11],s=[r];for(;s.length;){let r=s.pop(),d=l(e,t,r);for(let c of J(r,d,o)){let r=l(e,t,c);i.get(c)!==r.n&&(i.set(c,r.n),s.push(c))}}},el=(e,t,r,o)=>{let i=e[3],l=e[6],s=e[8],d=e[11],c=e[12],u=e[13],p=e[14],f=e[15],m=e[16],h=e[17],g=e[20],v=e[28],y=!0;try{return s(e,t,r,r=>K(p(e,t,r)),(o,...s)=>{var p;let b=d(e,t,o);try{if(o!==r)return m(e,t,o,s);{if(!("init"in o))throw Error("atom not writable");(U?"production":void 0)!=="production"&&ea.add(t);let r=b.n,d=s[0];g(e,t,o,d),h(e,t,o),r!==b.n&&(++v[0],i.add(o),f(e,t,o),null==(p=l.c)||p.call(l,o));return}}finally{y||(u(e,t),c(e,t))}},...o)}finally{y=!1}},es=(e,t,r)=>{var o;let i=e[1],l=e[3],s=e[6],d=e[11],c=e[15],u=e[18],p=e[19],f=d(e,t,r),m=i.get(r);if(m&&f.d.size>0){for(let[i,p]of f.d)if(!m.d.has(i)){let f=d(e,t,i);u(e,t,i).t.add(r),m.d.add(i),p!==f.n&&(l.add(i),c(e,t,i),null==(o=s.c)||o.call(s,i))}for(let o of m.d)if(!f.d.has(o)){m.d.delete(o);let i=p(e,t,o);null==i||i.t.delete(r)}}},ed=(e,t,r)=>{var o;let i=e[1],l=e[4],s=e[6],d=e[10],c=e[11],u=e[12],p=e[13],f=e[14],m=e[16],h=e[18],g=c(e,t,r),v=i.get(r);if(!v){for(let o of(f(e,t,r),g.d.keys()))h(e,t,o).t.add(r);v={l:new Set,d:new Set(g.d.keys()),t:new Set},i.set(r,v),Z(r)&&r.onMount&&l.add(()=>{let o=!0;try{let i=d(e,t,r,(...i)=>{try{return m(e,t,r,i)}finally{o||(p(e,t),u(e,t))}});i&&(v.u=()=>{o=!0;try{i()}finally{o=!1}})}finally{o=!1}}),null==(o=s.m)||o.call(s,r)}return v},ec=(e,t,r)=>{var o,i;let l=e[1],s=e[5],d=e[6],c=e[11],u=e[19],p=c(e,t,r),f=l.get(r);if(!f||f.l.size)return f;let m=!1;for(let e of f.t)if(null!=(o=l.get(e))&&o.d.has(r)){m=!0;break}if(!m){for(let o of(f.u&&s.add(f.u),f=void 0,l.delete(r),p.d.keys())){let i=u(e,t,o);null==i||i.t.delete(r)}null==(i=d.u)||i.call(d,r);return}return f},eu=(e,t,r,o)=>{let i=e[11],l=e[27],s=i(e,t,r),d="v"in s,c=s.v;if(q(o))for(let l of s.d.keys())G(r,o,i(e,t,l));s.v=o,delete s.e,d&&Object.is(c,s.v)||(++s.n,q(c)&&l(e,t,c))},ep=(e,t,r)=>K((0,e[14])(e,t,r)),ef=(e,t,r,...o)=>{let i=e[3],l=e[12],s=e[13],d=e[16],c=i.size;try{return d(e,t,r,o)}finally{i.size!==c&&(s(e,t),l(e,t))}},em=(e,t,r,o)=>{let i=e[12],l=e[13],s=e[18],d=e[19],c=s(e,t,r).l;return c.add(o),l(e,t),i(e,t),()=>{c.delete(o),d(e,t,r),l(e,t),i(e,t)}},eh=(e,t,r,o)=>{let i=e[25],l=i.get(r);if(!l){l=new Set,i.set(r,l);let e=()=>i.delete(r);r.then(e,e)}l.add(o)},eg=(e,t,r)=>{let o=e[25].get(r);null==o||o.forEach(e=>e())},ev=new WeakMap,ey={},eb=0;function ex(e,t){let r=`atom${++eb}`,o={toString(){return(ey?"production":void 0)!=="production"&&this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?o.read=e:(o.init=e,o.read=ew,o.write=ek),t&&(o.write=t),o}function ew(e){return e(this)}function ek(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}function e_(){return function(){let e={get:o=>r(t,e,o),set:(r,...i)=>o(t,e,r,...i),sub:(r,o)=>i(t,e,r,o)},t=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},Y,X,Q,ee,et,en,er,eo,ei,el,es,ed,ec,eu,ep,ef,em,void 0,new WeakMap,eh,eg,[0]].map((e,t)=>[][t]||e);ev.set(e,Object.freeze(t));let r=t[21],o=t[22],i=t[23];return e}()}let eC=ex(!1),e$=ex(!1),eS=ex(""),eE=ex(!1),ej=ex(""),eN=ex({fn:e=>(0,D.jsx)("a",{...e})}),eT=ex(e=>e(eN).fn,(e,t,r)=>{t(eN,{fn:r})}),eP=ex(""),eA=ex(!0),eO=ex(!0),eR=ex(64);var eD=r(73935);let eM=ex(!1),eL=e=>{"u">typeof document&&document.startViewTransition?document.startViewTransition(()=>(0,eD.flushSync)(e)):e()},eI=ex(null,(e,t)=>{eL(()=>t(eM,!0))}),eF=ex(null,(e,t)=>{let r=!e(eM);eL(()=>t(eM,r))}),eB={},eV=(0,I.createContext)(void 0);function ez(e){return(0,I.useContext)(eV)||(o||(o=e_(),(ey?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=o),globalThis.__JOTAI_DEFAULT_STORE__!==o&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),o)}function eH({children:e,store:t}){let r=(0,I.useRef)(null);return t?(0,I.createElement)(eV.Provider,{value:t},e):(null===r.current&&(r.current=e_()),(0,I.createElement)(eV.Provider,{value:r.current},e))}let eU=e=>"function"==typeof(null==e?void 0:e.then),eZ=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},eW=I.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(eZ(e),e)}),eK=new WeakMap,eq=(e,t,r)=>{let o=function(e){let t=ev.get(e);if((U?"production":void 0)!=="production"&&!t)throw Error("Store must be created by buildStore to read its building blocks");let r=t[24];return r?r(t,e):t}(e),i=o[26],l=eK.get(t);return l||(l=new Promise((s,d)=>{let c=t,u=e=>t=>{c===e&&s(t)},p=e=>t=>{c===e&&d(t)},f=()=>{try{let t=r();eU(t)?(eK.set(t,l),c=t,t.then(u(t),p(t)),i(o,e,t,f)):s(t)}catch(e){d(e)}};t.then(u(t),p(t)),i(o,e,t,f)}),eK.set(t,l)),l};function eG(e,t){let{delay:r,unstable_promiseStatus:o=!I.use}={},i=ez(),[[l,s,d],c]=(0,I.useReducer)(t=>{let r=i.get(e);return Object.is(t[0],r)&&t[1]===i&&t[2]===e?t:[r,i,e]},void 0,()=>[i.get(e),i,e]),u=l;if((s!==i||d!==e)&&(c(),u=i.get(e)),(0,I.useEffect)(()=>{let t=i.sub(e,()=>{if(o)try{let t=i.get(e);eU(t)&&eZ(eq(i,t,()=>i.get(e)))}catch{}if("number"==typeof r){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3. 2 3Migration guide: 4 5Create a custom hook like the following. 6 7function useAtomValueWithDelay<Value>( 8 atom: Atom<Value>, 9 options: { delay: number }, 10): Value { 11 const { delay } = options 12 const store = useStore(options) 13 const [value, setValue] = useState(() => store.get(atom)) 14 useEffect(() => { 15 const unsub = store.sub(atom, () => { 16 setTimeout(() => setValue(store.get(atom)), delay) 17 }) 18 return unsub 19 }, [store, atom, delay]) 20 return value 21} 22`),setTimeout(c,r);return}c()});return c(),t},[i,e,r,o]),(0,I.useDebugValue)(u),eU(u)){let t=eq(i,u,()=>i.get(e));return o&&eZ(t),eW(t)}return u}function eJ(e,t){let r=ez();return(0,I.useCallback)((...t)=>{if((eB?"production":void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return r.set(e,...t)},[r,e])}function eY(e,t){return[eG(e),eJ(e)]}let eX=e=>{let{variant:t,isVisible:r,isTopScreen:o,staticHeader:i,children:l,className:s,...d}=e,c=eG(eC),[u,p]=(0,I.useState)(!1);(0,I.useEffect)(()=>{i||(o?p(!1):r&&p(!0))},[i,r,o]);let{root:f}=V(z)({isTopScreen:o||i,isVisible:r,staticHeader:i,showMenu:c,variant:t,animateHideHeader:u}),m=(0,F.cn)("ef-header-wrapper",f(),s);return(0,D.jsx)("div",{className:m,...d,children:l})};eX.displayName="HeaderWrapper";let eQ=(0,B.c6)({slots:{root:"bg-header-nav-surface z-20 flex max-h-screen w-full flex-col",innerContainer:"flex w-full flex-row items-center justify-between gap-4",ctaContainer:"hidden lg:flex",extendedNavContainer:"relative"},variants:{variant:{condensed:{innerContainer:"relative h-16"},extended:{innerContainer:"h-16 lg:h-[92px] lg:pb-3 lg:pt-8",ctaContainer:"ml-auto"}}}}),e0=(0,B.c6)({slots:{root:"relative me-auto flex h-full items-center",logoContainer:"motion-safe:duration-system-medium z-10 motion-safe:transition-all motion-safe:ease-in-out"},variants:{showSubMenu:{true:{logoContainer:"pointer-events-none invisible -translate-x-8 opacity-0 rtl:translate-x-8"},false:{logoContainer:"opacity-1 motion-safe:delay-system-short cursor-pointer"}}}}),e1=(0,B.c6)({slots:{root:"rounded-xxs relative flex h-full flex-1 flex-col justify-center ",logo:"text-header-logo-fill h-6 w-auto fill-current object-fill lg:h-7",headingsContainer:"flex flex-col gap-0.5 lg:gap-1",heading:"text-header-nav-on-surface ",subHeading:"text-header-nav-on-surface text-small-print lg:text-ui-label-small"},variants:{variant:{logo:{},product:{heading:"text-eyebrow text-sm/4 font-black uppercase tracking-[1.6px] lg:text-lg/6"},title:{heading:"text-ui-label-bold lg:text-ui-label-large-bold"},custom:{}}}}),e2=((0,B.c6)({slots:{root:"flex h-8 gap-3.5",text:"text-system-text-default text-[17.2px] font-black uppercase leading-none tracking-[2.58px]",textContainer:"flex h-8 translate-y-[-0.1em] select-none flex-col gap-[0.15em]"}
22,variants:{hasSecondLine:{false:{textContainer:"translate-y-[0.18em] justify-end"}}}}),(0,B.c6)({slots:{root:"mono absolute top-0 flex h-full items-center lg:hidden",button:"motion-safe:duration-system-medium h-fit max-h-16 translate-x-8 opacity-0 outline-0 motion-safe:transition-all motion-safe:ease-in-out rtl:-translate-x-8",buttonLabel:"text-ui-label-small",backIcon:"rtl:rotate-180"},variants:{showSubMenu:{true:{button:"opacity-1 motion-safe:delay-system-short -translate-x-4 rtl:translate-x-4"},false:{button:"pointer-events-none z-0"}}}})),e3=(0,B.c6)({slots:{root:"max-lg:hide bg-header-primary text-system-text-on-inverse text-ui-label-bold pointer-events-none absolute z-40 w-full px-6 py-4 opacity-0 focus:pointer-events-auto focus:opacity-100 focus-visible:pointer-events-auto focus-visible:opacity-100 max-lg:hidden"}}),e4=(0,B.c6)({slots:{root:"flex flex-col-reverse gap-4 p-6 pb-8 md:flex-row lg:ms-6 lg:gap-3 lg:p-0 lg:pb-0",ctaButton:"md:max-lg:flex-1"}}),e6=(0,B.c6)({slots:{root:"bg-system-surface-weak hidden h-8 lg:block",container:"relative flex h-full flex-row items-center justify-between",list:"ms-auto flex h-full flex-row-reverse justify-end",navItemRoot:"group/utility-bar-nav-item",navItem:"pe-6 group-first/utility-bar-nav-item:pe-0",navItemText:"text-small-print group-has-[[data-active=true]]/nav-menu-trigger:text-small-print-bold group-data-[active=true]/nav-link:text-small-print-bold gap-2",homeLinkText:"text-body-small gap-2 after:-bottom-1"}}),e8=(0,B.c6)({slots:{root:"bg-header-secondary border-system-stroke-mono z-0 max-h-[60px] w-full overflow-hidden border-t py-1 lg:h-full lg:max-h-10",container:"flex items-center gap-2 overflow-hidden",content:"flex flex-1 items-center justify-center gap-2",icon:"h-4 w-4 shrink-0",title:"line-clamp-2 text-ellipsis text-center lg:line-clamp-1",button:"mono"}});var e9=r(75077);let e5=e=>{let{text:t="Skip to main content",mainContentId:r="main",className:o,...i}=e,{root:l}=V(e3)();return(0,D.jsx)(e9.t,{children:(0,D.jsx)("a",{className:(0,F.cn)("ef-skip-to-main-content",l(),o),href:`#${r}`,...i,children:t})})};e5.displayName="SkipToMainContent";var e7=r(56896);let te=(0,I.forwardRef)((e,t)=>{let{variant:r,children:o,className:i,...l}=e;return(0,D.jsx)(e7.Button,{ref:t,className:i,themeConfig:{slots:{root:"h-fit"}},variant:r,...l,children:o})});te.displayName="ExtendedButton";let tt=(0,I.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),tn=I.forwardRef((e,t)=>{let{alt:r,color:o,size:i,weight:l,mirrored:s,children:d,weights:c,...u}=e,{color:p="currentColor",size:f,weight:m="regular",mirrored:h=!1,...g}=I.useContext(tt);return I.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:i??f,height:i??f,fill:o??p,viewBox:"0 0 256 256",transform:s||h?"scale(-1, 1)":void 0,...g,...u},!!r&&I.createElement("title",null,r),d,c.get(l??m))});tn.displayName="IconBase";let tr=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),I.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),ta=I.forwardRef((e,t)=>I.createElement(tn,{ref:t,...e,weights:tr}));
22ta.displayName="CaretLeftIcon";let to=e=>{let{children:t,containerClassName:r,className:o,...i}=e,[l,s]=eY(e$),d=eJ(eS),c=eG(eC);(0,I.useEffect)(()=>{l||window.matchMedia("(prefers-reduced-motion: reduce)").matches&&d("")},[l,d]);let{root:u,button:p,buttonLabel:f,backIcon:m}=V(e2)({showSubMenu:l}),h=(0,F.cn)("ef-menu-back-button",u(),r);return(0,D.jsx)("div",{className:h,children:(0,D.jsx)(e9.t,{children:(0,D.jsxs)(te,{className:(0,F.cn)(p(),o),onClick:()=>{s(!1)},onTransitionEnd:e=>{"opacity"!==e.propertyName||l||d("")},tabIndex:l&&c?0:-1,size:"small",variant:"ghost",shape:"square","aria-hidden":!(l&&c),...i,children:[(0,D.jsx)(ta,{className:(0,F.cn)(m())}),(0,D.jsx)("span",{className:(0,F.cn)(f()),children:t})]})})})};to.displayName="MenuBackButton";let ti="navigationBar",tl=e=>{let{backLabel:t,children:r,className:o,themeConfig:i}=e,l=eG(e$),s=eG(eS),d=eG(ej),c=s===ti&&d?d:t||"Back",{root:u,logoContainer:p}=V(e0,i)({showSubMenu:l}),f=(0,F.cn)("ef-header-headings",u(),o);return(0,D.jsxs)("div",{className:f,children:[(0,D.jsx)("div",{className:(0,F.cn)(p()),children:r}),(0,D.jsx)(to,{children:c})]})};tl.displayName="HeaderHeadings";let ts=e=>/^(https?:\/\/|www\.)|([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}(\/\S*)?$/i.test(e),td=e=>tc(e).toLowerCase(),tc=e=>{var t;return""===e?"/":(null==(e=null==(t=null==e?void 0:e.replace(/\/+/g,"/"))?void 0:t.replace(/^([^/])/,"/$1"))?void 0:e.replace(/\/+$/,""))+"/"},tu=(e,t)=>!!t&&!!e&&td(e)===td(t),tp=(e,t)=>{switch(e.key){case"ArrowDown":e.preventDefault(),null==t||t.focusNext({wrap:!0});break;case"ArrowUp":e.preventDefault(),null==t||t.focusPrevious({wrap:!0})}},tf=e=>{var t;return!!(null!=e&&e.menuLinks&&(null==(t=e.menuLinks)?void 0:t.length)>0)},tm=(e,t)=>!!(e&&Array.isArray(e))&&(null==e?void 0:e.some(t)),th=e=>tm(e,tf),tg=e=>tm(e,e=>tf(e)&&!(null!=e&&e.link)),tv=e=>{var t;return"object"==typeof e&&null!=e&&"window"in e&&e.window===e?e.document:null!==(t=e)&&"object"==typeof t&&"nodeType"in t&&"number"==typeof t.nodeType&&9===e.nodeType?e:(null==e?void 0:e.ownerDocument)??("u">typeof document?document:void 0)},ty=e=>{let t=tv(e);return(null==t?void 0:t.defaultView)??("u">typeof window?window:void 0)};function tb(e,t){return!!t&&!!e&&e.contains(t)}let tx=(e=document)=>e.activeElement;function tw(e){return e.target}function tk(e){if(function(){if(null==t_){t_=!1;try{document.createElement("div").focus({get preventScroll(){return t_=!0,!0}})}catch{}}return t_}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],o=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==o;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return o instanceof HTMLElement&&r.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:o}of e)t.scrollTop=r,t.scrollLeft=o}(t)}}let t_=null;var tC={},t$={},tS={};tS.byteLength=function(e){var t=tO(e),r=t[0],o=t[1];return(r+o)*3/4-o},tS.toByteArray=function(e){var t,r,o=tO(e),i=o[0],l=o[1],s=new tN((i+l)*3/4-l),d=0,c=l>0?i-4:i;for(r=0;r<c;r+=4)t=tj[e.charCodeAt(r)]<<18|tj[e.charCodeAt(r+1)]<<12|tj[e.charCodeAt(r+2)]<<6|tj[e.charCodeAt(r+3)],s[d++]=t>>16&255,s[d++]=t>>8&255,s[d++]=255&t;return 2===l&&(t=tj[e.charCodeAt(r)]<<2|tj[e.charCodeAt(r+1)]>>4,s[d++]=255&t),1===l&&(t=tj[e.charCodeAt(r)]<<10|tj[e.charCodeAt(r+1)]<<4|tj[e.charCodeAt(r+2)]>>2,s[d++]=t>>8&255,s[d++]=255&t),s},tS.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],l=0,s=r-o;l<s;l+=16383)i.push(function(e,t,r){for(var o,i=[],l=t;l<r;l+=3)i.push(tE[(o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(255&e[l+2]))>>18&63]+tE[o>>12&63]+tE[o>>6&63]+tE[63&o]);return i.join("")}(e,l,l+16383>s?s:l+16383));return 1===o?i.push(tE[(t=e[r-1])>>2]+tE[t<<4&63]+"=="):2===o&&i.push(tE[(t=(e[r-2]<<8)+e[r-1])>>10]+tE[t>>4&63]+tE[t<<2&63]+"="),i.join("")};for(var tE=[],tj=[],tN="u">typeof Uint8Array?Uint8Array:Array,tT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tP=0,tA=tT.length;tP<tA;++tP)tE[tP]=tT[tP],tj[tT.charCodeAt(tP)]=tP;function tO(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var o=r===t?0:4-r%4;return[r,o]}tj[45]=62,tj[95]=63;var tR={};tR.read=function(e,t,r,o,i){var l,s,d=8*i-o-1,c=(1<<d)-1,u=c>>1,p=-7,f=r?i-1:0,m=r?-1:1,h=e[t+f];for(f+=m,l=h&(1<<-p)-1,h>>=-p,p+=d;p>0;l=256*l+e[t+f],f+=m,p-=8);for(s=l&(1<<-p)-1,l>>=-p,p+=o;p>0;s=256*s+e[t+f],f+=m,p-=8);
22if(0===l)l=1-u;else{if(l===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,o),l-=u}return(h?-1:1)*s*Math.pow(2,l-o)},tR.write=function(e,t,r,o,i,l){var s,d,c,u=8*l-i-1,p=(1<<u)-1,f=p>>1,m=23===i?5960464477539062e-23:0,h=o?0:l-1,g=o?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(d=isNaN(t)?1:0,s=p):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+f>=1?t+=m/c:t+=m*Math.pow(2,1-f),t*c>=2&&(s++,c/=2),s+f>=p?(d=0,s=p):s+f>=1?(d=(t*c-1)*Math.pow(2,i),s+=f):(d=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+h]=255&d,h+=g,d/=256,i-=8);for(s=s<<i|d,u+=i;u>0;e[r+h]=255&s,h+=g,s/=256,u-=8);e[r+h-g]|=128*v},function(e){let t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function r(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return s(e)}return i(e,t,r)}function i(e,t,i){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!o.isEncoding(t))throw TypeError("Unknown encoding: "+t);let i=0|p(e,t),l=r(i),s=l.write(e,t);return s!==i&&(l=l.slice(0,s)),l}(e,t);if(ArrayBuffer.isView(e))return function(e){if(D(e,Uint8Array)){let t=new Uint8Array(e);return c(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return c(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return o.from(l,t,i);let s=function(e){var t;if(o.isBuffer(e)){let t=0|u(e.length),o=r(t);return 0===o.length||e.copy(o,0,0,t),o}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?r(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(s)return s;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function s(e){return l(e),r(e<0?0:0|u(e))}function d(e){let t=e.length<0?0:0|u(e.length),o=r(t);for(let r=0;r<t;r+=1)o[r]=255&e[r];return o}function c(e,t,r){let i;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),o.prototype),i}function u(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;let l=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(l)return i?-1:A(e).length;t=(""+t).toLowerCase(),l=!0}}function f(e,t,r){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);let i="";for(let o=t;o<r;++o)i+=M[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){let o="";r=Math.min(e.length,r);for(let i=t;i<r;++i)o+=String.fromCharCode(127&e[i]);return o}(this,t,r);case"latin1":case"binary":return function(e,t,r){let o="";r=Math.min(e.length,r);for(let i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}(this,t,r);case"base64":var i,l;return i=t,l=r,0===i&&l===this.length?tS.fromByteArray(this):tS.fromByteArray(this.slice(i,l));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let o=e.slice(t,r),i="";for(let e=0;e<o.length-1;e+=2)i+=String.fromCharCode(o[e]+256*o[e+1]);return i}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,r){let o=e[t];e[t]=e[r],e[r]=o}function h(e,t,r,i,l){var s;if(0===e.length)return -1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(s=r=+r)!=s&&(r=l?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(l)return -1;r=e.length-1}
vendor: 16,552 bytes, line 22
22else if(r<0){if(!l)return -1;r=0}if("string"==typeof t&&(t=o.from(t,i)),o.isBuffer(t))return 0===t.length?-1:g(e,t,r,i,l);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?l?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,i,l);throw TypeError("val must be string, number or Buffer")}function g(e,t,r,o,i){let l,s=1,d=e.length,c=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return -1;s=2,d/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let o=-1;for(l=r;l<d;l++)if(u(e,l)===u(t,-1===o?0:l-o)){if(-1===o&&(o=l),l-o+1===c)return o*s}else -1!==o&&(l-=l-o),o=-1}else for(r+c>d&&(r=d-c),l=r;l>=0;l--){let r=!0;for(let o=0;o<c;o++)if(u(e,l+o)!==u(t,o)){r=!1;break}if(r)return l}return -1}function v(e,t,r){r=Math.min(e.length,r);let o=[],i=t;for(;i<r;){let t=e[i],l=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=r){let r,o,d,c;switch(s){case 1:t<128&&(l=t);break;case 2:(192&(r=e[i+1]))==128&&(c=(31&t)<<6|63&r)>127&&(l=c);break;case 3:r=e[i+1],o=e[i+2],(192&r)==128&&(192&o)==128&&(c=(15&t)<<12|(63&r)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:r=e[i+1],o=e[i+2],d=e[i+3],(192&r)==128&&(192&o)==128&&(192&d)==128&&(c=(15&t)<<18|(63&r)<<12|(63&o)<<6|63&d)>65535&&c<1114112&&(l=c)}}null===l?(l=65533,s=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|1023&l),o.push(l),i+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",o=0;for(;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=4096));return r}(o)}function y(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function b(e,t,r,i,l,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>l||t<s)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function x(e,t,r,o,i){j(t,o,i,e,r,7);let l=Number(t&BigInt(4294967295));e[r++]=l,l>>=8,e[r++]=l,l>>=8,e[r++]=l,l>>=8,e[r++]=l;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,r}function w(e,t,r,o,i){j(t,o,i,e,r,7);let l=Number(t&BigInt(4294967295));e[r+7]=l,l>>=8,e[r+6]=l,l>>=8,e[r+5]=l,l>>=8,e[r+4]=l;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s>>=8,e[r+2]=s,s>>=8,e[r+1]=s,s>>=8,e[r]=s,r+8}function k(e,t,r,o,i,l){if(r+o>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,o,i){return t=+t,r>>>=0,i||k(e,t,r,4),tR.write(e,t,r,o,23,4),r+4}function C(e,t,r,o,i){return t=+t,r>>>=0,i||k(e,t,r,8),tR.write(e,t,r,o,52,8),r+8}e.Buffer=o,e.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,o.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),!o.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return i(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,o){return l(e),e<=0?r(e):void 0!==t?"string"==typeof o?r(e).fill(t,o):r(e).fill(t):r(e)},o.allocUnsafe=function(e){return s(e)},o.allocUnsafeSlow=function(e){return s(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(D(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let o=0,l=Math.min(r,i);o<l;++o)if(e[o]!==t[o]){r=e[o],i=t[o];break}return r<i?-1:i<r?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;let i=o.allocUnsafe(t),l=0;for(r=0;r<e.length;++r){let t=e[r];if(D(t,Uint8Array))l+t.length>i.length?(o.isBuffer(t)||(t=o.from(t)),t.copy(i,l)):Uint8Array.prototype.set.call(i,t,l);else if(o.isBuffer(t))t.copy(i,l);else throw TypeError('"list" argument must be an Array of Buffers');l+=t.length}return i},o.byteLength=p,o.prototype._isBuffer=!0,o.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)m(this,t,t+1);return this},o.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},o.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},o.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):f.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){let t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},t&&(o.prototype[t]=o.prototype.inspect),o.prototype.compare=function(e,t,r,i,l){if(D(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===l&&(l=this.length),t<0||r>e.length||i<0||l>this.length)throw RangeError("out of range index");if(i>=l&&t>=r)return 0;if(i>=l)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,l>>>=0,this===e)return 0;let s=l-i,d=r-t,c=Math.min(s,d),u=this.slice(i,l),p=e.slice(t,r);for(let e=0;e<c;++e)if(u[e]!==p[e]){s=u[e],d=p[e];break}return s<d?-1:d<s?1:0},o.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return h(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return h(this,e,t,r,!1)},o.prototype.write=function(e,t,r,o){var i,l,s,d,c,u,p,f;if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)o=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let h=!1;for(;;)switch(o){case"hex":return function(e,t,r,o){let i;r=Number(r)||0;let l=e.length-r;o?(o=Number(o))>l&&(o=l):o=l;let s=t.length;for(o>s/2&&(o=s/2),i=0;i<o;++i){let o=parseInt(t.substr(2*i,2),16);if(o!=o)break;e[r+i]=o}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,l=r,R(A(e,this.length-i),this,i,l);case"ascii":case"latin1":case"binary":return s=t,d=r,R(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,d);case"base64":return c=t,u=r,R(O(e),this,c,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p=t,f=r,R(function(e,t){let r,o;let i=[];for(let l=0;l<e.length&&!((t-=2)<0);++l)o=(r=e.charCodeAt(l))>>8,i.push(r%256),i.push(o);return i}(e,this.length-p),this,p,f);default:if(h)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let i=this.subarray(e,t);return Object.setPrototypeOf(i,o.prototype),i},o.prototype.readUintLE=o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);let o=this[e],i=1,l=0;for(;++l<t&&(i*=256);)o+=this[e+l]*i;return o},o.prototype.readUintBE=o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);let o=this[e+--t],i=1;for(;t>0&&(i*=256);)o+=this[e+--t]*i;return o},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,t||y(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readBigUInt64LE=L(function(e){N(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&T(e,this.length-8);let o=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(o)+(BigInt(i)<<BigInt(32))}),o.prototype.readBigUInt64BE=L(function(e){N(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&T(e,this.length-8);let o=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(o)<<BigInt(32))+BigInt(i)}),o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);let o=this[e],i=1,l=0;for(;++l<t&&(i*=256);)o+=this[e+l]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||y(e,t,this.length);let o=t,i=1,l=this[e+--o];for(;o>0&&(i*=256);)l+=this[e+--o]*i;return l>=(i*=128)&&(l-=Math.pow(2,8*t)),l},o.prototype.readInt8=function(e,t){return e>>>=0,t||y(e,1,this.length),128&this[e]?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||y(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||y(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readBigInt64LE=L(function(e){N(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&T(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),o.prototype.readBigInt64BE=L(function(e){N(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&T(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),o.prototype.readFloatLE=function(e,t){return e>>>=0,t||y(e,4,this.length),tR.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||y(e,4,this.length),tR.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||y(e,8,this.length),tR.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||y(e,8,this.length),tR.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){let o=Math.pow(2,8*r)-1;b(this,e,t,r,o,0)}let i=1,l=0;for(this[t]=255&e;++l<r&&(i*=256);)this[t+l]=e/i&255;return t+r},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){let o=Math.pow(2,8*r)-1;b(this,e,t,r,o,0)}let i=r-1,l=1;for(this[t+i]=255&e;--i>=0&&(l*=256);)this[t+i]=e/l&255;return t+r},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigUInt64LE=L(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=L(function(e,t=0){return w(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){let o=Math.pow(2,8*r-1);b(this,e,t,r,o-1,-o)}let i=0,l=1,s=0;for(this[t]=255&e;++i<r&&(l*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/l>>0)-s&255;return t+r},o.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){let o=Math.pow(2,8*r-1);b(this,e,t,r,o-1,-o)}let i=r-1,l=1,s=0;for(this[t+i]=255&e;--i>=0&&(l*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/l>>0)-s&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||b(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigInt64LE=L(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=L(function(e,t=0){return w(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return C(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return C(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,i){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);let l=i-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,i):Uint8Array.prototype.set.call(e,this.subarray(r,i),t),l},o.prototype.fill=function(e,t,r,i){let l;if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){let t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(l=t;l<r;++l)this[l]=e;
22else{let s=o.isBuffer(e)?e:o.from(e,i),d=s.length;if(0===d)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(l=0;l<r-t;++l)this[l+t]=s[l%d]}return this};let $={};function S(e,t,r){$[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function E(e){let t="",r=e.length,o="-"===e[0]?1:0;for(;r>=o+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function j(e,t,r,o,i,l){if(e>r||e<t){let r;let o="bigint"==typeof t?"n":"";throw r=0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(l+1)*8}${o}`:`>= -(2${o} ** ${(l+1)*8-1}${o}) and < 2 ** ${(l+1)*8-1}${o}`,new $.ERR_OUT_OF_RANGE("value",r,e)}N(i,"offset"),(void 0===o[i]||void 0===o[i+l])&&T(i,o.length-(l+1))}function N(e,t){if("number"!=typeof e)throw new $.ERR_INVALID_ARG_TYPE(t,"number",e)}function T(e,t,r){throw Math.floor(e)!==e?(N(e,r),new $.ERR_OUT_OF_RANGE("offset","an integer",e)):t<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${t}`,e)}S("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),S("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),S("ERR_OUT_OF_RANGE",function(e,t,r){let o=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?i=E(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=E(i)),i+="n"),o+=` It must be ${t}. Received ${i}`},RangeError);let P=/[^+/0-9A-Za-z-_]/g;function A(e,t){let r;t=t||1/0;let o=e.length,i=null,l=[];for(let s=0;s<o;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return l}function O(e){return tS.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,r,o){let i;for(i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let M=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let o=16*r;for(let i=0;i<16;++i)t[o+i]=e[r]+e[i]}return t}();function L(e){return typeof BigInt>"u"?I:e}function I(){throw Error("BigInt not supported")}}(t$);var tD,tM,tL="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},tI={exports:{}},tF=tI.exports={};function tB(){throw Error("setTimeout has not been defined")}function tV(){throw Error("clearTimeout has not been defined")}function tz(e){if(tD===setTimeout)return setTimeout(e,0);if((tD===tB||!tD)&&setTimeout)return tD=setTimeout,setTimeout(e,0);try{return tD(e,0)}catch{try{return tD.call(null,e,0)}catch{return tD.call(this,e,0)}}}!function(){try{tD="function"==typeof setTimeout?setTimeout:tB}catch{tD=tB}try{tM="function"==typeof clearTimeout?clearTimeout:tV}catch{tM=tV}}();var tH,tU=[],tZ=!1,tW=-1;function tK(){tZ&&tH&&(tZ=!1,tH.length?tU=tH.concat(tU):tW=-1,tU.length&&tq())}function tq(){if(!tZ){var e=tz(tK);tZ=!0;for(var t=tU.length;t;){for(tH=tU,tU=[];++tW<t;)tH&&tH[tW].run();tW=-1,t=tU.length}tH=null,tZ=!1,function(e){if(tM===clearTimeout)return clearTimeout(e);if((tM===tV||!tM)&&clearTimeout)return tM=clearTimeout,clearTimeout(e);try{tM(e)}catch{try{return tM.call(null,e)}catch{return tM.call(this,e)}}}(e)}}function tG(e,t){this.fun=e,this.array=t}function tJ(){}function tY(){}tF.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];tU.push(new tG(e,t)),1!==tU.length||tZ||tz(tq)},tG.prototype.run=function(){this.fun.apply(null,this.array)},tF.title="browser",tF.browser=!0,tF.env={},tF.argv=[],tF.version="",tF.versions={},tF.on=tJ,tF.addListener=tJ,tF.once=tJ,tF.off=tJ,tF.removeListener=tJ,tF.removeAllListeners=tJ,tF.emit=tJ,tF.prependListener=tJ,tF.prependOnceListener=tJ,tF.listeners=function(e){return[]},tF.binding=function(e){throw Error("process.binding is not supported")},tF.cwd=function(){return"/"},tF.chdir=function(e){throw Error("process.chdir is not supported")},tF.umask=function(){return 0};var tX=tI.exports.browser,tQ=tY,t0=tI.exports.binding,t1=tY,t2=1,t3={},t4=tY,t6=tY,t8=tY,t9=tY,t5=tY,t7="browser",ne="browser",nt="browser",nn=[],nr={nextTick:tI.exports.nextTick,title:tI.exports.title,browser:tX,env:tI.exports.env,argv:tI.exports.argv,version:tI.exports.version,versions:tI.exports.versions,on:tI.exports.on,addListener:tI.exports.addListener,once:tI.exports.once,off:tI.exports.off,removeListener:tI.exports.removeListener,removeAllListeners:tI.exports.removeAllListeners,emit:tI.exports.emit,emitWarning:tQ,prependListener:tI.exports.prependListener,prependOnceListener:tI.exports.prependOnceListener,listeners:tI.exports.listeners,binding:t0,cwd:tI.exports.cwd,chdir:tI.exports.chdir,umask:tI.exports.umask,exit:t1,pid:t2,features:t3,kill:t4,dlopen:t6,uptime:t8,memoryUsage:t9,uvCounters:t5,platform:t7,arch:ne,execPath:nt,execArgv:nn},na=tI.exports.addListener,no=tI.exports.argv,ni=tI.exports.chdir,nl=tI.exports.cwd,ns=tI.exports.emit,nd=tI.exports.env,nc=tI.exports.listeners,nu=tI.exports.nextTick,np=tI.exports.off,nf=tI.exports.on,nm=tI.exports.once,nh=tI.exports.prependListener,ng=tI.exports.prependOnceListener,nv=tI.exports.removeAllListeners,ny=tI.exports.removeListener,nb=tI.exports.title,nx=tI.exports.umask,nw=tI.exports.version,nk=tI.exports.versions;let n_=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};
22return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),r}(R);!function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});let t=n_&&n_.__esModule?n_:{default:n_},r=globalThis||self;Object.defineProperty(e,"Buffer",{enumerable:!0,get:()=>t$.Buffer}),Object.defineProperty(e,"process",{enumerable:!0,get:()=>t.default}),e.global=r}(tC);let nC="u">typeof Element&&"checkVisibility"in Element.prototype;function n$(e,t){return nC?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=ty(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:o}=e.style,i="none"!==r&&"hidden"!==o&&"collapse"!==o;if(i){let{getComputedStyle:t}=ty(e),{display:r,visibility:o}=t(e);i="none"!==r&&"hidden"!==o&&"collapse"!==o}return i}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||n$(e.parentElement,e))}let nS=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],nE=nS.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";nS.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let nj=nS.join(':not([hidden]):not([tabindex="-1"]),');function nN(e,t){return e.matches(nE)&&!nP(e)&&((null==t?void 0:t.skipVisibilityCheck)||n$(e))}function nT(e){return e.matches(nj)&&n$(e)&&!nP(e)}function nP(e){let t=e;for(;null!=t;){if(t instanceof ty(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}let nA="u">typeof document?I.useLayoutEffect:()=>{};function nO(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}let nR=!1;function nD(e){for(;e&&!nN(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=ty(e),r=t.document.activeElement;if(!r||r===e)return;nR=!0;let o=!1,i=e=>{(tw(e)===r||o)&&e.stopImmediatePropagation()},l=t=>{tw(t)!==r&&!o||(t.stopImmediatePropagation(),e||o||(o=!0,tk(r),c()))},s=t=>{(tw(t)===e||o)&&t.stopImmediatePropagation()},d=t=>{(tw(t)===e||o)&&(t.stopImmediatePropagation(),o||(o=!0,tk(r),c()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",l,!0),t.addEventListener("focusin",d,!0),t.addEventListener("focus",s,!0);let c=()=>{cancelAnimationFrame(u),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",l,!0),t.removeEventListener("focusin",d,!0),t.removeEventListener("focus",s,!0),nR=!1,o=!1},u=requestAnimationFrame(c);return c}function nM(e){var t;if(typeof window>"u"||null==window.navigator)return!1;let r=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(r)&&r.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function nL(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function nI(e){if("test"===tC.process.env.NODE_ENV)return e;let t=null;return()=>(null==t&&(t=e()),t)}let nF=nI(function(){return nL(/^Mac/i)}),nB=nI(function(){return nL(/^iPhone/i)}),nV=nI(function(){return nL(/^iPad/i)||nF()&&navigator.maxTouchPoints>1}),nz=nI(function(){return nB()||nV()});nI(function(){return nF()||nz()});
22let nH=nI(function(){return nM(/AppleWebKit/i)&&(nz()||!nU())});nI(function(){return nH()&&!nU()&&!nW()});let nU=nI(function(){return nM(/Chrome|CriOS|CrMo/i)}),nZ=nI(function(){return nM(/Android/i)}),nW=nI(function(){return nM(/(Firefox|FxiOS)/i)});function nK(e){return""===e.pointerType&&!!e.isTrusted||(nZ()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function nq(e,t,r=!0){var o,i;let{metaKey:l,ctrlKey:s,altKey:d,shiftKey:c}=t;!nH()&&nW()&&null!=(i=null==(o=window.event)?void 0:o.type)&&i.startsWith("key")&&"_blank"===e.target&&(nF()?l=!0:s=!0);let u=nH()&&nF()&&!nV()&&"test"!==tC.process.env.NODE_ENV?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:s,altKey:d,shiftKey:c}):new MouseEvent("click",{metaKey:l,ctrlKey:s,altKey:d,shiftKey:c,detail:1,bubbles:!0,cancelable:!0});nq.isOpening=r,tk(e),e.dispatchEvent(u),nq.isOpening=!1}nq.isOpening=!1;let nG=null,nJ=new Set,nY=new Map,nX=!1,nQ=!1;function n0(e,t){for(let r of nJ)r(e,t)}function n1(e){nX=!0,nq.isOpening||e.metaKey||!nF()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(nG="keyboard",n0("keyboard",e))}function n2(e){nG="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(nX=!0,n0("pointer",e))}function n3(e){!nq.isOpening&&nK(e)&&(nX=!0,nG="virtual")}function n4(e){let t=ty(tw(e)),r=tv(tw(e));tw(e)===t||tw(e)===r||nR||!e.isTrusted||(nX||nQ||(nG="virtual",n0("virtual",e)),nX=!1,nQ=!1)}function n6(){nR||(nX=!1,nQ=!0)}function n8(e){if(typeof window>"u"||typeof document>"u")return;let t=ty(e),r=tv(e);if(nY.get(t))return;let o=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){nX=!0,o.apply(this,arguments)}}),r.addEventListener("keydown",n1,!0),r.addEventListener("keyup",n1,!0),r.addEventListener("click",n3,!0),t.addEventListener("focus",n4,!0),t.addEventListener("blur",n6,!1),"u">typeof PointerEvent?(r.addEventListener("pointerdown",n2,!0),r.addEventListener("pointermove",n2,!0),r.addEventListener("pointerup",n2,!0)):"test"===tC.process.env.NODE_ENV&&(r.addEventListener("mousedown",n2,!0),r.addEventListener("mousemove",n2,!0),r.addEventListener("mouseup",n2,!0)),t.addEventListener("beforeunload",()=>{n9(e)},{once:!0}),nY.set(t,{focus:o})}let n9=(e,t)=>{let r=ty(e),o=tv(e);t&&o.removeEventListener("DOMContentLoaded",t),nY.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:nY.get(r).focus}),o.removeEventListener("keydown",n1,!0),o.removeEventListener("keyup",n1,!0),o.removeEventListener("click",n3,!0),r.removeEventListener("focus",n4,!0),r.removeEventListener("blur",n6,!1),"u">typeof PointerEvent?(o.removeEventListener("pointerdown",n2,!0),o.removeEventListener("pointermove",n2,!0),o.removeEventListener("pointerup",n2,!0)):"test"===tC.process.env.NODE_ENV&&(o.removeEventListener("mousedown",n2,!0),o.removeEventListener("mousemove",n2,!0),o.removeEventListener("mouseup",n2,!0)),nY.delete(r))};"u">typeof document&&function(e){let t;let r=tv(void 0);"loading"!==r.readyState?n8(void 0):(t=()=>{n8(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>n9(e,t)}();let n5=new Map,n7=new Set;function re(){if(typeof window>"u")return;function e(e){return"propertyName"in e}let t=r=>{let o=tw(r);if(!e(r)||!o)return;let i=n5.get(o);if(i&&(i.delete(r.propertyName),0===i.size&&(o.removeEventListener("transitioncancel",t),n5.delete(o)),0===n5.size)){for(let e of n7)e();n7.clear()}};document.body.addEventListener("transitionrun",r=>{let o=tw(r);if(!e(r)||!o)return;let i=n5.get(o);i||(i=new Set,n5.set(o,i),o.addEventListener("transitioncancel",t,{once:!0})),i.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function rt(e){requestAnimationFrame(()=>{(function(){for(let[e]of n5)"isConnected"in e&&!e.isConnected&&n5.delete(e)})(),0===n5.size?e():n7.add(e)})}function rn(e){if(!e.isConnected)return;let t=tv(e);if("virtual"===nG){let r=tx(t);rt(()=>{let o=tx(t);(o===r||o===t.body)&&e.isConnected&&tk(e)})}else tk(e)}"u">typeof document&&("loading"!==document.readyState?re():document.addEventListener("DOMContentLoaded",re));let rr=I.createContext(null),ra="react-aria-focus-scope-restore",ro=null;function ri(e){var t,r,o;let i,l,{children:s,contain:d,restoreFocus:c,autoFocus:u}=e,p=(0,I.useRef)(null),f=(0,I.useRef)(null),m=(0,I.useRef)([]),{parentNode:h}=(0,I.useContext)(rr)||{},g=(0,I.useMemo)(()=>new rx({scopeRef:m}),[m]);nA(()=>{let e=h||rw.root;if(rw.getTreeNode(e.scopeRef)&&ro&&!rp(ro,e.scopeRef)){let t=rw.getTreeNode(ro);t&&(e=t)}e.addChild(g),rw.addNode(g)},[g,h]),nA(()=>{let e=rw.getTreeNode(m);e&&(e.contain=!!d)},[d]),nA(()=>{var e;let t=null==(e=p.current)?void 0:e.nextSibling,r=[],o=e=>e.stopPropagation();for(;t&&t!==f.current;)r.push(t),t.addEventListener(ra,o),t=t.nextSibling;return m.current=r,()=>{for(let e of r)e.removeEventListener(ra,o)}},[s]),nA(()=>{if(r||o)return;let e=t.current,i=tv(e?e[0]:void 0),l=e=>{let r=tw(e);rc(r,t.current)?ro=t:ru(r)||(ro=null)};
22return i.addEventListener("focusin",l,!1),null==e||e.forEach(e=>e.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",l,!1))}},[t=m,r=c,o=d]),i=(0,I.useRef)(void 0),l=(0,I.useRef)(void 0),nA(()=>{let e=m.current;if(!d){l.current&&(cancelAnimationFrame(l.current),l.current=void 0);return}let t=tv(e?e[0]:void 0),r=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!rd(m)||e.isComposing)return;let r=tx(t),o=m.current;if(!o||!rc(r,o))return;let i=ry(rs(o),{tabbable:!0},o);if(!r)return;i.currentNode=r;let l=e.shiftKey?i.previousNode():i.nextNode();l||(i.currentNode=e.shiftKey?o[o.length-1].nextElementSibling:o[0].previousElementSibling,l=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),l&&(rf(l,!0),l instanceof ty(l).HTMLInputElement&&l.select())},o=e=>{(!ro||rp(ro,m))&&rc(tw(e),m.current)?(ro=m,i.current=tw(e)):rd(m)&&!ru(tw(e),m)?i.current?rf(i.current):ro&&ro.current&&rh(ro.current):rd(m)&&(i.current=tw(e))},s=e=>{l.current&&cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{let r=nG,o=("virtual"===r||null===r)&&nZ()&&nU(),l=tx(t);if(!o&&l&&rd(m)&&!ru(l,m)){ro=m;let t=tw(e);t&&t.isConnected?(i.current=t,rf(i.current)):ro.current&&rh(ro.current)}})};return t.addEventListener("keydown",r,!1),t.addEventListener("focusin",o,!1),null==e||e.forEach(e=>e.addEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",s,!1)),()=>{t.removeEventListener("keydown",r,!1),t.removeEventListener("focusin",o,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",o,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",s,!1))}},[m,d]),nA(()=>()=>{l.current&&cancelAnimationFrame(l.current)},[l]),function(e,t,r){let o=(0,I.useRef)("u">typeof document?tx(tv(e.current?e.current[0]:void 0)):null);nA(()=>{let o=e.current,i=tv(o?o[0]:void 0);if(!t||r)return;let l=()=>{(!ro||rp(ro,e))&&rc(tx(i),e.current)&&(ro=e)};return i.addEventListener("focusin",l,!1),null==o||o.forEach(e=>e.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),null==o||o.forEach(e=>e.removeEventListener("focusin",l,!1))}},[e,r]),nA(()=>{let o=tv(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!rd(e)||t.isComposing)return;let r=o.activeElement;if(!ru(r,e)||!rg(e))return;let i=rw.getTreeNode(e);if(!i)return;let l=i.nodeToRestore,s=ry(o.body,{tabbable:!0});s.currentNode=r;let d=t.shiftKey?s.previousNode():s.nextNode();if(l&&l.isConnected&&l!==o.body||(l=void 0,i.nodeToRestore=void 0),(!d||!ru(d,e))&&l){s.currentNode=l;do d=t.shiftKey?s.previousNode():s.nextNode();while(ru(d,e));t.preventDefault(),t.stopPropagation(),d?rf(d,!0):ru(l)?rf(l,!0):r.blur()}};return r||o.addEventListener("keydown",i,!0),()=>{r||o.removeEventListener("keydown",i,!0)}},[e,t,r]),nA(()=>{let r=tv(e.current?e.current[0]:void 0);if(!t)return;let i=rw.getTreeNode(e);if(i)return i.nodeToRestore=o.current??void 0,()=>{let o=rw.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,l=tx(r);if(t&&i&&(l&&ru(l,e)||l===r.body&&rg(e))){let t=rw.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let r=t.getTreeNode(e);for(;r;){if(r.nodeToRestore&&r.nodeToRestore.isConnected){rv(r.nodeToRestore);return}r=r.parent}for(r=t.getTreeNode(e);r;){if(r.scopeRef&&r.scopeRef.current&&rw.getTreeNode(r.scopeRef)){rv(rm(r.scopeRef.current,!0));return}r=r.parent}}})}}},[e,t])}(m,c,d),function(e,t){let r=I.useRef(t);(0,I.useEffect)(()=>{r.current&&(ro=e,!rc(tx(tv(e.current?e.current[0]:void 0)),ro.current)&&e.current&&rh(e.current)),r.current=!1},[e])}(m,u),(0,I.useEffect)(()=>{let e=tx(tv(m.current?m.current[0]:void 0)),t=null;if(rc(e,m.current)){for(let r of rw.traverse())r.scopeRef&&rc(e,r.scopeRef.current)&&(t=r);t===rw.getTreeNode(m)&&(ro=t.scopeRef)}},[m]),nA(()=>()=>{var e,t;let r=(null==(t=null==(e=rw.getTreeNode(m))?void 0:e.parent)?void 0:t.scopeRef)??null;(m===ro||rp(m,ro))&&(!r||rw.getTreeNode(r))&&(ro=r),rw.removeTreeNode(m)},[m]);let v=(0,I.useMemo)(()=>({focusNext(e={}){let t=m.current,{from:r,tabbable:o,wrap:i,accept:l}=e,s=r||tx(tv(t[0]??void 0)),d=t[0].previousElementSibling,c=ry(rs(t),{tabbable:o,accept:l},t);c.currentNode=rc(s,t)?s:d;let u=c.nextNode();return!u&&i&&(c.currentNode=d,u=c.nextNode()),u&&rf(u,!0),u},focusPrevious(e={}){let t=m.current,{from:r,tabbable:o,wrap:i,accept:l}=e,s=r||tx(tv(t[0]??void 0)),d=t[t.length-1].nextElementSibling,c=ry(rs(t),{tabbable:o,accept:l},t);c.currentNode=rc(s,t)?s:d;let u=c.previousNode();return!u&&i&&(c.currentNode=d,u=c.previousNode()),u&&rf(u,!0),u},focusFirst(e={}){let t=m.current,{tabbable:r,accept:o}=e,i=ry(rs(t),{tabbable:r,accept:o},t);i.currentNode=t[0].previousElementSibling;let l=i.nextNode();return l&&rf(l,!0),l},focusLast(e={}){let t=m.current,{tabbable:r,accept:o}=e,i=ry(rs(t),{tabbable:r,accept:o},t);i.currentNode=t[t.length-1].nextElementSibling;let l=i.previousNode();return l&&rf(l,!0),l}}),[]),y=(0,I.useMemo)(()=>({focusManager:v,parentNode:g}),[g,v]);return I.createElement(rr.Provider,{value:y},I.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:p}),s,I.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:f}))}function rl(){var e;return null==(e=(0,I.useContext)(rr))?void 0:e.focusManager}function rs(e){return e[0].parentElement}function rd(e){let t=rw.getTreeNode(ro);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function rc(e,t){return!!e&&!!t&&t.some(t=>tb(t,e))}function ru(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of rw.traverse(rw.getTreeNode(t)))if(r&&rc(e,r.current))return!0;return!1}function rp(e,t){var r;let o=null==(r=rw.getTreeNode(t))?void 0:r.parent;for(;o;){if(o.scopeRef===e)return!0;o=o.parent}return!1}function rf(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{rn(e)}catch{}}
22function rm(e,t=!0){let r=e[0].previousElementSibling,o=rs(e),i=ry(o,{tabbable:t},e);i.currentNode=r;let l=i.nextNode();return t&&!l&&((i=ry(o=rs(e),{tabbable:!1},e)).currentNode=r,l=i.nextNode()),l}function rh(e,t=!0){rf(rm(e,t))}function rg(e){let t=rw.getTreeNode(ro);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function rv(e){e.dispatchEvent(new CustomEvent(ra,{bubbles:!0,cancelable:!0}))&&rf(e)}function ry(e,t,r){var o,i,l;let s=null!=t&&t.tabbable?nT:nN,d=tv((null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null),c=(o=e||d,i=NodeFilter.SHOW_ELEMENT,l={acceptNode:e=>tb(null==t?void 0:t.from,e)||null!=t&&t.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=function(e){if(!e.form)return Array.from(tv(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),r=ty(e);return t instanceof r.RadioNodeList?Array.from(t).filter(e=>e instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:s(e)&&(!r||rc(e,r))&&(!(null!=t&&t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},d.createTreeWalker(o,i,l));return null!=t&&t.from&&(c.currentNode=t.from),c}class rb{constructor(){this.fastMap=new Map,this.root=new rx({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let o=this.fastMap.get(t??null);if(!o)return;let i=new rx({scopeRef:e});o.addChild(i),i.parent=o,this.fastMap.set(e,i),r&&(i.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&rc(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let o=t.children;r&&(r.removeChild(t),o.size>0&&o.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new rb;for(let r of this.traverse())t.addTreeNode(r.scopeRef,(null==(e=r.parent)?void 0:e.scopeRef)??null,r.nodeToRestore);return t}}class rx{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let rw=new rb;function rk(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}function r_(e){if(e)return t=>{let r=!0;e({...t,preventDefault(){t.preventDefault()},isDefaultPrevented:()=>t.isDefaultPrevented(),stopPropagation(){r&&"production"!==tC.process.env.NODE_ENV?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):r=!0},continuePropagation(){r=!1,"function"==typeof t.continuePropagation&&t.continuePropagation()},isPropagationStopped:()=>r}),r&&!("function"==typeof t.isPropagationStopped&&t.isPropagationStopped())&&t.stopPropagation()}}let rC=new Set(["shift","alt","control","meta","mod"]),r$=["Alt","Control","Meta","Shift"];function rS(e){return r$.filter(t=>e.has(t))}function rE(e){return e.toLowerCase()}let rj={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function rN(e){let{shortcuts:t,allowRepeats:r=!1,allowComposing:o=!1}=e,i,l;if(t){let s=function(e){let t=new Map;for(let[r,o]of Object.entries(e)){let e=function(e){let t=e.split("+").reduce((e,t)=>{let r=t.toLowerCase();return rC.has(r)?"shift"===r?e.shift=!0:"alt"===r?e.alt=!0:"control"===r?e.ctrl=!0:"meta"===r?e.meta=!0:"mod"===r&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(""===t.key)throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}(r);t.set(function(e){let t,r;let o=rS((t=new Set,e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(nF()?"Meta":"Control"),t)),i=rj[r=rE(e.key)]??r;return o.length>0?`${o.join("+")}+${i}`:i}(e),o)}return e=>{let r,o,i;let l=(o=rS((r=new Set,e.altKey&&r.add("Alt"),e.ctrlKey&&r.add("Control"),e.metaKey&&r.add("Meta"),e.shiftKey&&r.add("Shift"),r)),i=rE(e.key),(o.length>0?`${o.join("+")}+`:"")+i),s=t.get(l),d=null==s?void 0:s(e);void 0===d&&void 0!==s?d={shouldContinuePropagation:!1,shouldPreventDefault:!0}:"boolean"==typeof d&&(d={shouldContinuePropagation:!d,shouldPreventDefault:d}),null!=d&&d.shouldPreventDefault&&e.preventDefault(),(!s||null!=d&&d.shouldContinuePropagation)&&e.continuePropagation()}}(t),d=r_(e=>{var t,i;if(!tb(e.currentTarget,tw(e))||null!=(t=e.nativeEvent)&&t.repeat&&!r||null!=(i=e.nativeEvent)&&i.isComposing&&!o){e.continuePropagation();return}s(e)}),c=r_(e=>{var t,i;if(!tb(e.currentTarget,tw(e))||null!=(t=e.nativeEvent)&&t.repeat&&!r||null!=(i=e.nativeEvent)&&i.isComposing&&!o){e.continuePropagation();return}e.continuePropagation()});i=e.onKeyDown?rk(e.onKeyDown,d):d,l=e.onKeyUp?rk(e.onKeyUp,c):c}else i=r_(e.onKeyDown),l=r_(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:i,onKeyUp:l}}}let rT=()=>{let e=eJ(eS),t=eJ(eP),r=eJ(eC),o=eJ(e$);return()=>{e(""),t(""),r(!1),o(!1)}}
22,rP="xl:max-w-[1200px] lg:max-w-[960px] w-full lg:mx-auto px-6 lg:px-0",rA={siteHeader:"global-header:site-header",siteMenu:"global-header:site-menu"},rO=e=>{let{ctaLinks:t,buttonsSize:r,className:o,tabIndex:i,...l}=e,s=rl(),{keyboardProps:d}=rN({onKeyDown:e=>tp(e,s)}),c=eG(eT),u=rT(),p=V(e4);if((null==t?void 0:t.length)===0)return null;let{root:f,ctaButton:m}=p(),h=(0,F.cn)("ef-call-to-action-container",f(),o);return(0,D.jsx)("div",{className:h,...l,children:null==t?void 0:t.map(e=>{let{link:t,variant:o,title:l,bgColor:s,color:p,mono:f,shape:h,size:g,target:v,ariaLabel:y=l}=e,b={...s?{"--color-component-button-primary-bg":s,"--color-component-button-secondary-bg":s,"--color-components-buttons-filled-background":s,"--color-components-buttons-outlined-background":s}:{},...p?{"--color-component-button-primary-text":p,"--color-component-button-secondary-text":p,"--color-components-buttons-filled-foreground":p,"--color-components-buttons-outlined-foreground":p}:{}};return(0,D.jsx)(te,{as:"a",href:t,target:v,rel:"_blank"===v?"noopener noreferrer":void 0,variant:o,"aria-label":y,className:(0,F.cn)(m(),f),tabIndex:i,style:b,shape:h,size:r||g||"small",renderCustomLink:c,onClick:u,"data-clicklabel":e.dataClickLabel??rA.siteHeader,"data-info":e.dataInfo,...d,children:(0,D.jsx)("span",{"aria-hidden":!0,children:l})},null==e?void 0:e.id)})})};rO.displayName="CallToActionContainer";let rR=(0,B.c6)({slots:{root:"motion-safe:animate-in motion-safe:animate-from-top-8 motion-safe:animate-from-opacity-0 motion-safe:animation-ease-system-easing-expressive animation-duration-system-short bg-header-nav-surface relative z-20 flex h-full flex-1 flex-col justify-between overflow-hidden overflow-y-auto lg:hidden",subMenuTransition:"motion-safe:duration-system-medium motion-safe:transition-all motion-safe:ease-in-out",ctaContainer:"motion-safe:animate-in motion-safe:animate-from-top-2 motion-safe:animate-from-opacity-0 motion-safe:animation-ease-system-easing-expressive animation-duration-system-long motion-safe:animation-delay-system-medium"},variants:{showSubMenu:{true:{subMenuTransition:"pointer-events-none invisible -translate-x-8 opacity-0 rtl:translate-x-8"},false:{subMenuTransition:"opacity-1 motion-safe:delay-system-short translate-x-0"}}}}),rD=(0,B.c6)({slots:{root:"flex flex-1 flex-col gap-0.5 overflow-y-auto p-6",listItem:"group/nav-menu-trigger",menuItemContainer:"motion-safe:animate-in motion-safe:animate-from-top-2 motion-safe:animate-from-opacity-0 motion-safe:animation-ease-system-easing-expressive animation-duration-system-long",menuItem:"",divider:"my-6 shrink-0"}}),rM=(0,B.c6)({slots:{root:"ms-auto lg:hidden"},variants:{menuOpen:{true:{root:"mono"}}}});var rL=r(49190);let rI=(0,I.forwardRef)((e,t)=>{let{contentVariant:r="text",menuLabel:o,closeLabel:i,dataClickLabel:l,onPress:s,children:d,className:c,...u}=e,[p,f]=eY(eC),m=eJ(e$),h=eJ(eS),{root:g}=V(rM)({menuOpen:p}),v=(0,F.cn)("ef-menu-button",g(),c),y=p?i||"Close":o||"Menu";return(0,D.jsx)(te,{as:"button",className:v,variant:"text"===r?"primary":"ghost",shape:"text"===r?"square":"round",size:"small",ref:t,onPress:e=>{f(!p),m(!1),h(""),null==s||s(e)},"aria-expanded":p,"aria-controls":"bp-menu","aria-label":"icon"===r?y:void 0,"data-clicklabel":l??rA.siteHeader,"data-info":p?"close":"open",...u,children:"text"===r?d??y:(0,D.jsx)(rL.AnimatedChevron,{active:p})})});rI.displayName="MenuButton";let rF=(0,B.c6)({slots:{root:"group-has-[[data-active=true]]/nav-menu-trigger:[.ef-nav-folder-button_&]:after:bg-header-primary after:animate-link-underline group-data-[active=true]/nav-link:after:bg-header-primary relative after:absolute after:-bottom-2 after:left-0 after:right-0 after:hidden after:h-[3px] after:bg-current after:content-[''] group-hover:after:block group-data-[active=true]/nav-link:after:block group-has-[[data-active=true]]/nav-menu-trigger:[.ef-nav-folder-button_&]:after:block"},variants:{keepHover:{true:{root:"after:block after:animate-none after:[view-transition-name:link-underline]"}}}}),rB=e=>{let{keepHover:t=!1,className:r,children:o,themeConfig:i,...l}=e,{root:s}=V(rF,i)({keepHover:t}),d=(0,F.cn)("ef-link-content",s(),r);return(0,D.jsx)("span",{className:d,...l,children:o})};rB.displayName="LinkContent";let rV=(0,B.c6)({slots:{root:"flex h-full min-h-11 flex-col justify-end max-lg:hidden",ulList:"h-full w-full flex-1 justify-start lg:flex lg:flex-row",itemsPadding:'pe-6 group-first/nav-link:ps-0 group-last/nav-item:pe-0 group-last/nav-link:pe-0 group-data-[variant="extended"]/root:pb-1'}}),rz=(0,B.c6)({slots:{root:"group/nav-item list-none",navLink:"group/nav-link rounded-xxs text-header-nav-on-surface group flex h-full cursor-pointer items-center outline-0",content:"",trigger:""},variants:{hidden:{true:{root:"hidden"}}}}),rH=(0,B.c6)({slots:{root:"group/nav-menu-trigger pointer-events-none h-full lg:pointer-events-auto",folderButton:"",desktopMenu:"",content:""},variants:{hasRowCategories:{true:{}},isOverflowing:{true:{}}}
22,compoundVariants:[{hasRowCategories:!1,isOverflowing:!1,class:{root:"relative"}},{hasRowCategories:!1,isOverflowing:!0,class:{desktopMenu:"left-[unset] right-0 rtl:left-0 rtl:right-[unset]"}}]}),rU=(0,B.c6)({slots:{root:"text-ui-label-small text-header-nav-on-surface group-data-[active=true]/nav-link:text-ui-label-small-bold group-has-[[data-active=true]]/nav-menu-trigger:text-ui-label-small-bold flex items-center gap-1",titleSpan:"line-clamp-2 select-none text-left",icon:"text-header-nav-on-surface"}});var rZ=r(61376);let rW=e=>{let{title:t,open:r=!1,chevron:o,showExternalIcon:i,isExternal:l=!1,isHovered:s=!1,className:d,children:c,...u}=e,{root:p,titleSpan:f,icon:m}=V(rU)(),h=(0,F.cn)("ef-nav-item-content",p(),d);return(0,D.jsxs)(rB,{keepHover:r,className:h,...u,children:[c,(0,D.jsx)("span",{className:(0,F.cn)(f()),children:t}),i??l?(0,D.jsx)(rZ.AnimatedExternalArrow,{className:(0,F.cn)(m()),active:s}):null,o?(0,D.jsx)(rL.AnimatedChevron,{active:r,className:(0,F.cn)(m())}):null]})};rW.displayName="NavItemContent";let rK="default",rq="",rG=new WeakMap;function rJ(e){if(nz()&&nH()){if("default"===rK){let t=tv(e);rq=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}rK="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";rG.set(e,e.style[t]),e.style[t]="none"}}function rY(e){if(nz()&&nH())"disabled"===rK&&(rK="restoring",setTimeout(()=>{rt(()=>{if("restoring"===rK){let t=tv(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=rq||""),rq="",rK="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&rG.has(e)){let t=rG.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[r]&&(e.style[r]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),rG.delete(e)}}function rX(e){let t=null==e?void 0:e.defaultView;return(null==t?void 0:t.__webpack_nonce__)||globalThis.__webpack_nonce__||void 0}let rQ=new WeakMap;function r0(e){let t=e??("u">typeof document?document:void 0);if(!t)return rX(t);if(rQ.has(t))return rQ.get(t);let r=t.querySelector('meta[property="csp-nonce"]'),o=r&&r instanceof ty(r).HTMLMetaElement&&(r.nonce||r.content)||rX(t)||void 0;return void 0!==o&&rQ.set(t,o),o}let r1=new Map;function r2(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r3(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let o=e[r];for(let e in o){let r=t[e],i=o[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=rk(r,i):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof i?t[e]=function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}(r,i):"id"===e&&r&&i?t.id=function(e,t){if(e===t)return e;let r=r1.get(e);if(r)return r.forEach(e=>e.current=t),t;let o=r1.get(t);return o?(o.forEach(t=>t.current=e),e):t}(r,i):"ref"===e&&r&&i?t.ref=function(...e){return 1===e.length&&e[0]?e[0]:t=>{let r=!1,o=e.map(e=>{let o=r2(e,t);return r||(r="function"==typeof o),o});if(r)return()=>{o.forEach((t,r)=>{"function"==typeof t?t():r2(e[r],null)})}}}(r,i):t[e]=void 0!==i?i:r}}return t}"u">typeof FinalizationRegistry&&new FinalizationRegistry(e=>{r1.delete(e)});let r4=I.createContext({register:()=>{}});r4.displayName="PressResponderContext";let r6=I.useInsertionEffect??nA;function r8(e){let t=(0,I.useRef)(null);return r6(()=>{t.current=e},[e]),(0,I.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}function r9(){let e=(0,I.useRef)(new Map),t=(0,I.useCallback)((t,r,o,i)=>{let l=null!=i&&i.once?(...t)=>{e.current.delete(o),o(...t)}:o;e.current.set(o,{type:r,eventTarget:t,fn:l,options:i}),t.addEventListener(r,l,i)},[]),r=(0,I.useCallback)((t,r,o,i)=>{var l;let s=(null==(l=e.current.get(o))?void 0:l.fn)||o;t.removeEventListener(r,s,i),e.current.delete(o)},[]),o=(0,I.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,I.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:o}}function r5(e,t){nA(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}var r7=e=>{throw TypeError(e)},ae=(e,t,r)=>t.has(e)||r7("Cannot "+r),at=(e,t,r)=>(ae(e,t,"read from private field"),r?r.call(e):t.get(e)),an=(e,t,r)=>t.has(e)?r7("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ar=(e,t,r,o)=>(ae(e,t,"write to private field"),o?o.call(e,r):t.set(e,r),r);class aa{constructor(e,t,r,o){an(this,NY),ar(this,NY,!0);let i=(null==o?void 0:o.target)??r.currentTarget,l=null==i?void 0:i.getBoundingClientRect(),s,d=0,c,u=null;null!=r.clientX&&null!=r.clientY&&(c=r.clientX,u=r.clientY),l&&(null!=c&&null!=u?(s=c-l.left,d=u-l.top):(s=l.width/2,d=l.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=d,this.key=r.key}continuePropagation(){ar(this,NY,!1)}get shouldStopPropagation(){return at(this,NY)}}NY=new WeakMap;let ao=Symbol("linkClicked"),ai="react-aria-pressable-style",al="data-react-aria-pressable";function as(e){let{onPress:t,onPressChange:r,onPressStart:o,onPressEnd:i,onPressUp:l,onClick:s,isDisabled:d,isPressed:c,preventFocusOnPress:u,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:f,ref:m,...h}=function(e){let t=(0,I.useContext)(r4);if(t){let{register:r,ref:o,...i}=t;e=r3(i,e),r()}return r5(t,e.ref),e}(e),[g,v]=(0,I.useState)(!1),y=(0,I.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:b,removeAllGlobalListeners:x}=r9(),w=(0,I.useCallback)((e,t)=>{let i=y.current;if(d||i.didFirePressStart)return!1;let l=!0;if(i.isTriggeringEvent=!0,o){let r=new aa("pressstart",t,e);o(r),l=r.shouldStopPropagation}return r&&r(!0),i.isTriggeringEvent=!1,i.didFirePressStart=!0,v(!0),l},[d,o,r]),k=(0,I.useCallback)((e,o,l=!0)=>{let s=y.current;if(!s.didFirePressStart)return!1;s.didFirePressStart=!1,s.isTriggeringEvent=!0;let c=!0;if(i){let t=new aa("pressend",o,e);i(t),c=t.shouldStopPropagation}if(r&&r(!1),v(!1),t&&l&&!d){let r=new aa("press",o,e);t(r),c&&(c=r.shouldStopPropagation)}return s.isTriggeringEvent=!1,c},[d,i,r,t]),_=r8(k),C=r8((0,I.useCallback)((e,t)=>{let r=y.current;if(d)return!1;if(l){r.isTriggeringEvent=!0;let o=new aa("pressup",t,e);return l(o),r.isTriggeringEvent=!1,o.shouldStopPropagation}return!0},[d,l])),$=(0,I.useCallback)(e=>{let t=y.current;if(t.isPressed&&t.target){for(let r of(t.didFirePressStart&&null!=t.pointerType&&k(af(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,x(),f||rY(t.target),t.disposables)
22)r();t.disposables=[]}},[f,x,k]),S=r8($);(0,I.useEffect)(()=>{d&&y.current.isPressed&&S({currentTarget:y.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[d]);let E=(0,I.useCallback)(e=>{p&&$(e)},[p,$]),j=(0,I.useCallback)(e=>{d||null==s||s(e)},[d,s]),N=(0,I.useCallback)((e,t)=>{if(!d&&s){let r=new MouseEvent("click",e);Object.defineProperty(r,"target",{value:t}),Object.defineProperty(r,"currentTarget",{value:t}),s(nO(r))}},[d,s]),T=(0,I.useMemo)(()=>{let e=y.current,t={onKeyDown(t){var o;if(ac(t.nativeEvent,t.currentTarget)&&tb(t.currentTarget,tw(t))){ah(tw(t),t.key)&&t.preventDefault();let i=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",i=w(t,"keyboard"));let l=t.currentTarget;b(tv(t.currentTarget),"keyup",rk(t=>{ac(t,l)&&!t.repeat&&tb(l,tw(t))&&e.target&&C(af(e.target,t),"keyboard")},r),!0),i&&t.stopPropagation(),t.metaKey&&nF()&&(null==(o=e.metaKeyEvents)||o.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if(!(t&&!tb(t.currentTarget,tw(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!nq.isOpening){let r=!0;if(d&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||nK(t.nativeEvent))){let e=w(t,"virtual"),o=C(t,"virtual"),i=_(t,"virtual");j(t),r=e&&o&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let o=e.pointerType||t.nativeEvent.pointerType||"virtual",i=C(af(t.currentTarget,t),o),l=_(af(t.currentTarget,t),o,!0);r=i&&l,e.isOverTarget=!1,j(t),S(t)}e.ignoreEmulatedMouseEvents=!1,r&&t.stopPropagation()}}},r=t=>{var r,o,i;if(e.isPressed&&e.target&&ac(t,e.target)){ah(tw(t),t.key)&&t.preventDefault();let o=tw(t),i=tb(e.target,o);_(af(e.target,t),"keyboard",i),i&&N(t,e.target),x(),"Enter"!==t.key&&ad(e.target)&&tb(e.target,o)&&!t[ao]&&(t[ao]=!0,nq(e.target,t,!1)),e.isPressed=!1,null==(r=e.metaKeyEvents)||r.delete(t.key)}else if("Meta"===t.key&&null!=(o=e.metaKeyEvents)&&o.size){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null==(i=e.target)||i.dispatchEvent(new KeyboardEvent("keyup",r))}};if("u">typeof PointerEvent){t.onPointerDown=t=>{var i;if(0!==t.button||!tb(t.currentTarget,tw(t)))return;if(i=t.nativeEvent,!nZ()&&0===i.width&&0===i.height||nZ()&&1===i.width&&1===i.height&&0===i.pressure&&0===i.detail&&"mouse"===i.pointerType){e.pointerType="virtual";return}e.pointerType=t.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,f||rJ(e.target),l=w(t,e.pointerType);let i=tw(t);"releasePointerCapture"in i&&("hasPointerCapture"in i?i.hasPointerCapture(t.pointerId)&&i.releasePointerCapture(t.pointerId):i.releasePointerCapture(t.pointerId)),b(tv(t.currentTarget),"pointerup",r,!1),b(tv(t.currentTarget),"pointercancel",o,!1)}l&&t.stopPropagation()},t.onMouseDown=t=>{if(tb(t.currentTarget,tw(t))&&0===t.button){if(u){let r=nD(t.target);r&&e.disposables.push(r)}t.stopPropagation()}},t.onPointerUp=t=>{tb(t.currentTarget,tw(t))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||C(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,w(af(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,_(af(e.target,t),e.pointerType,!1),E(t))};let r=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if(tb(e.target,tw(t))&&null!=e.pointerType){let r=!1,o=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(r?S(t):(tk(e.target),e.target.click()))},80);b(t.currentTarget,"click",()=>r=!0,!0),e.disposables.push(()=>clearTimeout(o))}else S(t);e.isOverTarget=!1}},o=e=>{S(e)};t.onDragStart=e=>{tb(e.currentTarget,tw(e))&&S(e)}}else if("test"===tC.process.env.NODE_ENV){t.onMouseDown=t=>{if(0===t.button&&tb(t.currentTarget,tw(t))){if(e.ignoreEmulatedMouseEvents){t.stopPropagation();return}if(e.isPressed=!0,e.isOverTarget=!0,e.target=t.currentTarget,e.pointerType=nK(t.nativeEvent)?"virtual":"mouse",(0,eD.flushSync)(()=>w(t,e.pointerType))&&t.stopPropagation(),u){let r=nD(t.target);r&&e.disposables.push(r)}b(tv(t.currentTarget),"mouseup",r,!1)}},t.onMouseEnter=t=>{if(!tb(t.currentTarget,tw(t)))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!0,r=w(t,e.pointerType)),r&&t.stopPropagation()},t.onMouseLeave=t=>{if(!tb(t.currentTarget,tw(t)))return;let r=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&null!=e.pointerType&&(e.isOverTarget=!1,r=_(t,e.pointerType,!1),E(t)),r&&t.stopPropagation()},t.onMouseUp=t=>{!tb(t.currentTarget,tw(t))||e.ignoreEmulatedMouseEvents||0!==t.button||e.isPressed||C(t,e.pointerType||"mouse")};let r=t=>{if(0===t.button){if(e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&tb(e.target,tw(t))&&null!=e.pointerType||S(t),e.isOverTarget=!1}};t.onTouchStart=t=>{if(!tb(t.currentTarget,tw(t)))return;let r=function(e){let{targetTouches:t}=e;return t.length>0?t[0]:null}(t.nativeEvent);r&&(e.activePointerId=r.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=t.currentTarget,e.pointerType="touch",f||rJ(e.target),w(ap(e.target,t),e.pointerType)&&t.stopPropagation(),b(ty(t.currentTarget),"scroll",o,!0))},t.onTouchMove=t=>{if(!tb(t.currentTarget,tw(t)))return;if(!e.isPressed){t.stopPropagation();return}let r=au(t.nativeEvent,e.activePointerId),o=!0;r&&am(r,t.currentTarget)?e.isOverTarget||null==e.pointerType||(e.isOverTarget=!0,o=w(ap(e.target,t),e.pointerType)):e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,o=_(ap(e.target,t),e.pointerType,!1),E(ap(e.target,t))),o&&t.stopPropagation()},t.onTouchEnd=t=>{if(!tb(t.currentTarget,tw(t)))return;if(!e.isPressed){t.stopPropagation();return}let r=au(t.nativeEvent,e.activePointerId),o=!0;r&&am(r,t.currentTarget)&&null!=e.pointerType?(C(ap(e.target,t),e.pointerType),o=_(ap(e.target,t),e.pointerType),N(t.nativeEvent,e.target)):e.isOverTarget&&null!=e.pointerType&&(o=_(ap(e.target,t),e.pointerType,!1)),o&&t.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!f&&rY(e.target),x()},t.onTouchCancel=t=>{tb(t.currentTarget,tw(t))&&(t.stopPropagation(),e.isPressed&&S(ap(e.target,t)))};let o=t=>{e.isPressed&&tb(tw(t),e.target)&&S({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};t.onDragStart=e=>{tb(e.currentTarget,tw(e))&&S(e)}}return t},[b,d,u,x,f,E,w,j,N]);return(0,I.useEffect)(()=>
22{if(!m||"test"===tC.process.env.NODE_ENV)return;let e=tv(m.current);if(!e||!e.head||e.getElementById(ai))return;let t=e.createElement("style");t.id=ai;let r=r0(e);r&&(t.nonce=r),t.textContent=` 23@layer { 24 [${al}] { 25 touch-action: pan-x pan-y pinch-zoom; 26 } 27} 28 `.trim(),e.head.prepend(t)},[m]),(0,I.useEffect)(()=>{let e=y.current;return()=>{for(let t of(f||rY(e.target??void 0),e.disposables))t();e.disposables=[]}},[f]),{isPressed:c||g,pressProps:r3(h,T,{[al]:!0})}}function ad(e){return"A"===e.tagName&&e.hasAttribute("href")}function ac(e,t){let{key:r,code:o}=e,i=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===o)&&!(t instanceof ty(t).HTMLInputElement&&!av(t,r)||t instanceof ty(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&ad(t))&&"Enter"!==r)}function au(e,t){let r=e.changedTouches;for(let e=0;e<r.length;e++){let o=r[e];if(o.identifier===t)return o}return null}function ap(e,t){let r=0,o=0;return t.targetTouches&&1===t.targetTouches.length&&(r=t.targetTouches[0].clientX,o=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:o}}function af(e,t){let r=t.clientX,o=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:o,key:t.key}}function am(e,t){let r,o;let i=t.getBoundingClientRect(),l=(r=0,o=0,void 0!==e.width?r=e.width/2:void 0!==e.radiusX&&(r=e.radiusX),void 0!==e.height?o=e.height/2:void 0!==e.radiusY&&(o=e.radiusY),{top:e.clientY-o,right:e.clientX+r,bottom:e.clientY+o,left:e.clientX-r});return!(i.left>l.right||l.left>i.right||i.top>l.bottom||l.top>i.bottom)}function ah(e,t){return(!nF()||"Enter"!==t)&&(e instanceof HTMLInputElement?("Enter"!==t||"checkbox"!==e.type&&"radio"!==e.type)&&!av(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!ad(e)))}let ag=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function av(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:ag.has(e.type)}let ay=e=>{let{open:t,className:r,children:o,dataClickLabel:i,...l}=e,{pressProps:s}=as({...l});return(0,D.jsx)(e9.t,{children:(0,D.jsx)("button",{className:(0,F.cn)("ef-nav-folder-button",r),"aria-expanded":t?"true":"false","aria-haspopup":!0,"data-clicklabel":i??rA.siteMenu,"data-info":t?"close":"open",...s,children:o})})};ay.displayName="NavFolderButton";let ab=new Set(["id"]),ax=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),aw=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ak=new Set(["dir","lang","hidden","inert","translate"]),a_=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),aC=/^(data-.*)$/,a$=I.createContext(null),aS=e=>{let{link:t,onKeyDown:r,className:o,children:i,...l}=e,{id:s,title:d}=t,c=(0,I.useRef)(null),[u,p]=eY(e$),[f,m]=eY(eS),h=rl(),{buttonProps:g}=function(e,t){let{elementType:r="button",isDisabled:o,onPress:i,onPressStart:l,onPressEnd:s,onPressUp:d,onPressChange:c,preventFocusOnPress:u,allowFocusWhenDisabled:p,onClick:f,href:m,target:h,rel:g,type:v="button"}=e,y;y="button"===r?{type:v,disabled:o,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==r||o?void 0:m,target:"a"===r?h:void 0,type:"input"===r?v:void 0,disabled:"input"===r?o:void 0,"aria-disabled":o&&"input"!==r?o:void 0,rel:"a"===r?g:void 0};let{pressProps:b,isPressed:x}=as({onPressStart:l,onPressEnd:s,onPressChange:c,onPress:i,onPressUp:d,onClick:f,isDisabled:o,preventFocusOnPress:u,ref:t}),{focusableProps:w}=function(e,t){let{focusProps:r}
28=function(e){let t,{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:l}=e,s=(0,I.useCallback)(e=>{if(tw(e)===e.currentTarget)return i&&i(e),l&&l(!1),!0},[i,l]),d=(t=(0,I.useRef)({isFocused:!1,observer:null}),nA(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,I.useCallback)(e=>{let r=tw(e);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",e=>{if(t.current.isFocused=!1,r.disabled){let t=nO(e);null==s||s(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{var e;if(t.current.isFocused&&r.disabled){null==(e=t.current.observer)||e.disconnect();let o=r===tx()?null:tx();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[s])),c=(0,I.useCallback)(e=>{let t=tw(e),r=tv(t),i=r?tx(r):tx();t===e.currentTarget&&t===i&&(o&&o(e),l&&l(!0),d(e))},[l,o,d]);return{focusProps:{onFocus:!r&&(o||l||i)?c:void 0,onBlur:!r&&(i||l)?s:void 0}}}(e),{keyboardProps:o}=rN(e),i=r3(r,o),l=function(e){let t=(0,I.useContext)(a$)||{};r5(t,e);let{ref:r,...o}=t;return o}(t),s=e.isDisabled?{}:l,d=(0,I.useRef)(e.autoFocus);(0,I.useEffect)(()=>{d.current&&t.current&&rn(t.current),d.current=!1},[t]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:r3({...i,tabIndex:c},s)}}(e,t);p&&(w.tabIndex=o?-1:w.tabIndex);let k=r3(w,b,function(e,t={}){let{labelable:r,isLink:o,global:i,events:l=i,propNames:s}=t,d={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(ab.has(t)||r&&ax.has(t)||o&&aw.has(t)||i&&ak.has(t)||l&&(a_.has(t)||t.endsWith("Capture")&&a_.has(t.slice(0,-7)))||null!=s&&s.has(t)||aC.test(t))&&(d[t]=e[t]);return d}(e,{labelable:!0}));return{isPressed:x,buttonProps:r3(y,k,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}({...l,onPress:()=>{d&&m(String(s)),p(!u)}},c),{keyboardProps:v}=rN({onKeyDown:e=>{e.continuePropagation(),null==r||r(e),tp(e,h),"ArrowRight"!==e.key&&"Space"!==e.key||u||(d&&m(String(s)),p(!0))}});return(0,D.jsx)("button",{ref:c,className:o,role:"menuitem","aria-expanded":u&&f===String(s),"data-clicklabel":t.dataClickLabel??rA.siteMenu,"data-info":t.dataInfo,...g,...v,...l,children:i})};aS.displayName="MenuFolderButton";let aE=e=>{let{link:t,className:r,onKeyDown:o,children:i,role:l,withMenuRole:s=!0,...d}=e,c=eJ(eP),u=eG(eT),p=rT(),f=rl(),{keyboardProps:m}=rN({onKeyDown:e=>{e.continuePropagation(),null==o||o(e),s&&tp(e,f)}}),h=null==t?void 0:t.target;return(0,D.jsx)(u,{className:r,href:null==t?void 0:t.link,target:h,rel:"_blank"===h?"noopener noreferrer":void 0,onClick:()=>{p(),null!=t&&t.link&&!ts(t.link)&&c(t.link)},role:l??(s?"menuitem":void 0),"data-clicklabel":t.dataClickLabel??rA.siteMenu,"data-info":t.dataInfo,...m,...d,children:i})};aE.displayName="MenuLink";let aj=(0,B.c6)({slots:{root:"text-system-text-default list-none",iconWrapper:"flex size-4 fill-current lg:mt-0",navMenuItemBg:"",navMenuItemCaretIcon:"",navMenuItemWrapper:"",titleWrapper:"self-center",childrenContainer:""},variants:{hidden:{true:{root:"hidden"}},hasTag:{true:{iconWrapper:"lg:mt-1"}},hasIcon:{true:{}},hasSubLabel:{true:{}},isTopLevel:{true:{titleWrapper:"group-has-[[data-active=true]]/nav-menu-trigger:text-header-primary",navMenuItemBg:"group-has-[[data-active=true]]/nav-menu-trigger:bg-system-surface-selected-weak",navMenuItemWrapper:"group-has-[[data-active=true]]/nav-menu-trigger:text-header-primary group-has-[[data-active=true]]/nav-menu-trigger:before:block",navMenuItemCaretIcon:"group-has-[[data-active=true]]/nav-menu-trigger:text-system-primary"}}},compoundVariants:[{hasIcon:!0,hasSubLabel:!0,class:{childrenContainer:"mt-0.5 self-start"}}]}),aN=(0,B.c6)({slots:{root:"relative flex h-16 flex-col justify-end lg:px-0",wrapper:"",divi
28der:"bg-components-dividers-default mb-1 min-h-px overflow-hidden lg:mx-0 lg:mb-2"},variants:{hidden:{true:{root:"hidden"}}}}),aT=(0,B.c6)({slots:{root:"flex flex-row items-center gap-2 py-4",titleWrapper:"text-system-text-default text-ui-label-large-bold lg:text-ui-label-small-bold",iconWrapper:"size-4 shrink-0 lg:mt-px lg:self-start"}}),aP=(0,B.c6)({slots:{root:"group relative flex max-h-16 min-h-12 w-full cursor-pointer items-center justify-between gap-xs rounded-xs py-3 lg:h-fit lg:min-h-[unset] lg:py-2",bg:"transition-system-duration-short transition-system-easing-standard absolute -left-4 -right-4 bottom-0 top-0 z-0 translate-x-0 rounded-xs transition-colors group-hover:bg-system-surface-hover lg:-left-2 lg:-right-2",externalIcon:"shrink-0 text-system-text-default",caretIcon:"z-10 shrink-0 text-system-text-default rtl:rotate-180",contentRoot:"",contentChildrenContainer:"",contentTextContainer:"",contentContainer:"",contentTitleWrapper:"",contentSubLabelWrapper:"",contentTag:"",contentNotificationBadge:"",contentNotificationDot:""},variants:{size:{large:{root:"min-h-xxl"},fit:{},compact:{root:"size-10 max-h-none min-h-0 justify-center gap-0 p-0 lg:size-10",bg:"left-0 right-0 lg:left-0 lg:right-0"}},isActive:{true:{bg:"bg-system-surface-selected-weak text-system-text-selected-default ring-2 ring-inset ring-system-stroke-mono",caretIcon:"text-system-text-selected-default"}},disabled:{true:{root:"cursor-not-allowed text-system-text-disabled-default",bg:"group-hover:bg-transparent",caretIcon:"text-system-text-disabled-default"}}}}),aA=(0,B.c6)({slots:{root:"relative flex w-full flex-1 flex-row gap-2 text-system-text-default group-data-[active=true]:text-system-text-selected-default motion-safe:transition-transform motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive",childrenContainer:"z-0 flex self-center",textContainer:"flex w-full flex-col items-start gap-0.5",contentContainer:"flex w-full items-center justify-between gap-2 text-start",titleWrapper:"transition-system-duration-short transition-system-easing-standard self-center transition-all group-data-[active=true]:lg:text-ui-label-small-bold",subLabelWrapper:"text-system-text-weak text-ui-label-small",tag:"cursor-pointer shadow-none [--tag-background-color:var(--header-secondary,var(--color-brand-first-paper))] [--tag-outline-color:var(--header-secondary,var(--color-brand-first-paper))]",notificationBadge:"z-10 flex h-5 min-w-5 shrink-0 items-center justify-center self-center rounded-full bg-system-surface-warning-strong px-1.5 text-system-text-warning-on-strong",notificationDot:"absolute -right-2 -top-2 z-10 size-2 rounded-full bg-system-surface-warning-strong"},variants:{titleSize:{large:{contentContainer:"text-mobile-header-5 lg:text-ui-label-small group-data-[active=true]:lg:text-ui-label-small-bold"},default:{contentContainer:"text-ui-label-large group-data-[active=true]:text-ui-label-large-bold lg:text-ui-label-small group-data-[active=true]:lg:text-ui-label-small-bold"}},bold:{true:{contentContainer:"text-ui-label-large-bold lg:text-ui-label-small-bold"}},disabled:{true:{root:"text-system-text-disabled-default"}},compact:{true:{root:"w-auto flex-none gap-0",textContainer:"hidden",notificationBadge:"absolute -right-1 -top-1 h-2 min-w-0 p-0 text-[0px] leading-[0]"}}}});var aO=r(65243),aR=r(48905);let aD=(0,B.c6)({slots:{root:"relative inline-flex max-w-full items-center gap-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-xs bg-system-surface-weak py-1 text-system-text-default [&>*]:min-w-0 [&>*]:overflow-hidden [&>*]:text-ellipsis [&>svg]:shrink-0",tag:"relative inline-flex w-fit cursor-default select-none items-center gap-2 text-ui-label",close:"background-none -me-1 flex h-[24px] w-[24px] items-center justify-center rounded-xs border-none transition-colors duration-system-short hover:bg-components-buttons-ghost-hover-background"},variants:{filled:{true:{root:"bg-system-background-inverse text-system-text-on-inverse"},false:{root:"border border-system-stroke-strong"}},small:{true:{root:"h-6 gap-1 px-2 py-0.5 text-ui-label-small [&_.ef-icon-wrapper]:h-[12px] [&_.ef-icon-wrapper]:w-[12px]",close:"*:!h-[12px] *:!w-[12px]"},false:{root:"h-8 gap-2 px-3"}},intent:{promo:{root:"border-system-stroke-promo-default bg-system-surface-promo-weak text-system-text-promo-on-weak"},info:{root:"border-system-stroke-info bg-system-surface-info-weak text-system-text-info-on-weak"},success:{root:"border-system-stroke-success-default bg-system-surface-success-weak text-system-text-success-on-weak"},attention:{root:"border-system-stroke-attention-default bg-system-surface-attention-weak text-system-text-attention-on-weak"},warning:{root:"border-system-stroke-warning-default bg-system-surface-warning-weak text-system-text-warning-on-weak"},primary:{root:"border-system-stroke-brand-default bg-system-surface-brand-secondary text-system-text-brand-on-secondary"}}},compoundVariants:[{filled:!0,intent:"promo",class:{root:"border-none bg-system-surface-promo-strong text-system-text-promo-on-strong"}},{filled:!0,intent:"info",class:{root:"border-none bg-system-surface-info-strong text-system-text-info-on-strong"}},{filled:!0,intent:"success",class:{root:"border-none bg-system-surface-success-strong text-system-text-success-on-strong"}},{filled:!0,intent:"attention",class:{root:"border-none bg-system-surface-attention-strong text-system-text-attention-on-strong"}},{filled:!0,intent:"warning",class:{root:"border-none bg-system-surface-warning-strong text-system-text-warning-on-strong"}},{filled:!0,intent:"primary",class:{root:"border-none bg-system-surface-brand-primary text-system-text-brand-on-primary"}}]}),aM=(0,I.forwardRef)((e,t)=>
28{let{small:r=!1,filled:o=!1,intent:i,className:l,themeConfig:s,children:d,...c}=e,u=(0,B.tv)(s?(0,B.RH)(aD,s):aD),{root:p}=(0,B.tv)(u)({filled:o,small:r,intent:i}),f=(0,F.cn)("ef-tag",p(),l);return(0,D.jsx)("span",{ref:t,className:f,...c,children:d})});aM.displayName="Tag";var aL=r(3900);let aI=e=>{let{title:t,subLabel:r,tagText:o,notificationBadge:i,disabled:l,compact:s,titleSize:d="default",children:c,className:u,themeConfig:p,...f}=e,{root:m,childrenContainer:h,textContainer:g,contentContainer:v,titleWrapper:y,tag:b,notificationBadge:x,notificationDot:w,subLabelWrapper:k}=(0,B.tv)(p?(0,B.RH)(aA,p):aA)({titleSize:d,disabled:l,compact:s}),_=(0,F.cn)("ef-nav-menu-item-content",m(),u),C=s?(0,D.jsx)("div",{className:(0,F.cn)(w())}):(0,D.jsx)(aL.x,{as:"span",variant:"smallPrintBold",className:(0,F.cn)(x()),children:String(i)});return(0,D.jsxs)("div",{className:(0,F.cn)(_),"aria-hidden":!0,...f,children:[c?(0,D.jsx)("div",{className:(0,F.cn)(h()),children:c}):null,(0,D.jsxs)("div",{className:(0,F.cn)(g()),children:[(0,D.jsxs)("div",{className:(0,F.cn)(v()),children:[(0,D.jsx)("span",{className:(0,F.cn)(y()),children:t}),o?(0,D.jsx)(aM,{themeConfig:{slots:{root:b()}},small:!0,filled:!0,"aria-label":o,children:o}):null]}),r?(0,D.jsx)("span",{className:(0,F.cn)(k()),children:r}):null]}),i?C:null]})};aI.displayName="NavMenuItemContent";let aF=e=>{let{size:t="fit",isActive:r,showExternalIcon:o,showCaretIcon:i,caretIconDirection:l="right",caretIconSize:s="24",disabled:d=!1,href:c,renderCustomLink:u,children:p,className:f,themeConfig:m,title:h,subLabel:g,tagText:v,notificationBadge:y,titleSize:b,leadingContent:x,...w}=e,{isHovered:k,hoverProps:_}=(0,aR.X)({}),{root:C,bg:$,externalIcon:S,caretIcon:E,contentRoot:j,contentChildrenContainer:N,contentTextContainer:T,contentContainer:P,contentTitleWrapper:A,contentSubLabelWrapper:O,contentTag:R,contentNotificationBadge:M,contentNotificationDot:L}=(0,B.tv)(m?(0,B.RH)(aP,m):aP)({size:t,isActive:r,disabled:d}),I=(0,F.cn)("ef-nav-menu-item",C(),f);return(0,D.jsx)(e9.t,{within:!0,children:(0,D.jsxs)(u??"a",{className:I,href:d?void 0:c,"data-active":r,"data-disabled":d,...w,..._,children:[(0,D.jsx)("div",{className:(0,F.cn)($())}),p||(h||x?(0,D.jsx)(aI,{title:h,subLabel:g,tagText:v,titleSize:b,notificationBadge:y,disabled:d,compact:"compact"===t,themeConfig:m?{slots:{root:(0,F.cn)(j()),childrenContainer:(0,F.cn)(N()),textContainer:(0,F.cn)(T()),contentContainer:(0,F.cn)(P()),titleWrapper:(0,F.cn)(A()),subLabelWrapper:(0,F.cn)(O()),tag:(0,F.cn)(R()),notificationBadge:(0,F.cn)(M()),notificationDot:(0,F.cn)(L())}}:void 0,children:x}):null),o?(0,D.jsx)(rZ.AnimatedExternalArrow,{className:(0,F.cn)(S()),active:k}):null,i?"right"===l?(0,D.jsx)(aO.T,{className:(0,F.cn)(E()),height:s,width:s,weight:"bold"}):"down"===l||"up"===l?(0,D.jsx)(rL.AnimatedChevron,{className:(0,F.cn)(E()),height:s,width:s,active:"up"===l}):null:null]})})};aF.displayName="NavMenuItem";var aB=r(11084),aV=Object.defineProperty,az=(e,t,r)=>t in e?aV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aH=(e,t,r)=>az(e,"symbol"!=typeof t?t+"":t,r);let aU={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function aZ(){var e;return!!("u">typeof window&&null!=(e=window.document)&&e.createElement)}async function aW(e,t){let r=await fetch(e,t),[o]=(r.headers.get("content-type")??"").split(/ ?; ?/);if(r.status>299)throw Error("Not found");if(!["image/svg+xml","text/plain"].some(e=>o.includes(e)))throw Error(`Content type isn't valid: ${o}`);return r.text()}var aK=class{constructor(e={}){aH(this,"cacheApi"),aH(this,"cacheStore"),aH(this,"subscribers",[]),aH(this,"isReady",!1);let{name:t="react-inlinesvg",persistent:r=!1}=e;this.cacheStore=new Map,r&&aZ()&&"caches"in window?caches.open(t).then(e=>{this.cacheApi=e}).catch(e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;let e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}})}):this.isReady=!0}onReady(e){return this.isReady?(e(),()=>{}):(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise(e=>{this.onReady(e)})}async get(e,t){var r;return await this.fetchAndCache(e,t),(null==(r=this.cacheStore.get(e))?void 0:r.content)??""}getContent(e){var t;return(null==(t=this.cacheStore.get(e))?void 0:t.content)??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){var t;return(null==(t=this.cacheStore.get(e))?void 0:t.status)===aU.LOADED}async fetchAndCache(e,t){this.isReady||await this.waitForReady();let r=this.cacheStore.get(e);if((null==r?void 0:r.status)!==aU.LOADED){if((null==r?void 0:r.status)===aU.LOADING){await this.handleLoading(e,(null==t?void 0:t.signal)||void 0,async()=>{this.cacheStore.set(e,{content:"",status:aU.IDLE}),await this.fetchAndCache(e,t)});let r=this.cacheStore.get(e);
28if((null==r?void 0:r.status)===aU.FAILED){if(r.error)throw r.error;this.cacheStore.delete(e),await this.fetchAndCache(e,t)}return}this.cacheStore.set(e,{content:"",status:aU.LOADING});try{let r=this.cacheApi?await this.fetchFromPersistentCache(e,t):await aW(e,t);this.cacheStore.set(e,{content:r,status:aU.LOADED})}catch(r){let t=(null==r?void 0:r.name)==="AbortError";throw this.cacheStore.set(e,{content:"",error:t?void 0:r,status:aU.FAILED}),r}}}async fetchFromPersistentCache(e,t){var r,o,i,l;let s=await (null==(r=this.cacheApi)?void 0:r.match(e));return s?s.text():(await (null==(o=this.cacheApi)?void 0:o.add(new Request(e,t))),await (null==(l=await (null==(i=this.cacheApi)?void 0:i.match(e)))?void 0:l.text())??"")}async handleLoading(e,t,r){var o;for(let r=0;r<10;r++){if(null!=t&&t.aborted)throw t.reason instanceof Error?t.reason:new DOMException("The operation was aborted.","AbortError");if((null==(o=this.cacheStore.get(e))?void 0:o.status)!==aU.LOADING)return;await function(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}(.1)}await r()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){let e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};let aq=(0,I.createContext)(null);var aG=e=>"string"!=typeof e?{}:e.split(/ ?; ?/).reduce((e,t)=>{let[r,o]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,""):e.trim());if(r&&o){let t=r.replace(/(\w)-(\w)/g,(e,t,r)=>`${t}${r.toUpperCase()}`),i=o.trim();Number.isNaN(Number(o))||(i=Number(o)),e[r.startsWith("-")?r:t]=i}return e},{}),aJ=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],aY={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",
28nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode
28-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function aX(e,t,r){let o=[...e].map((e,o)=>a0(e,{...r,index:o,level:t+1})).filter(Boolean);return o.length?o:null}function aQ(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;let{includeAllNodes:r=!1,nodeOnly:o=!1,selector:i="body > *",type:l="text/html"}=t;try{let s=new DOMParser().parseFromString(e,l);if(r){let{childNodes:e}=s.body;return o?e:[...e].map(e=>a0(e,t))}let d=s.querySelector(i)||s.body.childNodes[0];if(!(d instanceof Node))throw TypeError("Error parsing input");return o?d:a0(d,t)}catch(e){"production"!==tC.process.env.NODE_ENV&&console.error(e)}return null}(e,t):e instanceof Node?a0(e,t):null}function a0(e,t={}){if(!e||!(e instanceof Node))return null;let{actions:r=[],index:o=0,level:i=0,randomKey:l}=t,s=e,d=`${i}-${o}`,c=[];return l&&0===i&&(d=`${function(e=6){let t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r="";for(let o=e;o>0;--o)r+=t[Math.round(Math.random()*(t.length-1))];return r}()}-${d}`),Array.isArray(r)&&r.forEach(t=>{t.condition(s,d,i)&&("function"==typeof t.pre&&((s=t.pre(s,d,i))instanceof Node||(s=e,"production"!==tC.process.env.NODE_ENV&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),"function"==typeof t.post&&c.push(t.post(s,d,i)))}),c.length?c:function(e,t){var r,o;let{key:i,level:l,...s}=t;switch(e.nodeType){case 1:return I.createElement((o=e.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(o)?o:o.toLowerCase()),function(e,t){let r={key:t};if(e instanceof Element){let t=e.getAttribute("class");t&&(r.className=t),[...e.attributes].forEach(e=>{switch(e.name){case"class":break;case"style":r[e.name]=aG(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[aY[e.name]||e.name]=!0;break;default:r[aY[e.name]||e.name]=e.value}})}return r}(e,i),aX(e.childNodes,l,s));case 3:{let t=(null==(r=e.nodeValue)?void 0:r.toString())??"";if(!s.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;let o=e.parentNode.nodeName.toLowerCase();return aJ.includes(o)?(/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${o}'. Your text "${t}" will be ignored`),null):t}case 8:default:return null;case 11:return aX(e.childNodes,l,t)}}(s,{key:d,level:i,...t})}function a1(e){let t=(0,I.useRef)(void 0);return(0,I.useEffect)(()=>{t.current=e}),t.current}function a2(e){let{baseURL:t,content:r,description:o,handleError:i,hash:l,preProcessor:s,title:d,uniquifyIDs:c=!1}=e;try{let e=s?s(r):r;c&&(e=function(e,t,r){let o=[...new Set([...e.matchAll(/\bid=(["'])([^"']+)\1/g)].map(e=>e[2]))];return o.length?(o.sort((e,t)=>
28t.length-e.length),e.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,(e,i)=>{let l=i;for(let e of o){let o=e.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");l=(l=l.replace(RegExp(`url\\((['"]?)#${o}\\1\\)`,"g"),`url($1${r}#${e}__${t}$1)`)).replace(RegExp(`#${o}(?![a-zA-Z0-9_-])`,"g"),`#${e}__${t}`)}return e.replace(i,l)})):e}(e,l,t??""));let i=aQ(e,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw Error("Could not convert the src to a DOM Node");let u=function e(t,r){let{baseURL:o="",hash:i,uniquifyIDs:l}=r,s=["id","href","xlink:href","xlink:role","xlink:arcrole"],d=["href","xlink:href"],c=(e,t)=>d.includes(e)&&!!t&&!t.includes("#");return l&&[...t.children].forEach(t=>{var l;if(null!=(l=t.attributes)&&l.length){let e=Object.values(t.attributes).map(e=>{let t=/url\((.*?)\)/.exec(e.value);return null!=t&&t[1]&&(e.value=e.value.replace(t[0],`url(${o}${t[1]}__${i})`)),e});s.forEach(t=>{let r=e.find(e=>e.name===t);r&&!c(t,r.value)&&(r.value=`${r.value}__${i}`)})}return t.children.length?e(t,r):t}),t}(i,{baseURL:t,hash:l,uniquifyIDs:c});if(o){let e=u.querySelector("desc");null!=e&&e.parentNode&&e.parentNode.removeChild(e);let t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=o,u.prepend(t)}if("u">typeof d){let e=u.querySelector("title");if(null!=e&&e.parentNode&&e.parentNode.removeChild(e),d){let e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=d,u.prepend(e)}}return u}catch(e){return i(e)}}let a3=new aK;function a4(e){let{children:t=null,innerRef:r,loader:o=null}=e,{element:i,status:l}=function(e,t){var r;let{baseURL:o,cacheRequests:i=!0,description:l,fetchOptions:s,onError:d,onLoad:c,preProcessor:u,src:p,title:f,uniqueHash:m,uniquifyIDs:h}=e,g=(0,I.useRef)(m??function(e){let t="abcdefghijklmnopqrstuvwxyz",r=`${t}${t.toUpperCase()}1234567890`,o="";for(let e=0;e<8;e++)o+=r[Math.floor(Math.random()*r.length)];return o}(0)),v=(0,I.useRef)(s),y=(0,I.useRef)(d),b=(0,I.useRef)(c),x=(0,I.useRef)(u);v.current=s,y.current=d,b.current=c,x.current=u;let[w,k]=(0,I.useReducer)((e,t)=>({...e,...t}),{content:"",element:null,isCached:!1,status:aU.IDLE},r=>{if(!(i&&t.isCached(p)))return r;let o=t.getContent(p);try{let t=a2({...e,handleError:()=>{},hash:g.current,content:o});if(!t)return{...r,content:o,isCached:!0,status:aU.LOADED};let i=aQ(t);if(i&&(0,I.isValidElement)(i))return{content:o,element:i,isCached:!0,status:aU.READY}}catch{}return{...r,content:o,isCached:!0,status:aU.LOADED}}),{content:_,element:C,isCached:$,status:S}=w,E=a1(e),j=a1(w),N=(0,I.useRef)(!1),T=(0,I.useRef)(!1),P=(0,I.useCallback)(e=>{var t;N.current&&(k({status:"Browser does not support SVG"===e.message?aU.UNSUPPORTED:aU.FAILED}),null==(t=y.current)||t.call(y,e))},[]),A=(0,I.useCallback)(()=>{try{let e=aQ(a2({baseURL:o,content:_,description:l,handleError:P,hash:g.current,preProcessor:x.current,src:p,title:f,uniquifyIDs:h}
28));if(!e||!(0,I.isValidElement)(e))throw Error("Could not convert the src to a React element");k({element:e,status:aU.READY})}catch(e){P(e)}},[o,_,l,P,p,f,h]);return r=()=>{var e;if(N.current=!0,!(!aZ()||T.current)){try{if(S===aU.READY)null==(e=b.current)||e.call(b,p,$);else if(S===aU.IDLE){if(!(function(){if(!document)return!1;let e=document.createElement("div");e.innerHTML="<svg />";let t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"u">typeof window&&null!==window))throw Error("Browser does not support SVG");if(!p)throw Error("Missing src");k({content:"",element:null,isCached:!1,status:aU.LOADING})}}catch(e){P(e)}return T.current=!0,()=>{N.current=!1}}},(0,I.useEffect)(r,[]),(0,I.useEffect)(()=>{if(!(!aZ()||!E)&&E.src!==p){if(!p){P(Error("Missing src"));return}k({content:"",element:null,isCached:!1,status:aU.LOADING})}},[P,E,p]),(0,I.useEffect)(()=>{if(S!==aU.LOADING)return;let e=new AbortController,r=!0;return(async()=>{try{let o;let l=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(p);if(l?o=l[1]?window.atob(l[2]):decodeURIComponent(l[2]):p.includes("<svg")&&(o=p),o){r&&k({content:o,isCached:!1,status:aU.LOADED});return}let s={...v.current,signal:e.signal},d,c=!1;i?(c=t.isCached(p),d=await t.get(p,s)):d=await aW(p,s),r&&k({content:d,isCached:c,status:aU.LOADED})}catch(e){r&&"AbortError"!==e.name&&P(e)}})(),()=>{r=!1,e.abort()}},[i,t,P,p,S]),(0,I.useEffect)(()=>{S===aU.LOADED&&_&&A()},[_,A,S]),(0,I.useEffect)(()=>{aZ()&&E&&E.src===p&&(E.title!==f||E.description!==l)&&A()},[l,A,E,p,f]),(0,I.useEffect)(()=>{var e;j&&S===aU.READY&&j.status!==aU.READY&&(null==(e=b.current)||e.call(b,p,$))},[$,j,p,S]),{element:C,status:S}}(e,(0,I.useContext)(aq)??a3);return aZ()?i?(0,I.cloneElement)(i,{ref:r,...function(e,...t){let r={};for(let o in e)({}).hasOwnProperty.call(e,o)&&!t.includes(o)&&(r[o]=e[o]);return r}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[aU.UNSUPPORTED,aU.FAILED].includes(l)?t:o:o}let a6=e=>{let{link:t,isTopLevel:r=!1,as:o="li",className:i,themeConfig:l,onKeyDown:s,children:d,notificationBadge:c,...u}=e,{title:p,subMenu:f,link:m,isActive:h,showExternalIcon:g,isExternal:v,hidden:y}=t,{subLabel:b,tagText:x,iconSvgData:w}=t,k=eG(eP),_=h??tu(k,t.link),C=f&&f.length>0,$=!!w,S={link:t,onKeyDown:s,"aria-label":null==t?void 0:t.title},{root:E,navMenuItemWrapper:j,navMenuItemBg:N,navMenuItemCaretIcon:T,titleWrapper:P,childrenContainer:A,iconWrapper:O}=V(aj,l)({hidden:y,hasTag:!!x,hasIcon:$,hasSubLabel:!!b,isTopLevel:r}),R=(0,F.cn)("ef-menu-item",E(),i);return(0,D.jsx)("li"===o?"li":"div",{className:R,children:(0,D.jsx)(aF,{size:r?"large":"fit",isActive:_,showExternalIcon:g??v,showCaretIcon:C,caretIconSize:r?"24":"16",renderCustomLink:e=>C?(0,D.jsx)(aS,{...S,...e}):(0,D.jsx)(aE,{...S,...e,href:m}),themeConfig:{slots:{wrapper:(0,F.cn)(j()),bg:(0,F.cn)(N()),caretIcon:(0,F.cn)(T())}},...u,children:(0,D.jsx)(aI,{title:p,subLabel:b,tagText:x,notificationBadge:c,titleSize:r?"large":"default",themeConfig:{slots:{titleWrapper:(0,F.cn)(P()),childrenContainer:(0,F.cn)(A())}},children:$?(0,D.jsx)(aB.a,{className:(0,F.cn)(O()),size:"xs",iconSize:"s",radius:"full",children:(0,D.jsx)(a4,{src:w})}):d})})})};a6.displayName="MenuItem";let a8=(0,B.c6)({slots:{root:"motion-safe:animate-in motion-safe:animate-from-right-m motion-safe:animation-duration-system-medium motion-safe:animation-delay-system-short motion-safe:animation-ease-system-easing-expressive motion-safe:animate-from-opacity-0 bg-header-nav-surface absolute bottom-0 left-0 right-0 top-0 z-10 flex h-full w-full flex-1 flex-col gap-4 overflow-y-auto pt-6 opacity-100",header:"mono flex h-14 items-center justify-end px-6",contentContainer:"flex flex-col gap-8",nav:"mb-6 mt-2 px-6"},variants:{show:{false:{root:"hidden"}},variant:{navigationBar:{root:"pt-0"},default:{}}}}),a9=(0,B.c6)({slots:{root:"flex min-h-16 flex-col justify-center gap-4 px-6 py-4",content:"flex flex-col gap-1",avatar:"shrink-0",titleContainer:"text-mobile-header-5 text-system-text-default mono flex items-center justify-between",subtitleContainer:"text-ui-label-small text-system-text-default",divider:"bg-components-dividers-weak mt-4",closeButton:"mono self-end"},variants:{isAccountMenu:{true:{root:"items-center"}}}}),a5=(0,B.c6)({slots:{root:"",group:"main-menu-group lg:pb-4",innerGroup:"",listItem:"category-menu-item mb-6 lg:mb-0",menuItem:""},variants:{columnType:{row:{listItem:"mb-4 last:mb-0"},column:{root:"w-full lg:w-fit",group:"flex w-full flex-col gap-6 lg:w-fit lg:flex-row",listItem:"flex min-w-48 flex-col last:mb-0"},indented:{listItem:"my-0",innerGroup:"ps-4"},none:{root:"lg:w-[230px]",group:"gap-0.5 lg:flex lg:flex-col lg:flex-nowrap",listItem:"mb-12 last:mb-0"}},wrapColumns:{wrap:{root:"lg:max-xl:w-[960px]",group:"lg:max-xl:flex-wrap lg:max-xl:gap-8",listItem:"lg:max-xl:w-[216px]"},nowrap:{}}}}),a7=(0,B.c6)({slots:{root:"w-full content-start"},variants:{layout:{row:{root:"lg:grid lg:grid-flow-col lg:grid-cols-4 lg:grid-rows-[repeat(var(--menu-rows),minmax(0,1fr))] lg:gap-x-8 lg:gap-y-0.5"},column:{root:"gap-0.5 lg:flex lg:flex-col"},indented:{}}}}),oe=e=>{let{layout:t,className:r,children:o,...i}=e,{root:l}=V(a7)({layout:t});return(0,D.jsx)("ul",{className:(0,F.cn)("ef-sub-menu-group",l(),r),...i,children:o})};oe.displayName="SubMenuGroup";let ot=!1,on=0;function or(){ot=!0,setTimeout(()=>{ot=!1},500)}function oa(e){"touch"===e.pointerType&&or()}function oo(){let e=tv(null);if(!(typeof e>"u"))return 0===on&&("u">typeof PointerEvent?e.addEventListener("pointerup",oa):"test"===tC.process.env.NODE_ENV&&e.addEventListener("touchend",or)),on++,()=>{--on>0||("u">typeof PointerEvent?e.removeEventListener("pointerup",oa):"test"===tC.process.env.NODE_ENV&&e.removeEventListener("touchend",or))}}function oi(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:o,isDisabled:i}=e,[l,s]=(0,I.useState)(!1),d=(0,I.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,I.useEffect)(oo,[]);let{addGlobalListener:c,removeAllGlobalListeners:u}=r9(),{hoverProps:p,triggerHoverEnd:f}=(0,I.useMemo)(()=>{let e=(e,o)=>{if(d.pointerType=o,i||"touch"===o||d.isHovered||!tb(e.currentTarget,tw(e)))return;d.isHovered=!0;let u=e.currentTarget;d.target=u,c(tv(tw(e)),"pointerover",e=>{d.isHovered&&d.target&&!tb(d.target,tw(e))&&l(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:o}),r&&r(!0),s(!0)},l=(e,t)=>
28{let i=d.target;d.pointerType="",d.target=null,"touch"!==t&&d.isHovered&&i&&(d.isHovered=!1,u(),o&&o({type:"hoverend",target:i,pointerType:t}),r&&r(!1),s(!1))},p={};return"u">typeof PointerEvent?(p.onPointerEnter=t=>{ot&&"mouse"===t.pointerType||e(t,t.pointerType)},p.onPointerLeave=e=>{!i&&tb(e.currentTarget,tw(e))&&l(e,e.pointerType)}):"test"===tC.process.env.NODE_ENV&&(p.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},p.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||ot||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},p.onMouseLeave=e=>{!i&&tb(e.currentTarget,tw(e))&&l(e,"mouse")}),{hoverProps:p,triggerHoverEnd:l}},[t,r,o,i,d,c,u]);return(0,I.useEffect)(()=>{i&&f({currentTarget:d.target},d.pointerType)},[i]),{hoverProps:p,isHovered:l}}var ol=r(1753);let os=e=>{let{title:t,iconSvgData:r,showArrow:o=!1,hovered:i=!1,className:l,...s}=e,{root:d,titleWrapper:c,iconWrapper:u}=V(aT)(),p=(0,F.cn)("ef-menu-category-item-content",d(),l);return(0,D.jsxs)("div",{className:p,...s,children:[r?(0,D.jsx)(aB.a,{className:(0,F.cn)(u()),size:"xs",iconSize:"s",radius:"full",children:(0,D.jsx)(a4,{src:r})}):null,(0,D.jsx)("span",{className:(0,F.cn)(c()),children:t}),o?(0,D.jsx)(ol.AnimatedArrowRight,{active:i}):null]})};os.displayName="MenuCategoryItemContent";let od=e=>{let{link:t,...r}=e,{link:o,iconSvgData:i}=t,l=eG(eT),s=rT(),{hoverProps:d,isHovered:c}=oi({}),u=rl(),{keyboardProps:p}=rN({onKeyDown:e=>{e.continuePropagation(),tp(e,u)}});return(0,D.jsx)(e9.t,{children:(0,D.jsx)(l,{onClick:s,href:o,role:"menuitem","aria-label":t.title,...p,...d,...r,children:(0,D.jsx)(os,{title:t.title,iconSvgData:i,showArrow:!0,hovered:c})})})};od.displayName="MenuCategoryLink";let oc=e=>{let{link:t,className:r}=e,{root:o,wrapper:i,divider:l}=V(aN)({hidden:null==t?void 0:t.hidden}),s=(0,F.cn)(i(),r);return(0,D.jsxs)("div",{className:(0,F.cn)(o()),children:[null!=t&&t.link?(0,D.jsx)(od,{className:s,link:t}):(0,D.jsx)("div",{className:s,children:(0,D.jsx)(os,{title:t.title,iconSvgData:t.iconSvgData,showArrow:!1})}),(0,D.jsx)("div",{className:(0,F.cn)(l())})]})};oc.displayName="MenuCategoryItem";let ou=e=>{let{subMenuLinks:t,categoryLayout:r,className:o,themeConfig:i,...l}=e,s=eJ(e$),d=eG(eS),c=th(t),u=(e,t,r)=>{t===r-1&&"Tab"===e.key&&s(!1)},{root:p,group:f,innerGroup:m,listItem:h,menuItem:g}=V(a5,i)({columnType:c?r:"none",wrapColumns:c&&"column"===r&&t.length>4?"wrap":"nowrap"}),v=(0,F.cn)("ef-sub-menu-nav",p(),o);return(0,D.jsx)("div",{className:v,...l,children:(0,D.jsx)(oe,{className:(0,F.cn)(f()),children:null==t?void 0:t.map((e,o)=>{var i,l,s;return null!=e&&e.menuLinks&&(null==(i=null==e?void 0:e.menuLinks)?void 0:i.length)>0?(0,D.jsxs)("li",{className:(0,F.cn)(h()),role:"group",children:[""!==e.title?"indented"===r?(0,D.jsx)(a6,{link:{...e,subMenu:void 0},as:"div",className:(0,F.cn)(g())}):(0,D.jsx)(oc,{link:e}):null,(0,D.jsx)(oe,{className:(0,F.cn)(m()),layout:r,style:{"--menu-rows":Math.ceil(((null==(l=e.menuLinks)?void 0:l.length)??0)/4)},children:null==(s=null==e?void 0:e.menuLinks)?void 0:s.map((r,i)=>(0,D.jsx)(a6,{link:r,notificationBadge:r.notificationBadge,className:(0,F.cn)(g()),onKeyDown:r=>{var l;o===t.length-1&&u(r,i,(null==(l=e.menuLinks)?void 0:l.length)??0)}},null==r?void 0:r.id))})]},null==e?void 0:e.id):(0,D.jsx)(a6,{link:e,notificationBadge:e.notificationBadge,className:"single-menu-item peer",onKeyDown:e=>u(e,o,t.length)},null==e?void 0:e.title)})})},d)};ou.displayName="SubMenuNav";let op=(0,B.c6)({slots:{root:"ef-shortcuts text-system-text-default relative px-1 py-2 max-lg:m-2 max-lg:mb-0",background:"rounded-xs bg-header-secondary absolute bottom-0 left-0 right-0 top-0 z-0 lg:-left-4 lg:-right-4",shortcutsList:"flex flex-wrap",label:"text-ui-label-small-bold z-10 mx-3 my-2",listItem:"flex",shortcutLink:""}}),of=(0,B.c6)({slots:{root:"text-ui-label-small rounded-xxs group relative px-3 py-2 outline-none"},variants:{hidden:{true:{root:"hidden"}}}}),om=e=>{let{href:t,hidden:r,children:o,className:i,dataClickLabel:l,dataInfo:s,...d}=e,c=eG(eT),u=rT(),p=rl(),{keyboardProps:f}=rN({onKeyDown:e=>{e.continuePropagation(),tp(e,p)}}),{root:m}=V(of)({hidden:r}),h=(0,F.cn)("ef-shortcut-link",m(),i);return(0,D.jsx)(e9.t,{children:(0,D.jsx)(c,{className:h,onClick:u,href:t,"aria-label":o,"data-clicklabel":l??rA.siteMenu,"data-info":s,...f,...d,children:(0,D.jsx)(rB,{"aria-hidden":!0,
28children:o})})})};om.displayName="ShortcutLink";let oh=e=>{let{id:t,links:r,shortcutsLabel:o="Shortcuts",className:i,...l}=e,s=(0,I.useId)(),d=`shortcutsContext_${t??s}`,{root:c,background:u,shortcutsList:p,label:f,listItem:m,shortcutLink:h}=V(op)(),g=(0,F.cn)("ef-shortcuts",c(),i);return r&&r.length>0?(0,D.jsxs)("div",{className:g,...l,children:[(0,D.jsx)("div",{className:(0,F.cn)(u())}),(0,D.jsxs)("ul",{className:(0,F.cn)(p()),"aria-labelledby":d,children:[(0,D.jsxs)("span",{id:d,className:(0,F.cn)(f()),"aria-label":o,"aria-hidden":!0,role:"listitem",children:[o,":"]}),null==r?void 0:r.map(e=>(0,D.jsx)("li",{className:(0,F.cn)(m()),children:(0,D.jsx)(om,{className:(0,F.cn)(h()),href:null==e?void 0:e.link,hidden:null==e?void 0:e.hidden,dataClickLabel:e.dataClickLabel,dataInfo:e.dataInfo,children:null==e?void 0:e.title})},null==e?void 0:e.id))]})]}):null};oh.displayName="Shortcuts";let og=(0,B.c6)({slots:{root:"animation-duration-system-short animation-ease-system-easing-expressive motion-safe:animate-in motion-safe:animate-from-opacity-0 absolute left-0 top-full z-20 pt-1 max-lg:hidden rtl:right-0",bg:"rounded-xs shadow-dark-m-25 mono:shadow-none ring-system-stroke-mono before:rounded-t-xs before:from-header-nav-surface after:rounded-b-xs after:from-header-nav-surface bg-header-nav-surface relative -ml-8 -mr-8 flex h-full min-h-fit flex-col overflow-hidden ring-1 before:pointer-events-none before:absolute before:left-0 before:right-8 before:top-0 before:z-10 before:h-4 before:bg-gradient-to-b after:pointer-events-none after:absolute after:bottom-0 after:left-0 after:right-8 after:z-10 after:h-4 after:bg-gradient-to-t",scrollContainer:"flex max-h-[70vh] flex-1 flex-col gap-4 overflow-y-auto px-8 pt-4",shortcuts:"",subMenuNav:""},variants:{isOpen:{true:{},false:{root:"hidden"}},categoryLayout:{row:{},column:{},indented:{},false:{}},width:{full:{root:"w-full",scrollContainer:"[view-transition-name:desktop-menu-inner-with-categories]"},fit:{root:"w-fit"}}},compoundVariants:[{isOpen:!0,categoryLayout:"column",class:{bg:"[view-transition-name:desktop-menu-bg] before:[view-transition-name:desktop-menu-gradient-before] after:[view-transition-name:desktop-menu-gradient-after]",scrollContainer:"[view-transition-name:desktop-menu-scroll-container]"}},{isOpen:!0,categoryLayout:!1,class:{bg:"[view-transition-name:desktop-menu-bg] before:[view-transition-name:desktop-menu-gradient-before] after:[view-transition-name:desktop-menu-gradient-after]",shortcuts:"[view-transition-name:desktop-menu-shortcuts]",subMenuNav:"[view-transition-name:desktop-menu-inner]"}},{isOpen:!0,categoryLayout:"indented",class:{bg:"[view-transition-name:desktop-menu-bg] before:[view-transition-name:desktop-menu-gradient-before] after:[view-transition-name:desktop-menu-gradient-after]",scrollContainer:"[view-transition-name:desktop-menu-scroll-container]"}},{isOpen:!0,categoryLayout:"row",class:{bg:"[view-transition-name:desktop-menu-bg] before:[view-transition-name:desktop-menu-gradient-before] after:[view-transition-name:desktop-menu-gradient-after]"}}]}),ov=(0,B.c6)({slots:{root:"bg-system-surface-overlay-weak duration-system-short ease-system-easing-expressive fixed left-0 right-0 z-10 flex flex-col overflow-visible motion-safe:transition-all max-lg:pointer-events-none"},variants:{isMenuOpen:{true:{root:"group-data-[position=fixed]/root:h-screen group-data-[position=relative]/root:h-[calc(100vh-var(--header-height))] group-data-[position=relative]/root:group-has-[.ef-utility-bar]/root:h-[calc(100vh-2rem)]"},false:{root:"h-fit"}},opacity:{true:{root:"bg-opacity-100"},false:{root:"bg-opacity-0"}}}}),oy=(0,I.forwardRef)((e,t)=>{let{id:r,subMenuLinks:o,categoryLayout:i="column",shortcutLinks:l,shortcutsLabel:s,isOpen:d=!1,width:c,widthClasses:u=rP,className:p,themeConfig:f,...m}=e,h=rT(),{keyboardProps:g}=rN({onKeyDown:e=>{e.continuePropagation(),"Escape"===e.key&&h()}}),v=th(o),{root:y,bg:b,scrollContainer:x,shortcuts:w,subMenuNav:k}=V(og,f)({isOpen:d,categoryLayout:!!v&&i,width:c??(v&&"row"===i?"full":"fit")});return(0,D.jsx)("div",{id:r,ref:t,className:(0,F.cn)("ef-desktop-menu",u,y(),p),role:"menu",...m,...g,"data-clicksubregion":"site-menu",children:(0,D.jsx)("div",{className:(0,F.cn)(b()),children:(0,D.jsx)("div",{className:(0,F.cn)(x()),children:(0,D.jsxs)(ri,{restoreFocus:!0,children:[(0,D.jsx)(oh,{id:r,className:(0,F.cn)(w()),shortcutsLabel:s,links:l}),(0,D.jsx)(ou,{className:(0,F.cn)(k()),subMenuLinks:o,categoryLayout:i})]})})})})});oy.displayName="DesktopMenu";let ob=e=>{let{isMenuOpen:t=!1,className:r,children:o,...i}=e,[l,s]=eY(eS),{root:d}=V(ov)({isMenuOpen:t,opacity:""!==l});return(0,D.jsx)("div",{className:(0,F.cn)("ef-desktop-menu-overlay",d(),r),"aria-hidden":"true",onClick:t?()=>s(""):void 0,...i,children:o})};ob.displayName="DesktopMenuOverlay";let ox=(e,t)=>{let[r,o]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{var e,r,i;if(null!=t&&t.current){let l=null==(e=null==t?void 0:t.current)?void 0:e.offsetWidth,s=Math.floor(null==(i=null==(r=null==t?void 0:t.current)?void 0:r.getBoundingClientRect())?void 0:i.x);o(s+l>document.documentElement.clientWidth||s<0)}},[e,t]),r},ow=e=>
28{let{link:t,className:r,children:o,themeConfig:i,...l}=e,{id:s,title:d=""}=t,[c,u]=eY(eS),[p,f]=(0,I.useState)(!1),[m,h]=(0,I.useState)(!1),[g,v]=(0,I.useState)(!1),y=(0,I.useRef)(null),b=c===String(s),x=ox(b,y),[w,k]=eY(eC),_=eG(eE),C=eJ(e$),$=()=>{c!==String(s)&&""!==c&&""!==String(s)&&document.startViewTransition?(f(!0),document.startViewTransition(()=>(0,eD.flushSync)(()=>{u(String(s))})).finished.finally(()=>{f(!1)})):u(String(s))},{hoverProps:S}=oi({onHoverChange:e=>{e?(v(!0),$(),k(!1),C(!1),h(!0)):p||h(!1)}});(0,I.useEffect)(()=>{if(!m&&g&&!p&&!w&&String(s)===c){let e=setTimeout(()=>{u(""),v(!1)},200);return()=>{clearTimeout(e)}}},[m,g,p,w,s,c,u,v]);let{keyboardProps:E}=rN({onKeyDown:e=>{v(!1),"ArrowDown"===e.key&&u(String(s)),("ArrowUp"===e.key||"Escape"===e.key)&&u("")}}),j=th(null==t?void 0:t.subMenu)&&"row"===t.subMenuLayout,{root:N,folderButton:T,desktopMenu:P,content:A}=V(rH,i)({hasRowCategories:j,isOverflowing:x}),O=(0,F.cn)("ef-menu-trigger",N(),r);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:O,...S,...l,children:[(0,D.jsx)(ay,{className:(0,F.cn)(T()),open:b,onPress:()=>b?u(""):$(),"aria-controls":`menu_${t.id}`,dataClickLabel:t.dataClickLabel,...E,children:(0,D.jsx)(rW,{className:(0,F.cn)(A()),title:d,chevron:!0,open:b,children:o})}),null!=t&&t.subMenu?(0,D.jsx)(oy,{ref:y,id:`menu_${t.id}`,subMenuLinks:t.subMenu,shortcutLinks:null==t?void 0:t.shortcuts,shortcutsLabel:null==t?void 0:t.shortcutsLabel,categoryLayout:null==t?void 0:t.subMenuLayout,isOpen:b,themeConfig:{slots:{root:(0,F.cn)(P())}}}):null]}),_?null:(0,D.jsx)(ob,{isMenuOpen:b})]})};ow.displayName="NavMenuTrigger";let ok=e=>{let{link:t,children:r,className:o,themeConfig:i}=e,{title:l="",link:s,subMenu:d,target:c,showExternalIcon:u,isExternal:p=!1,hidden:f=!1,isActive:m}=t,h=u??p,g=d&&(null==d?void 0:d.length)>0,[v,y]=eY(eP),b=m??tu(v,t.link),x=eG(eT),{hoverProps:w,isHovered:k}=oi({}),{root:_,navLink:C,content:$,trigger:S}=V(rz,i)({hidden:f}),E=(0,F.cn)("ef-nav-item",_(),o);return(0,D.jsx)("li",{className:E,...h?w:{},children:(0,D.jsx)(e9.t,{children:g?(0,D.jsx)(ow,{className:(0,F.cn)(S()),link:t,themeConfig:{slots:{content:(0,F.cn)($()),folderButton:(0,F.cn)(C())}},children:r}):(0,D.jsx)(x,{className:(0,F.cn)("ef-nav-item-link",C()),href:s,target:c,rel:"_blank"===c?"noopener noreferrer":void 0,tabIndex:0,"data-active":b,onClick:()=>{s&&!ts(s)&&y(s)},"data-clicklabel":t.dataClickLabel??rA.siteMenu,"data-info":t.dataInfo,children:(0,D.jsx)(rW,{className:(0,F.cn)($()),title:l,chevron:!1,showExternalIcon:h,isHovered:k,children:r})})})})};ok.displayName="NavItem";let o_=new WeakMap,oC=e=>{let t=o_.get(e);return t||(t=new WeakSet,o_.set(e,t)),t},o$=({initialValues:e,children:t})=>((function(e,t){let r=ez(),o=oC(r);for(let[t,...i]of e)o.has(t)||(o.add(t),r.set(t,...i))})(e),t),oS="u">typeof window?I.useLayoutEffect:I.useEffect,oE=e=>{let t=eJ(eP);oS(()=>{"function"==typeof e?t(e):"u">typeof window&&t(()=>window.location.pathname)},[e,t])},oj=e=>{let{links:t,activeSlug:r,className:o,themeConfig:i,...l}=e;oE(r);let{root:s,ulList:d,itemsPadding:c}=V(rV,i)(),u=(0,F.cn)("ef-nav-list",s(),o);return t&&(null==t?void 0:t.length)>0?(0,D.jsx)("nav",{className:u,"data-clicksubregion":"site-menu",...l,children:(0,D.jsx)(o$,{initialValues:[[eS,""]],children:(0,D.jsx)("ul",{className:(0,F.cn)(d()),children:null==t?void 0:t.map(e=>(0,D.jsx)(ok,{link:e,themeConfig:{slots:{navLink:(0,F.cn)(c())}}},null==e?void 0:e.id))})})}):null};oj.displayName="NavList";var oN=Object.defineProperty,oT=(e,t,r)=>t in e?oN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oP=(e,t,r)=>oT(e,"symbol"!=typeof t?t+"":t,r);let oA={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose
28:Number.POSITIVE_INFINITY},oO={silent:{level:-1},fatal:{level:oA.fatal},error:{level:oA.error},warn:{level:oA.warn},log:{level:oA.log},info:{level:oA.info},success:{level:oA.success},fail:{level:oA.fail},ready:{level:oA.info},start:{level:oA.info},box:{level:oA.info},debug:{level:oA.debug},trace:{level:oA.trace},verbose:{level:oA.verbose}};function oR(e){if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e))}let oD=(...e)=>e.reduce((e,t)=>(function e(t,r,o=".",i){if(!oR(r))return e(t,{},o);let l=Object.assign({},r);for(let r in t){if("__proto__"===r||"constructor"===r)continue;let i=t[r];null!=i&&(Array.isArray(i)&&Array.isArray(l[r])?l[r]=[...i,...l[r]]:oR(i)&&oR(l[r])?l[r]=e(i,l[r],(o?`${o}.`:"")+r.toString()):l[r]=i)}return l})(e,t,""),{}),oM=!1,oL=[];class oI{constructor(e={}){oP(this,"options"),oP(this,"_lastLog"),oP(this,"_mockFn");let t=e.types||oO;for(let r in this.options=oD({...e,defaults:{...e.defaults},level:oF(e.level,t),reporters:[...e.reporters||[]]},{types:oO,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}}),t){let e={type:r,...this.options.defaults,...t[r]};this[r]=this._wrapLogFn(e),this[r].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(e){this.options.level=oF(e,this.options.types,this.options.level)}prompt(e,t){if(!this.options.prompt)throw Error("prompt is not supported!");return this.options.prompt(e,t)}create(e){let t=new oI({...this.options,...e});return this._mockFn&&t.mockTypes(this._mockFn),t}withDefaults(e){return this.create({...this.options,defaults:{...this.options.defaults,...e}})}withTag(e){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+e:e})}addReporter(e){return this.options.reporters.push(e),this}removeReporter(e){if(e){let t=this.options.reporters.indexOf(e);if(-1!==t)return this.options.reporters.splice(t,1)}else this.options.reporters.splice(0);return this}setReporters(e){return this.options.reporters=Array.isArray(e)?e:[e],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(let e in this.options.types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}restoreConsole(){for(let e in this.options.types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(e,t){e&&(e.__write||(e.__write=e.write),e.write=e=>{this[t].raw(String(e).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}pauseLogs(){oM=!0}resumeLogs(){for(let e of(oM=!1,oL.splice(0)))e[0]._logFn(e[1],e[2])}mockTypes(e){let t=e||this.options.mockFn;if(this._mockFn=t,"function"==typeof t)for(let e in this.options.types)this[e]=t(e,this.options.types[e])||this[e],this[e].raw=this[e]}_wrapLogFn(e,t){return(...r)=>{if(oM){oL.push([this,e,r,t]);return}return this._logFn(e,r,t)}}_logFn(e,t,r){var o,i;if((e.level||0)>this.level)return!1;let l={date:new Date,args:[],...e,level:oF(e.level,this.options.types)};!r&&1===t.length&&(i=o=t[0],"[object Object]"===Object.prototype.toString.call(i)&&(o.message||o.args)&&!o.stack)?Object.assign(l,t[0]):l.args=[...t],l.message&&(l.args.unshift(l.message),delete l.message),l.additional&&(Array.isArray(l.additional)||(l.additional=l.additional.split(` 29`)),l.args.push(` 30`+l.additional.join(` 31`)),delete l.additional),l.type="string"==typeof l.type?l.type.toLowerCase():"log",l.tag="string"==typeof l.tag?l.tag:"";let s=(e=!1)=>{let t=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&t>0){let e=[...this._lastLog.object.args];t>1&&e.push(`(repeated ${t} times)`),this._log({...this._lastLog.object,args:e}),this._lastLog.count=1}e&&(this._lastLog.object=l,this._log(l))};clearTimeout(this._lastLog.timeout);let d=this._lastLog.time&&l.date?l.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=l.date,d<this.options.throttle)try{let e=JSON.stringify([l.type,l.tag,l.args]),t=this._lastLog.serialized===e;if(this._lastLog.serialized=e,t&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(s,this.options.throttle);return}}catch{}s(!0)}_log(e){for(let t of this.options.reporters)t.log(e,{options:this.options})}}function oF(e,t={},r=3){return void 0===e?r:"number"==typeof e?e:t[e]&&void 0!==t[e].level?t[e].level:r}oI.prototype.add=oI.prototype.addReporter,oI.prototype.remove=oI.prototype.removeReporter,oI.prototype.clear=oI.prototype.removeReporter,oI.prototype.withScope=oI.prototype.withTag,oI.prototype.mock=oI.prototype.mockTypes,oI.prototype.pause=oI.prototype.pauseLogs,oI.prototype.resume=oI.prototype.resumeLogs;var oB=Object.defineProperty,oV=(e,t,r)=>t in e?oB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,oz=(e,t,r)=>oV(e,"symbol"!=typeof t?t+"":t,r);class oH{constructor(e){oz(this,"options"),oz(this,"defaultColor"),oz(this,"levelColorMap"),oz(this,"typeColorMap"),this.options={...e},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(e){return e<1?console.__error||console.error:1===e?console.__warn||console.warn:console.__log||console.log}log(e){let t=this._getLogFn(e.level),r="log"===e.type?"":e.type,o=e.tag||"",i=` 32 background: ${this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor}; 33 border-radius: 0.5em; 34 color: white; 35 font-weight: bold; 36 padding: 2px 0.5em;
37 `,l=`%c${[o,r].filter(Boolean).join(":")}`;"string"==typeof e.args[0]?t(`${l}%c ${e.args[0]}`,i,"",...e.args.slice(1)):t(l,i,...e.args)}}let oU=function(e={}){return function(e={}){return new oI(e)}({reporters:e.reporters||[new oH({})],prompt:(e,t={})=>"confirm"===t.type?Promise.resolve(confirm(e)):Promise.resolve(prompt(e)),...e})}();var oZ=e=>e.type?e.type===I.Fragment:e===I.Fragment;Nz="getSlots",oU.withTag(Nz).level=5;var oW=(e,t)=>e.type===t||e.type.displayName===t.displayName,oK=(e,t,r)=>{var o,i,l,s;return(null==(i=null==(o=e.type)?void 0:o._payload)?void 0:i.value)===t||(null==(s=null==(l=e.type)?void 0:l._payload)?void 0:s.value[2])===r},oq=(e,t)=>I.Children.toArray(e).reduce((e,r)=>{if("number"!=typeof r&&"string"!=typeof r&&(0,I.isValidElement)(r)){if("string"==typeof r.type||"string"!=typeof r.type&&r.props["data-slot"])return{...e,[`${r.props["data-slot"]}Slot`]:r};if(oZ(r))return{...e,fragment:r};let o=Object.entries(t).find(([e,t])=>(0,I.isValidElement)(r)&&(oW(r,t)||oK(r,t,e)));if(o){let[t]=o;return{...e,[`${t}Slot`]:r}}}return e},{}),oG=r(98069);let oJ=(0,oG.cn)(void 0),oY=(0,oG.cn)("default");var oX=r(13432),oQ=r(96974);let o0=(e,t,r="language")=>{let[o,i]=(0,oQ.KO)(oJ),[l,s]=(0,oQ.KO)(oY);(0,I.useEffect)(()=>{t&&s(t)},[t,s]);let{pressProps:d}=(0,oX.r)({onPress:()=>{i("language")}}),{pressProps:c}=(0,oX.r)({onPress:()=>{i("market")}}),u={...d,"aria-haspopup":"dialog","aria-expanded":"language"===o},p={...c,"aria-haspopup":"dialog","aria-expanded":"market"===o};return{triggerProps:"language"===r?u:p,selectedLocale:null==e?void 0:e[l],languageTriggerProps:u,marketTriggerProps:p}},o1=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),I.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,8
370.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z"}))]]),o2=I.forwardRef((e,t)=>I.createElement(tn,{ref:t,...e,weights:o1}));o2.displayName="GlobeSimpleIcon";let o3=(0,oG.cn)({className:void 0}),o4=(0,oG.cn)({className:void 0,focusRingClassName:void 0,dismissClassName:void 0}),o6=(0,oG.cn)({className:void 0}),o8=(0,I.forwardRef)((e,t)=>{let{children:r,className:o}=e,{className:i}=(0,oQ.Dv)(o3),l=(0,F.cn)("ef-modal-content",i,o);return(0,D.jsx)("div",{ref:t,className:l,children:r})});o8.displayName="ModalContent";var o9=r(17729),o5=r(80700);let o7=e=>{let{title:t,subtitle:r,closeButtonAttributes:o,className:i,...l}=e,{className:s,iconCloseClassName:d,dismissClassName:c}=(0,oQ.Dv)(o4),u=(0,F.cn)("ef-modal-header",s,i),p=(0,F.cn)(c),f=(0,F.cn)(d);return(0,D.jsxs)("div",{className:u,...l,children:[(0,D.jsx)(aL.x,{variant:"uiLabelBold",as:"h2",children:t}),r?(0,D.jsx)(aL.x,{variant:"uiLabel",as:"p",children:r}):null,(0,D.jsx)(o5.x8,{"aria-label":"close",className:(0,F.cn)(p,t&&!r?"top-1/2 -translate-y-1/2":""),asChild:!0,children:(0,D.jsx)(e7.Button,{className:"mono",variant:"link",shape:"round",size:"small",...o,children:(0,D.jsx)(o9.X,{weight:"bold",className:f})})})]})};o7.displayName="ModalHeader";var ie=r(39564),it=r(43201),ir=r(99014);let ia=(0,B.c6)({slots:{overlay:"bg-system-surface-overlay-weak p-s data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-from-opacity-100 data-[state=closed]:animate-to-opacity-0 data-[state=open]:animate-from-opacity-0 data-[state=open]:animate-to-opacity-100 motion-safe:animation-duration-system-medium motion-safe:animation-ease-system-easing-expressive fixed inset-0 z-[9999] flex max-h-screen flex-wrap items-center justify-center overflow-auto",contentWrapper:"border-system-stroke-mono data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:animate-from-scale-100 data-[state=closed]:animate-to-scale-105 data-[state=open]:animate-from-scale-105 data-[state=open]:animate-to-scale-100 data-[state=closed]:animation-delay-system-short motion-safe:animation-duration-system-medium motion-safe:animation-ease-system-easing-expressive max-sm:safari-only:data-[state=open]:animate-from-scale-100 max-sm:safari-only:data-[state=open]:animate-to-scale-100 relative flex max-h-full w-full flex-col justify-center overflow-hidden rounded-[var(--component-modal-border-radius,16px)] border p-0",taskModalContent:"bg-system-surface-default text-system-text-default",content:"bg-system-surface-default text-system-text-default relative m-0 grow overflow-y-auto",dismiss:"mono !absolute cursor-pointer",header:"",footer:"",focusRing:"",trigger:"has-[.ef-card]:grid has-[.ef-surface-card]:grid has-[.ef-card]:items-stretch has-[.ef-surface-card]:items-stretch has-[.ef-card]:text-start has-[.ef-surface-card]:text-start"},variants:{radius:{none:{contentWrapper:"rounded-none"},xxs:{contentWrapper:"rounded-xxs"},xs:{contentWrapper:"rounded-xs"},s:{contentWrapper:"rounded-sm"},m:{contentWrapper:"rounded-md"},l:{contentWrapper:"rounded-lg"},xl:{contentWrapper:"rounded-xl"},full:{contentWrapper:"rounded-full"}},variant:{content:{content:"px-l py-xl md:py-xxl md:px-10"},lightbox:{overlay:"bg-system-surface-overlay-strong",contentWrapper:"rounded-none bg-[unset]",content:"bg-[unset] p-0",dismiss:"dark !fixed right-4 top-4"}},size:{xs:{contentWrapper:"md:max-w-[360px]"},s:{contentWrapper:"max-w-[490px]"},m:{contentWrapper:"max-w-[720px]"},l:{contentWrapper:"max-w-[940px]"},xl:{contentWrapper:"max-w-[1200px]"},full:{overlay:"!p-0",contentWrapper:"min-h-full min-w-full !rou
37nded-none"}},taskModal:{true:{header:"border-components-dividers-default [&_h2]:text-ui-label-bold relative flex grow-0 flex-col border-b border-solid p-0 px-6 py-4 [&_h2]:m-0 [&_h2]:p-0",footer:"border-components-dividers-default grow-0 border-t border-solid px-6 py-4",content:"px-l py-xl md:py-xxl md:px-10",dismiss:"right-4 p-0",focusRing:"max-h-12"},false:{dismiss:"right-xs top-xs p-xs sm:right-s sm:top-s"}},position:{"start-start":{overlay:"items-start justify-start"},"start-center":{overlay:"items-center justify-start"},"start-end":{overlay:"items-end justify-start"},"center-start":{overlay:"items-start justify-center"},"center-center":{overlay:"items-center justify-center"},"center-end":{overlay:"items-end justify-center"},"end-start":{overlay:"items-start justify-end"},"end-center":{overlay:"items-center justify-end"},"end-end":{overlay:"items-end justify-end"}},mobileFullscreen:{true:{overlay:"sm:p-s p-0",contentWrapper:"max-sm:rounded-none"},false:{overlay:"p-s"}},hideScrollbars:{true:{content:"scrollbar-hide"},false:{}}},compoundVariants:[{taskModal:!0,position:void 0,mobileFullscreen:!0,class:{overlay:"items-end justify-center sm:items-center",contentWrapper:"max-sm:rounded-t-md"}},{taskModal:!0,position:void 0,mobileFullscreen:!1,class:{overlay:"items-center justify-center"}}],defaultVariants:{mobileFullscreen:!0}}),io=e=>{let{children:t,className:r,...o}=e,{className:i}=(0,oQ.Dv)(o6),l=(0,F.cn)(i,r);return(0,D.jsx)("div",{className:l,...o,children:t})};io.displayName="ModalFooter";let ii=e=>{let{children:t,asChild:r,themeConfig:o,className:i,...l}=e,{trigger:s}=(0,B.tv)(o?(0,B.RH)(ia,o):ia)(),d=(0,F.cn)("ef-modal-trigger",s(),i);return(0,D.jsx)(o5.xz,{asChild:r,...l,className:d,children:t})};ii.displayName="ModalTrigger";let il=(0,I.forwardRef)((e,t)=>{let{modal:r,open:o,defaultOpen:i,onOpenChange:l,size:s="s",radius:d,position:c,children:u,themeConfig:p,allowThirdPartyInteractions:f=!1,onInteractOutside:m,mobileFullscreen:h=!0,className:g,overlayClassName:v,...y}=e,{ModalContentSlot:b,ModalTriggerSlot:x,ModalHeaderSlot:w,ModalFooterSlot:k}=(0,ir.F)(u,{ModalContent:o8,ModalTrigger:ii,ModalHeader:o7,ModalFooter:io}),_=(0,ie.s0)(),C=(0,ie.pP)(_),{overlay:$,contentWrapper:S,taskModalContent:E,content:j,header:N,footer:T,focusRing:P,dismiss:A}=(0,B.tv)(p?(0,B.RH)(ia,p):ia)({size:s,radius:d,position:c,taskModal:!0,mobileFullscreen:h}),O=(0,F.cn)("ef-modal-overlay",$(),C,v,f&&"pointer-events-none"),R=(0,F.cn)("ef-task-modal",S(),E(),g,f&&"pointer-events-auto"),M=[[o3,{className:j()}],[o4,{className:N(),focusRingClassName:P(),dismissClassName:A()}],[o6,{className:T()}]],L=e=>{if(!(!m&&!f)){if(f&&!m){e.preventDefault();return}null==m||m(e)}},I=e=>{e&&f&&setTimeout(()=>{document.body.style.pointerEvents="auto"},0),l&&l(e)};return(0,D.jsxs)(o5.fC,{modal:r,open:o,onOpenChange:e=>I(e),defaultOpen:i,children:[x,(0,D.jsx)(o5.h_,{children:(0,D.jsx)(o5.aV,{className:O,...y,children:(0,D.jsx)(o5.VY,{ref:t,...b.props,className:R,onInteractOutside:e=>{L(e)},children:(0,D.jsxs)(it.o,{atomValues:M,children:[w,b,k]})})})})]})});il.displayName="TaskModal";let is=(0,B.c6)({slots:{root:"",content:"relative flex h-full max-h-full flex-col overflow-y-hidden p-0 before:pointer-events-none before:absolute before:left-0 before:right-l before:top-0 before:z-40 before:h-s before:bg-gradient-to-b before:from-system-surface-default after:pointer-events-none after:absolute after:bottom-0 after:left-0 after:right-l after:z-40 after:h-s after:bg-gradient-to-t after:from-system-surface-default lg:p-2",contentDescription:"mx-4 mt-4",list:"flex flex-col overflow-y-auto px-6 py-6 lg:px-4"}});(0,B.c6)({slots:{root:"mb-10 last:mb-0",title:"mb-2 border-b border-components-dividers-default pb-4 text-ui-label-large-bold lg:px-0 lg:text-ui-label-small-bold",list:"flex-wrap lg:grid lg:grid-flow-col lg:grid-cols-3 lg:grid-rows-[repeat(var(--menu-rows-lg),minmax(0,1fr))] lg:gap-x-xl xl:grid-cols-4 xl:grid-rows-[repeat(var(--menu-rows-xl),minmax(0,1fr))]"}});let id=e=>{let{title:t}=e,r=(0,oQ.b9)(oJ),{pressProps:o}=(0,oX.r)({onPress:()=>{r("market")}});return(0,D.jsx)(aF,{...o,children:(0,D.jsx)(aI,{title:t})})};id.displayName="MarketModeTrigger";let ic=e=>{let{mode:t="language",headerTitle:r="Select Language",contentDescription:o,showMarketModeTrigger:i=!1,marketModeTriggerTitle:l="Browse all locations",children:s,className:d,themeConfig:c,overlayClassName:u,...p}=e,[f,m]=(0,oQ.KO)(oJ),{root:h,content:g,contentDescription:v,list:y}=(0,B.tv)(c?(0,B.RH)(is,c):is)(),b=(0,F.cn)("ef-language-selector",h(),d);return(0,D.jsxs)(il,{className:b,open:f===t,onOpenChange:()=>m(void 0),size:"xs",themeConfig:{slots:{overlay:u}},...p,children:[(0,D.jsx)(o7,{title:r}),(0,D.jsxs)(o8,{className:(0,F.cn)(g()),role:"listbox","aria-orientation":"vertical",children:[o?(0,D.jsx)(aL.x,{className:(0,F.cn)(v()),variant:"uiLabelSmall",children:o}):null,(0,D.jsxs)("div",{className:(0,F.cn)(y()),children:[s,i?(0,D.jsx)(id,{title:l}):null]})]})]})};ic.displayName="LanguageSelector";let iu=e=>{let{locale:t,onPress:r,children:o,...i}=e,[l,s]=(0,oQ.KO)(oY),d=(0,oQ.b9)(oJ),c=Object.keys(t)[0],u=Object.values(t)[0],p=l===c,{pressProps:f}=(0,oX.r)({onPress:e=>{null==r||r(e),s(c),d(void 0)}});return(0,D.jsx)(aF,{isActive:p,href:null==u?void 0:u.domain,role:"option","aria-selected":p,...i,...f,children:(0,D.jsx)(aI,{title:null==u?void 0:u.label,subLabel:null==u?void 0:u.sublabel,children:o})})};iu.displayName="LanguageSelectorItem";let ip=e=>{let{locales:t,...r}=e,o=eG(eT);return t?(0,D.jsx)(ic,{...r,children:Object.entries(t).map(([e,t])=>(0,D.jsx)(iu,{locale:{[e]:{domain:t.domain,label:t.label}},renderCustomLink:o},e))}):null};ip.displayName="LanguageSelectorModal";let im=e=>{let{mode:t="language",languageMap:r,themeConfig:o,className:i,...l}=e,{triggerProps:s,selectedLocale:d}=o0(r.locales,r.defaultLocale),{root:c,navLink:u,content:p}=V(rz,o)({hidden:!1}),f=(0,F.cn)("ef-language-nav-item",c(),i);return(0,D.jsxs)("li",{className:f,children:[(0,D.jsx)("button",{className:(0,F.cn)(u()),...s,...l,children:(0,D.jsx)(rW,{title:null==d?void 0:d.label,chevron:!1,className:(0,F.cn)(p()),children:(0,D.jsx)(o2,{height:16,width:16,weight:"bold"})})}),(0,D.jsx)(ip,{mode:t,locales:r.locales})]})};im.displayName="LanguageNavItem";let ih=ex(null);var ig=r(33141);
37let iv={s:{natural:{video:"aspect-video",image:""},auto:"aspect-auto",unset:"aspect-unset","3-2":"aspect-3-2","1-1":"aspect-1-1","2-1":"aspect-2-1","16-9":"aspect-16-9","2-3":"aspect-2-3","4-3":"aspect-4-3","3-4":"aspect-3-4","9-16":"aspect-9-16","18-9":"aspect-18-9","9-18":"aspect-9-18","21-9":"aspect-21-9","5-4":"aspect-5-4","4-5":"aspect-4-5","3-1":"aspect-3-1","1-2":"aspect-1-2"},m:{natural:{video:"md:aspect-video",image:""},auto:"md:aspect-auto",unset:"md:aspect-unset","3-2":"md:aspect-3-2","1-1":"md:aspect-1-1","2-1":"md:aspect-2-1","16-9":"md:aspect-16-9","2-3":"md:aspect-2-3","4-3":"md:aspect-4-3","3-4":"md:aspect-3-4","9-16":"md:aspect-9-16","18-9":"md:aspect-18-9","9-18":"md:aspect-9-18","21-9":"md:aspect-21-9","5-4":"md:aspect-5-4","4-5":"md:aspect-4-5","3-1":"md:aspect-3-1","1-2":"md:aspect-1-2"},l:{natural:{video:"lg:aspect-video",image:""},auto:"lg:aspect-auto",unset:"lg:aspect-unset","3-2":"lg:aspect-3-2","1-1":"lg:aspect-1-1","2-1":"lg:aspect-2-1","16-9":"lg:aspect-16-9","2-3":"lg:aspect-2-3","4-3":"lg:aspect-4-3","3-4":"lg:aspect-3-4","9-16":"lg:aspect-9-16","18-9":"lg:aspect-18-9","9-18":"lg:aspect-9-18","21-9":"lg:aspect-21-9","5-4":"lg:aspect-5-4","4-5":"lg:aspect-4-5","3-1":"lg:aspect-3-1","1-2":"lg:aspect-1-2"}
37,xl:{natural:{video:"xl:aspect-video",image:""},auto:"xl:aspect-auto",unset:"xl:aspect-unset","3-2":"xl:aspect-3-2","1-1":"xl:aspect-1-1","2-1":"xl:aspect-2-1","16-9":"xl:aspect-16-9","2-3":"xl:aspect-2-3","4-3":"xl:aspect-4-3","3-4":"xl:aspect-3-4","9-16":"xl:aspect-9-16","18-9":"xl:aspect-18-9","9-18":"xl:aspect-9-18","21-9":"xl:aspect-21-9","5-4":"xl:aspect-5-4","4-5":"xl:aspect-4-5","3-1":"xl:aspect-3-1","1-2":"xl:aspect-1-2"},xxl:{natural:{video:"xxl:aspect-video",image:""},auto:"xxl:aspect-auto",unset:"xxl:aspect-unset","3-2":"xxl:aspect-3-2","1-1":"xxl:aspect-1-1","2-1":"xxl:aspect-2-1","16-9":"xxl:aspect-16-9","2-3":"xxl:aspect-2-3","4-3":"xxl:aspect-4-3","3-4":"xxl:aspect-3-4","9-16":"xxl:aspect-9-16","18-9":"xxl:aspect-18-9","9-18":"xxl:aspect-9-18","21-9":"xxl:aspect-21-9","5-4":"xxl:aspect-5-4","4-5":"xxl:aspect-4-5","3-1":"xxl:aspect-3-1","1-2":"xxl:aspect-1-2"}},iy=({bpAspectRatio:e,mediaType:t="image"})=>{if("string"==typeof e){let r=e.replace(/\//,"-");return"natural"===r?iv.s.natural[t]:iv.s[r]??`aspect-${e}`.replace(/\//,"-")}return e&&0!==Object.keys(e).length?Object.entries(e).map(([e,r])=>{let o=null==r?void 0:r.replace(/\//,"-");return"natural"===o?iv[e][o][t]:iv[e][o]}).filter(Boolean).flat():[]};var ib=r(29398);let ix=(0,oG.cn)({});var iw=r(24579),ik=r(55811);let i_=e=>{var t;let r=(null==(t=null==e?void 0:e.split("/")[5])?void 0:t.split("x"))??[],o=parseInt(r[0],10),i=parseInt(r[1],10);return{width:Number.isFinite(o)&&o>0?o:0,height:Number.isFinite(i)&&i>0?i:0}},iC=({width:e,height:t,aspectRatio:r=1})=>{let o,i;let l=Number(e),s=Number(t);return(i=Math.round((o=l)/r))>s&&(i=s,o=Math.round(s*r)),{cropWidth:o,cropHeight:i}},i$=({originalWidth:e,originalHeight:t,cropWidth:r,cropHeight:o,focus:i})=>{let l,s,d,c;let[u]=i.split(":"),[p,f]=u.split("x"),m=Number(r)/2,h=Number(o)/2;return Number(p)-m>0?Number(p)+m>Number(e)?(l=Number(e)-Number(r)>0?Number(e)-Number(r):0,d=e):(l=Math.round(Number(p)-m),d=Math.round(Number(p)+m)):(l=0,d=r),Number(f)-Number(h)>0?Number(f)+Number(h)>Number(t)?(s=Number(t)-Number(o)>0?Number(t)-Number(o):0,c=t):(s=Math.round(Number(f)-h),c=Math.round(Number(f)+h)):(s=0,c=o),{xCropStart:l,yCropStart:s,xCropEnd:d,yCropEnd:c}},iS=(e,t)=>Math.round(Number(e)*Number(t)),iE=({xCropStart:e,xCropEnd:t,yCropStart:r,yCropEnd:o})=>`${e}x${r}:${t}x${o}`,ij=({scale:e,cropWidth:t,cropHeight:r})=>`${iS(t,e)}x${iS(r,e)}`,iN=({width:e,height:t,aspectRatio:r=`${e}/${t}`})=>{let[o,i]=r.split("/"),{cropWidth:l,cropHeight:s}=iC({width:e,height:t,aspectRatio:Number(o)/Number(i)});return{cropWidth:l,cropHeight:s}},iT=(e,t)=>typeof e>"u"||"natural"===e||"unset"===e||"object"==typeof e&&(0===Object.keys(e).length||Object.values(e).every(e=>"natural"===e||"unset"===e))?t:e,iP=(0,B.c6)({slots:{root:"relative block max-w-full overflow-hidden",img:"absolute inset-0 h-full w-full object-cover"},variants:{isSvg:{true:{root:"block max-h-full w-full max-w-full",img:"relative object-fill"}},variant:{outline:{root:"border border-solid border-system-stroke-default"},"shadow-s":{root:"shadow-dark-s-10"},"shadow-m":{root:"shadow-dark-m-15"},"shadow-l":{root:"shadow-dark-l-15"},"shadow-xl":{root:"shadow-dark-xl-15"}},radius:{none:{root:"rounded-none"},xxs:{root:"rounded-xxs"},xs:{root:"rounded-xs"},s:{root:"rounded-sm"},m:{root:"rounded-md"},l:{root:"rounded-lg"},xl:{root:"rounded-xl"},full:{root:"rounded-full"}}}}),iA=(0,B.c6)({slots:{imgRoot:"h-full w-full",img:"transition-all animation-duration-system-short animation-ease-system-easing-expressive hover:scale-105",modalImgRoot:"mx-auto flex max-h-[80vh] max-w-[80vw] items-center justify-center [view-transition-name:asset-transition] md:max-h-[95vh] md:max-w-[95vw]",modalImg:"mx-auto h-full w-full",modalDismissButton:"opacity-1 animate-in animate-from-opacity-0 animation-duration-system-medium animation-delay-system-long",modalOverlay:"bg-system-background-inverse"},variants:{transitioning:{true:{imgRoot:"[view-transition-name:asset-transition]"},false:{}}}}),iO=({src:e,width:t,aspectRatios:r={},focus:o="",quality:i=70,blur:l=0})=>{var s;let d;let c=(null==(s=Object.entries(ig.AV).find(([,e],r,o)=>{let i=o[r+1];return typeof i>"u"||t>=e&&t<i[1]}))?void 0:s[0])??"s",u=(0,iw.v9)(r,c)??"s",p=i_(e),f=`${p.width}/${p.height}`,m=(null==r?void 0:r[u])==="natural"||(null==r?void 0:r[u])==="unset"?f:null==r?void 0:r[u],{cropWidth:h,cropHeight:g}=iN({width:p.width,height:p.height,aspectRatio:m}),v=Math.min(1,Number(t)/Number(h));if(o&&"smart"!==o){let{xCropStart:e,xCropEnd:t,yCropStart:r,yCropEnd:i}=i$({originalWidth:p.width,originalHeight:p.height,cropWidth:h,cropHeight:g,focus:o});d=`${iE({xCropStart:e,xCropEnd:t,yCropStart:r,yCropEnd:i})}/${ij({scale:v,cropWidth:h,cropHeight:g})}`}else d=ij({scale:v,cropWidth:h,cropHeight:g});let y=[i?`quality(${i})`:"",l?`blur(${l}
37)`:""].filter(Boolean).join(":");return{url:`${e}/m/${d}${"smart"===o?"/smart":""}${y?`/filters:${y}`:""}`,width:Math.round(Number(h)*v),height:Math.round(Number(g)*v)}},iR=e=>{let t=null==e?void 0:e.s;return t&&Object.values(e).filter(Boolean).every(e=>e===t)?{s:t}:{}},iD=e=>iO({...e,aspectRatios:iR(e.aspectRatios)}).url,iM=[256,384,640,768,1024,1240,1440,1920,2560],iL=e=>{if(!(null!=e&&e.includes(".storyblok.com/")))return!1;let{width:t,height:r}=i_(e);return t>0&&r>0},iI=({src:e,aspectRatios:t,quality:r,focus:o})=>{let i=iR("string"==typeof t?{s:t}:t),l=r?Number(r):void 0,{width:s}=i_(e),d=iM.filter(e=>e<s);d.length<iM.length&&d.push(s);let c=new Set,u=d.map(t=>iO({src:e,width:t,aspectRatios:i,quality:l,focus:o})).filter(({url:e})=>!c.has(e)&&!!c.add(e));return{src:u.reduce((e,t)=>Math.abs(t.width-1024)<Math.abs(e.width-1024)?t:e).url,srcSet:u.map(e=>`${e.url} ${e.width}w`).join(", ")}},iF=e=>iL(e.src)?iI(e):void 0,iB=(0,B.tv)(iP),iV=(0,I.forwardRef)((e,t)=>{let{aspectRatios:r={s:"natural"},alt:o,src:i,className:l,radius:s,variant:d,asChild:c=!1,style:u={},children:p,themeConfig:f,sizes:m,quality:h,priority:g=!1,srcSetResolver:v=iF,responsiveCrops:y=!1,focus:b,unoptimized:x=!1,...w}=e,{aspectRatios:k,radius:_,className:C,sizes:$}=(0,oQ.Dv)(ix),S=k??r,E=$??m,j=/\.svg(?:[?#]|$)/i.test(i??""),{breakpoint:N}=(0,ib.G)(),T=iy({bpAspectRatio:S}),{root:P,img:A}=(0,I.useMemo)(()=>f?(0,B.tv)((0,B.RH)(iP,f)):iB,[f])({isSvg:j,variant:d,radius:_??s}),O=(0,F.cn)("ef-image-container",T,P(),C,l),R=i_(i),M=R.width&&R.height?`${R.width}/${R.height}`:void 0,L=c?ik.g:"img",V=(0,iw.v9)(S,N)??"",z=(0,F.cn)("ef-image",T,A()),H="natural"===S[V]||"natural"===S||0===Object.keys(r).length,U={...u,aspectRatio:H?M:void 0},Z=(0,I.useMemo)(()=>{if(c||j||x||!i)return;let e=e=>v({src:i,aspectRatios:e,quality:h,focus:b});if(y&&"object"==typeof S&&null!==S){let t,r;let o=[];for(let i of["s","m","l","xl","xxl"]){let l=(0,iw.v9)(S,i),s=l?S[l]:void 0;if(!s||s===t)continue;let d=e(s);"s"===i?r=d:o.push({breakpoint:i,attrs:d}),t=s}return r??(r=e("natural")),{fallback:r,sources:o.reverse()}}return{fallback:v({src:i,aspectRatios:S,quality:h,focus:b}),sources:[]}},[c,b,S,j,h,y,i,v,x]),W=null==Z?void 0:Z.fallback,K=(null==Z?void 0:Z.sources)??[],q=c||!!(null!=W&&W.srcSet),G=(null==E?void 0:E.replace(/^\s*auto(?:\s*,\s*|\s*$)/,""))||void 0,J=q?g?G:E:void 0;return(0,D.jsx)("div",{className:O,style:U,children:c?(0,D.jsx)(L,{"data-slot":"Image",className:z,alt:o,src:i,style:{objectPosition:"var(--img-object-position, center)"},sizes:J,quality:h,priority:g,...w,ref:t,children:p}):K.length>0?(0,D.jsxs)("picture",{className:"block h-full w-full",children:[K.map(({breakpoint:e,attrs:t})=>t?(0,D.jsx)("source",{media:`(min-width: ${ig.AV[e]}px)`,srcSet:t.srcSet||t.src,sizes:J},e):null),(0,D.jsx)("img",{"data-slot":"Image",ref:t,loading:g?"eager":"lazy",className:z,alt:o,src:(null==W?void 0:W.src)??i,srcSet:null==W?void 0:W.srcSet,sizes:J,...g?{fetchpriority:"high"}:{},...w})]}):(0,D.jsx)("img",{"data-slot":"Image",ref:t,loading:g?"eager":"lazy",className:z,alt:o,src:(null==W?void 0:W.src)??i,srcSet:null==W?void 0:W.srcSet,sizes:J,...g?{fetchpriority:"high"}:{},...w})})});iV.displayName="Image";var iz=r(16018);let iH=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M234.38,210a123.36,123.36,0,0,0-60.78-53.23,76,76,0,1,0-91.2,0A123.36,123.36,0,0,0,21.62,210a12,12,0,1,0,20.77,12c18.12-31.32,50.12-50,85.61-50s67.49,18.69,85.61,50a12,12,0,0,0,20.77-12ZM76,96a52,52,0,1,1,52,52A52.06,52.06,0,0,1,76,96Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M192,96a64,64,0,1,1-64-64A64,64,0,0,1,192,96Z",opacity:"0.2"}),I.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M229.19,213c-15.81-27.32-40.63-46.49-69.47-54.62a70,70,0,1,0-63.44,0C67.44,166.5,42.62,185.67,26.81,213a6,6,0,1,0,10.38,6C56.4,185.81,90.34,166,128,166s71.6,19.81,90.81,53a6,6,0,1,0,10.38-6ZM70,96a58,58,0,1,1,58,58A58.07,58.07,0,0,1,70,96Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M227.46,214c-16.52-28.56-43-48.06-73.68-55.09a68,68,0,1,0-51.56,0c-30.64,7-57.16,26.53-73.68,55.09a4,4,0,0,0,6.92,4C55,184.19,89.62,164,128,164s73,20.19,92.54,54a4,4,0,0,0,3.46,2,3.93,3.93,0,0,0,2-.54A4,4,0,0,0,227.46,214ZM68,96a60,60,0,1,1,60,60A60.07,60.07,0,0,1,68,96Z"}))]]);var iU=Object.defineProperty,iZ=Object.defineProperties,iW=Object.getOwnPropertyDescriptors,iK=Object.getOwnPropertySymbols,iq=Object.prototype.hasOwnProperty,iG=Object.prototype.propertyIsEnumerable,iJ=(e,t,r)=>t in e?iU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iY=(e,t)=>{for(var r in t||(t={}))iq.call(t,r)&&iJ(e,r,t[r]);if(iK)for(var r of iK(t))iG.call(t,r)&&iJ(e,r,t[r]);return e},iX=(e,t)=>iZ(e,iW(t));let iQ=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,iX(iY({ref:t},e),{weights:iH})));iQ.displayName="User";let i0=(0,B.c6)({slots:{root:"box-border inline-flex select-none items-center justify-center overflow-hidden rounded-full bg-system-surface-inverse font-bold text-system-text-on-inverse outline outline-offset-0 outline-system-stroke-inverse ",image:"h-full w-full rounded-full object-cover",iconClass:"h-full w-full"},variants:{size:{16:{root:"h-4 w-4 text-[0.625rem] leading-none outline-1",image:"h-4 w-4",iconClass:"p-0.5"},24:{root:"h-6 w-6 text-[0.875rem] leading-none outline-1",image:"h-6 w-6",iconClass:"p-1"},32:{root:"h-8 w-8 text-xl leading-none outline-1",image:"h-8 w-8",iconClass:"p-1"},48:{root:"h-12 w-12 text-[1.75rem] leading-none outline-2",image:"h-12 w-12",iconClass:"p-2"},64:{root:" h-16 w-16 text-[2.625rem] leading-none outline-[3px]",image:"h-16 w-16",iconClass:"p-3"},96:{root:"h-24 w-24 text-[3.875rem] leading-none outline-4",image:"h-24 w-24",iconClass:"p-4"}}}}),i1=e=>e?e.trim().charAt(0).toUpperCase():"?",i2=I.forwardRef(({variant:e="initial",size:t=32,renderCustomImage:r,imageSrc:o,imageAlt:i,name:l,icon:s,className:d,themeConfig:c},u)=>{let{root:p,image:f,iconClass:m}=(0,B.tv)(c?(0,B.RH)(i0,c):i0)({size:t}),h=(0,F.cn)("ef-avatar",p(),d),g,v=l?`${l} avatar`:"User avatar";switch(e){case"image":g=o?r?(0,D.jsx)(iV,{src:o,className:(0,F.cn)(f()),alt:i||l||"avatar",asChild:!0,aspectRatios:{s:"1/1"},children:(0,D.jsx)(r,{})}):(0,D.jsx)(iV,{src:o,className:(0,F.cn)(f()),alt:i||l||"avatar",aspectRatios:{s:"1/1"}}):(0,D.jsx)(iQ,{className:(0,F.cn)(m()),weight:"bold"});break;case"icon":g=I.isValidElement(s)?I.cloneElement(s,{...s.props,className:(0,F.cn)(s.props.className,m())}):(0,D.jsx)(iQ,{className:(0,F.cn)(m()),weight:"bold"});break;case"initial":g=i1(l);break;default:g=null,v=""}return(0,D.jsx)("span",{className:h,role:"img","aria-label":v,ref:u,children:g})});i2.displayName="Avatar";
37let i3=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),I.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]),i4=I.forwardRef((e,t)=>I.createElement(tn,{ref:t,...e,weights:i3}));i4.displayName="ArrowLeftIcon";let i6=e=>{var t,r;let{data:o,widthClasses:i=rP,stickOnScroll:l=!1,children:s,className:d,themeConfig:c,...u}=e,p=eJ(ih),f=l||(null==o?void 0:o.stickOnScroll);(0,I.useEffect)(()=>{o&&p(o)},[o,p]);let{root:m,container:h,list:g,homeLinkText:v,navItem:y,navItemText:b,navItemRoot:x}=V(e6,c)(),w=(0,F.cn)("ef-utility-bar",m(),d);return null!=(t=null==o?void 0:o.links)&&t.length?(0,D.jsxs)("div",{className:w,...f&&{"data-stick-on-scroll":""},...u,children:[(0,D.jsxs)("div",{className:(0,F.cn)(h(),i),children:[null!=o&&o.homeLink?(0,D.jsx)("div",{children:(0,D.jsx)(ok,{link:o.homeLink,themeConfig:{slots:{content:(0,F.cn)(v())}},children:(0,D.jsx)(i4,{weight:"bold"})})}):null,(0,D.jsx)("ul",{className:(0,F.cn)(g()),children:null==(r=null==o?void 0:o.links)?void 0:r.map(e=>{let t={slots:{root:(0,F.cn)(x()),navLink:(0,F.cn)(y()),content:(0,F.cn)(b())}};return"defaultLocale"in e?(0,D.jsx)(im,{languageMap:e,themeConfig:t},e.id):null!=e&&e.iconSvgData||"avatar"in e?(0,D.jsx)(ok,{link:e,themeConfig:t,children:"avatar"in e?(0,D.jsx)(i2,{size:16,name:e.avatar}):(0,D.jsx)(aB.a,{size:"xs",iconSize:"s",children:(0,D.jsx)(a4,{src:e.iconSvgData??""})})},e.id):(0,D.jsx)(ok,{link:e,themeConfig:t},e.id)})})]}),s]}):null},i8=(0,I.forwardRef)((e,t)=>{var r;
37let{data:o,variant:i="condensed",mainContentId:l,widthClasses:s=rP,className:d,children:c,themeConfig:u,...p}=e,{HeaderHeadingsSlot:f,NavListSlot:m,MenuButtonSlot:h,UtilityBarSlot:g}=oq(c,{HeaderHeadings:tl,NavList:oj,MenuButton:rI,UtilityBar:i6}),{root:v,innerContainer:y,ctaContainer:b,extendedNavContainer:x}=V(eQ,u)({variant:i}),w=(0,F.cn)("ef-header",v(),d);return(0,D.jsxs)("div",{ref:t,className:w,...p,children:[l?(0,D.jsx)(e5,{text:null==(r=null==o?void 0:o.siteData)?void 0:r.skipToMainContentLabel,mainContentId:l}):null,g,(0,D.jsxs)("div",{className:(0,F.cn)(y(),s),"data-clicksubregion":"site-header",children:[f,"condensed"===i&&m?m:null,null!=o&&o.ctaLinks&&o.ctaLinks.length>0?(0,D.jsx)(rO,{className:(0,F.cn)(b()),ctaLinks:null==o?void 0:o.ctaLinks}):null,h]}),"extended"===i&&m?(0,D.jsx)("div",{className:(0,F.cn)(x(),s),children:m}):null]})});i8.displayName="Header";let i9=e=>{let{siteData:t,variant:r,renderCustomLogo:o,className:i,children:l,themeConfig:s,...d}=e,c=eG(e$),u=eG(eT),p=rT(),{root:f,logo:m,headingsContainer:h,heading:g,subHeading:v}=V(e1,s)({variant:r}),y=(0,F.cn)("ef-product-logo",f(),i);return(0,D.jsx)(e9.t,{children:(0,D.jsx)(u,{className:y,href:null==t?void 0:t.siteUrl,tabIndex:c?-1:0,role:"link","aria-hidden":c,"aria-label":null!=t&&t.siteName&&null!=t&&t.siteSubHeading?`${null==t?void 0:t.siteName}, ${null==t?void 0:t.siteSubHeading}`:null==t?void 0:t.siteName,onClick:p,"data-clicklabel":(null==t?void 0:t.logoDataClickLabel)??rA.siteHeader,...d,children:(()=>{switch(r){case"logo":return o?(0,D.jsx)(o,{className:(0,F.cn)(m())}):(0,D.jsx)("span",{className:(0,F.cn)(m())});case"product":case"title":return(0,D.jsxs)("div",{className:(0,F.cn)(h()),children:[null!=t&&t.siteName?(0,D.jsx)("span",{className:(0,F.cn)(g()),children:t.siteName}):null,null!=t&&t.siteSubHeading?(0,D.jsx)("span",{className:(0,F.cn)(v()),children:t.siteSubHeading}):null]});case"custom":return o?(0,D.jsx)(o,{}):l;default:return null}})()})})};i9.displayName="ProductLogo";let i5=(0,B.c6)({slots:{root:"bg-components-dividers-default"}}),i7=({appearance:e="solid",orientation:t="horizontal",width:r="100%",thickness:o,dotSize:i,dotGap:l,lineInset:s,color:d,style:c,className:u="",themeConfig:p,...f})=>{let m="horizontal"===t,h="dotted"===e,g=i??"2px",v=o??(h?g:"1px"),y=h?{"--ef-divider-color":d??"var(--color-components-dividers-default)"}:{...d?{backgroundColor:d}:{}},b=s?{clipPath:m?`inset(0 ${s})`:`inset(${s} 0)`}:{},x={...y,...h?{"--ef-divider-thickness":v,"--ef-divider-dot-size":g,"--ef-divider-dot-gap":l??v,backgroundColor:"transparent",backgroundImage:"radial-gradient(circle at center, var(--ef-divider-color) 0 calc(var(--ef-divider-dot-size) / 2), transparent calc((var(--ef-divider-dot-size) / 2) + 0.25px))",backgroundPosition:"center",backgroundRepeat:m?"repeat-x":"repeat-y",backgroundSize:m?"calc(var(--ef-divider-dot-size) + var(--ef-divider-dot-gap)) var(--ef-divider-thickness)":"var(--ef-divider-thickness) calc(var(--ef-divider-dot-size) + var(--ef-divider-dot-gap))"}:{},...b,...c,width:m?r:v,height:m?v:"100%"},{root:w}=(0,B.tv)(p?(0,B.RH)(i5,p):i5)(),k=(0,F.cn)("ef-divider",w(),u);return(0,D.jsx)("hr",{className:k,style:x,...f})};i7.displayName="Divider";let le=e=>(0,D.jsx)("button",{...e}),lt=e=>{let{languageMap:t,mode:r="language",className:o,...i}=e,{triggerProps:l,selectedLocale:s}=o0(t.locales,t.defaultLocale),d=(0,F.cn)("ef-language-menu-item",o);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:d,children:(0,D.jsx)(aF,{size:"fit",renderCustomLink:le,...l,...i,children:(0,D.jsx)(aI,{title:null==s?void 0:s.label,titleSize:"default",themeConfig:{slots:{childrenContainer:"text-system-text-default"}},children:(0,D.jsx)(o2,{weight:"bold"})})})}),(0,D.jsx)(ip,{locales:null==t?void 0:t.locales,mode:r})]})};lt.displayName="LanguageMenuItem";let ln=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),I.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),lr=I.forwardRef((e,t)=>
37I.createElement(tn,{ref:t,...e,weights:ln}));lr.displayName="XIcon";let la=e=>{let{variant:t="default",title:r,subtitle:o,avatar:i,avatarSize:l=96,isAccountMenu:s,className:d,themeConfig:c,...u}=e,[p,f]=eY(eC),m=eJ(eS),{root:h,closeButton:g,avatar:v,content:y,titleContainer:b,subtitleContainer:x,divider:w}=V(a9,c)({isAccountMenu:s}),k=(0,F.cn)("ef-sub-menu-header",h(),d),_=()=>(0,D.jsx)(e7.Button,{className:(0,F.cn)(g()),variant:"ghost",shape:"round",size:"small",onPress:()=>{f(!p),m("")},children:(0,D.jsx)(lr,{weight:"bold"})});return(0,D.jsxs)("div",{className:k,...u,children:[s&&"navigationBar"===t?_():null,s&&i?(0,D.jsx)(i2,{className:(0,F.cn)(v()),size:l,name:i}):null,(0,D.jsxs)("div",{className:(0,F.cn)(y()),children:[(0,D.jsxs)("div",{className:(0,F.cn)(b()),children:[(0,D.jsx)("h5",{children:r}),"navigationBar"!==t||s?null:_()]}),o&&s?(0,D.jsx)("p",{className:(0,F.cn)(x()),children:o}):null]}),s?(0,D.jsx)(i7,{className:(0,F.cn)(w())}):null]})};la.displayName="SubMenuHeader";let lo=e=>{let{link:t,isAccountMenu:r,variant:o="default",className:i,...l}=e,[s,d]=eY(e$),c=eG(eS),{keyboardProps:u}=rN({onKeyDown:e=>{e.continuePropagation(),"ArrowLeft"===e.key&&d(!1)}}),p=(null==t?void 0:t.subMenu)??[],f=null==t?void 0:t.shortcuts,{root:m,contentContainer:h,nav:g}=V(a8)({show:s&&c===String(null==t?void 0:t.id),variant:o}),v=(0,F.cn)("ef-sub-menu",m(),i);return(0,D.jsxs)("div",{className:v,...u,...l,children:[(0,D.jsx)(la,{variant:o,title:null==t?void 0:t.title,subtitle:null==t?void 0:t.subtitle,avatar:null==t?void 0:t.avatar,isAccountMenu:r}),(0,D.jsx)(ri,{autoFocus:!0,restoreFocus:!0,children:(0,D.jsxs)("div",{className:(0,F.cn)(h()),children:[(0,D.jsx)(oh,{links:f,shortcutsLabel:null==t?void 0:t.shortcutsLabel}),(0,D.jsx)(ou,{className:(0,F.cn)(g()),subMenuLinks:p,categoryLayout:null==t?void 0:t.subMenuLayout})]})})]})};lo.displayName="SubMenu";let li=e=>{let{link:t,index:r,isAccountMenu:o,children:i,...l}=e,{listItem:s,menuItemContainer:d}=V(rD)({});return(0,D.jsxs)("li",{className:(0,F.cn)(s()),...l,children:[(0,D.jsx)("div",{className:(0,F.cn)(d()),style:{animationDelay:`${150+20*r}ms`},children:i}),t&&null!=t&&t.subMenu?(0,D.jsx)(lo,{link:t,isAccountMenu:o}):null]})};li.displayName="MenuListItem";let ll=e=>{var t,r,o,i,l;let{menuLinks:s,className:d,children:c,themeConfig:u,...p}=e,f=eG(ih),m=(null==(t=null==f?void 0:f.links)?void 0:t.length)&&(null==(r=null==f?void 0:f.links)?void 0:r.length)>0||(null==f?void 0:f.homeLink),{root:h,menuItem:g,divider:v}=V(rD,u)(),y=(0,F.cn)("ef-mobile-menu-nav",h(),d),b=(null==s?void 0:s.length)||0;return(0,D.jsxs)("ul",{className:y,...p,children:[null==s?void 0:s.map((e,t)=>(0,D.jsx)(li,{index:t,link:e,children:(0,D.jsx)(a6,{className:(0,F.cn)(g()),link:e,isTopLevel:!0,as:"div"})},e.id)),m?(0,D.jsx)(li,{index:b,children:(0,D.jsx)(i7,{className:(0,F.cn)(v())})},b):null,null==(o=null==f?void 0:f.links)?void 0:o.map((e,t)=>{let r="defaultLocale"in e||"locales"in e,o="avatar"in e;return(0,D.jsx)(li,{index:b+t,isAccountMenu:o,link:e,children:r?(0,D.jsx)(lt,{className:(0,F.cn)(g()),languageMap:e}):(0,D.jsx)(a6,{className:(0,F.cn)(g()),link:e,isTopLevel:!1,as:"div",children:o?(0,D.jsx)(i2,{size:16,name:e.avatar}):null})},b+t)}),null!=f&&f.homeLink?(0,D.jsx)(li,{index:b+((null==(i=null==f?void 0:f.links)?void 0:i.length)??0),children:(0,D.jsx)(a6,{link:f.homeLink,as:"div",children:(0,D.jsx)(i4,{weight:"bold"})})},b+((null==(l=null==f?void 0:f.links)?void 0:l.length)??0)):null,c]})};function ls(e,t){if(!e)return!1;let r=window.getComputedStyle(e),o=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return e===o&&"hidden"!==r.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function ld(e,t){let r=e;for(ls(r,t)&&(r=r.parentElement);r&&!ls(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}ll.displayName="MobileMenuNav";let lc=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function lu(e){return e instanceof HTMLInputElement&&!lc.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let lp="u">
37typeof document&&window.visualViewport,lf=0,lm;function lh(e,t,r){let o=e.style[t];return e.style[t]=r,()=>{e.style[t]=o}}function lg(e,t,r,o){return e.addEventListener(t,r,o),()=>{e.removeEventListener(t,r,o)}}function lv(e,t){t||!lp?ly(e):lp.addEventListener("resize",()=>ly(e),{once:!0})}function ly(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t;){let e=ld(r);if(e!==document.documentElement&&e!==document.body&&e!==r){let t=e.getBoundingClientRect(),o=r.getBoundingClientRect();if(o.top<t.top||o.bottom>t.top+r.clientHeight){let r=t.bottom;lp&&(r=Math.min(r,lp.offsetTop+lp.height));let i=o.top-t.top-((r-t.top)/2-o.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}r=e.parentElement}}let lb=e=>{let{open:t,menuLinks:r,ctaLinks:o,onOpenChange:i,activeSlug:l,className:s,children:d,themeConfig:c,...u}=e,p=eG(eC),f=eG(e$),m=rT();oE(l),function(e={}){let{isDisabled:t}=e;nA(()=>{if(!t){let e,t,r,o,i,l,s,d;return 1==++lf&&(lm=nz()&&nH()?(e=lh(document.documentElement,"overflow","hidden"),r=!1,o=document.createElement("style"),(i=r0())&&(o.nonce=i),o.textContent=` 38@layer { 39 * { 40 overscroll-behavior: contain; 41 } 42}`.trim(),document.head.prepend(o),l=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=tx(),r=null!=t&&lu(t);l.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||lv(this,r)},s=rk(lg(document,"touchstart",e=>{let o=tw(e);t=ls(o)?o:ld(o,!0),r=!1;let i=o.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(o,!0)&&(r=!0),e.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(r=!0),"selectionStart"in o&&"selectionEnd"in o&&o.selectionStart<o.selectionEnd&&o.ownerDocument.activeElement===o&&(r=!0)},{passive:!1,capture:!0}),lg(document,"touchmove",e=>{if(!(2===e.touches.length||r)){if(!t||t===document.documentElement||t===document.body){e.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&e.preventDefault()}},{passive:!1,capture:!0}),lg(document,"blur",e=>{var t;let r=tw(e),o=e.relatedTarget;if(o&&lu(o))o.focus({preventScroll:!0}),lv(o,lu(r));else if(!o){let e=null==(t=r.parentElement)?void 0:t.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},!0)),()=>{e(),s(),o.remove(),HTMLElement.prototype.focus=l}):rk((d=window.innerWidth-document.documentElement.clientWidth)>0&&("scrollbarGutter"in document.documentElement.style?lh(document.documentElement,"scrollbarGutter","stable"):lh(document.documentElement,"paddingRight",`${d}px`)),lh(document.documentElement,"overflow","hidden"))),()=>{0==--lf&&lm()}}},[t])}({isDisabled:!(t||p)});let{keyboardProps:h}=rN({onKeyDown:e=>{"Escape"===e.key&&(m(),null==i||i(!1))}}),{root:g,ctaContainer:v,subMenuTransition:y}=V(rR,c)({showSubMenu:f}),b=(0,F.cn)("ef-mobile-menu",g(),s);return t||p?(0,D.jsx)("nav",{id:"bp-menu",className:b,"data-menu-open":p,"data-submenu-open":f,role:"menu",...h,...u,"data-clicksubregion":"site-menu-mobile",children:(0,D.jsxs)(ri,{autoFocus:!0,restoreFocus:!0,contain:!0,children:[(0,D.jsx)(ll,{menuLinks:r,themeConfig:{slots:{menuItem:(0,F.cn)(y()),divider:(0,F.cn)(y())}},children:d}),(0,D.jsx)(rO,{className:(0,F.cn)(v(),y()),ctaLinks:o,buttonsSize:"regular"})]})}):null};lb.displayName="MobileMenu";let lx=({headerRef:e,data:t,utilityBarData:r,variant:o,logoVariant:i,widthClasses:l,mainContentId:s,productLogo:d,activeSlug:c})=>{var u,p,f,m,h,g,v,y,b,x,w,k;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(i8,{ref:e,data:null==t?void 0:t.header,variant:o,widthClasses:l,mainContentId:s,children:[(0,D.jsx)(i6,{data:r,widthClasse
42s:l}),(0,D.jsx)(tl,{backLabel:null==(p=null==(u=null==t?void 0:t.header)?void 0:u.siteData)?void 0:p.backLabel,children:(0,D.jsx)(i9,{variant:i,siteData:null==(f=null==t?void 0:t.header)?void 0:f.siteData,renderCustomLogo:d})}),(0,D.jsx)(oj,{links:null==t?void 0:t.menuLinks,activeSlug:c}),(0,D.jsx)(rI,{menuLabel:null==(h=null==(m=null==t?void 0:t.header)?void 0:m.siteData)?void 0:h.menuLabel,closeLabel:null==(v=null==(g=null==t?void 0:t.header)?void 0:g.siteData)?void 0:v.closeLabel,contentVariant:null==(b=null==(y=null==t?void 0:t.header)?void 0:y.siteData)?void 0:b.menuButtonVariant,dataClickLabel:null==(w=null==(x=null==t?void 0:t.header)?void 0:x.siteData)?void 0:w.menuButtonDataClickLabel})]}),(0,D.jsx)(lb,{menuLinks:null==t?void 0:t.menuLinks,ctaLinks:null==(k=null==t?void 0:t.header)?void 0:k.ctaLinks,activeSlug:c})]})};lx.displayName="DefaultHeaderContent";let lw=e=>{let[t,r]=(0,I.useState)(!0),o=(0,I.useRef)(e);return o.current=e,(0,I.useEffect)(()=>{let e=()=>{r(window.scrollY<=o.current)};if("u">typeof window)return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),t},lk=e=>{let[t,r]=(0,I.useState)(!1),o=(0,I.useRef)(0),i=eG(eS),l=eG(eC),s=(0,I.useRef)({activeNavItem:i,showMenu:l});return s.current={activeNavItem:i,showMenu:l},(0,I.useEffect)(()=>{let e=()=>{let{activeNavItem:e,showMenu:t}=s.current;r(""!==e||!!t||window.scrollY<o.current),o.current=window.scrollY};if("u">typeof window)return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),t},l_=(e,t)=>{let[r,o]=(0,I.useState)(64),i=lw(e+r),l=lk(),s=(0,I.useRef)(null);return(0,I.useEffect)(()=>{let e=s.current;if(!e)return;let t=()=>{e.clientHeight&&o(Math.ceil(e.clientHeight))};t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[]),{headerRef:s,headerHeight:r,isTopScreen:i,isVisible:l&&!t||i,position:i||t?"relative":"fixed"}},lC=e=>Array.isArray(e)?e.filter(Boolean):void 0,l$=e=>{var t,r,o;let{subMenu:i,shortcuts:l,menuLinks:s}=e??{};return i||l||s?{...e,...i?{subMenu:null==(t=lC(i))?void 0:t.map(l$)}:{},...l?{shortcuts:null==(r=lC(l))?void 0:r.map(l$)}:{},...s?{menuLinks:null==(o=lC(s))?void 0:o.map(l$)}:{}}:e},lS=(e,t)=>({safeData:(0,I.useMemo)(()=>{var t;return e&&{...e,header:e.header?{...e.header,ctaLinks:lC(e.header.ctaLinks)}:e.header,menuLinks:null==(t=lC(e.menuLinks))?void 0:t.map(l$)}},[e]),safeUtilityBarData:(0,I.useMemo)(()=>{var e;return t&&{...t,links:null==(e=lC(t.links))?void 0:e.map(l$)}},[t])});var lE="object"==typeof tL&&tL&&tL.Object===Object&&tL,lj="object"==typeof self&&self&&self.Object===Object&&self;lE||lj||Function("return this")();var lN="u">typeof window?I.useLayoutEffect:I.useEffect;function lT(e,t,r,o){let i=(0,I.useRef)(t);lN(()=>{i.current=t},[t]),(0,I.useEffect)(()=>{let t=window;if(!(t&&t.addEventListener))return;let r=e=>{i.current(e)};return t.addEventListener(e,r,o),()=>{t.removeEventListener(e,r,o)}},[e,r,o])}function lP(e){let t=(0,I.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return lN(()=>{t.current=e},[e]),(0,I.useCallback)((...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[t])}var lA=typeof window>"u";let lO=e=>{let{id:t="temp",persist:r=!0,icon:o,text:i,timeout:l,children:s,widthClasses:d,closeAriaLabel:c="Close",className:u,themeConfig:p,...f}=e,m=r&&t,[h,g,v]=function(e,t,r={}){let{initializeWithValue:o=!0}=r,i=(0,I.useCallback)(e=>r.serializer?r.serializer(e):JSON.stringify(e),[r]),l=(0,I.useCallback)(e=>{let o;if(r.deserializer)return r.deserializer(e);if("undefined"===e)return;let i=t instanceof Function?t():t;try{o=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),i}return o},[r,t]),s=(0,I.useCallback)(()=>{let r=t instanceof Function?t():t;if(lA)return r;try{let t=window.localStorage.getItem(e);return t?l(t):r}catch(t){return console.warn(`Error reading localStorage key â${e}â:`,t),r}},[t,e,l]),[d,c]=(0,I.useState)(()=>o?s():t instanceof Function?t():t),u=lP(t=>{lA&&console.warn(`Tried setting localStorage key â${e}â even though environment is not a client`);try{let r=t instanceof Function?t(s()):t;window.localStorage.setItem(e,i(r)),c(r),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(t){console.warn(`Error setting localStorage key â${e}â:`,t)}}),p=lP(()=>{lA&&console.warn(`Tried removing localStorage key â${e}â even though environment is not a client`);let r=t instanceof Function?t():t;window.localStorage.removeItem(e),c(r),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))});(0,I.useEffect)(()=>{c(s())},[e]);let f=(0,I.useCallback)(t=>{t.key&&t.key!==e||c(s())},[e,s]);return lT("storage",f),lT("local-storage",f),[d,u,p]}(`announcement-bar-dismissed-${t}`,!1),[y,b]=(0,I.useState)(!1),[x,w]=(0,I.useState)(!1),k=m?g:b;(0,I.useEffect)(()=>{w(!0)},[]),(0,I.useEffect)(()=>
42{if(l){let e=setTimeout(()=>{k(!0)},l);return()=>clearTimeout(e)}},[l,k]);let{root:_,container:C,content:$,icon:S,title:E,button:j}=V(e8,p)({}),N=(0,F.cn)("ef-announcement-bar",_(),u);return m&&(!x||!v)||(m?h:y)?null:(0,D.jsx)("div",{className:N,...f,children:(0,D.jsxs)("div",{className:(0,F.cn)(C(),d),children:[(0,D.jsxs)("div",{className:(0,F.cn)($()),children:[o?(0,D.jsx)("span",{className:(0,F.cn)(S()),children:o}):null,i?(0,D.jsx)(aL.x,{className:(0,F.cn)(E()),variant:"uiLabel",children:i}):null,s?(0,D.jsx)("div",{className:(0,F.cn)(E()),children:s}):null]}),(0,D.jsx)(e7.Button,{className:(0,F.cn)(j()),variant:"ghost",size:"small",shape:"round",onClick:()=>{k(!0)},"aria-label":c,children:(0,D.jsx)(lr,{weight:"bold"})})]})})};lO.displayName="AnnouncementBar";let lR=({isVisible:e,isTopScreen:t,headerHeight:r})=>{let o=eJ(eA),i=eJ(eO),l=eJ(eR);return(0,I.useEffect)(()=>{o(e)},[e,o]),(0,I.useEffect)(()=>{i(t)},[t,i]),(0,I.useEffect)(()=>{l(r)},[r,l]),null},lD=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d,c,u,p,f,m,h,g,v,y,b,x;let{data:w,utilityBarData:k,variant:_="condensed",logoVariant:C="condensed"===_?"logo":"product",staticHeader:$=!1,offsetTop:S=0,mainContentId:E,renderCustomLink:j=e=>(0,D.jsx)("a",{...e}
42),productLogo:N,activeSlug:T,widthClasses:P=rP,className:A,style:O,children:R,themeConfig:M,_skipProvider:L=!1,...I}=e,{safeData:B,safeUtilityBarData:z}=lS(w,k),{headerRef:U,headerHeight:Z,isTopScreen:W,isVisible:K,position:q}=l_(S,$),{root:G,wrapper:J}=V(H,M)({position:q,isTopScreen:W}),Y=(0,F.cn)("ef-backpack-header",G(),A),X=(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(lR,{isVisible:K,isTopScreen:W,headerHeight:Z}),(0,D.jsx)(eX,{className:(0,F.cn)(J()),variant:_,staticHeader:$,isTopScreen:W,isVisible:K,children:R||(0,D.jsx)(lx,{headerRef:U,data:B,utilityBarData:z,variant:_,logoVariant:C,widthClasses:P,mainContentId:E,productLogo:N,activeSlug:T})}),null!=(o=null==(r=null==w?void 0:w.header)?void 0:r.announcementBar)&&o.children||null!=(l=null==(i=null==w?void 0:w.header)?void 0:i.announcementBar)&&l.text?(0,D.jsx)(lO,{id:null==(d=null==(s=null==w?void 0:w.header)?void 0:s.announcementBar)?void 0:d.id,persist:null==(u=null==(c=null==w?void 0:w.header)?void 0:c.announcementBar)?void 0:u.persist,icon:null==(f=null==(p=null==w?void 0:w.header)?void 0:p.announcementBar)?void 0:f.icon,text:null==(h=null==(m=null==w?void 0:w.header)?void 0:m.announcementBar)?void 0:h.text,timeout:null==(v=null==(g=null==w?void 0:w.header)?void 0:g.announcementBar)?void 0:v.timeout,widthClasse
42s:P,children:null==(b=null==(y=null==w?void 0:w.header)?void 0:y.announcementBar)?void 0:b.children}):null]});return(0,D.jsx)("header",{ref:t,className:Y,style:{"--offset-top":`${S}px`,"--header-height":`${Z}px`,...O},"data-visible":K,"data-position":q,"data-header-hidden":"fixed"!==q||K?void 0:"","data-version":"3.7.0","data-clickregion":"global-header",...I,children:L?X:(0,D.jsx)(eH,{children:(0,D.jsx)(o$,{initialValues:[[eT,j],[eE,(null==(x=null==w?void 0:w.header)?void 0:x.disableMenuOverlay)??!1]],children:X})})})});lD.displayName="BackpackHeader";let lM=e=>{let t=Object.keys(e).sort((t,r)=>e[r]-e[t]);return t.map((r,o)=>{let i="",l=e[r],s=t[o-1],d=s?e[s]:null;return l>=0&&(i=`(min-width: ${l}px)`),null!==d&&(i&&(i+=" and "),i+=`(max-width: ${d-1}px)`),{breakpoint:r,maxWidth:d?d-1:null,minWidth:l,query:i}})},lL=typeof window>"u"?I.useEffect:I.useLayoutEffect,lI={breakpoint:void 0,minWidth:void 0,maxWidth:void 0},lF=(e,t,r=!0)=>{let o=(0,I.useMemo)(()=>lM(e),[e]),[i,l]=(0,I.useState)(()=>{for(let{query:e,...i}of o)if("u">typeof window&&!r){if(window.matchMedia(e).matches)return i}else if(i.breakpoint===t)return i;return lI}),s=(0,I.useCallback)(({matches:e},t)=>{e&&l(t)},[]);return lL(()=>{let e=o.map(({query:e,...t})=>{let r=window.matchMedia(e);s(r,t);let o=e=>{s(e,t)},i="addEventListener"in r&&"removeEventListener"in r;return i?r.addEventListener("change",o):r.addListener(o),()=>{i?r.removeEventListener("change",o):r.removeListener(o)}});return()=>e.forEach(e=>e())},[o,s]),(0,I.useDebugValue)(i,e=>"string"==typeof e.breakpoint?`${e.breakpoint} (${e.minWidth} ⤠x${e.maxWidth?` < ${e.maxWidth+1}`:""})`:""),i},lB={mobile:0,fabNarrow:ig.AV.l,collapsed1:1108,fabWide:1264,collapsed2:1352,expanded:1740},lV="u">typeof window?I.useLayoutEffect:I.useEffect,lz={mobile:"mobile",fabNarrow:"fab",collapsed1:"collapsed",fabWide:"fab",collapsed2:"collapsed",expanded:"expanded"},lH=(e,t)=>{(0,I.useEffect)(()=>{if(!e)return;let r=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[e,t])},lU=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,36H40A20,20,0,0,0,20,56V200a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A20,20,0,0,0,216,36ZM44,60H76V196H44ZM212,196H100V60H212Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M88,48V208H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8Z",opacity:"0.2"}),I.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,56H80V200H40ZM216,200H96V56H216V200Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,160H88V56H216V200Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,42H40A14,14,0,0,0,26,56V200a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM38,200V56a2,2,0,0,1,2-2H82V202H40A2,2,0,0,1,38,200Zm180,0a2,2,0,0,1-2,2H94V54H216a2,2,0,0,1,2,2Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM40,56H80V200H40ZM216,200H96V56H216V200Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,44H40A12,12,0,0,0,28,56V200a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM36,200V56a4,4,0,0,1,4-4H84V204H40A4,4,0,0,1,36,200Zm184,0a4,4,0,0,1-4,4H92V52H216a4,4,0,0,1,4,4Z"}))]]),lZ=I.forwardRef((e,t)=>I.createElement(tn,{ref:t,...e,weights:lU}));lZ.displayName="SidebarSimpleIcon";let lW=(0,B.c6)({slots:{root:"fixed bottom-0 z-30 h-fit min-h-[66px] py-2 max-lg:w-full lg:relative lg:flex lg:h-screen lg:flex-col lg:pt-1 lg:pt-3",bg:"border-t-system-stroke-mono bg-system-surface-default lg:border-components-dividers-default absolute inset-0 z-0 border-t lg:border-e lg:border-t-0",collapsibleButton:"mono hidden self-end [view-transition-name:collapse-button] lg:block",header:"z-10 hidden px-0 pb-0 pt-3 [view-transition-name:match-element] lg:flex lg:shrink-0",avatar:"[view-transition-name:match-element]",body:"lg:pt-4",footer:"lg:border-components-dividers-weak z-10 hidden lg:block lg:border-t lg:px-2 lg:pt-2",divi
42der:"bg-components-dividers-weak hidden"},variants:{expanded:{true:{root:"w-full lg:w-60",collapsibleButton:"me-3 self-end",header:"lg:px-6",body:"lg:px-6",footer:"lg:px-6"},false:{root:"lg:w-14",header:"gap-0",collapsibleButton:"mb-1 self-center"}},position:{anchored:{root:"",header:"lg:px-0"},floating:{root:"lg:bottom-2 lg:left-2 lg:top-2 lg:h-fit lg:max-h-[calc(100vh-16px)] lg:min-h-[80vh] lg:rounded-sm",bg:"lg:shadow-enabled lg:ring-system-stroke-mono lg:overflow-hidden lg:rounded-sm lg:border-e-0 lg:ring-1 lg:ring-inset",header:"lg:px-6",divider:"mb-2 lg:block",footer:"pt-0 lg:border-t-0"}},withHeader:{true:{root:"bottom-[unset] top-[--nav-top] [--nav-top:var(--header-height,64px)] max-lg:translate-y-0 group-has-[[data-header-hidden]]/layout:max-lg:-translate-y-[calc(100%+var(--nav-top))] motion-safe:max-lg:transition-transform motion-safe:max-lg:duration-300 motion-safe:max-lg:ease-in-out lg:sticky lg:max-h-[calc(100vh-var(--nav-top))] lg:border-0 lg:border-t group-has-[[data-header-hidden]]/layout:lg:top-0 group-has-[[data-header-hidden]]/layout:lg:max-h-screen group-has-[[data-position=relative][data-visible=false]]/layout:lg:[--nav-top:0px] lg:group-has-[[data-position=fixed]_.ef-utility-bar:not([data-stick-on-scroll])]/layout:[--nav-top:calc(var(--header-height,64px)_-_2rem)] motion-safe:lg:transition-[top,max-height] motion-safe:lg:duration-300 motion-safe:lg:ease-in-out",bg:"border-t-components-dividers-default border-b-system-stroke-mono group-has-[[data-position=fixed][data-visible=true]]/layout:max-lg:shadow-dark-m-20 border-b lg:border-b-0"}}},compoundVariants:[{position:"floating",withHeader:!0,class:{root:"lg:fixed lg:top-[calc(var(--nav-top)+8px)] lg:max-h-[calc(100vh-var(--nav-top)-16px)] lg:border-t-0 group-has-[[data-header-hidden]]/layout:lg:top-2 group-has-[[data-header-hidden]]/layout:lg:max-h-[calc(100vh-16px)]"}},{position:"floating",expanded:!1,class:{header:"lg:px-2"}}]}),lK=(0,B.c6)({slots:{root:"gap-0.5 px-2 lg:flex lg:h-full lg:flex-1 lg:flex-col lg:overflow-y-auto",list:"flex lg:h-full lg:flex-col ",categoryContainer:"py-2",categoryList:"flex flex-col py-2",menuItem:"",categoryLabel:"pb-1"},variants:{hasCategories:{true:{list:"lg:gap-4"}}}}),lq=(0,B.c6)({slots:{root:"rounded-xs text-system-text-default group relative flex min-h-[50px] w-full cursor-pointer flex-col items-center justify-center gap-0.5 px-2 py-1",bg:"transition-system-duration-short transition-system-easing-standard rounded-xs group-hover:bg-system-surface-hover absolute inset-0 z-0 transition-colors",iconContainer:"relative z-10 flex items-center justify-center",label:"text-small-print relative z-10 line-clamp-2 w-full text-center",notificationDot:"bg-system-surface-warning-strong absolute -right-2 -top-1 z-10 size-2 rounded-full"},variants:{isActive:{true:{root:"text-system-text-selected-default",bg:"bg-system-surface-selected-weak",iconContainer:"text-system-text-selected-default"}},hidden:{true:{root:"hidden"}}}}),lG=(0,B.c6)({slots:{root:"min-w-0 flex-1 basis-0 list-none max-lg:flex lg:flex-none lg:basis-auto",navMenuItemRoot:"flex min-h-10 [view-transition-class:navigation-bar-item-row] [view-transition-name:match-element]",navMe
42nuItemBg:"[view-transition-class:navigation-bar-item-bg] [view-transition-name:match-element]",navMenuItemTitle:"z-20 [view-transition-class:navigation-bar-item-title] [view-transition-name:match-element]",iconWrapper:"flex size-4 fill-current [view-transition-class:ef-navigation-bar-item] [view-transition-name:match-element]",collapsibleRoot:"group/collapsible-root w-full",collapsibleTrigger:"rounded-xs w-full",collapsibleContent:"-me-5 -ms-1 pe-5 ps-11",collapsibleInner:"py-1",subItem:"",notificationBadge:'motion-safe:duration-system-short motion-safe:ease-system-easing-expressive [view-transition-name:var(--notification-vt-name)] group-data-[state="open"]/collapsible-root:scale-50 group-data-[state="open"]/collapsible-root:opacity-0 motion-safe:transition-all ',notificationDot:"[view-transition-name:var(--notification-vt-name)]"},variants:{hidden:{true:{root:"hidden"}}}}),lJ=(0,B.c6)({slots:{root:"fixed left-2 top-2 z-20 flex size-14 items-center justify-center",bg:"bg-system-surface-default ring-system-stroke-mono shadow-enabled absolute inset-0 overflow-hidden rounded-sm ring-1",button:"mono relative z-10 [view-transition-name:collapse-button]",notificationDot:"bg-system-surface-warning-strong absolute right-2.5 top-2.5 z-10 size-2 rounded-full"},variants:{withHeader:{true:{root:"top-[calc(var(--nav-top)+8px)] [--nav-top:var(--header-height,64px)] group-has-[[data-header-hidden]]/layout:top-2 group-has-[[data-position=relative][data-visible=false]]/layout:[--nav-top:0px] motion-safe:transition-[top] motion-safe:duration-300 motion-safe:ease-in-out lg:group-has-[[data-position=fixed]_.ef-utility-bar:not([data-stick-on-scroll])]/layout:[--nav-top:calc(var(--header-height,64px)_-_2rem)]"}}}}),lY=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function lX(e){return!("string"!=typeof e||e.includes("-"))&&!!(lY.indexOf(e)>-1||/[A-Z]/u.test(e))}let lQ=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],l0=new Set([...lQ,"pathRotation"]),l1=(e,t,r)=>r>t?t:r<e?e:r,l2={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l3={...l2,transform:e=>l1(0,1,e)},l4={...l2,default:1},l6=e=>Math.round(1e5*e)/1e5,l8=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,l9=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l5=(e,t)=>r=>!!("string"==typeof r&&l9.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),l7=(e,t,r)=>o=>{if("string"!=typeof o)return o;let[i,l,s,d]=o.match(l8);return{[e]:parseFloat(i),[t]:parseFloat(l),[r]:parseFloat(s),alpha:void 0!==d?parseFloat(d):1}},se=e=>l1(0,255,e),st={...l2,transform:e=>Math.round(se(e))},sn={test:l5("rgb","red"),parse:l7("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+st.transform(e)+", "+st.transform(t)+", "+st.transform(r)+", "+l6(l3.transform(o))+")"},sr={test:l5("#"),parse:function(e){let t="",r="",o="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}},transform:sn.transform},sa=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),so=sa("deg"),si=sa("%"),sl=sa("px"),ss=sa("vh"),sd=sa("vw"),sc={...si,parse:e=>si.parse(e)/100,transform:e=>si.transform(100*e)},su={test:l5("hsl","hue"),parse:l7("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+si.transform(l6(t))+", "+si.transform(l6(r))+", "+l6(l3.transform(o))+")"},sp={test:e=>sn.test(e)||sr.test(e)||su.test(e),parse:e=>sn.test(e)?sn.parse(e):su.test(e)?su.parse(e):sr.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?sn.transform(e):su.transform(e),getAnimatableNone:e=>{let t=sp.parse(e);return t.alpha=0,sp.transform(t)}},sf=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,sm="number",sh="color",sg=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function sv(e){let t=e.toString(),r=[],o={color:[],number:[],var:[]},i=[],l=0,s=t.replace(sg,e=>(sp.test(e)?(o.color.push(l),i.push(sh),r.push(sp.parse(e))):e.startsWith("var(")?(o.var.push(l),i.push("var"),r.push(e)):(o.number.push(l),i.push(sm),r.push(parseFloat(e))),++l,"${}")).split("${}");return{values:r,split:s,indexes:o,types:i}}function sy({split:e,types:t}){let r=e.length;return o=>{let i="";for(let l=0;l<r;l++)if(i+=e[l],void 0!==o[l]){let e=t[l];e===sm?i+=l6(o[l]):e===sh?i+=sp.transform(o[l]):i+=o[l]}return i}}let sb=e=>"number"==typeof e?0:sp.test(e)?sp.getAnimatableNone(e):e,sx=(e,t)=>"number"==typeof e?null!=t&&t.trim().endsWith("/")?e:0:sb(e),sw={test:function(e){var t,r;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(l8))?void 0:t.length)||0)+((null==(r=e.match(sf))?void 0:r.length)||0)>0},parse:function(e){return sv(e).values},createTransformer:function(e){return sy(sv(e))},getAnimatableNone:function(e){let t=sv(e);return sy(t)(t.values.map((e,r)=>sx(e,t.split[r])))}},sk=new Set(["brightness","contrast","saturate","opacity"]);function s_(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[o]=r.match(l8)||[];if(!o)return e;let i=r.replace(o,""),l=sk.has(t)?1:0;return o!==r&&(l*=100),t+"("+l+i+")"}let sC=/\b([a-z-]*)\(.*?\)/gu,s$={...sw,getAnimatableNone:e=>{let t=e.match(sC);return t?t.map(s_).join(" "):e}},sS={...sw,getAnimatableNone:e=>{let t=sw.parse(e);return sw.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},sE={...l2,transform:Math.round},sj={borderWidth:sl,borderTopWidth:sl,borderRightWidth:sl,borderBottomWidth:sl,borderLeftWidth:sl,borderRadius:sl,borderTopLeftRadius:sl,borderTopRightRadius:sl,borderBottomRightRadius:sl,borderBottomLeftRadius:sl,width:sl,maxWidth:sl,height:sl,maxHeight:sl,top:sl,right:sl,bottom:sl,left:sl,inset:sl,insetBlock:sl,insetBlockStart:sl,insetBlockEnd:sl,insetInline:sl,insetInlineStart:sl,insetInlineEnd:sl,padding:sl,paddingTop:sl,paddingRight:sl,paddingBottom:sl,paddingLeft:sl,paddingBlock:sl,paddingBlockStart:sl,paddingBlockEnd:sl,paddingInline:sl,paddingInlineStart:sl,paddingInlineEnd:sl,margin:sl,marginTop:sl,marginRight:sl,marginBottom:sl,marginLeft:sl,marginBlock:sl,marginBlockStart:sl,marginBlockEnd:sl,marginInline:sl,marginInlineStart:sl,marginInlineEnd:sl,fontSize:sl,backgroundPositionX:sl,backgroundPositionY:sl,rotate:so,pathRotation:so,rotateX:so,rotateY:so,rotateZ:so,scale:l4,scaleX:l4,scaleY:l4,scaleZ:l4,skew:so,skewX:so,skewY:so,distance:sl,translateX:sl,translateY:sl,translateZ:sl,x:sl,y:sl,z:sl,perspective:sl,transformPerspective:sl,opacity:l3,originX:sc,originY:sc,originZ:sl,zIndex:sE,fillOpacity:l3,strokeOpacity:l3,numOctaves:sE},sN={...sj,color:sp,backgroundColor:sp,outlineColor:sp,fill:sp,stroke:sp,borderColor:sp,borderTopColor:sp,borderRightColor:sp,borderBottomColor:sp,borderLeftColor:sp,filter:s$,WebkitFilter:s$,mask:sS,WebkitMask:sS},sT=e=>sN[e],sP=()=>({translate:0,scale:1,origin:0,originPoint:0}),sA=()=>({x:sP(),y:sP()}),sO=()=>({min:0,max:0}),sR=()=>({x:sO(),y:sO()}),sD=e=>
42!!(e&&e.getVelocity),sM=new Set(["width","height","top","left","right","bottom",...lQ]),sL=e=>t=>t.test(e),sI=[l2,sl,si,so,sd,ss,{test:e=>"auto"===e,parse:e=>e}],sF=e=>sI.find(sL(e)),sB=e=>t=>"string"==typeof t&&t.startsWith(e),sV=sB("--"),sz=sB("var(--"),sH=e=>!!sz(e)&&sU.test(e.split("/*")[0].trim()),sU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function sZ(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}function sW(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let sK=()=>{},sq=()=>{};"u">typeof tC.process&&(null==(NX=tC.process.env)?void 0:NX.NODE_ENV)!=="production"&&(sK=(e,t,r)=>{!e&&"u">typeof console&&console.warn(sW(t,r))},sq=(e,t,r)=>{if(!e)throw Error(sW(t,r))});let sG=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),sJ=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,sY=e=>180*e/Math.PI,sX=e=>s0(sY(Math.atan2(e[1],e[0]))),sQ={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:sX,rotateZ:sX,skewX:e=>sY(Math.atan(e[1])),skewY:e=>sY(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},s0=e=>((e%=360)<0&&(e+=360),e),s1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),s2=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),s3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:s1,scaleY:s2,scale:e=>(s1(e)+s2(e))/2,rotateX:e=>s0(sY(Math.atan2(e[6],e[5]))),rotateY:e=>s0(sY(Math.atan2(-e[2],e[0]))),rotateZ:sX,rotate:sX,skewX:e=>sY(Math.atan(e[4])),skewY:e=>sY(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function s4(e){return e.includes("scale")?1:0}function s6(e,t){let r,o;if(!e||"none"===e)return s4(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=s3,o=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sQ,o=t}if(!o)return s4(t);let l=r[t],s=o[1].split(",").map(s9);return"function"==typeof l?l(s):s[l]}let s8=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return s6(r,t)};function s9(e){return parseFloat(e.trim())}let s5=e=>e===l2||e===sl,s7=new Set(["x","y","z"]),de=lQ.filter(e=>!s7.has(e)),dt={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:o})=>{let i=e.max-e.min;return"border-box"===o?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:o})=>{let i=e.max-e.min;return"border-box"===o?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>s6(t,"x"),y:(e,{transform:t})=>s6(t,"y")};dt.translateX=dt.x,dt.translateY=dt.y;let dn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],dr={};function da(e,t){let r=!1,o=!0,i={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,s=dn.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,o=!1,i=!1,l=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function d(t){l.has(t)&&(c.schedule(t),e()),t(s)}let c={schedule:(e,i=!1,s=!1)=>{let d=s&&o?t:r;return i&&l.add(e),d.add(e),e},cancel:e=>{r.delete(e),l.delete(e)},process:e=>{if(s=e,o){i=!0;return}o=!0;let l=t;t=r,r=l,t.forEach(d),t.clear(),o=!1,i&&(i=!1,c.process(e))}};return c}(l),e),{}),{setup:d,read:c,resolveKeyframes:u,preUpdate:p,update:f,preRender:m,render:h,postRender:g}=s,v=()=>{let l=dr.useManualTiming,s=l?i.timestamp:performance.now();r=!1,l||(i.delta=o?1e3/60:Math.max(Math.min(s-i.timestamp,40),1)),i.timestamp=s,i.isProcessing=!0,d.process(i),c.process(i),u.process(i),p.process(i),f.process(i),m.process(i),h.process(i),g.process(i),i.isProcessing=!1,r&&t&&(o=!1,e(v))},y=()=>{r=!0,o=!0,i.isProcessing||e(v)};return{schedule:dn.reduce((e,t)=>{let o=s[t];return e[t]=(e,t=!1,i=!1)=>(r||y(),o.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<dn.length;t++)s[dn[t]].cancel(e)},state:i,steps:s}}let di=e=>e,{schedule:dl,cancel:ds,state:dd,steps:dc}=da("u">typeof requestAnimationFrame?requestAnimationFrame:di,!0),du=new Set,dp=!1,df=!1,dm=!1;function dh(){if(df){let e=Array.from(du).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;
42t.forEach(e=>{let t=function(e){let t=[];return de.forEach(r=>{let o=e.getValue(r);void 0!==o&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var o;null==(o=e.getValue(t))||o.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}df=!1,dp=!1,du.forEach(e=>e.complete(dm)),du.clear()}function dg(){du.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(df=!0)})}class dv{constructor(e,t,r,o,i,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=o,this.element=i,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(du.add(this),dp||(dp=!0,dl.read(dg),dl.resolveKeyframes(dh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:o}=this;if(null===e[0]){let i=null==o?void 0:o.get(),l=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let o=r.readValue(t,l);null!=o&&(e[0]=o)}void 0===e[0]&&(e[0]=l),o&&void 0===i&&o.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),du.delete(this)}cancel(){"scheduled"===this.state&&(du.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let dy=e=>/^0[^.\s]+$/u.test(e),db=new Set([s$,sS]);function dx(e,t){let r=sT(e);return db.has(r)||(r=sw),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let dw=new Set(["auto","none","0"]);class dk extends dv{constructor(e,t,r,o,i){super(e,t,r,o,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let o=e[r];if("string"==typeof o&&sH(o=o.trim())){let i=function e(t,r,o=1){sq(o<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,l]=function(e){let t=sJ.exec(e);if(!t)return[,];let[,r,o,i]=t;return[`--${r??o}`,i]}(t);if(!i)return;let s=window.getComputedStyle(r).getPropertyValue(i);if(s){let e=s.trim();return sG(e)?parseFloat(e):e}return sH(l)?e(l,r,o+1):l}(o,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=o)}}if(this.resolveNoneKeyframes(),!sM.has(r)||2!==e.length)return;let[o,i]=e,l=sF(o),s=sF(i);if(sZ(o)!==sZ(i)&&dt[r]){this.needsMeasurement=!0;return}if(l!==s){if(s5(l)&&s5(s))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else dt[r]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var o;(null===e[t]||("number"==typeof(o=e[t])?0===o:null===o||"none"===o||"0"===o||dy(o)))&&r.push(t)}r.length&&function(e,t,r){let o=0,i;for(;o<e.length&&!i;){let t=e[o];"string"==typeof t&&!dw.has(t)&&sv(t).values.length&&(i=e[o]),o++}if(i&&r)for(let o of t)e[o]=dx(r,i)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=dt[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let o=t[t.length-1];void 0!==o&&e.getValue(r,o).jump(o,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);let l=o.length-1,s=o[l];o[l]=dt[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),null!=(e=this.removedTransforms)&&e.length&&this.removedTransforms.forEac
42h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}let d_=e=>e.startsWith("--");function dC(e,t,r){d_(t)?e.style.setProperty(t,r):e.style[t]=r}let d$={};function dS(e){let t;return()=>(void 0===t&&(t=e()),t)}function dE(e,t){let r=dS(e);return()=>d$[t]??r()}let dj=dE(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),dN=e=>null!==e;function dT(e,{repeat:t,repeatType:r="loop"},o,i=1){let l=e.filter(dN),s=i<0||t&&"loop"!==r&&t%2==1?0:l.length-1;return s&&void 0!==o?o:l[s]}class dP{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let dA=dE(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),dO=(e,t,r=10)=>{let o="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)o+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},dR=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`,dD={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dR([0,.65,.55,1]),circOut:dR([.55,0,1,.45]),backIn:dR([.31,.01,.66,-.59]),backOut:dR([.33,1.53,.69,.99])},dM=e=>Array.isArray(e)&&"number"==typeof e[0];function dL(e){return"function"==typeof e&&"applyToOptions"in e}let dI=e=>1e3*e,dF=e=>e/1e3;class dB extends dP{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:r,keyframes:o,pseudoElement:i,allowFlatten:l=!1,finalKeyframe:s,onComplete:d}=e;this.isPseudoElement=!!i,this.allowFlatten=l,this.options=e,sq("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let c=function({type:e,...t}){return dL(e)&&dA()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:o=0,duration:i=300,repeat:l=0,repeatType:s="loop",ease:d="easeOut",times:c}={},u){let p={[t]:r};c&&(p.offset=c);let f=function e(t,r){if(t)return"function"==typeof t?dA()?dO(t,r):"ease-out":dM(t)?dR(t):Array.isArray(t)?t.map(t=>e(t,r)||dD.easeOut):dD[t]}(d,i);Array.isArray(f)&&(p.easing=f);let m={delay:o,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:l+1,direction:"reverse"===s?"alternate":"normal"};return u&&(m.pseudoElement=u),e.animate(p,m)}(t,r,o,c,i),!1===c.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=dT(o,this.options,s,this.speed);this.updateMotionValue&&this.updateMotionValue(e),dC(t,r,e),this.animation.cancel()}null==d||d(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;null==(t=(e=this.animation).finish)||t.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"===e||"finished"===e||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,t,r;let o=null==(e=this.options)?void 0:e.element;!this.isPseudoElement&&null!=o&&o.isConnected&&(null==(r=(t=this.animation).commitStyles)||r.call(t))}get duration(){var e,t;return dF(Number((null==(t=null==(e=this.animation.effect)?void 0:e.getComputedTiming)?void 0:t.call(e).duration)||0))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+dF(e)}get time(){return dF(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=dI(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:o}){var i;return this.allowFlatten&&(null==(i=this.animation.effect)||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&dj()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),di):o(this)}}let dV=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:dz}=da(queueMicrotask,!1);function dH(){i=void 0}let dU={now:()=>(void 0===i&&dU.set(dd.isProcessing||dr.useManualTiming?dd.timestamp:performance.now()),i),set
42:e=>{i=e,queueMicrotask(dH)}},dZ=new Set;function dW(e,t,r){e||dZ.has(t)||(console.warn(sW(t,r)),dZ.add(t))}function dK(e,t){-1===e.indexOf(t)&&e.push(t)}function dq(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class dG{constructor(){this.subscriptions=[]}add(e){return dK(this.subscriptions,e),()=>dq(this.subscriptions,e)}notify(e,t,r){let o=this.subscriptions.length;if(o){if(1===o)this.subscriptions[0](e,t,r);else for(let i=0;i<o;i++){let o=this.subscriptions[i];o&&o(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let dJ=(e,t)=>t?1e3/t*e:0,dY=e=>!isNaN(parseFloat(e));class dX{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{var t;let r=dU.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(null==(t=this.events.change)||t.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=dU.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=dY(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==tC.process.env.NODE_ENV&&dW(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new dG);let r=this.events[e].add(t);return"change"===e?()=>{r(),dl.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;null==(e=this.events.change)||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){let e=dU.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return dJ(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;null==(e=this.dependents)||e.clear(),null==(t=this.events.destroy)||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function dQ(e,t){return new dX(e,t)}let d0=[...sI,sp,sw],d1=e=>d0.find(sL(e)),d2=new WeakMap;function d3(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function d4(e){return"string"==typeof e||Array.isArray(e)}let d6=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d8=["initial",...d6];function d9(e){return d3(e.animate)||d8.some(t=>d4(e[t]))}function d5(e){return!!(d9(e)||e.variants)}let d7={current:null},ce={current:!1},ct="u">typeof window;function cn(){if(ce.current=!0,ct){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>d7.current=e.matches;e.addEventListener("change",t),t()}else d7.current=!1}}function cr(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function ca(e,t,r,o){if("function"==typeof t){let[i,l]=cr(o);t=t(void 0!==r?r:e.custom,i,l)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,l]=cr(o);t=t(void 0!==r?r:e.custom,i,l)}return t}let co=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ci={};class cl{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:l,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=dv,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=dU.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,dl.render(this.render,!1,!0))};let{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=d9(t),this.isVariantNode=d5(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:p,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in f){let t=f[e];void 0!==c[e]&&sD(t)&&t.set(c[e])}}mount(e){var t,r;if(this.hasBeenMounted)for(let e in this.initialValues)null==(t=this.values.get(e))||t.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,d2.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
42h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ce.current||cn(),this.shouldReduceMotion=d7.current),"production"!==tC.process.env.NODE_ENV&&dW(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,null==(r=this.parent)||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var e;for(let t in this.projection&&this.projection.unmount(),ds(this.notifyUpdate),ds(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(e=this.parent)||e.removeChild(this),this.events)this.events[t].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&dV.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:o,times:i,ease:l,duration:s}=t.accelerate,d=new dB({element:this.current,name:e,keyframes:o,times:i,ease:l,duration:dI(s)}),c=r(d);this.valueSubscriptions.set(e,()=>{c(),d.cancel()});return}let o=l0.has(e);o&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&dl.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ci){let t=ci[e];if(!t)continue;let{isEnabled:r,Feature:o}=t;if(!this.features[e]&&o&&r(this.props)&&(this.features[e]=new o(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):sR()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<co.length;t++){let r=co[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let o=e["on"+r];o&&(this.propEventSubscriptions[r]=this.on(r,o))}this.prevMotionValues=function(e,t,r){for(let o in t){let i=t[o],l=r[o];if(sD(i))e.addValue(o,i);else if(sD(l))e.addValue(o,dQ(i,{owner:e}));else if(l!==i){if(e.hasValue(o)){let t=e.getValue(o);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(o);e.addValue(o,dQ(void 0!==t?t:i,{owner:e}))}}}for(let o in r)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=dQ(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(sG(r)||dy(r))?r=parseFloat(r):!d1(r)&&sw.test(t)&&(r=dx(e,t)),this.setBaseTarget(e,sD(r)?r.get():r)),sD(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:o}=this.props;if("string"==typeof o||"object"==typeof o){let i=ca(this.props,o,null==(t=this.presenceContext)?void 0:t.custom);i&&(r=i[e])}if(o&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||sD(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new dG),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){dz.render(this.render)}}class cs extends cl{constructor(){super(...arguments),this.KeyframeResolver=dk}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;sD(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function cd(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let cc=(e,t)=>t&&"number"==typeof e?t.transform(e):e,cu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},cp=lQ.length;function cf(e,t,r){let{style:o,vars:i,transformOrigin:l}=e,s=!1,d=!1;for(let e in t){let r=t[e];if(l0.has(e)){s=!0;continue}if(sV(e)){i[e]=r;continue}{let t=cc(r,sj[e]);e.startsWith("origin")?(d=!0,l[e]=t):o[e]=t}}if(t.transform||(s||r?o.transform=function(e,t,r){let o="",i=!0;for(let l=0;l<cp;l++){let s=lQ[l],d=e[s];if(void 0===d)continue;let c=!0;if("number"==typeof d)c=d===(s.startsWith("scale")?1:0);else{let e=parseFloat(d);c=s.startsWith("scale")?1===e:0===e}if(!c||r){let e=cc(d,sj[s]);if(!c){i=!1;let t=cu[s]||s;o+=`${t}(${e}) `}r&&(t[s]=e)}}let l=e.pathRotation;return l&&(i=!1,o+=`rotate(${cc(l,sj.pathRotation)}) `),o=o.trim(),r?o=r(t,i?"":o):i&&(o="none"),o}(t,e.transform,r):o.transform&&(o.transform="none")),d){let{originX:e="50%",originY:t="50%",originZ:r=0}=l;o.transformOrigin=`${e} ${t} ${r}`}}let cm={offset:"stroke-dashoffset",array:"stroke-dasharray"},ch={offset:"strokeDashoffset",array:"strokeDasharray"},cg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function cv(e,{attrX:t,attrY:r,attrScale:o,pathLength:i,pathSpacing:l=1,pathOffset:s=0,...d}
42,c,u,p){if(cf(e,d,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:m}=e;for(let e of(f.transform&&(m.transform=f.transform,delete f.transform),(m.transform||f.transformOrigin)&&(m.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),m.transform&&(m.transformBox=(null==p?void 0:p.transformBox)??"fill-box",delete f.transformBox),cg))void 0!==f[e]&&(m[e]=f[e],delete f[e]);void 0!==t&&(f.x=t),void 0!==r&&(f.y=r),void 0!==o&&(f.scale=o),void 0!==i&&function(e,t,r=1,o=0,i=!0){e.pathLength=1;let l=i?cm:ch;e[l.offset]=`${-o}`,e[l.array]=`${t} ${r}`}(f,i,l,s,!1)}let cy=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),cb=e=>"string"==typeof e&&"svg"===e.toLowerCase();function cx(e,{style:t,vars:r},o,i){let l;let s=e.style;for(l in t)s[l]=t[l];for(l in null==i||i.applyProjectionStyles(s,o),r)s.setProperty(l,r[l])}let cw=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function ck(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let c_={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!sl.test(e))return e;e=parseFloat(e)}let r=ck(e,t.target.x),o=ck(e,t.target.y);return`${r}% ${o}%`}},cC=(e,t,r)=>e+(t-e)*r,c$={borderRadius:{...c_,applyTo:[...cw]},borderTopLeftRadius:c_,borderTopRightRadius:c_,borderBottomLeftRadius:c_,borderBottomRightRadius:c_,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let o=sw.parse(e);if(o.length>5)return e;let i=sw.createTransformer(e),l="number"!=typeof o[0]?1:0,s=r.x.scale*t.x,d=r.y.scale*t.y;o[0+l]/=s,o[1+l]/=d;let c=cC(s,d,.5);return"number"==typeof o[2+l]&&(o[2+l]/=c),"number"==typeof o[3+l]&&(o[3+l]/=c),i(o)}}};function cS(e,{layout:t,layoutId:r}){return l0.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!c$[e]||"opacity"===e)}function cE(e,t,r){var o;let i=e.style,l=null==t?void 0:t.style,s={};if(!i)return s;for(let t in i)(sD(i[t])||l&&sD(l[t])||cS(t,e)||(null==(o=null==r?void 0:r.getValue(t))?void 0:o.liveStyle)!==void 0)&&(s[t]=i[t]);return s}function cj(e,t,r){let o=cE(e,t,r);for(let r in e)(sD(e[r])||sD(t[r]))&&(o[-1!==lQ.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return o}class cN extends cs{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=sR}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l0.has(t)){let e=sT(t);return e&&e.default||0}return t=cy.has(t)?t:cd(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return cj(e,t,r)}build(e,t,r){cv(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,o){!function(e,t,r,o){for(let r in cx(e,t,void 0,o),t.attrs)e.setAttribute(cy.has(r)?r:cd(r),t.attrs[r])}(e,t,0,o)}mount(e){this.isSVGTag=cb(e.tagName),super.mount(e)}}function cT({top:e,left:t,right:r,bottom:o}){return{x:{min:t,max:r},y:{min:e,max:o}}}function cP(e){return void 0===e||1===e}function cA({scale:e,scaleX:t,scaleY:r}){return!cP(e)||!cP(t)||!cP(r)}function cO(e){return cA(e)||cR(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function cR(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function cD(e,t,r,o,i){return void 0!==i&&(e=o+i*(e-o)),o+r*(e-o)+t}function cM(e,t=0,r=1,o,i){e.min=cD(e.min,t,r,o,i),e.max=cD(e.max,t,r,o,i)}function cL(e,{x:t,y:r}){cM(e.x,t.translate,t.scale,t.originPoint),cM(e.y,r.translate,r.scale,r.originPoint)}function cI(e,t){e.min+=t,e.max+=t}function cF(e,t,r,o,i=.5){let l=cC(e.min,e.max,i);cM(e,t,r,l,o)}function cB(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function cV(e,t,r){let o=r??e;cF(e.x,cB(t.x,o.x),t.scaleX,t.scale,t.originX),cF(e.y,cB(t.y,o.y),t.scaleY,t.scale,t.originY)}function cz(e,t){return cT(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}class cH extends cs{constructor(){super(...arguments),this.type="html",this.renderInstance=cx}mount(e){sq(!!e.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(e)}readValueFromInstance(e,t){var r;if(l0.has(t))return null!=(r=this.projection)&&r.isProjecting?s4(t):s8(e,t);{let r=window.getComputedStyle(e),o=(sV(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:t}){return cz(e,t)}build(e,t,r){cf(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return cE(e,t,r)}}let cU=(0,I.createContext)({}),cZ=(0,I.createContext)({strict:!1}),cW=(0,I.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),cK=(0,I.createContext)({});function cq(e){return Array.isArray(e)?e.join(" "):e}let cG=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cJ(e,t,r){for(let o in t)sD(t[o])||cS(o,r)||(e[o]=t[o])}let cY=()=>({...cG(),attrs:{}}),cX=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function cQ(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||cX.has(e)}let c0=e=>!cQ(e);try{NH=require("@emotion/is-prop-valid").default,"function"==typeof NH&&(c0=e=>e.startsWith("on")?!cQ(e):NH(e))}catch{}let c1=(0,I.createContext)(null);function c2(e){return sD(e)?e.get():e}let c3=e=>(t,r)=>{let o=(0,I.useContext)(cK),i=(0,I.useContext)(c1),l=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,o,i){return{latestValues:function(e,t,r,o){let i={},l=o(e,{});for(let e in l)i[e]=c2(l[e]);let{initial:s,animate:d}=e,c=d9(e),u=d5(e);t&&u&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===d&&(d=t.animate));let p=!!r&&!1===r.initial,f=(p=p||!1===s)?d:s;if(f&&"boolean"!=typeof f&&!d3(f)){let t=Array.isArray(f)?f:[f];for(let r=0;r<t.length;r++){let o=ca(e,t[r]);if(o){let{transitionEnd:e,transition:t,...r}=o;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=p?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,o,i,e),renderState:t()}})(e,t,o,i);return r?l():function(e){let t=(0,I.useRef)(null);return null===t.current&&(t.current=e()),t.current}(l)},c4=c3({scrapeMotionValuesFromProps:cE,createRenderState:cG}),c6=c3({scrapeMotionValuesFromProps:cj,createRenderState:cY}),c8={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},c9=!1;function c5(){return function(){if(c9)return;let e={};for(let t in c8)e[t]={isEnabled:e=>c8[t].some(t=>!!e[t])};ci=e,c9=!0}(),ci}let c7=Symbol.for("motionComponentSymbol"),ue=(0,I.createContext)({});function ut(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let un="u">typeof window?I.useLayoutEffect:I.useEffect,ur="data-"+cd("framerAppearId");function ua(e,{forwardMotionProps:t=!1,type:r}={},o,i){o&&function(e){let t=c5();for(let r in e)t[r]={...t[r],...e[r]};ci=t}(o);let l=r?"svg"===r:lX(e),s=l?c6:c4;function d(r,d){let c;let u={...(0,I.useContext)(cW),...r,layoutId:function({layoutId:e}){let t=(0,I.useContext)(cU).id;return t&&void 0!==e?t+"-"+e:e}(r)}
42,{isStatic:p}=u,f=function(e){let{initial:t,animate:r}=function(e,t){if(d9(e)){let{initial:t,animate:r}=e;return{initial:!1===t||d4(t)?t:void 0,animate:d4(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,I.useContext)(cK));return(0,I.useMemo)(()=>({initial:t,animate:r}),[cq(t),cq(r)])}(r),m=s(r,p);if(!p&&"u">typeof window){!function(e,t){let r=(0,I.useContext)(cZ).strict;if("production"!==tC.process.env.NODE_ENV&&t&&r){let t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?sK(!1,t,"lazy-strict-mode"):sq(!1,t,"lazy-strict-mode")}}(u,o);let t=function(e){let{drag:t,layout:r}=c5();if(!t&&!r)return{};let o={...t,...r};return{MeasureLayout:null!=t&&t.isEnabled(e)||null!=r&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}(u);c=t.MeasureLayout,f.visualElement=function(e,t,r,o,i,l){var s,d;let{visualElement:c}=(0,I.useContext)(cK),u=(0,I.useContext)(cZ),p=(0,I.useContext)(c1),f=(0,I.useContext)(cW),m=f.reducedMotion,h=f.skipAnimations,g=(0,I.useRef)(null),v=(0,I.useRef)(!1);o=o||u.renderer,!g.current&&o&&(g.current=o(e,{visualState:t,parent:c,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m,skipAnimations:h,isSVG:l}),v.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let y=g.current,b=(0,I.useContext)(ue);y&&!y.projection&&i&&("html"===y.type||"svg"===y.type)&&function(e,t,r,o){let{layoutId:i,layout:l,drag:s,dragConstraints:d,layoutScroll:c,layoutRoot:u,layoutAnchor:p,layoutCrossfade:f}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:l,alwaysMeasureLayout:!!s||d&&ut(d),visualElement:e,animationType:"string"==typeof l?l:"both",initialPromotionConfig:o,crossfade:f,layoutScroll:c,layoutRoot:u,layoutAnchor:p})}(g.current,r,i,b);let x=(0,I.useRef)(!1);(0,I.useInsertionEffect)(()=>{y&&x.current&&y.update(r,p)});let w=r[ur],k=(0,I.useRef)(!!w&&"u">typeof window&&!(null!=(s=window.MotionHandoffIsComplete)&&s.call(window,w))&&(null==(d=window.MotionHasOptimisedAnimation)?void 0:d.call(window,w)));return un(()=>{v.current=!0,y&&(x.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),k.current&&y.animationState&&y.animationState.animateChanges())}),(0,I.useEffect)(()=>{y&&(!k.current&&y.animationState&&y.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,w)}),k.current=!1),y.enteringChildren=void 0)}),y}(e,m,u,i,t.ProjectionNode,l)}return(0,D.jsxs)(cK.Provider,{value:f,children:[c&&f.visualElement?(0,D.jsx)(c,{visualElement:f.visualElement,...u}):null,function(e,t,r,{latestValues:o},i,l=!1,s){let d=(s??lX(e)?function(e,t,r,o){let i=(0,I.useMemo)(()=>{let r=cY();return cv(r,t,cb(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};cJ(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r={},o=function(e,t){let r=e.style||{},o={};return cJ(o,r,e),Object.assign(o,function({transformTemplate:e},t){return(0,I.useMemo)(()=>{let r=cG();return cf(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),o}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r})(t,o,i,e),c=function(e,t,r){let o={};for(let i in e)"values"===i&&"object"==typeof e.values||sD(e[i])||(c0(i)||!0===r&&cQ(i)||!t&&!cQ(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}(t,"string"==typeof e,l),u=e!==I.Fragment?{...c,...d,ref:r}:{},{children:p}=t,f=(0,I.useMemo)(()=>sD(p)?p.get():p,[p]);return(0,I.createElement)(e,{...u,children:f})}(e,r,function(e,t,r){let o=(0,I.useRef)(r);(0,I.useInsertionEffect)(()=>{o.current=r});let i=(0,I.useRef)(null);return(0,I.useCallback)(r=>{var l;r&&(null==(l=e.onMount)||l.call(e,r)),t&&(r?t.mount(r):t.unmount());let s=o.current;if("function"==typeof s){if(r){let e=s(r);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):s(r)}else s&&(s.current=r)},[t])}(m,f.visualElement,d),m,p,t,l)]})}d.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let c=(0,I.forwardRef)(d);return c[c7]=e,c}class uo{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ui(e,t,r){let o=e.getProps();return ca(o,t,void 0!==r?r:o.custom,e)}function ul(e,t){if(null!=e&&e.inherit&&t){let{inherit:r,...o}=e;return{...t,...o}}return e}function us(e,t){let r=(null==e?void 0:e[t])??(null==e?void 0:e.default)??e;return r!==e?ul(r,e):r}let ud=e=>Array.isArray(e);function uc(e,t){let r=e.getValue("willChange");if(sD(r)&&r.add)return r.add(t);if(!r&&dr.WillChange){let r=new dr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function uu(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function up(e,t){return r=>r>0?t:e}let uf=(e,t,r)=>{let o=e*e,i=r*(t*t-o)+o;return i<0?0:Math.sqrt(i)}
42,um=[sr,sn,su],uh=e=>um.find(t=>t.test(e));function ug(e){let t=uh(e);if(sK(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===su&&(r=function({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let i=0,l=0,s=0;if(t){let o=r<.5?r*(1+t):r+t-r*t,d=2*r-o;i=uu(d,o,e+1/3),l=uu(d,o,e),s=uu(d,o,e-1/3)}else i=l=s=r;return{red:Math.round(255*i),green:Math.round(255*l),blue:Math.round(255*s),alpha:o}}(r)),r}let uv=(e,t)=>{let r=ug(e),o=ug(t);if(!r||!o)return up(e,t);let i={...r};return e=>(i.red=uf(r.red,o.red,e),i.green=uf(r.green,o.green,e),i.blue=uf(r.blue,o.blue,e),i.alpha=cC(r.alpha,o.alpha,e),sn.transform(i))},uy=new Set(["none","hidden"]),ub=(...e)=>e.reduce((e,t)=>r=>t(e(r)));function ux(e,t){return r=>cC(e,t,r)}function uw(e){return"number"==typeof e?ux:"string"==typeof e?sH(e)?up:sp.test(e)?uv:uC:Array.isArray(e)?uk:"object"==typeof e?sp.test(e)?uv:u_:up}function uk(e,t){let r=[...e],o=r.length,i=e.map((e,r)=>uw(e)(e,t[r]));return e=>{for(let t=0;t<o;t++)r[t]=i[t](e);return r}}function u_(e,t){let r={...e,...t},o={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(o[i]=uw(e[i])(e[i],t[i]));return e=>{for(let t in o)r[t]=o[t](e);return r}}let uC=(e,t)=>{let r=sw.createTransformer(t),o=sv(e),i=sv(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?uy.has(e)&&!i.values.length||uy.has(t)&&!o.values.length?uy.has(e)?r=>r<=0?e:t:r=>r>=1?t:e:ub(uk(function(e,t){let r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let l=t.types[i],s=e.indexes[l][o[l]],d=e.values[s]??0;r[i]=d,o[l]++}return r}(o,i),i.values),r):(sK(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),up(e,t))};function u$(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?cC(e,t,r):uw(e)(e,t)}let uS=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>dl.update(t,e),stop:()=>ds(t),now:()=>dd.isProcessing?dd.timestamp:dU.now()}};function uE(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let uj={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function uN(e,t){return e*Math.sqrt(1-t*t)}let uT=["duration","bounce"],uP=["stiffness","damping","mass"];function uA(e,t){return t.some(t=>void 0!==e[t])}function uO(e=uj.visualDuration,t=uj.bounce){let r,o,i,l,s,d;let c="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:p}=c,f=c.keyframes[0],m=c.keyframes[c.keyframes.length-1],h={done:!1,value:f},{stiffness:g,damping:v,mass:y,duration:b,velocity:x,isResolvedFromDuration:w}=function(e){let t={velocity:uj.velocity,stiffness:uj.stiffness,damping:uj.damping,mass:uj.mass,isResolvedFromDuration:!1,...e};if(!uA(e,uP)&&uA(e,uT)){if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),o=r*r,i=2*l1(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:uj.mass,stiffness:o,damping:i}}else{let r=function({duration:e=uj.duration,bounce:t=uj.bounce,velocity:r=uj.velocity,mass:o=uj.mass}){let i,l;sK(e<=dI(uj.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=l1(uj.minDamping,uj.maxDamping,s),e=l1(uj.minDuration,uj.maxDuration,dF(e)),s<1?(i=t=>{let o=t*s,i=o*e;return .001-(o-r)/uN(t,s)*Math.exp(-i)},l=t=>{let o=t*s*e,l=Math.pow(s,2)*Math.pow(t,2)*e,d=uN(Math.pow(t,2),s);return(-i(t)+.001>0?-1:1)*((o*r+r-l)*Math.exp(-o))/d}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),l=t=>e*e*(r-t)*Math.exp(-t*e));let d=function(e,t,r){let o=r;for(let r=1;r<12;r++)o-=e(o)/t(o);return o}(i,l,5/e);if(e=dI(e),isNaN(d))return{stiffness:uj.stiffness,damping:uj.damping,duration:e};{let t=Math.pow(d,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:uj.mass}).isResolvedFromDuration=!0}}return t}({...c,velocity:-dF(c.velocity||0)}),k=x||0,_=v/(2*Math.sqrt(g*y)),C=m-f,$=dF(Math.sqrt(g/y)),S=5>Math.abs(C);if(u||(u=S?uj.restSpeed.granular:uj.restSpeed.default),p||(p=S?uj.restDelta.granular:uj.restDelta.default),_<1)i=uN($,_),l=(k+_*$*C)/i,r=e=>
42m-Math.exp(-_*$*e)*(l*Math.sin(i*e)+C*Math.cos(i*e)),s=_*$*l+C*i,d=_*$*C-l*i,o=e=>Math.exp(-_*$*e)*(s*Math.sin(i*e)+d*Math.cos(i*e));else if(1===_){r=e=>m-Math.exp(-$*e)*(C+(k+$*C)*e);let e=k+$*C;o=t=>Math.exp(-$*t)*($*e*t-k)}else{let e=$*Math.sqrt(_*_-1);r=t=>{let r=Math.exp(-_*$*t),o=Math.min(e*t,300);return m-r*((k+_*$*C)*Math.sinh(o)+e*C*Math.cosh(o))/e};let t=(k+_*$*C)/e,i=_*$*t-C*e,l=_*$*C-t*e;o=t=>{let r=Math.exp(-_*$*t),o=Math.min(e*t,300);return r*(i*Math.sinh(o)+l*Math.cosh(o))}}let E={calculatedDuration:w&&b||null,velocity:e=>dI(o(e)),next:e=>{if(!w&&_<1){let t=Math.exp(-_*$*e),r=Math.sin(i*e),o=Math.cos(i*e),c=m-t*(l*r+C*o),f=dI(t*(s*r+d*o));return h.done=Math.abs(f)<=u&&Math.abs(m-c)<=p,h.value=h.done?m:c,h}let t=r(e);if(w)h.done=e>=b;else{let r=dI(o(e));h.done=Math.abs(r)<=u&&Math.abs(m-t)<=p}return h.value=h.done?m:t,h},toString:()=>{let e=Math.min(uE(E),2e4),t=dO(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function uR(e,t,r){let o=Math.max(t-5,0);return dJ(r-e(o),t-o)}function uD({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:l=500,modifyTarget:s,min:d,max:c,restDelta:u=.5,restSpeed:p}){let f,m;let h=e[0],g={done:!1,value:h},v=e=>void 0!==d&&e<d||void 0!==c&&e>c,y=e=>void 0===d?c:void 0===c||Math.abs(d-e)<Math.abs(c-e)?d:c,b=r*t,x=h+b,w=void 0===s?x:s(x);w!==x&&(b=w-h);let k=e=>-b*Math.exp(-e/o),_=e=>w+k(e),C=e=>{let t=k(e),r=_(e);g.done=Math.abs(t)<=u,g.value=g.done?w:r},$=e=>{v(g.value)&&(f=e,m=uO({keyframes:[g.value,y(g.value)],velocity:uR(_,e,g.value),damping:i,stiffness:l,restDelta:u,restSpeed:p}))};return $(0),{calculatedDuration:null,next:e=>{let t=!1;return m||void 0!==f||(t=!0,C(e),$(e)),void 0!==f&&e>=f?m.next(e-f):(t||C(e),g)}}}uO.applyToOptions=e=>{let t=function(e,t=100,r){let o=r({...e,keyframes:[0,t]}),i=Math.min(uE(o),2e4);return{type:"keyframes",ease:e=>o.next(i*e).value/t,duration:dF(i)}}(e,100,uO);return e.ease=t.ease,e.duration=dI(t.duration),e.type="keyframes",e};let uM=(e,t,r)=>{let o=t-e;return o?(r-e)/o:1},uL=e=>Array.isArray(e)&&"number"!=typeof e[0],uI=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function uF(e,t,r,o){if(e===t&&r===o)return di;let i=t=>(function(e,t,r,o,i){let l,s,d=0;do(l=uI(s=t+(r-t)/2,o,i)-e)>0?r=s:t=s;while(Math.abs(l)>1e-7&&++d<12);return s})(t,0,1,e,r);return e=>0===e||1===e?e:uI(i(e),t,o)}let uB=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,uV=e=>t=>1-e(1-t),uz=uF(.33,1.53,.69,.99),uH=uV(uz),uU=uB(uH),uZ=e=>e>=1?1:(e*=2)<1?.5*uH(e):.5*(2-Math.pow(2,-10*(e-1))),uW=e=>1-Math.sin(Math.acos(e)),uK=uV(uW),uq=uB(uW),uG=uF(.42,0,1,1),uJ=uF(0,0,.58,1),uY=uF(.42,0,.58,1),uX={linear:di,easeIn:uG,easeInOut:uY,easeOut:uJ,circIn:uW,circInOut:uq,circOut:uK,backIn:uH,backInOut:uU,backOut:uz,anticipate:uZ},uQ=e=>"string"==typeof e,u0=e=>{if(dM(e)){sq(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,o,i]=e;return uF(t,r,o,i)}return uQ(e)?(sq(void 0!==uX[e],`Invalid easing type '${e}'`,"invalid-easing-type"),uX[e]):e};function u1({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let i=uL(o)?o.map(u0):u0(o),l={done:!1,value:t[0]},s=function(e,t,{clamp:r=!0,ease:o,mixer:i}={}){let l=e.length;if(sq(l===t.length,"Both input and output ranges must be the same length","range-length"),1===l)return()=>t[0];if(2===l&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());let d=function(e,t,r){let o=[],i=r||dr.mix||u$,l=e.length-1;for(let r=0;r<l;r++){let l=i(e[r],e[r+1]);t&&(l=ub(Array.isArray(t)?t[r]||di:t,l)),o.push(l)}return o}(t,o,i),c=d.length,u=r=>{if(s&&r<e[0])return t[0];let o=0;if(c>1)for(;o<e.length-2&&!(r<e[o+1]);o++);let i=uM(e[o],e[o+1],r);return d[o](i)};return r?t=>u(l1(e[0],e[l-1],t)):u}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let i=uM(0,t,o);e.push(cC(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||uY).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(l.value=s(t),l.done=t>=e,l)}}let u2={decay:uD,inertia:uD,tween:u1,keyframes:u1,spring:uO};function u3(e){"string"==typeof e.type&&(e.type=u2[e.type])}let u4=e=>e/100;class u6 extends dP{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var e,t;let{motionValue:r}=this.options;r&&r.updatedAt!==dU.now()&&this.tick(dU.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null==(t=(e=this.options).onStop)||t.call(e))},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;u3(e);let{type:t=u1,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:l=0}=e,{keyframes:s}=e,d=t||u1;"production"!==tC.process.env.NODE_ENV&&d!==u1&&sq(s.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`,"spring-two-frames"),d!==u1&&"number"!=typeof s[0]&&(this.mixKeyframes=ub(u4,u$(s[0],s[1])),s=[0,100]);let c=d({...e,keyframes:s}
42);"mirror"===i&&(this.mirroredGenerator=d({...e,keyframes:[...s].reverse(),velocity:-l})),null===c.calculatedDuration&&(c.calculatedDuration=uE(c));let{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r;let{generator:o,totalDuration:i,mixKeyframes:l,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:c}=this;if(null===this.startTime)return o.next(0);let{delay:u=0,keyframes:p,repeat:f,repeatType:m,repeatDelay:h,type:g,onUpdate:v,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?b<0:b>i;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,k=o;if(f){let e=Math.min(this.currentTime,i)/d,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,f+1))%2&&("reverse"===m?(r=1-r,h&&(r-=h/d)):"mirror"===m&&(k=s)),w=l1(0,1,r)*d}x?(this.delayState.value=p[0],r=this.delayState):r=k.next(w),l&&!x&&(r.value=l(r.value));let{done:_}=r;x||null===c||(_=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return C&&g!==uD&&(r.value=dT(p,this.options,y,this.speed)),v&&v(r.value),C&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return dF(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+dF(e)}get time(){return dF(this.currentTime)}set time(e){e=dI(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return uR(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(dU.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=dF(this.currentTime))}play(){var e,t;if(this.isStopped)return;let{driver:r=uS,startTime:o}=this.options;this.driver||(this.driver=r(e=>this.tick(e))),null==(t=(e=this.options).onPlay)||t.call(e);let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=o??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(dU.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(t=this.driver)||t.stop(),e.observe(this)}}let u8={anticipate:uZ,backInOut:uU,circInOut:uq};class u9 extends dB{constructor(e){"string"==typeof e.ease&&e.ease in u8&&(e.ease=u8[e.ease]),u3(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:o,element:i,...l}=this.options;if(!t)return;if(void 0!==e){t.set(e);return}let s=new u6({...l,autoplay:!1}),d=Math.max(10,dU.now()-this.startTime),c=l1(0,10,d-10),u=s.sample(d).value,{name:p}=this.options;i&&p&&dC(i,p,u),t.setWithVelocity(s.sample(Math.max(0,d-c)).value,u,c),s.stop()}}let u5=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(sw.test(e)||"0"===e)&&!e.startsWith("url("));function u7(e){e.duration=0,e.type="keyframes"}let pe=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,pt=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),pn=dS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class pr extends dP{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:l="loop",keyframes:s,name:d,motionValue:c,element:u,...p}){var f;super(),this.stop=()=>{var e,t;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=dU.now();let m={autoplay:e,delay:t,type:r,repeat:o,repeatDelay:i,repeatType:l,name:d,motionValue:c,element:u,...p},h=(null==u?void 0:u.KeyframeResolver)||dv;this.keyframeResolver=new h(s,(e,t,r)=>this.onKeyframesResolved(e,t,m,!r),d,c,u),null==(f=this.keyframeResolver)||f.scheduleResolve()}onKeyframesResolved(e,t,r,o){var i,l;let s;this.keyframeResolver=void 0;let{name:d,type:c,velocity:u,delay:p,isHandoff:f,onUpdate:m}=r;this.resolvedAt=dU.now();let h=!0;(function(e,t,r,o){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let l=e[e.length-1],s=u5(i,t),d=u5(l,t);return sK(s===d,`You are trying to animate ${t} from "${i}" to "${l}". "${s?l:i}" is not an animatable value.`,"value-not-animatable"),!!s&&!!d&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||dL(r))&&o)})(e,d,c,u)||(h=!1,(dr.instantAnimations||!p)&&(null==m||m(dT(e,r,t))),e[0]=e[e.length-1],u7(r),r.repeat=0);let g={startTime:o?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},v=h&&!f&&function(e){var t;let{motionValue:r,name:o,repeatDelay:i,repeatType:l,damping:s,type:d,keyframes:c}=e,u=null==(t=null==r?void 0:r.owner)?void 0:t.current;if(!(u instanceof HTMLElement)&&!(u instanceof SVGElement))return!1;
42let{onUpdate:p,transformTemplate:f}=r.owner.getProps();return pn()&&o&&(dV.has(o)||pt.has(o)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&pe.test(e[t]))return!0;return!1}(c))&&("transform"!==o||!f)&&!p&&!i&&"mirror"!==l&&0!==s&&"inertia"!==d}(g),y=null==(l=null==(i=g.motionValue)?void 0:i.owner)?void 0:l.current;if(v)try{s=new u9({...g,element:y})}catch{s=new u6(g)}else s=new u6(g);s.finished.then(()=>{this.notifyFinished()}).catch(di),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||(null==(e=this.keyframeResolver)||e.resume(),dm=!0,dg(),dh(),dm=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),null==(e=this.keyframeResolver)||e.cancel()}}let pa={type:"spring",stiffness:500,damping:25,restSpeed:10},po=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),pi={type:"keyframes",duration:.8},pl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ps=(e,{keyframes:t})=>t.length>2?pi:l0.has(e)?e.startsWith("scale")?po(t[1]):pa:pl,pd=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),pc=(e,t,r,o={},i,l)=>s=>{let d=us(o,e)||{},c=d.delay||o.delay||0,{elapsed:u=0}=o;u-=dI(c);let p={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-u,onUpdate:e=>{t.set(e),d.onUpdate&&d.onUpdate(e)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:l?void 0:i};(function(e){for(let t in e)if(!pd.has(t))return!0;return!1})(d)||Object.assign(p,ps(e,p)),p.duration&&(p.duration=dI(p.duration)),p.repeatDelay&&(p.repeatDelay=dI(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let f=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(u7(p),0!==p.delay||(f=!0)),(dr.instantAnimations||dr.skipAnimations||null!=i&&i.shouldSkipAnimations||d.skipAnimations)&&(f=!0,u7(p),p.delay=0),p.allowFlatten=!d.type&&!d.ease,f&&!l&&void 0!==t.get()){let e=dT(p.keyframes,d);if(void 0!==e){dl.update(()=>{p.onUpdate(e),p.onComplete()});return}}return d.isSync?new u6(p):new pr(p)};function pu(e,t,{delay:r=0,transitionOverride:o,type:i}={}){let{transition:l,transitionEnd:s,...d}=t,c=e.getDefaultTransition(),u=null==(l=l?ul(l,c):c)?void 0:l.reduceMotion,p=null==l?void 0:l.skipAnimations;o&&(l=o);let f=[],m=i&&e.animationState&&e.animationState.getState()[i],h=null==l?void 0:l.path;for(let t in h&&h.animateVisualElement(e,d,l,r,f),d){let o=e.getValue(t,e.latestValues[t]??null),i=d[t];if(void 0===i||m&&function({protectedKeys:e,needsAnimating:t},r){let o=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,o}(m,t))continue;let s={delay:r,...us(l||{},t)};p&&(s.skipAnimations=!0);let c=o.get();
42if(void 0!==c&&!o.isAnimating()&&!Array.isArray(i)&&i===c&&!s.velocity){dl.update(()=>o.set(i));continue}let h=!1;if(window.MotionHandoffAnimation){let r=e.props[ur];if(r){let e=window.MotionHandoffAnimation(r,t,dl);null!==e&&(s.startTime=e,h=!0)}}uc(e,t);let g=u??e.shouldReduceMotion;o.start(pc(t,o,i,g&&sM.has(t)?{type:!1}:s,e,h));let v=o.animation;v&&f.push(v)}if(s){let t=()=>dl.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:o={},...i}=ui(e,t)||{};for(let t in i={...i,...r}){var l;let r=ud(l=i[t])?l[l.length-1]||0:l;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,dQ(r))}}(e,s)});f.length?Promise.all(f).then(t):t()}return f}function pp(e,t,r,o=0,i=1){let l=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,d=(s-1)*o;return"function"==typeof r?r(l,s):1===i?l*o:d-l*o}function pf(e,t,r={}){var o;let i=ui(e,t,"exit"===r.type?null==(o=e.presenceContext)?void 0:o.custom:void 0),{transition:l=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(l=r.transitionOverride);let s=i?()=>Promise.all(pu(e,i,r)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(o=0)=>{let{delayChildren:i=0,staggerChildren:s,staggerDirection:d}=l;return function(e,t,r=0,o=0,i=0,l=1,s){let d=[];for(let c of e.variantChildren)c.notify("AnimationStart",t),d.push(pf(c,t,{...s,delay:r+("function"==typeof o?0:o)+pp(e.variantChildren,c,o,i,l)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(d)}(e,t,o,i,s,d,r)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([s(),d(r.delay)]);{let[e,t]="beforeChildren"===c?[s,d]:[d,s];return e().then(()=>t())}}let pm=d8.length;function ph(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let o=0;o<r;o++)if(t[o]!==e[o])return!1;return!0}let pg=[...d6].reverse(),pv=d6.length;function py(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function pb(){return{animate:py(!0),whileInView:py(),whileHover:py(),whileTap:py(),whileDrag:py(),whileFocus:py(),exit:py()}}class px extends uo{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t))o=Promise.all(t.map(t=>pf(e,t,r)));else if("string"==typeof t)o=pf(e,t,r);else{let i="function"==typeof t?ui(e,t,r.custom):t;o=Promise.all(pu(e,i,r))}return o.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=pb(),o=!0,i=!1,l=t=>(r,o)=>{var i;let l=ui(e,o,"exit"===t?null==(i=e.presenceContext)?void 0:i.custom:void 0);if(l){let{transition:e,transitionEnd:t,...o}=l;r={...r,...o,...t}}return r};function s(s){let{props:d}=e,c=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<pm;e++){let o=d8[e],i=t.props[o];(d4(i)||!1===i)&&(r[o]=i)}return r}(e.parent)||{},u=[],p=new Set,f={},m=1/0;for(let t=0;t<pv;t++){var h;let g=pg[t],v=r[g],y=void 0!==d[g]?d[g]:c[g],b=d4(y),x=g===s?v.isActive:null;!1===x&&(m=t);let w=y===c[g]&&y!==d[g]&&b;if(w&&(o||i)&&e.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...f},!v.isActive&&null===x||!y&&!v.prevProp||d3(y)||"boolean"==typeof y)continue;if("exit"===g&&v.isActive&&!0!==x){v.prevResolvedValues&&(f={...f,...v.prevResolvedValues});continue}let k=(h=v.prevProp,"string"==typeof y?y!==h:!!Array.isArray(y)&&!ph(y,h)),_=k||g===s&&v.isActive&&!w&&b||t>m&&b,C=!1,$=Array.isArray(y)?y:[y],S=$.reduce(l(g),{});!1===x&&(S={});let{prevResolvedValues:E={}}=v,j={...E,...S},N=t=>{_=!0,p.has(t)&&(C=!0,p.delete(t)),v.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in j){let t=S[e],r=E[e];if(!f.hasOwnProperty(e))(ud(t)&&ud(r)?!ph(t,r)||k:t!==r)?null!=t?N(e):p.add(e):void 0!==t&&p.has(e)?N(e):v.protectedKeys[e]=!0}v.prevProp=y,v.prevResolvedValues=S,v.isActive&&(f={...f,...S}),(o||i)&&e.blockInitialAnimation&&(_=!1);let T=w&&k;_&&(!T||C)&&u.push(...$.map(t=>{let r={type:g};if("string"==typeof t&&(o||i)&&!T&&e.manuallyAnimateOnMount&&e.parent){let{parent:o}=e,i=ui(o,t);
42if(o.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=pp(o.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(p.size){let t={};if("boolean"!=typeof d.initial){let r=ui(e,Array.isArray(d.initial)?d.initial[0]:d.initial);r&&r.transition&&(t.transition=r.transition)}p.forEach(r=>{let o=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=o??null}),u.push({animation:t})}let g=!!u.length;return o&&(!1===d.initial||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(g=!1),o=!1,i=!1,g?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,o){var i;if(r[t].isActive===o)return Promise.resolve();null==(i=e.variantChildren)||i.forEach(e=>{var r;return null==(r=e.animationState)?void 0:r.setActive(t,o)}),r[t].isActive=o;let l=s(t);for(let e in r)r[e].protectedKeys={};return l},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=pb(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();d3(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}let pw=0;class pk extends uo{constructor(){super(...arguments),this.id=pw++,this.isExitComplete=!1}update(){var e;if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;if(t&&!1===o){if(this.isExitComplete){let{initial:t,custom:r}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let o=ui(this.node,t,r);if(o){let{transition:t,transitionEnd:r,...i}=o;for(let t in i)null==(e=this.node.getValue(t))||e.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!t);r&&!t&&i.then(()=>{this.isExitComplete=!0,r(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let p_=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function pC(e){return{point:{x:e.pageX,y:e.pageY}}}let p$=e=>t=>p_(t)&&e(t,pC(t));function pS(e,t,r,o={passive:!0}){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function pE(e,t,r,o){return pS(e,t,p$(r),o)}let pj=({current:e})=>e?e.ownerDocument.defaultView:null,pN=(e,t)=>Math.abs(e-t),pT=new Set(["auto","scroll"]);class pP{constructor(e,t,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:l=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=pA(this.lastRawMoveEventInfo,this.transformPagePoint));let r=pR(this.lastMoveEventInfo,this.history),o=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(pN(e.x,t.x)**2+pN(e.y,t.y)**2)>=this.distanceThreshold);if(!o&&!i)return;let{point:l}=r,{timestamp:s}=dd;this.history.push({...l,timestamp:s});let{onStart:d,onMove:c}=this.handlers;o||(d&&d(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),c&&c(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=pA(t,this.transformPagePoint),dl.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:o,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let l=pR("pointercancel"===e.type?this.lastMoveEventInfo:pA(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,l),o&&o(e,l)},!p_(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=l,this.contextWindow=o||window;let d=pA(pC(e),this.transformPagePoint),{point:c}=d,{timestamp:u}=dd;this.history=[{...c,timestamp:u}];let{onSessionStart:p}=t;p&&p(e,pR(d,this.history));let f={passive:!0,capture:!0};this.removeListeners=ub(pE(this.contextWindow,"pointermove",this.handlePointerMove,f),pE(this.contextWindow,"pointerup",this.handlePointerUp,f),pE(this.contextWindow,"pointercancel",this.handlePointerUp,f)),s&&this.startScrollTracking(s)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(pT.has(e.overflowX)||pT.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:o.x-t.x,y:o.y-t.y};0===i.x&&0===i.y||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,o),dl.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ds(this.updatePoint)}}function pA(e,t){return t?{point:t(e.point)}:e}function pO(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pR({point:e},t){return{point:e,delta:pO(e,pD(t)),offset:pO(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,o=null,i=pD(e);for(;r>=0&&(o=e[r],!(i.timestamp-o.timestamp>dI(.1)));)r--;if(!o)return{x:0,y:0};o===e[0]&&e.length>2&&i.timestamp-o.timestamp>2*dI(.1)&&(o=e[1]);let l=dF(i.timestamp-o.timestamp);if(0===l)return{x:0,y:0};let s={x:(i.x-o.x)/l,y:(i.y-o.y)/l};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function pD(e){return e[e.length-1]}function pM(e){return e.max-e.min}function pL(e,t,r,o=.5){e.origin=o,e.originPoint=cC(t.min,t.max,e.origin),e.scale=pM(r)/pM(t),e.translate=cC(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function pI(e,t,r,o){pL(e.x,t.x,r.x,o?o.originX:void 0),pL(e.y,t.y,r.y,o?o.originY:void 0)}function pF(e,t,r,o=0){let i=o?cC(r.min,r.max,o):r.min;e.min=i+t.min,e.max=e.min+pM(t)}function pB(e,t,r,o=0){let i=o?cC(r.min,r.max,o):r.min;e.min=t.min-i,e.max=e.min+pM(t)}function pV(e,t,r,o){pB(e.x,t.x,r.x,null==o?void 0:o.x),pB(e.y,t.y,r.y,null==o?void 0:o.y)}function pz(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function pH(e,t){let r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,o]=[o,r]),{min:r,max:o}}function pU(e,t,r){return{min:pZ(e,t),max:pZ(e,r)}}function pZ(e,t){return"number"==typeof e?e:e[t]||0}function pW(e){return[e("x"),e("y")]}let pK={x:!1,y:!1},pq=e=>"object"==typeof e&&null!==e;function pG(e){return pq(e)&&"ownerSVGElement"in e}function pJ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,o=(null==r?void 0:r[e])??t.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(e=>null!=e)}let pY=new WeakMap,pX=(e,t,r)=>(o,i)=>i&&i[0]?i[0][e+"Size"]:pG(o)&&"getBBox"in o?o.getBBox()[t]:o[r],pQ=pX("inline","width","offsetWidth"),p0=pX("block","height","offsetHeight");function p1({target:e,borderBoxSize:t}){var r;null==(r=pY.get(e))||r.forEach(r=>{r(e,{get width(){return pQ(e,t)},get height(){return p0(e,t)}})})}function p2(e){e.forEach(p1)}let p3=new Set;function p4(e,t){return"function"==typeof e?(p3.add(e),s||(s=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};p3.forEach(t=>t(e))},window.addEventListener("resize",s)),()=>{p3.delete(e),p3.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):function(e,t){l||typeof ResizeObserver>"u"||(l=new ResizeObserver(p2));let r=pJ(e);
42return r.forEach(e=>{let r=pY.get(e);r||(r=new Set,pY.set(e,r)),r.add(t),null==l||l.observe(e)}),()=>{r.forEach(e=>{let r=pY.get(e);null==r||r.delete(t),null!=r&&r.size||null==l||l.unobserve(e)})}}(e,t)}let p6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),p8=new Set(["INPUT","SELECT","TEXTAREA"]),p9=new WeakMap;class p5{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=sR(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:o}=this.visualElement;if(o&&!1===o.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new pP(e,{onSessionStart:e=>{t&&this.snapToCursor(pC(e).point),this.stopAnimation()},onStart:(e,t)=>{let{drag:r,dragPropagation:o,onDragStart:i}=this.getProps();if(r&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===r||"y"===r?pK[r]?null:(pK[r]=!0,()=>{pK[r]=!1}):pK.x||pK.y?null:(pK.x=pK.y=!0,()=>{pK.x=pK.y=!1}),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pW(e=>{let t=this.getAxisMotionValue(e).get()||0;if(si.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let o=r.layout.layoutBox[e];o&&(t=pM(o)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&dl.update(()=>i(e,t),!1,!0),uc(this.visualElement,"transform");let{animationState:l}=this.visualElement;l&&l.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:o,onDirectionLock:i,onDrag:l}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:s}=t;if(o&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),l&&dl.update(()=>l(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:r,contextWindow:pj(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,o=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;let{velocity:l}=o;this.startAnimation(l);let{onDragEnd:s}=this.getProps();s&&dl.postRender(()=>s(r,o))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:o}=this.getProps();if(!r||!fe(e,o,this.currentDirection))return;let i=this.getAxisMotionValue(e),l=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(l=function(e,{min:t,max:r},o){return void 0!==t&&e<t?e=o?cC(t,e,o.min):Math.max(e,t):void 0!==r&&e>r&&(e=o?cC(r,e,o.max):Math.min(e,r)),e}(l,this.constraints[e],this.elastic[e])),i.set(l)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,i=this.constraints;t&&ut(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=function(e,{top:t,left:r,bottom:o,right:i}){return{x:pz(e.x,r,i),y:pz(e.y,t,o)}}(o.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:pU(e,"left","right"),y:pU(e,"top","bottom")}}(r),i!==this.constraints&&!ut(t)&&o&&this.constraints&&!this.hasMutatedConstraints&&pW(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(o.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ut(t))return!1;let o=t.current;sq(null!==o,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;i.root&&(i.root.scroll=void 0,i.root.updateScroll());let l=function(e,t,r){let o=cz(e,r),{scroll:i}=t;return i&&(cI(o.x,i.offset.x),cI(o.y,i.offset.y)),o}(o,i.root,this.visualElement.getTransformPagePoint()),s={x:pH((e=i.layout.layoutBox).x,l.x),y:pH(e.y,l.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=cT(e))}return s}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:l,onDragTransitionEnd:s}=this.getProps(),d=this.constraints||{};return Promise.all(pW(s=>{if(!fe(s,t,this.currentDirection))return;let c=d&&d[s]||{};(!0===l||l===s)&&(c={min:0,max:0});let u={type:"inertia",velocity:r?e[s]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return uc(this.visualElement,e),r.start(pc(e,r,0,t,this.visualElement,!1))}stopAnimation(){pW(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){pW(t=>{let{drag:r}=this.getProps();if(!fe(t,r,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(t);if(o&&o.layout){let{min:r,max:l}=o.layout.layoutBox[t],s=i.get()||0;i.set(e[t]-cC(r,l,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!ut(t)||!r||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};pW(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();o[e]=function(e,t){let r=.5,o=pM(e),i=pM(t);return i>o?r=uM(t.min,t.max-o,e.min):o>i&&(r=uM(e.min,e.max-i,t.min)),l1(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),pW(t=>{if(!fe(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:l}=this.constraints[t];r.set(cC(i,l,o[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;p9.set(this.visualElement,this);let t=this.visualElement.current,r=pE(t,"pointerdown",e=>{let{drag:r,dragListener:o=!0}=this.getProps(),i=e.target,l=i!==t&&(p8.has(i.tagName)||!0===i.isContentEditable);r&&o&&!l&&this.start(e)}),o=()=>{let{dragConstraints:r}=this.getProps();ut(r)&&r.current&&(this.constraints=this.resolveRefConstraints(),e||(e=function(e,t,r){let o=p4(e,p7(r)),i=p4(t,p7(r));return()=>{o(),i()}}(t,r.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,l=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),dl.read(o);let s=pS(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(pW(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{s(),r(),l(),d&&d(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:l=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:l,dragMomentum:s}}}function p7(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function fe(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ft extends uo{constructor(e){super(e),this.removeGroupControls=di,this.removeListeners=di,this.controls=new p5(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||di}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let fn=e=>(t,r)=>{e&&dl.update(()=>e(t,r),!1,!0)};class fr extends uo{constructor(){super(...arguments),this.removePointerDownListener=di}onPointerDown(e){this.session=new pP(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pj(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:fn(e),onStart:fn(t),onMove:fn(r),onEnd:(e,t)=>{delete this.session,o&&dl.postRender(()=>o(e,t))}}}mount(){this.removePointerDownListener=pE(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let fa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},fo=!1;class fi extends I.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&o&&r.register(i),fo&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),fa.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:o,isPresent:i}=this.props,{projection:l}=r;return l&&(l.isPresent=i,e.layoutDependency!==t&&l.setOptions({...l.options,layoutDependency:t}),fo=!0,o||e.layoutDependency!==t||void 0===t||e.isPresent!==i?l.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?l.promote():l.relegate()||dl.postRender(()=>{let e=l.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),dz.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:o}=e;fo=!0,o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function fl(e){let[t,r]=function(e=!0){let t=(0,I.useContext)(c1);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:i}=t,l=(0,I.useId)();(0,I.useEffect)(()=>
42{if(e)return i(l)},[e]);let s=(0,I.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!r&&o?[!1,s]:[!0]}(),o=(0,I.useContext)(cU);return(0,D.jsx)(fi,{...e,layoutGroup:o,switchLayoutGroup:(0,I.useContext)(ue),isPresent:t,safeToRemove:r})}let fs=cw.length,fd=e=>"string"==typeof e?parseFloat(e):e,fc=e=>"number"==typeof e||sl.test(e);function fu(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let fp=fm(0,.5,uK),ff=fm(.5,.95,di);function fm(e,t,r){return o=>o<e?0:o>t?1:r(uM(e,t,o))}function fh(e,t){e.min=t.min,e.max=t.max}function fg(e,t){fh(e.x,t.x),fh(e.y,t.y)}function fv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function fy(e,t,r,o,i){return e-=t,e=o+1/r*(e-o),void 0!==i&&(e=o+1/i*(e-o)),e}function fb(e,t,[r,o,i],l,s){!function(e,t=0,r=1,o=.5,i,l=e,s=e){if(si.test(t)&&(t=parseFloat(t),t=cC(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let d=cC(l.min,l.max,o);e===l&&(d-=t),e.min=fy(e.min,t,r,d,i),e.max=fy(e.max,t,r,d,i)}(e,t[r],t[o],t[i],t.scale,l,s)}let fx=["x","scaleX","originX"],fw=["y","scaleY","originY"];function fk(e,t,r,o){fb(e.x,t,fx,r?r.x:void 0,o?o.x:void 0),fb(e.y,t,fw,r?r.y:void 0,o?o.y:void 0)}function f_(e){return 0===e.translate&&1===e.scale}function fC(e){return f_(e.x)&&f_(e.y)}function f$(e,t){return e.min===t.min&&e.max===t.max}function fS(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function fE(e,t){return fS(e.x,t.x)&&fS(e.y,t.y)}function fj(e){return pM(e.x)/pM(e.y)}function fN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class fT{constructor(){this.members=[]}add(e){dK(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let o=r.instance;o&&!1!==o.isConnected||r.snapshot||(dq(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(dq(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){var t;for(let r=this.members.indexOf(e)-1;r>=0;r--){let e=this.members[r];if(!1!==e.isPresent&&(null==(t=e.instance)?void 0:t.isConnected)!==!1)return this.promote(e),!0}return!1}promote(e,t){var r;let o=this.lead;if(e!==o&&(this.prevLead=o,this.lead=e,e.show(),o)){o.updateSnapshot(),e.scheduleRender();let{layoutDependency:i}=o.options,{layoutDependency:l}=e.options;(void 0===i||i!==l)&&(e.resumeFrom=o,t&&(o.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues),null!=(r=e.root)&&r.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&o.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,r,o,i,l;null==(r=(t=e.options).onExitComplete)||r.call(t),null==(l=null==(o=e.resumingFrom)?void 0:(i=o.options).onExitComplete)||l.call(i)})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){var e;null!=(e=this.lead)&&e.snapshot&&(this.lead.snapshot=void 0)}}let fP=(e,t)=>e.depth-t.depth;class fA{constructor(){this.children=[],this.isDirty=!1}add(e){dK(this.children,e),this.isDirty=!0}remove(e){dq(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fP),this.isDirty=!1,this.children.forEach(e)}}let fO=["","X","Y","Z"],fR=0;function fD(e,t,r,o){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function fM({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(e={},r=null==t?void 0:t()){this.id=fR++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
42{this.projectionUpdateScheduled=!1,this.nodes.forEach(fF),this.nodes.forEach(fq),this.nodes.forEach(fG),this.nodes.forEach(fB)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new fA)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new dG),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=pG(t)&&!(pG(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||r)&&(this.isLayoutDirty=!0),e){let r,o=0,i=()=>this.root.updateBlockedByResize=!1;dl.read(()=>{o=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==o&&(o=e,this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=dU.now(),o=({timestamp:t})=>{let i=t-r;i>=250&&(ds(o),e(i-250))};return dl.setup(o,!0),()=>ds(o)}(i,0),fa.hasAnimatedSinceResize&&(fa.hasAnimatedSinceResize=!1,this.nodes.forEach(fK)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:o})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let l=this.options.transition||i.getDefaultTransition()||f1,{onLayoutAnimationStart:s,onLayoutAnimationComplete:d}=i.getProps(),c=!this.targetLayout||!fE(this.targetLayout,o),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...us(l,"layout"),onPlay:s,onComplete:d};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||fK(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ds(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fJ),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let o=r.props[ur];if(window.MotionHasOptimisedAnimation(o,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(o,"transform",dl,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEac
42h(fH),this.nodes.forEach(fz);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(fU);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fZ),this.nodes.forEach(fW),this.nodes.forEach(fL),this.nodes.forEach(fI)):this.nodes.forEach(fU),this.clearAllSnapshots();let e=dU.now();dd.delta=l1(0,1e3/60,e-dd.timestamp),dd.timestamp=e,dd.isProcessing=!0,dc.update.process(dd),dc.preRender.process(dd),dc.render.process(dd),dd.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dz.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fV),this.sharedNodes.forEach(fY)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,dl.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){dl.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||pM(this.snapshot.measuredBox.x)||pM(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=sR()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=o(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!fC(this.projectionDelta),r=this.getTransformTemplate(),o=r?r(this.latestValues,""):void 0,l=o!==this.prevTransformTemplateValue;e&&this.instance&&(t||cO(this.latestValues)||l)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),o=this.removeElementScroll(r);return e&&(o=this.removeTransform(o)),f4((t=o).x),f4(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:o,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return sR();let r=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(f8))){let{scroll:e}=this.root;e&&(cI(r.x,e.offset.x),cI(r.y,e.offset.y))}return r}removeElementScroll(e){var t;let r=sR();if(fg(r,e),null!=(t=this.scroll)&&t.wasRoot)return r;for(let t=0;t<this.path.length;t++){let o=this.path[t],{scroll:i,options:l}=o;o!==this.root&&i&&l.layoutScroll&&(i.wasRoot&&fg(r,e),cI(r.x,i.offset.x),cI(r.y,i.offset.y))}return r}applyTransform(e,t=!1,r){var o,i;let l=r||sR();fg(l,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(cI(l.x,-r.scroll.offset.x),cI(l.y,-r.scroll.offset.y)),cO(r.latestValues)&&cV(l,r.latestValues,null==(o=r.layout)?void 0:o.layoutBox)}return cO(this.latestValues)&&cV(l,this.latestValues,null==(i=this.layout)?void 0:i.layoutBox),l}removeTransform(e){var t;let r=sR();fg(r,e);for(let e=0;e<this.path.length;e++){let o;let i=this.path[e];cO(i.latestValues)&&(i.instance&&(cA(i.latestValues)&&i.updateSnapshot(),fg(o=sR(),i.measurePageBox())),fk(r,i.latestValues,null==(t=i.snapshot)?void 0:t.layoutBox,o))}return cO(this.latestValues)&&fk(r,this.latestValues),r}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==dd.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,o,i,l;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
42haredProjectionDirty);let d=!!this.resumingFrom||this!==s;if(!(e||d&&this.isSharedProjectionDirty||this.isProjectionDirty||null!=(t=this.parent)&&t.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:c,layoutId:u}=this.options;if(!this.layout||!(c||u))return;this.resolvedRelativeTargetAt=dd.timestamp;let p=this.getClosestProjectingParent();p&&this.linkedParentVersion!==p.layoutVersion&&!p.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&p&&p.layout?this.createRelativeTarget(p,this.layout.layoutBox,p.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=sR(),this.targetWithTransforms=sR()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,o=this.relativeTarget,i=this.relativeParent.target,l=this.options.layoutAnchor||void 0,pF(r.x,o.x,i.x,null==l?void 0:l.x),pF(r.y,o.y,i.y,null==l?void 0:l.y)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):fg(this.target,this.layout.layoutBox),cL(this.target,this.targetDelta)):fg(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&1!==this.animationProgress?this.createRelativeTarget(p,this.target,p.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||cA(this.parent.latestValues)||cR(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=sR(),this.relativeTargetOrigin=sR(),pV(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),fg(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,o=!0;if((this.isProjectionDirty||null!=(e=this.parent)&&e.isProjectionDirty)&&(o=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===dd.timestamp&&(o=!1),o)return;let{layout:i,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||l))return;fg(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,d=this.treeScale.y;(function(e,t,r,o=!1){var i;let l,s;let d=r.length;if(d){t.x=t.y=1;for(let c=0;c<d;c++){s=(l=r[c]).projectionDelta;let{visualElement:d}=l.options;d&&d.props.style&&"contents"===d.props.style.display||(o&&l.options.layoutScroll&&l.scroll&&l!==l.root&&(cI(e.x,-l.scroll.offset.x),cI(e.y,-l.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,cL(e,s)),o&&cO(l.latestValues)&&cV(e,l.latestValues,null==(i=l.layout)?void 0:i.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}})(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=sR());let{target:c}=t;if(!c){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(fv(this.prevProjectionDelta.x,this.projectionDelta.x),fv(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),pI(this.projectionDelta,this.layoutCorrected,c,this.latestValues),this.treeScale.x===s&&this.treeScale.y===d&&fN(this.projectionDelta.x,this.prevProjectionDelta.x)&&fN(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",c))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=sA(),this.projectionDelta=sA(),this.projectionDeltaWithTransform=sA()}setAnimationOrigin(e,t=!1,r){let o;let i=this.snapshot,l=i?i.latestValues:{},s={...this.latestValues},d=sA();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;
42let c=sR(),u=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),p=this.getStack(),f=!p||p.members.length<=1,m=!!(u&&!f&&!0===this.options.crossfade&&!this.path.some(f0));this.animationProgress=0;let h=null==r?void 0:r.interpolateProjection(e);this.mixTargetDelta=t=>{var r,i,p,g;let v=t/1e3,y=null==h?void 0:h(v);y?(d.x.translate=y.x,d.x.scale=cC(e.x.scale,1,v),d.x.origin=e.x.origin,d.x.originPoint=e.x.originPoint,d.y.translate=y.y,d.y.scale=cC(e.y.scale,1,v),d.y.origin=e.y.origin,d.y.originPoint=e.y.originPoint):(fX(d.x,e.x,v),fX(d.y,e.y,v)),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pV(c,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,g=this.relativeTargetOrigin,fQ(p.x,g.x,c.x,v),fQ(p.y,g.y,c.y,v),o&&(r=this.relativeTarget,i=o,f$(r.x,i.x)&&f$(r.y,i.y))&&(this.isProjectionDirty=!1),o||(o=sR()),fg(o,this.relativeTarget)),u&&(this.animationValues=s,function(e,t,r,o,i,l){i?(e.opacity=cC(0,r.opacity??1,fp(o)),e.opacityExit=cC(t.opacity??1,0,ff(o))):l&&(e.opacity=cC(t.opacity??1,r.opacity??1,o));for(let i=0;i<fs;i++){let l=cw[i],s=fu(t,l),d=fu(r,l);(void 0!==s||void 0!==d)&&(s||(s=0),d||(d=0),0===s||0===d||fc(s)===fc(d)?(e[l]=Math.max(cC(fd(s),fd(d),o),0),(si.test(d)||si.test(s))&&(e[l]+="%")):e[l]=d)}(t.rotate||r.rotate)&&(e.rotate=cC(t.rotate||0,r.rotate||0,o))}(s,l,this.latestValues,v,m,f)),y&&void 0!==y.rotate&&(this.animationValues||(this.animationValues=s),this.animationValues.pathRotation=y.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=v},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){var t,r,o;this.notifyListeners("animationStart"),null==(t=this.currentAnimation)||t.stop(),null==(o=null==(r=this.resumingFrom)?void 0:r.currentAnimation)||o.stop(),this.pendingAnimation&&(ds(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=dl.update(()=>{fa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=dQ(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,r){let o=sD(e)?e:dQ(e);return o.start(pc("",o,t,r)),o.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:o,latestValues:i}=e;if(!(!t||!r||!o)){if(this!==e&&this.layout&&o&&f6(this.options.animationType,this.layout.layoutBox,o.layoutBox)){r=this.target||sR();let t=pM(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let o=pM(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+o}fg(t,r),cV(t,i),pI(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new fT),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let o=this.getStack();o&&o.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}
42resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let o={};r.z&&fD("z",e,o,this.animationValues);for(let t=0;t<fO.length;t++)fD(`rotate${fO[t]}`,e,o,this.animationValues),fD(`skew${fO[t]}`,e,o,this.animationValues);for(let t in e.render(),o)e.setStaticValue(t,o[t]),this.animationValues&&(this.animationValues[t]=o[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=c2(null==t?void 0:t.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=c2(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!cO(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=o.animationValues||o.latestValues;this.applyTransformsToTarget();let l=function(e,t,r){let o="",i=e.x.translate/t.x,l=e.y.translate/t.y,s=(null==r?void 0:r.z)||0;if((i||l||s)&&(o=`translate3d(${i}px, ${l}px, ${s}px) `),(1!==t.x||1!==t.y)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:l,rotateY:s,skewX:d,skewY:c}=r;e&&(o=`perspective(${e}px) ${o}`),t&&(o+=`rotate(${t}deg) `),i&&(o+=`rotate(${i}deg) `),l&&(o+=`rotateX(${l}deg) `),s&&(o+=`rotateY(${s}deg) `),d&&(o+=`skewX(${d}deg) `),c&&(o+=`skewY(${c}deg) `)}let d=e.x.scale*t.x,c=e.y.scale*t.y;return(1!==d||1!==c)&&(o+=`scale(${d}, ${c})`),o||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(l=r(i,l)),e.transform=l;let{x:s,y:d}=this.projectionDelta;for(let t in e.transformOrigin=`${100*s.origin}% ${100*d.origin}% 0`,o.animationValues?e.opacity=o===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,c$){if(void 0===i[t])continue;let{correct:r,applyTo:s,isCSSVariable:d}=c$[t],c="none"===l?i[t]:r(i[t],o);if(s){let t=s.length;for(let r=0;r<t;r++)e[s[r]]=c}else d?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=o===this?c2(null==t?void 0:t.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(fz),this.root.sharedNodes.clear()}}}function fL(e){e.updateLayout()}function fI(e){var t;let r=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:o}=e.layout,{animationType:i}=e.options,l=r.source!==e.layout.source;if("size"===i)pW(e=>{let o=l?r.measuredBox[e]:r.layoutBox[e],i=pM(o);o.min=t[e].min,o.max=o.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";fh(l?r.measuredBox[e]:r.layoutBox[e],t[e])}else f6(i,r.layoutBox,t)&&pW(o=>{let i=l?r.measuredBox[o]:r.layoutBox[o],s=pM(t[o]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});let s=sA();pI(s,t,r.layoutBox);let d=sA();l?pI(d,e.applyTransform(o,!0),r.measuredBox):pI(d,t,r.layoutBox);let c=!fC(s),u=!1;if(!e.resumeFrom){let o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){let{snapshot:i,layout:l}=o;if(i&&l){let s=e.options.layoutAnchor||void 0,d=sR();pV(d,r.layoutBox,i.layoutBox,s);let c=sR();pV(c,t,l.layoutBox,s),fE(d,c)||(u=!0),o.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=d,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:d,layoutDelta:s,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fF(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function fB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function fV(e){e.clearSnapshot()}function fz(e){e.clearMeasurements()}function fH(e){e.isLayoutDirty=!0,e.updateLayout()}function fU(e){e.isLayoutDirty=!1}function fZ(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function fW(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fK(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fq(e){e.resolveTargetDelta()}function fG(e){e.calcProjection()}
42function fJ(e){e.resetSkewAndRotation()}function fY(e){e.removeLeadSnapshot()}function fX(e,t,r){e.translate=cC(t.translate,0,r),e.scale=cC(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function fQ(e,t,r,o){e.min=cC(t.min,r.min,o),e.max=cC(t.max,r.max,o)}function f0(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let f1={duration:.45,ease:[.4,0,.1,1]},f2=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),f3=f2("applewebkit/")&&!f2("chrome/")?Math.round:di;function f4(e){e.min=f3(e.min),e.max=f3(e.max)}function f6(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(fj(t)-fj(r)))}function f8(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}let f9=fM({attachResizeListener:(e,t)=>pS(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||(null==(e=document.body)?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(t=document.body)?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),f5={current:void 0},f7=fM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!f5.current){let e=new f9({});e.mount(window),e.setOptions({layoutScroll:!0}),f5.current=e}return f5.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function me(e,t){let r=pJ(e),o=new AbortController;return[r,{passive:!0,...t,signal:o.signal},()=>o.abort()]}function mt(e,t,r){let{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=o["onHover"+r];i&&dl.postRender(()=>i(t,pC(t)))}class mn extends uo{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[o,i,l]=me(e,r);return o.forEach(e=>{let r=!1,o=!1,l,s=()=>{e.removeEventListener("pointerleave",u)},d=e=>{l&&(l(e),l=void 0),s()},c=e=>{r=!1,window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",c),o&&(o=!1,d(e))},u=e=>{if("touch"!==e.pointerType){if(r){o=!0;return}d(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||pK.x||pK.y)return;o=!1;let s=t(e,r);"function"==typeof s&&(l=s,e.addEventListener("pointerleave",u,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",c,i),window.addEventListener("pointercancel",c,i)},i)}),l}(e,(e,t)=>(mt(this.node,t,"Start"),e=>mt(this.node,e,"End"))))}unmount(){}}class mr extends uo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ub(pS(this.node.current,"focus",()=>this.onFocus()),pS(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let ma=(e,t)=>!!t&&(e===t||ma(e,t.parentElement)),mo=new WeakSet;function mi(e){return t=>{"Enter"===t.key&&e(t)}}function ml(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let ms=(e,t)=>{let r=e.currentTarget;if(!r)return;let o=mi(()=>{if(mo.has(r))return;ml(r,"down");let e=mi(()=>{ml(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>ml(r,"cancel"),t)});r.addEventListener("keydown",o,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),t)};function md(e){return p_(e)&&!(pK.x||pK.y)}let mc=new WeakSet;function mu(e,t,r){let{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=o["onTap"+("End"===r?"":r)];i&&dl.postRender(()=>i(t,pC(t)))}class mp extends uo{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[o,i,l]=me(e,r),s=e=>{let o=e.currentTarget;if(!md(e)||mc.has(e))return;mo.add(o),r.stopPropagation&&mc.add(e);let l=t(o,e),s={...i,capture:!0},d=(e,t)=>{window.removeEventListener("pointerup",c,s),window.removeEventListener("pointercancel",u,s),mo.has(o)&&mo.delete(o),md(e)&&"function"==typeof l&&l(e,{success:t})},c=e=>{d(e,o===window||o===document||r.useGlobalTarget||ma(o,e.target))},u=e=>{d(e,!1)};window.addEventListener("pointerup",c,s),window.addEventListener("pointercancel",u,s)};
42return o.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",s,i),!pq(e)||!("offsetHeight"in e)||"ownerSVGElement"in e||(e.addEventListener("focus",e=>ms(e,i)),p6.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),l}(e,(e,t)=>(mu(this.node,t,"Start"),(e,{success:t})=>mu(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:(null==r?void 0:r.tap)===!1})}unmount(){}}let mf=new WeakMap,mm=new WeakMap,mh=e=>{let t=mf.get(e.target);t&&t(e)},mg=e=>{e.forEach(mh)},mv={some:0,all:1};class my extends uo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;null==(e=this.stopObserver)||e.call(this);let{viewport:t={}}=this.node.getProps(),{root:r,margin:o,amount:i="some",once:l}=t,s={root:r?r.current:void 0,rootMargin:o,threshold:"number"==typeof i?i:mv[i]};this.stopObserver=function(e,t,r){let o=function({root:e,...t}){let r=e||document;mm.has(r)||mm.set(r,{});let o=mm.get(r),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(mg,{root:e,...t})),o[i]}(t);return mf.set(e,r),o.observe(e),()=>{mf.delete(e),o.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,l&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:o}=this.node.getProps(),i=t?r:o;i&&i(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){var e;null==(e=this.stopObserver)||e.call(this),this.hasEnteredView=!1,this.isInView=!1}}let mb=function(e,t){if(typeof Proxy>"u")return ua;let r=new Map,o=(r,o)=>ua(r,o,e,t);return new Proxy((e,t)=>("production"!==tC.process.env.NODE_ENV&&dW(!1,"motion() is deprecated. Use motion.create() instead."),o(e,t)),{get:(i,l)=>"create"===l?o:(r.has(l)||r.set(l,ua(l,void 0,e,t)),r.get(l))})}({animation:{Feature:px},exit:{Feature:pk},inView:{Feature:my},tap:{Feature:mp},focus:{Feature:mr},hover:{Feature:mn},pan:{Feature:fr},drag:{Feature:ft,ProjectionNode:f7,MeasureLayout:fl},layout:{ProjectionNode:f7,MeasureLayout:fl}},(e,t)=>t.isSVG??lX(e)?new cN(t):new cH(t,{allowProjection:e!==I.Fragment})),mx={moreBackLabel:"Main navigation",moreLabel:"More",overviewLabel:"Overview",collapseLabel:"Collapse navigation",expandLabel:"Expand navigation",notificationsLabel:"has notifications"},mw=(e={})=>{let t={...mx};for(let r of Object.keys(t))t[r]=e[r]||mx[r];return t};function mk(){ce.current||cn();let[e]=(0,I.useState)(d7.current);return"production"!==tC.process.env.NODE_ENV&&dW(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),e}let m_=e=>{let{onPress:t,withHeader:r,hasNotifications:o=!1,backgroundId:i,expandLabel:l,notificationsLabel:s}=e,d=mk(),{root:c,bg:u,button:p,notificationDot:f}=V(lJ)({withHeader:r}),m=l||mx.expandLabel,h=o?`${m}, ${s||mx.notificationsLabel}`:m;return(0,D.jsxs)("div",{className:(0,F.cn)("ef-navigation-bar-fab",c()),children:[(0,D.jsx)(mb.div,{className:(0,F.cn)(u()),layout:!0,layoutId:i,style:{borderRadius:16},transition:d?{duration:0}:{type:"spring",visualDuration:.3,bounce:.2}}),(0,D.jsx)(e7.Button,{className:(0,F.cn)(p()),variant:"ghost",shape:"round",size:"small",onPress:t,"aria-label":h,children:(0,D.jsx)(lZ,{weight:"bold"})}),o?(0,D.jsx)("span",{className:(0,F.cn)(f()),"aria-hidden":"true"}):null]})};m_.displayName="NavigationBarFab";let mC=(e=[])=>e.reduce((e,t)=>e+(t.notificationBadge??0),0),m$=(e=[])=>e.reduce((e,t)=>{let r=t.subMenu??t.menuLinks;return r&&r.length>0?e+m$(r):e+(t.notificationBadge??0)},0),mS=e=>m$(e.bodyLinks??[])+mC(e.footer),mE=({src:e})=>{let t=(0,I.useMemo)(()=>{let t=e;if(e.startsWith("data:image/svg+xml")){let r=function(e){let t=/^data:image\/svg\+xml;base64,(.+)$/i.exec(e);if(t)return"u">typeof atob?atob(t[1]):tC.Buffer.from(t[1],"base64").toString("utf-8");let r=/^data:image\/svg\+xml[^,]*,(.+)$/i.exec(e);return r?decodeURIComponent(r[1]):null}(e);if(!(null!=r&&r.startsWith("<svg")))return null;t=r}return t.startsWith("<svg")?function(e){var t,r,o;let i=e.indexOf(">"),l=e.slice(0,i),s=e.slice(i+1,e.lastIndexOf("</svg>")).replace(/\bfill="(?!none|currentColor)[^"]*"/g,"");return{viewBox:null==(t=l.match(/viewBox="([^"]*)"/))?void 0:t[1],innerContent:s,extraProps:{width:null==(r=l.match(/\bwidth="([^"]*)"/))?void 0:r[1],height:null==(o=l.match(/\bheight="([^"]*)"/))?void 0:o[1]}}}(t):null},[e]);if(!t)return(0,D.jsx)(a4,{src:e});let{viewBox:r,innerContent:o,extraProps:i}=t;return(0,D.jsx)("svg",{fill:"currentColor",viewBox:r,"aria-hidden":!0,...i,dangerouslySetInnerHTML:{__html:o}})};mE.displayName="SvgIcon";var mj=r(36077);let mN=(0,B.c6)({slots:{root:"",collapsibleTrigger:"text-system-text-default relative w-max list-none hover:cursor-pointer",collapsibleContent:"text-system-text-default data-[state=closed]:animate-in-height data-[state=open]:animate-in-out-height data-[state=closed]:animate-from-h-[--radix-collapsible-content-height] data-[state=closed]:animate-to-h-0 data-[state=open]:animate-from-h-0 data-[state=open]:animate-to-h-[--radix-collapsible-content-height] motion-safe:animation-duration-system-medium motion-safe:animation-ease-system-easing-expressive overflow-hidden data-[state=closed]:h-0"},variants:{}}),mT=e=>{let{children:t,className:r,themeConfig:o,...i}=e,{root:l}=(0,B.tv)(o?(0,B.RH)(mN,o):mN)(),s=(0,F.cn)("ef-collapsible",l(),r);return(0,D.jsx)(mj.fC,{className:s,...i,children:t})};mT.displayName="Collapsible";var mP=r(96491);let mA=({children:e,className:t,themeConfig:r,asChild:o,...i})=>{let{collapsibleTrigger:l}=(0,mP.tv)(r?(0,B.RH)(mN,r):mN)(),s=(0,F.cn)("ef-collapsible-trigger",l(),t);return(0,D.jsx)(e9.t,{children:(0,D.jsx)(mj.wy,{className:s,...i,asChild:o,children:e})})};mA.displayName="CollapsibleTrigger";var mO=r(83491);let mR=new Set(["enter-height","exit-height","enter-exit-height"]),mD=({className:e,children:t,themeConfig:r,...o})=>{let[i,l]=(0,I.useState)(0),[s,d]=(0,I.useState)(!1),[c,u]=(0,I.useState)(!1),p=(0,I.useRef)(null);(0,I.useEffect)(()=>{p.current&&(l(p.current.offsetHeight),"open"===p.current.dataset.state&&u(!0))},[]),(0,I.useEffect)(()=>{let e=p.current;if(!e)return;let t=new MutationObserver(()=>{u(!1)});return t.observe(e,{attributeFilter:["data-state"],attributes:!0}),()=>t.disconnect()},[]);let{height:f}=(0,mO.h)(p),{collapsibleContent:m}=(0,mP.tv)(r?(0,B.RH)(mN,r):mN)(),h=(0,F.cn)("ef-collapsible-content",m(),e);return(0,D.jsx)(mj.Fw,{className:h,ref:p,...o,onAnimationEnd:e=>{var t;null==(t=o.onAnimationEnd)||t.call(o,e),e.target===e.currentTarget&&"open"===e.currentTarget.dataset.state&&(f>0&&!i&&l(Math.ceil(f)),d(!0),mR.has(e.animationName)&&u(!0))},style:{...i>0?{"--radix-collapsible-content-height":`${i}px`}:{},...c?{overflow:"visible"}:{},...s?{animationFillMode:"none"}:{}},children:t})};mD.displayName="CollapsibleContent";let mM=e=>
42{let{childLinks:t,active:r,compact:o,navigationBarExpanded:i,itemContent:l,title:s,className:d,themeConfig:c,hidden:u,...p}=e,f=eG(eP),m=eJ(eI),h=t.some(e=>e.isActive??tu(f,e.link)),g=!i&&(r||h),[v,y]=(0,I.useState)(()=>h);(0,I.useEffect)(()=>{i?h&&y(!0):y(!1)},[i,h]);let{root:b,collapsibleRoot:x,collapsibleTrigger:w,collapsibleContent:k,collapsibleInner:_,subItem:C,navMenuItemRoot:$,navMenuItemBg:S}=V(lG,c)({hidden:u}),E=(0,F.cn)("ef-navigation-bar-item",b(),d);return(0,D.jsx)("li",{className:E,children:(0,D.jsxs)(mT,{className:(0,F.cn)(x()),open:v,children:[(0,D.jsx)(mA,{className:(0,F.cn)(w()),onClick:()=>{i?y(!v):(m(),y(!0))},"aria-label":s,children:(0,D.jsx)(aF,{isActive:g,size:o?"compact":"large",caretIconDirection:v?"up":"down",showCaretIcon:i,caretIconSize:"16",themeConfig:{slots:{root:(0,F.cn)($()),bg:(0,F.cn)(S())}},...p,children:l})}),(0,D.jsx)(mD,{className:(0,F.cn)(k()),children:i?(0,D.jsx)("div",{className:(0,F.cn)(_()),children:(0,D.jsx)("ul",{children:t.map(e=>{let t=e.isActive??tu(f,e.link);return(0,D.jsx)("li",{children:(0,D.jsx)(aF,{className:(0,F.cn)(C()),isActive:t,showExternalIcon:e.isExternal,renderCustomLink:r=>(0,D.jsx)(aE,{link:e,...r,href:e.link,"aria-label":e.title,"aria-current":t?"page":void 0,withMenuRole:!1}),children:(0,D.jsx)(aI,{title:e.title,subLabel:e.subLabel,tagText:e.tagText,notificationBadge:e.notificationBadge})})},e.id)})})}):null})]})})};mM.displayName="NavigationBarFolder";let mL=(e,t,r)=>{let o=r||mx.overviewLabel;return t.link?[{id:`${t.id??t.link}-overview`,title:o,link:t.link,isExternal:t.isExternal},...e]:e},mI=e=>{let{link:t,expanded:r=!0,className:o,themeConfig:i,overviewLabel:l,...s}=e,{title:d,subMenu:c,link:u,isActive:p,isExternal:f,hidden:m}=t,{menuLinks:h}=t,{subLabel:g,tagText:v,iconSvgData:y,notificationBadge:b}=t,x=c??h,w=eG(eP),k=p??tu(w,t.link),_=x&&x.length>0,C=!!y,$=(0,I.useCallback)(e=>(0,D.jsx)(aE,{link:t,...e,href:u,"aria-label":d,"aria-current":k?"page":void 0,withMenuRole:!1}),[t,u,d,k]),{root:S,navMenuItemRoot:E,navMenuItemBg:j,navMenuItemTitle:N,iconWrapper:T,collapsibleRoot:P,collapsibleTrigger:A,collapsibleContent:O,collapsibleInner:R,subItem:M,notificationBadge:L,notificationDot:B}=V(lG,i)({hidden:m}),z=(0,F.cn)("ef-navigation-bar-item",S(),o),H=_?mC(x):b,U=(0,D.jsx)(aI,{title:r?d:"",subLabel:r?g:void 0,tagText:r?v:void 0,compact:!r,notificationBadge:H,style:{"--notification-vt-name":`notification-${t.id}`},themeConfig:{slots:{textContainer:(0,F.cn)(N(),!r&&"!block !w-px !h-px !overflow-hidden !opacity-0"),notificationBadge:(0,F.cn)(L()),notificationDot:(0,F.cn)(B())}},children:C?(0,D.jsx)(aB.a,{className:(0,F.cn)(T()),size:"xs",iconSize:"s",radius:"full",children:(0,D.jsx)(mE,{src:y})}):null});if(_){let e=mL(x,t,l);return(0,D.jsx)(mM,{childLinks:e,active:k,navigationBarExpanded:r,itemContent:U,title:d,className:o,hidden:m,compact:!r,themeConfig:{slots:{collapsibleRoot:(0,F.cn)(P()),collapsibleTrigger:(0,F.cn)(A()),collapsibleContent:(0,F.cn)(O()),collapsibleInner:(0,F.cn)(R()),subItem:(0,F.cn)(M())}},...s})}return(0,D.jsx)("li",{className:z,children:(0,D.jsx)(aF,{isActive:k,size:r?"large":"compact",showExternalIcon:f,renderCustomLink:$,themeConfig:{slots:{root:(0,F.cn)(E()),bg:(0,F.cn)(j())}},...s,children:U})})};mI.displayName="NavigationBarItem";let mF=e=>{let{title:t,isActive:r,hidden:o,children:i,className:l,themeConfig:s,renderCustomLink:d,href:c,hasNotifications:u=!1,...p}=e,{pressProps:f}=as({...p}),{root:m,bg:h,iconContainer:g,label:v,notificationDot:y}=V(lq,s)({isActive:r,hidden:o}),b=d??"a";return(0,D.jsx)(e9.t,{within:!0,children:(0,D.jsxs)(b,{className:(0,F.cn)("ef-navigation-bar-item-mobile",m(),l),href:c,"data-active":r,type:"button"===b?"button":void 0,...f,children:[(0,D.jsx)("div",{className:(0,F.cn)(h())}),i?(0,D.jsxs)("div",{className:(0,F.cn)(g()),children:[i,u?(0,D.jsx)("span",{className:(0,F.cn)(y()),"aria-hidden":"true"}):null]}):null,t?(0,D.jsx)("span",{className:(0,F.cn)(v()),children:t}):null]})})};mF.displayName="NavigationBarItemMobile";let mB=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"}),I.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"}))]]),mV=I.forwardRef((e,t)=>
42I.createElement(tn,{ref:t,...e,weights:mB}));mV.displayName="DotsThreeIcon";let mz=e=>{let{links:t,className:r,moreBackLabel:o,moreLabel:i}=e,l=eG(eP),s=eJ(eC),d=eJ(e$),c=eJ(eS),u=eJ(ej),p=t.length>5,f=p?t.slice(0,4):t,m=m$(p?t.slice(4):[])>0,{root:h,iconWrapper:g}=V(lG)({});return(0,D.jsxs)(D.Fragment,{children:[f.map(e=>{let{title:t,link:o,isActive:i,hidden:s}=e,{iconSvgData:d}=e,c=i??tu(l,o),u=e.subMenu??e.menuLinks,p=u&&u.length>0?mC(u):e.notificationBadge??0;return(0,D.jsx)("li",{className:(0,F.cn)(h(),r),children:(0,D.jsx)(mF,{title:t,isActive:c,hidden:s,hasNotifications:p>0,renderCustomLink:r=>(0,D.jsx)(aE,{link:e,...r,href:o,"aria-label":t,"aria-current":c?"page":void 0,withMenuRole:!1}),href:o,children:d?(0,D.jsx)(aB.a,{className:(0,F.cn)(g()),size:"xs",iconSize:"s",radius:"full",children:(0,D.jsx)(mE,{src:d})}):null})},e.id)}),p?(0,D.jsx)("li",{className:(0,F.cn)(h(),r),children:(0,D.jsx)(mF,{title:i||mx.moreLabel,hasNotifications:m,renderCustomLink:"button",onPress:()=>{u(o||mx.moreBackLabel),s(!0),d(!0),c(ti)},children:(0,D.jsx)(mV,{weight:"bold",size:16})})}):null]})};mz.displayName="NavigationBarMobileItems";let mH=e=>{let{bodyLinks:t,expanded:r=!0,moreBackLabel:o,moreLabel:i,overviewLabel:l,isMobile:s,className:d,themeConfig:c,...u}=e,{breakpoint:p}=(0,ib.G)(),f=!!t&&tg(t),{root:m,list:h,categoryContainer:g,menuItem:v,categoryLabel:y,categoryList:b}=V(lK,c)({hasCategories:f}),x=(0,F.cn)("ef-navigation-bar-body",m(),d);if(s??("s"===p||"m"===p)){let e=(f?t.flatMap(e=>e.menuLinks??[]):t).filter(e=>!e.hidden);return(0,D.jsx)("nav",{className:x,...u,children:(0,D.jsx)("ul",{className:(0,F.cn)(h()),children:(0,D.jsx)(mz,{links:e,className:(0,F.cn)(v()),moreBackLabel:o,moreLabel:i})})})}return(0,D.jsx)("nav",{className:x,...u,children:(0,D.jsx)("ul",{className:(0,F.cn)(h()),children:f?t.map(e=>{var t;return(0,D.jsxs)("li",{className:(0,F.cn)(g()),children:[r?(0,D.jsx)(aL.x,{as:"span",variant:"smallPrint",className:(0,F.cn)(y()),children:e.title}):null,(0,D.jsx)("ul",{className:(0,F.cn)(b()),children:null==(t=e.menuLinks)?void 0:t.map(e=>(0,D.jsx)(mI,{link:e,expanded:r,overviewLabel:l,className:(0,F.cn)(v())},e.id))})]},e.id)}):t.map(e=>(0,D.jsx)(mI,{link:e,expanded:r,overviewLabel:l,className:(0,F.cn)(v())},e.id))})})};mH.displayName="NavigationBarBody";let mU=e=>{var t,r,o,i,l,s,d,c;let{id:u,data:p,position:f="anchored",collapsible:m=!0,withHeader:h=!1,className:g,themeConfig:v,style:y,...b}=e,{mode:x,expanded:w,toggle:k}=function(){let{breakpoint:e}=lF(lB,"collapsed1"),t=lz[e],[r,o]=eY(eM),i=eJ(eF),l=(0,I.useRef)(t);return lV(()=>{l.current!==t&&(l.current=t,o("expanded"===t))},[t,o]),{mode:t,expanded:r,toggle:i}}(),_=mk(),C=mw(p),$="floating"===f,S="fab"===x&&$,E=$&&w&&"expanded"!==x&&"mobile"!==x;lH(S&&w,k);let j=V(lW,v),N=u?`navigation-bar-bg-${u}`:"navigation-bar-bg";if(S&&!w)return(0,D.jsx)(m_,{onPress:k,withHeader:h,hasNotifications:mS(p)>0,backgroundId:N,expandLabel:C.expandLabel,notificationsLabel:C.notificationsLabel});let{root:T,bg:P,collapsibleButton:A,header:O,avatar:R,body:M,footer:L,divider:B}=j({expanded:w,position:f,withHeader:h}),z=(0,F.cn)("ef-navigation-bar",T(),g),H="mobile"!==x&&"anchored"!==f;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("aside",{id:"ef-navigation-bar-panel",className:z,style:y,onClickCapture:e=>{E&&e.target.closest("a[href]")&&k()},...b,children:[(0,D.jsx)(mb.div,{className:(0,F.cn)(P()),layout:!0,layoutId:N,style:{borderRadius:H?16:0},transition:_?{duration:0}:{type:"spring",visualDuration:.3,bounce:.2}}),m?(0,D.jsx)(e7.Button,{className:(0,F.cn)(A()),variant:"ghost",shape:"round",size:"small",onPress:k,"aria-label":w?C.collapseLabel:C.expandLabel,children:(0,D.jsx)(lZ,{weight:"bold"})}):null,p.header?(0,D.jsx)(la,{className:(0,F.cn)(O()),title:w?p.header.title:"",avatar:null==(t=p.header)?void 0:t.avatar,avatarSize:w?48:24,subtitle:w?null==(r=p.header)?void 0:r.subtitle:void 0,isAccountMenu:!0,themeConfig:{slots:{avatar:R()}}}):null,null!=(o=p.bodyLinks)&&o.length?(0,D.jsx)(mH,{className:(0,F.cn)(M()),bodyLinks:p.bodyLinks,expanded:w,isMobile:"mobile"===x,moreBackLabel:C.moreBackLabel,moreLabel:C.moreLabel,overviewLabel:C.overviewLabel}):null,null!=(i=p.footer)&&i.length?(0,D.jsxs)("div",{className:(0,F.cn)(L()),children:[(0,D.jsx)(i7,{className:(0,F.cn)(B())}),(0,D.jsx)("ul",{children:p.footer.map(e=>(0,D.jsx)(mI,{link:e,expanded:w},e.id))})]}):null]}),h?null:(0,D.jsx)(lb,{children:(0,D.jsx)(lo,{variant:"navigationBar",isAccountMenu:!!(null!=(l=p.header)&&l.avatar),link:{id:ti,title:(null==(s=p.header)?void 0:s.title)??"",subtitle:null==(d=p.header)?void 0:d.subtitle,avatar:null==(c=p.header)?void 0:c.avatar,subMenu:[...p.bodyLinks??[],...p.footer??[]],subMenuLayout:"indented"}})})]})};mU.displayName="NavigationBar";var mZ=Object.defineProperty,mW=(e,t,r)=>t in e?mZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mK=(e,t,r)=>mW(e,"symbol"!=typeof t?t+"":t,r);class mq extends I.Component{constructor(){super(...arguments),mK(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){var t,r;console.error(`[BackpackLayout] ${this.props.label} failed to render and was skipped.`,e),null==(r=(t=this.props).onError)||r.call(t,e,this.props.label)}componentDidUpdate(e){this.state.hasError&&e.resetKey!==this.props.resetKey&&this.setState({hasError:!1})}render(){return this.state.hasError?null:this.props.children}}let mG=(0,B.c6)({slots:{root:"group/layout flex min-h-screen flex-col [--navigation-bar-height:66px]",content:"relative flex flex-1",main:"flex-1 max-lg:pt-[--navigation-bar-height]",navigationBar:""}}),mJ=e=>{var t;let{headerProps:r,navigationBarData:o,navigationBarProps:i,children:l,className:s,themeConfig:d,onRenderError:c,...u}=e,{renderCustomLink:p=e=>(0,D.jsx)("a",{...e}),data:f,className:m,...h}=r??{},g=I.useMemo(()=>[f,o],[f,o]),v={header:null==f?void 0:f.header,menuLinks:[...Array.isArray(null==f?void 0:f.menuLinks)?f.menuLinks:[],{id:ti,title:"Navigation Bar",hidden:!0,subMenuLayout:"indented",subMenu:[...Array.isArray(null==o?void 0:o.bodyLinks)?o.bodyLinks:[],...Array.isArray(null==o?void 0:o.footer)?o.footer:[]]}]};return(0,D.jsx)(eH,{children:(0,D.jsx)(o$,{initialValues:[[eT,p],[eE,(null==(t=null==f?void 0:f.header)?void 0:t.disableMenuOverlay)??!1]],children:(0,D.jsx)(mY,{className:s,themeConfig:d,headerData:v,headerClassName:m,renderCustomLink:p,restHeaderProps:h,navigationBarData:o,restNavigationBarProps:i??{},onRenderError:c,headerResetKey:g,rest:u,children:l})})})},mY=({className:e,themeConfig:t,headerData:r,headerClassName:o,renderCustomLink:i,restHeaderProps:l,navigationBarData:s,restNavigationBarProps:d,onRenderError:c,headerResetKey:u,rest:p,children:f})=>{let m=eG(eR),{root:h,content:g,main:v,navigationBar:y}=V(mG,t)(),b=(0,F.cn)("ef-backpack-layout",h(),e);return(0,D.jsxs)("div",{className:b,style:{"--header-height":`${m}px`},...p,children:[(0,D.jsx)(mq,{label:"header",onError:c,resetKey:u,children:(0,D.jsx)(lD,{...l,data:r,className:(0,F.cn)(o),renderCustomLink:i,_skipProvider:!0})}),(0,D.jsxs)("div",{className:(0,F.cn)(g()),children:[(0,D.jsx)(mq,{label:"navigation bar",onError:c,resetKey:s,children:(0,D.jsx)(mU,{className:(0,F.cn)(y()),data:s,position:"floating",withHeader:!0,...d})}),(0,D.jsx)("div",{className:(0,F.cn)(v()),children:f})]})]})};mJ.displayName="BackpackLayout";let mX=e=>{if("object"!=typeof e||typeof e._editable>"u")return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};var mQ=((m=mQ||{}).DOCUMENT="doc",m.HEADING="heading",m.PARAGRAPH="paragraph",m.QUOTE="blockquote",m.OL_LIST="ordered_list",m.UL_LIST="bullet_list",m.LIST_ITEM="list_item",m.CODE_BLOCK="code_block",m.HR="horizontal_rule",m.BR="hard_break",m.IMAGE="image",m.EMOJI="emoji",m.COMPONENT="blok",m.TABLE="table",m.TABLE_ROW="tableRow",m.TABLE_CELL="tableCell",m.TABLE_HEADER="tableHeader",m),m0=((h=m0||{}
42).BOLD="bold",h.STRONG="strong",h.STRIKE="strike",h.UNDERLINE="underline",h.ITALIC="italic",h.CODE="code",h.LINK="link",h.ANCHOR="anchor",h.STYLED="styled",h.SUPERSCRIPT="superscript",h.SUBSCRIPT="subscript",h.TEXT_STYLE="textStyle",h.HIGHLIGHT="highlight",h),m1=((g=m1||{}).TEXT="text",g),m2=((v=m2||{}).URL="url",v.STORY="story",v.ASSET="asset",v.EMAIL="email",v);let m3=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],m4=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),m6=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function m8(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}let m9=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t));function m5(e,t={},r){let o=m4(t),i=o?`${e} ${o}`:e,l=Array.isArray(r)?r.join(""):r||"";return e?m3.includes(e)?`<${i}>`:`<${i}>${l}</${e}>`:l}let m7={},he=e=>m7[e]?m7[e]:(console.error(`Component ${e} doesn't exist.`),!1),ht=(0,I.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,D.jsx)("div",{children:"Please provide a blok property to the StoryblokComponent"});let o=he(e.component);return o?(0,D.jsx)(o,{ref:r,blok:e,...t}):(0,D.jsx)("div",{})});function hn(e){var t,r;let o=null==(t=null==e?void 0:e.attrs)?void 0:t.body;return I.createElement(ht,{blok:Array.isArray(o)?o[0]:void 0,key:null==(r=e.attrs)?void 0:r.id})}ht.displayName="StoryblokComponent",(0,I.forwardRef)(({doc:e,resolvers:t},r)=>{var o;let{render:i}=(o={resolvers:t},function(e={}){let t=new Map,{renderFn:r=m5,textFn:o=m8,resolvers:i={},optimizeImages:l=!1,keyedResolvers:s=!1}=e,d=r!==m5,c=()=>({render:(e,o={},i)=>{if(s&&e){let r=t.get(e)||0;t.set(e,r+1),o.key=`${e}-${r}`}return r(e,o,i)}}),u=e=>(t,r)=>{let o=t.attrs||{};return r.render(e,o,t.children||null)},p=(e,t=!1)=>({text:r,attrs:o},i)=>{let{class:l,id:s,...d}=o||{},c=t?{class:l,id:s,style:m6(d)||void 0}:o||{};return i.render(e,m9(c),r)},f=e=>v(e),m=(e,t)=>{let{linktype:r,href:o,anchor:i,...l}=e.attrs||{},s="";switch(r){case m2.ASSET:case m2.URL:s=o;break;case m2.EMAIL:s=`mailto:${o}`;break;case m2.STORY:s=o,i&&(s=`${s}#${i}`);break;default:s=o}let d={...l};return s&&(d.href=s),t.render("a",d,e.text)},h=new Map([[mQ.DOCUMENT,u("")],[mQ.HEADING,(e,t)=>{let{level:r,...o}=e.attrs||{};return t.render(`h${r}`,o,e.children)}],[mQ.PARAGRAPH,u("p")],[mQ.UL_LIST,u("ul")],[mQ.OL_LIST,u("ol")],[mQ.LIST_ITEM,u("li")],[mQ.IMAGE,(e,t)=>{let{src:r,alt:o,title:i,srcset:s,sizes:d}=e.attrs||{},c=r,u={};if(l){let{src:e,attrs:t}=function(e,t){if(!t)return{src:e,attrs:{}};let r=0,o=0,i={},l=[];function s(e,t,r,o,i){"number"!=typeof e||e<=t||e>=r?console.warn(`[StoryblokRichText] - ${o.charAt(0).toUpperCase()+o.slice(1)} value must be a number between ${t} and ${r} (inclusive)`):i.push(`${o}(${e})`)}if("object"==typeof t){if("number"==typeof t.width&&t.width>0?(i.width=t.width,r=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than 0"),t.height&&"number"==typeof t.height&&t.height>0?(i.height=t.height,o=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than 0"),t.loading&&["lazy","eager"].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:r,brightness:o,fill:i,format:d,grayscale:c,quality:u,rotate:p}=e||{};r&&s(r,0,100,"blur",l),u&&s(u,0,100,"quality",l),o&&s(o,0,100,"brightness",l),i&&l.push(`fill(${i})`),c&&l.push("grayscale()"),p&&[0,90,180,270].includes(t.filters.rotate||0)&&l.push(`rotate(${p})`),d&&["webp","png","jpeg"].includes(d)&&l.push(`format(${d})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if("number"==typeof t)return`${e}/m/${t}x0/${l.length>0?`filters:${l.join(":")}`:""} ${t}w`;if(Array.isArray(t)&&2===t.length){let[r,o]=t;return`${e}/m/${r}x${o}/${l.length>0?`filters:${l.join(":")}`:""} ${r}w`}console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers")}).join(", ")),t.sizes&&(i.sizes=t.sizes.join(", "))}let d=`${e}/m/`;return r>0&&o>0&&(d=`${d}${r}x${o}/`),l.length>0&&(d=`${d}filters:${l.join(":")}`),{src:d,attrs:i}}(r,l);c=e,u=t}let p={src:c,alt:o,title:i,srcset:s,sizes:d,...u};return t.render("img",m9(p))}],[mQ.EMOJI,(e,t)=>{var r,o,i,l;let s=t.render("img",{src:null==(r=e.attrs)?void 0:r.fallbackImage,alt:null==(o=e.attrs)?void 0:o.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"});return t.render("span",{"data-type":"emoji","data-name":null==(i=e.attrs)?void 0:i.name,"data-emoji":null==(l=e.attrs)?void 0:l.emoji},s)}],[mQ.CODE_BLOCK,(e,t)=>t.render("pre",e.attrs||{},t.render("code",{},e.children||""))],[mQ.HR,u("hr")],[mQ.BR,u("br")],[mQ.QUOTE,u("blockquote")],[mQ.COMPONENT,(e,t)=>{var r,o;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),t.render("span",{blok:null==(r=null==e?void 0:e.attrs)?void 0:r.body[0],id:null==(o=e.attrs)?void 0:o.id,style:"display: none"})}],[m1.TEXT,e=>{let{marks:r,...i}=e;if("text"in e){if(r)return r.reduce((e,t)=>
42f({...t,text:e}),f({...i,children:i.children}));let l=e.attrs||{};if(s){let e=t.get("txt")||0;t.set("txt",e+1),l.key=`txt-${e}`}return o(i.text,l)}return""}],[m0.LINK,m],[m0.ANCHOR,m],[m0.STYLED,p("span",!0)],[m0.BOLD,p("strong")],[m0.TEXT_STYLE,p("span",!0)],[m0.ITALIC,p("em")],[m0.UNDERLINE,p("u")],[m0.STRIKE,p("s")],[m0.CODE,p("code")],[m0.SUPERSCRIPT,p("sup")],[m0.SUBSCRIPT,p("sub")],[m0.HIGHLIGHT,p("mark")],[mQ.TABLE,(e,t)=>{let r=t.render("tbody",{},e.children);return t.render("table",{},r)}],[mQ.TABLE_ROW,(e,t)=>t.render("tr",{},e.children)],[mQ.TABLE_CELL,(e,t)=>{let{colspan:r,rowspan:o,colwidth:i,backgroundColor:l,...s}=e.attrs||{},d={...s};r>1&&(d.colspan=r),o>1&&(d.rowspan=o);let c=[];return i&&c.push(`width: ${i}px;`),l&&c.push(`background-color: ${l};`),c.length>0&&(d.style=c.join(" ")),t.render("td",m9(d),e.children)}],[mQ.TABLE_HEADER,(e,t)=>{let{colspan:r,rowspan:o,colwidth:i,backgroundColor:l,...s}=e.attrs||{},d={...s};r>1&&(d.colspan=r),o>1&&(d.rowspan=o);let c=[];return i&&c.push(`width: ${i}px;`),l&&c.push(`background-color: ${l};`),c.length>0&&(d.style=c.join(" ")),t.render("th",m9(d),e.children)}],...Object.entries(i).map(([e,t])=>[e,t])]);function g(e){let t=h.get(e.type);if(!t)return console.error("<Storyblok>",`No resolver found for node type ${e.type}`),"";let r=c();if("text"===e.type)return t(e,r);let o=e.content?e.content.map(v):void 0;return t({...e,children:o},r)}function v(e){return"doc"===e.type?d?e.content.map(g):e.content.map(g).join(""):Array.isArray(e)?e.map(g):g(e)}return{render:v}}({renderFn:I.createElement,textFn:e=>I.createElement(I.Fragment,{key:Math.random().toString(36).substring(2,15)},e),resolvers:{[mQ.COMPONENT]:hn,...o.resolvers},keyedResolvers:!0})),l=function e(t){if(Array.isArray(t))return t.map(t=>e(t));let r={class:"className",for:"htmlFor",targetAttr:"targetattr"},o=Object.keys(t.props).reduce((e,o)=>{let i=t.props[o];return"style"===o&&"string"==typeof i&&(i=i.split(";").reduce((e,t)=>{let[r,o]=t.split(":");return r=null==r?void 0:r.trim(),o=null==o?void 0:o.trim(),r&&o&&(e[r.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=o),e},{})),e[r[o]||o]=i,e},{});o.key=t.key;let i=I.Children.map(t.props.children,t=>"string"==typeof t?t:e(t));return I.createElement(t.type,o,i)}(i(e));return(0,D.jsx)("div",{ref:r,children:l})});var hr=r(6767),ha=r(83235),ho=r(90084),hi=r(83454);let hl=e=>(null==globalThis?void 0:globalThis.storyblokMode)==="rsc"||"rsc"===hi.env.SB_MODE?(0,ho.LF)(e):(0,ha.LF)(e),hs=(0,I.forwardRef)((e,t)=>{let{blok:r,mode:o="client",...i}=e;return r?"rsc"===o||(null==globalThis?void 0:globalThis.storyblokMode)==="rsc"||"rsc"===hi.env.SB_MODE?(0,D.jsx)(ho.Eo,{ref:t,blok:r,...i}):(0,D.jsx)(ha.Xj,{ref:t,blok:r,...i}):(console.error("Please provide a 'blok' property to the StoryblokComponentWrapper"),(0,D.jsx)("div",{children:"Please provide a blok property to the StoryblokComponentWrapper"}))});hs.displayName="StoryblokComponentWrapper";let hd={color:"grey",icon:"block-add",component_group_name:"Single components",preview_tmpl:"{{@if(!!it.content)}}{{@if(!Array.isArray(it.content))}}{{it.content}}{{/if}}{{/if}}"},hc={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},text_align:{display_name:"Align",type:"custom",field_type:"backpack-toggle",options:[{value:"start",name:"Left",icon:`${ig.Bn}/Text/storyblok/icons/text-align-left.svg`},{value:"center",name:"Center",icon:`${ig.Bn}/Text/storyblok/icons/text-align-center.svg`},{value:"end",name:"Right",icon:`${ig.Bn}/Text/storyblok/icons/text-align-right.svg`}],default_value:{s:"start"}}},hu={text_color:{display_name:"Color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}};JSON.stringify(hu.text_color);let hp=[{value:"displayCaps",name:"Display Caps"},{value:"display1",name:"Display 1"},{value:"display2",name:"Display 2"},{value:"header1",name:"Header 1"},{value:"header2",name:"Header 2"},{value:"header3",name:"Header 3"},{value:"header4",name:"Header 4"},{value:"header5",name:"Header 5"},{value:"header6",name:"Header 6"},{value:"subheader1",name:"Subheader 1"},{value:"subheader2",name:"Subheader 2"},{value:"title1",name:"Title 1"},{value:"title2",name:"Title 2"},{value:"title3",name:"Title 3"},{value:"body",name:"Body"},{value:"bodyBook",name:"Body Book"},{value:"bodySmall",name:"Body Small"},{value:"smallPrint",name:"Small Print"},{value:"smallPrintBold",name:"Small Print Bold"},{value:"uiLabel",name:"UI Label"},{value:"uiLabelBold",name:"UI Label Bold"},{value:"uiLabelLarge",name:"UI Label Large"},{value:"uiLabelLargeBold",name:"UI Label Large Bold"},{value:"uiLabelSmall",name:"UI Label Small"},{value:"uiLabelSmallBold",name:"UI Label Small Bold"},{value:"eyebrow",name:"Eyebrow"},{value:"eyebrowSmall",name:"Eyebrow Small"},{value:"eyebrowLarge",name:"Eyebrow Large"}],hf={variant:{display_name:"Style",type:"option",exclude_empty_option:!0,options:[...hp.map(({value:e,name:t})=>({value:e,name:t}))],default_value:{s:"body"}},...hu,link_text_color:{display_name:"Link color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},link_text_hover_color:{display_name:"Link hover color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},hm={variant:{display_name:"Style",type:"option",exclude_empty_option:!0,options:[...hp.map(({value:e,name:t})=>({value:e,name:t}))],default_value:{s:"header2"}},animated:{display_name:"Effect",description:"Reveals text with animation",type:"boolean",default_value:{}},...hu},hh={variant:{display_name:"Style",type:"option",exclude_empty_option:!0,options:[...hp.map(({value:e,name:t})=>({value:e,name:t}))],default_value:{s:"body"}},...hu,link_text_color:{type:"custom",field_type:"backpack-color-picker",dis
42play_name:"Link color",options:[{name:"colors",value:"colors"}],default_value:{}},link_text_hover_color:{type:"custom",field_type:"backpack-color-picker",display_name:"Link hover color",options:[{name:"colors",value:"colors"}],default_value:{}},max_lines:{description:"Limit the number of lines",type:"number",min_value:1,max_value:6,default_value:{}},text_overflow:{display_name:"Text overflow",type:"option",exclude_empty_option:!0,options:[{value:"truncate",name:"Truncate"},{value:"expandable",name:"Expand"}],default_value:{}},view_more:{display_name:"View more/less button",type:"boolean",default_value:{}},view_more_text:{display_name:"Collapsed label",type:"text",translatable:!0,default_value:{s:"View more"}},view_less_text:{display_name:"Expanded label",type:"text",translatable:!0,default_value:{s:"View less"}}},hg=["ai-complete","ai-shorten","ai-extend","ai-rephrase","ai-summarize","ai-simplify","ai-tone","ai-translate","ai-emoji","ai-tldr","ai-spelling"],hv={visibility:{type:"custom",field_type:"backpack-toggle",display_name:"Visible",options:[{value:"show",name:"Show",icon:`${ig.GT}/eye.svg`,tooltip_text:"Show"},{value:"hide",name:"Hide",icon:`${ig.GT}/eye-off.svg`,tooltip_text:"Hide"}],default_value:{}}},hy={design:{type:"custom",field_type:"backpack-breakpoints-v2",options:[{name:"visibility",value:JSON.stringify(hv.visibility)}]}},hb={collapsible_size:{type:"custom",field_type:"backpack-collapsible",display_name:"Size",keys:["aspect_ratio","height","width","minimum_height","size","viewport_size","item_basis","stretch","item_flex","resize","item_width","style_width","style_height","embed_width","embed_height"],default_value:{}},collapsible_layout:{type:"custom",field_type:"backpack-collapsible",display_name:"Layout",keys:["position","order","spacing","cross_axis_stretch","direction","horizontal","justify","align","item_align","wrap","gap","marker","item_spacing"],default_value:{}},collapsible_appearance:{type:"custom",field_type:"backpack-collapsible",display_name:"Appearance",keys:["mono","theme","background","background_color","border_color","bg_color","content_color","color","icon_color","icon_bg_color","controls_background","controls_foreground","outline_color","ribbon_color","border","border_radius","withBorder","assets_radius","radius","thickness","shadow","text_align"],default_value:{}},collapsible_effects:{type:"custom",field_type:"backpack-collapsible",display_name:"Animation",keys:["transitionsOnEnter","transition","autoplay","autoplay_stagger","loop","play_highlighted_video","auto_play_videos","scroll_to_highlighted_slide_on_click","animated","hover_effect","parallax"],default_value:{}},collapsible_code_overrides:{type:"custom",field_type:"backpack-collapsible",display_name:"Code Overrides",keys:["custom_classname"],default_value:{}},collapsible_text:{type:"custom",field_type:"backpack-collapsible",display_name:"Text",keys:["position_align","align_without_inputs","text_color","description_text_color","hover_text_color"],default_value:{}}},hx=["item_flex","item_basis","item_width","item_height"],hw=["position","order","transitionsOnEnter","stretch"];var hk=r(11823);function h_(e,t,r){return{...e,[t]:r}}let hC=e=>{if(!e)return"";switch(e.linktype){case"story":return e.cached_url?null!=e&&e.anchor?`/${e.cached_url}#${e.anchor}`:`/${e.cached_url}`:"";case"email":return e.email||e.url||e.cached_url?h$(e.email||e.url||e.cached_url):"";default:return e.url?e.url:""}},h$=e=>e?e.startsWith("mailto:")?e:`mailto:${e}`:"",hS=({href:e,linktype:t})=>"email"===t?h$(e):e??"",hE=(e,t)=>{if(!e||!t)return;let r=[...new Set(t.map(e=>e.preset.preset.component))];if(r.length>1)throw Error("Presets must be for the same component");if(!r.includes(e))throw Error(`Presets for ${r} cannot be used in ${e}. Check they are attached to the correct component.`);return t};function hj(e,t){return(0,hk.X)(e.blok,t.blok)}let hN=e=>e?`-- ${e} --`:"----",hT=[{preset:{name:"Default",preset:{_uid:"a1d421a8-365f-417c-a856-70b072e302b8",design:"",content:{type:"doc",content:[{type:"paragraph",content:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",type:"text"}]}]},component:"sb-body-text",custom_classname:""},created_at:"2023-10-19T11:22:02.191Z",updated_at:"2023-10-19T11:22:02.191Z",image:`${ig.Bn}/Text/storyblok/sb-text-default.webp`,color:"",description:""}}],hP={position:{type:"custom",field_type:"backpack-layout",default_value:{s:{x:[1,5]}}},order:{type:"number",display_name:"Custom order",default_value:{}}};JSON.stringify(hP.position),JSON.stringify(hP.order);let hA={transitionsOnEnter:{display_name:"Enter on scroll",description:"Element will appear on scroll",type:"boolean",default_value:{}}},hO={...hP,...hA},hR={design:{type:"custom",field_type:"backpack-breakpoints-v2",options:[{name:"position",value:JSON.stringify(hO.position)},{name:"order",value:JSON.stringify(hO.order)},{name:"transitionsOnEnter",value:JSON.stringify(hO.transitionsOnEnter)}]}},hD={item_flex:{display_name:"Resize in layout",description:"Controls how this component sizes along the parent layout direction (row â width, column â height)",type:"custom",field_type:"backpack-toggle",options:[{value:"auto",name:"Auto",tooltip_text:"Elements resize based on available space"},{value:"grow",name:"Fill",tooltip_text:"Elements fill available space"},{value:"shrink",name:"Hug",tooltip_text:"Elements shrink if there is not enough available space"}],default_value:{s:"auto"}}
42,item_basis:{display_name:"Height/Width",description:"Specified size influences height or width depending on the flex direction. Takes precedence over custom Width.",type:"custom",field_type:"backpack-size",units:["fra"],default_value:{}},item_width:{display_name:"Width",description:'Set a manual width in % (e.g. 50 for 50%). Only applies if "Height/Width" is not set or set to "auto".',type:"number",default_value:{}}},hM={design:{type:"custom",field_type:"backpack-breakpoints-v2",options:[{name:"item_flex",value:JSON.stringify(hD.item_flex)},{name:"item_basis",value:JSON.stringify(hD.item_basis)},{name:"item_width",value:JSON.stringify(hD.item_width)}]}},hL={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["type"],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:(hb.collapsible_appearance.keys??[]).filter(e=>"text_align"!==e)},collapsible_text:{...hb.collapsible_text,keys:["text_align","variant","text_color","link_text_color","link_text_hover_color",hN(),"max_lines","text_overflow","view_more_text","view_less_text"]},...hc,...hh,...hv,...hO,...hD};function hI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function hF(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hI(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=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 o=r.call(e,t);if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hI(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}ig.Bn,[...hg],[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([hL.collapsible_size,hL.collapsible_layout,hL.collapsible_component,hL.collapsible_appearance,hL.collapsible_text,hL.collapsible_effects,hL.collapsible_code_overrides]),JSON.stringify(hL.spacing),JSON.stringify(hL.text_align),JSON.stringify(hL.variant),JSON.stringify(hL.max_lines),JSON.stringify(hL.text_overflow),JSON.stringify(hL.view_more_text),JSON.stringify(hL.view_less_text),JSON.stringify(hL.text_color),JSON.stringify(hL.link_text_color),JSON.stringify(hL.link_text_hover_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-body-text",hT);let hB=["component"],hV="heading",hz="paragraph",hH="blockquote",hU="ordered_list",hZ="bullet_list",hW="list_item",hK="bold",hq="italic",hG="underline",hJ="link",hY="styled",hX="subscript",hQ="superscript",h0="highlight",h1="textStyle";function h2(e,t={}){if("object"==typeof e&&"doc"===e.type&&Array.isArray(e.content)){let r=t.blokResolvers,o=void 0===r?{}:r,i=t.defaultBlokResolver,l=void 0===i?function(){return null}:i,s=t.nodeResolvers,d=t.markResolvers,c=t.textResolver,u=void 0===c?function(e){return e}:c,p=hF(hF({},h8),void 0===s?{}:s),f=hF(hF({},h9),void 0===d?{}:d),m=0,h=function(e){return I.isValidElement(e)?I.cloneElement(e,{key:m++}):e},g=function(e){let t=e?e.map(v).filter(function(e){return null!=e}):null;return Array.isArray(t)&&0===t.length?null:t},v=function(e){if("blok"===e.type)return e.attrs.body.map(function(e){let t=e.component,r=function(e,t){if(null==e)return{};var r,o,i=function(e,t){if(null==e)return{};var r,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)r=l[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,hB),i=o[t];return h(i?i(r):l(t,r))});{var t;let r;if("text"===e.type)r=u(e.text);else{let t=p[e.type];r=t?h(t(g(e.content),e.attrs)):null}return(null!==(t=e.marks)&&void 0!==t?t:[]).reduceRight(function(e,t){let r=f[t.type];return r?h(r(e,t.attrs)):e},r)}};return g(e.content)}if("string"==typeof e){let r=t.defaultStringResolver,o=t.textResolver;return(void 0===r?function(e){return e}:r)((void 0===o?function(e){return e}:o)(e))}return null}let h3=function(e){return function(t){return null!=t?I.createElement(e,null,t):null}},h4=function(e){return function(){return I.createElement(e)}},h6=function(e){return function(t){return I.createElement(e,null,t)}},h8={[hV]:function(e,t){return I.createElement(`h${t.level}`,null,e)},code_block:function(e,t){let r={className:t.class},o=I.createElement("code",r,e);return I.createElement("pre",null,o)},image:function(e,t){return I.createElement("img",t,e)},[hz]:h3("p"),[hH]:h3("blockquote"),[hU]:h3("ol"),[hZ]:h3("ul"),[hW]:h3("li"),horizontal_rule:h4("hr"),hard_break:h4("br"),emoji:function(e,t){if(!t)return null;let r={"data-type":"emoji","data-name":t.name,emoji:t.emoji};if(t.emoji||!t.fallbackImage)return I.createElement("span",r,t.emoji);{let e={src:t.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:t.name},o=I.createElement("img",e);return I.createElement("span",r,o)}}},h9={[hJ]:function(e,t){let r=t?{href:"email"===t.linktype?`mailto:${t.href}`:t.href,target:t.target}:{};return I.createElement("a",r,e)},[hY]:function(e,t){let r=t?{className:t.class}:{};return I.createElement("span",r,e)},[hK]:h6("b"),[hq]:h6("i"),strike:h6("s"),[hG]:h6("u"),code:h6("code"),[hX]:h6("sub"),[hQ]:h6("sup"),[h0]:function(e,t){let r=t?{style:{backgroundColor:t.color}}:{};return I.createElement("span",r,e)},[h1]:function(e,t){let r=t?{style:{color:t.color}}:{};return I.createElement("span",r,e)},anchor:function(e,t){let r=t?{id:t.id}:{};return I.createElement("span",r,e)}};var h5=r(38726),h7=r(96518),ge=r(83563);let gt=["s","m","l","xl","xxl"],gn=({bpHide:e,originalDisplayProperty:t="block"})=>e&&0!==Object.keys(e).length?gt.filter(t=>t in e&&void 0!==e[t]).map(r=>{let o=e[r],i="s"!==r?`${ge.r[r]}:`:"";if("show"===o)return`${i}${t}`;if("s"===r){let t=gt.slice(1).find(t=>"show"===e[t]);if(t)return`max-${ge.r[t]}:hidden`}return`${i}hidden`}
42).filter(Boolean):[];var gr=r(93042),ga=r(10633),go=r(81945);function gi(e){return e.toLowerCase()}var gl=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],gs=/[^A-Z0-9]+/gi;function gd(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(e,t){return e.replace(t,r)},e)}function gc(e,t){var r;return void 0===t&&(t={}),void 0===(r=(0,go.pi)({delimiter:"-"},t))&&(r={}),function(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,o=t.stripRegexp,i=t.transform,l=t.delimiter,s=gd(gd(e,void 0===r?gl:r,"$1\0$2"),void 0===o?gs:o,"\0"),d=0,c=s.length;"\0"===s.charAt(d);)d++;for(;"\0"===s.charAt(c-1);)c--;return s.slice(d,c).split("\0").map(void 0===i?gi:i).join(void 0===l?" ":l)}(e,(0,go.pi)({delimiter:"."},r))}let gu=["body","body-book","body-small","ui-label","ui-label-bold","ui-label-large","ui-label-small","ui-label-small-bold","ui-label-large-bold","small-print","small-print-bold","eyebrow","eyebrow-small","eyebrow-large"],gp=["s","m","l","xl","xxl"],gf=({variant:e,breakpoint:t})=>{let r=gc(e,{splitRegexp:/([a-z])([A-Z0-9])/g}),o=t&&1>=gp.indexOf(t);return gu.includes(r)?r:`${o?"mobile":"desktop"}-${r}`},gm=({variant:e})=>{if(!e||0===Object.keys(e).length)return["text-body"];if("string"==typeof e){let t=gc(e,{splitRegexp:/([a-z])([A-Z0-9])/g});return[`text-${gf({variant:e,breakpoint:"s"})}`,gu.includes(t)?"":`lg:text-${gf({variant:e,breakpoint:"l"})}`].filter(Boolean)}return Object.entries(Object.entries((0,iw.H2)(e)).reduce((e,[t,r])=>{let o=gf({variant:r,breakpoint:t}),i=1>=gp.indexOf(t),l={[t]:`text-${o}`};return i&&(l.l=`text-${gf({variant:r,breakpoint:"l"})}`),{...e,...l}},{})).reduce((e,[t,r])=>[...e,...r.split(" ").map(e=>`${(0,ge.c)(t)}${e}`)],[])},gh=({align:e})=>e&&0!==Object.keys(e).length?"string"==typeof e?[`text-${"inherit"===e?"align-inherit":e}`]:Object.entries(e).map(([e,t])=>t?`${(0,ge.c)(e)}text-${"inherit"===t?"align-inherit":t}
42`:"").filter(Boolean):[],gg=(0,B.An)({className:void 0}),gv=(0,B.An)({footerClassname:void 0,citationClassname:void 0}),gy=(0,B.c6)({slots:{root:"m-0 border-s-4 border-system-stroke-strong ps-m text-system-text-default",text:"text-mobile-header-4 lg:text-desktop-header-4",footer:"mt-8",citation:"font-normal not-italic text-ui-label"}}),gb=(0,I.forwardRef)((e,t)=>{let{children:r,className:o,themeConfig:i,...l}=e,{root:s,text:d,footer:c,citation:u}=(0,B.tv)(i?(0,B.RH)(gy,i):gy)(),p=(0,F.cn)("ef-blockquote",s(),o),f=[[gg,{className:d()}],[gv,{footerClassname:c(),citationClassname:u()}]];return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("blockquote",{ref:t,className:p,...l,children:(0,D.jsx)(it.o,{atomValues:f,children:r})})})});gb.displayName="Blockquote";let gx=(0,oG.cn)({className:void 0,as:"ul"}),gw=(0,oG.cn)({className:void 0,as:"ul"}),gk=(0,oG.cn)({className:void 0,as:"ul"}),g_=(0,oG.cn)({className:void 0,as:"ul"}),gC=(0,B.c6)({slots:{wrapper:"",list:"font-inherit list-none text-inherit",listItem:"[&::marker]:font-inherit text-inherit text-system-text-default text-body [&::marker]:text-inherit",listTitle:"text-inherit",listDescription:"text-inherit",customMarker:""},variants:{variant:{none:{list:""},marker:{list:""},border:{list:""}},firstItemTopSpacing:{true:{},false:{}},marker:{none:{listItem:""},disc:{listItem:"ms-5 list-disc"},decimal:{listItem:"ms-5 list-decimal"}},itemDivider:{true:"",false:""},as:{ul:{list:""},ol:{list:""},dl:{list:""}},layout:{default:{list:"",listTitle:"text-mobile-title-3",listDescription:""},grid:{wrapper:"@container",list:"ms-0 grid gap-2 @5xl:grid-cols-3 @5xl:gap-4",listItem:"text-desktop-title-3 has-[.ef-icon-marker]:ms-0 has-[.ef-icon-marker]:grid has-[.ef-icon-marker]:grid-cols-[auto_1fr] has-[.ef-icon-marker]:gap-x-4 has-[.ef-icon-marker]:gap-y-1 has-[.ef-icon-marker]:ps-0",listTitle:"col-start-2 col-end-2 text-mobile-title-3",listDescription:"col-start-2 col-end-2 text-body",customMarker:"col-start-1 col-end-1 mt-px flex items-center justify-center"},rows:{list:"ms-0 w-full @container",listItem:"grid grid-cols-[auto_1fr] text-desktop-title-3 @container/item has-[.ef-icon-marker]:ms-0 has-[.ef-icon-marker]:gap-x-2 has-[.ef-icon-marker]:gap-y-1 has-[.ef-icon-marker]:ps-0 @4xl:flex @4xl:gap-6",listTitle:"col-start-2 col-end-2 text-mobile-title-3 @4xl/item:basis-1/4",listDescription:"col-start-2 col-end-2 text-body @4xl/item:basis-3/4",customMarker:"col-start-1 col-end-1 row-span-2"}},itemSpacing:{xs:{list:""},s:{list:""},m:{list:""},l:{list:""},xl:{list:""}}},compoundVariants:[{layout:"grid",itemSpacing:"xs",class:{list:"gap-2 @5xl:gap-2"}},{layout:"grid",itemSpacing:"s",class:{list:"gap-4 @5xl:gap-4"}},{layout:"grid",itemSpacing:"m",class:{list:"gap-6 @5xl:gap-6"}},{layout:"grid",itemSpacing:"l",class:{list:"gap-l @5xl:gap-l"}},{layout:"grid",itemSpacing:"xl",class:{list:"gap-xl @5xl:gap-xl"}},{layout:"grid",marker:"disc",class:{listItem:"ms-4 ps-4"}},{layout:"grid",marker:"decimal",class:{listItem:"ms-4 ps-4"}},{layout:"default",variant:"none",class:{list:"list-none"}},{layout:"default",variant:"marker",class:{list:"ms-5 list-disc"}},{layout:"default",variant:"border",class:{listItem:"border-b border-components-dividers-default"}},{layout:"default",itemSpacing:"xs",class:{list:"space-y-xs"}},{layout:"default",itemSpacing:"s",class:{list:"space-y-s"}},{layout:"default",itemSpacing:"m",class:{list:"space-y-m"}},{layout:"default",itemSpacing:"l",class:{list:"space-y-l"}},{layout:"default",itemSpacing:"xl",class:{list:"space-y-xl"}},{variant:"marker",as:"ol",class:{list:"font-inherit ms-5 list-decimal text-inherit",listItem:"[&::marker]:font-inherit [&::marker]:text-inherit"}},{variant:"marker",as:"ul",class:{list:"list-disc"}},{layout:"rows",itemSpacing:"xs",class:{listItem:"py-xs @4xl:py-xs"}},{layout:"rows",itemSpacing:"s",class:{listItem:"py-s @4xl:py-s"}},{layout:"rows",itemSpacing:"m",class:{listItem:"py-m @4xl:py-m"}},{layout:"rows",itemSpacing:"l",class:{listItem:"py-l @4xl:py-l"}},{layout:"rows",itemSpacing:"xl",class:{listItem:"py-xl @4xl:py-xl"}},{layout:"rows",itemDivider:!0,class:{listItem:"border-t border-components-dividers-default first:border-t-0"}},{layout:"default",itemDivider:!0,class:{listItem:"border-t border-components-dividers-default first:border-t-0"}},{layout:"default",itemDivider:!0,itemSpacing:"xs",class:{listItem:"pt-xs first:pt-0"}},{layout:"default",itemDivider:!0,itemSpacing:"s",class:{listItem:"pt-s first:pt-0"}},{layout:"default",itemDivider:!0,itemSpacing:"m",class:{listItem:"pt-m first:pt-0"}},{layout:"default",itemDivider:!0,itemSpacing:"l",class:{listItem:"pt-l first:pt-0"}},{layout:"default",itemDivider:!0,itemSpacing:"xl",class:{listItem:"pt-xl first:pt-0"}},{firstItemTopSpacing:!0,itemSpacing:"xs",class:{listItem:"first:pt-xs"}},{firstItemTopSpacing:!0,itemSpacing:"s",class:{listItem:"first:pt-s"}},{firstItemTopSpacing:!0,itemSpacing:"m",class:{listItem:"first:pt-m"}},{firstItemTopSpacing:!0,itemSpacing:"l",class:{listItem:"first:pt-l"}},{firstItemTopSpacing:!0,itemSpacing:"xl",class:{listItem:"first:pt-xl"}}]});(0,B.c6)({slots:{wrapper:"flex w-full items-start gap-4 px-4",item:"flex flex-col justify-center rounded-full",heading:"",body:""}});let g$=(0,I.forwardRef)((e,t)=>{let{children:r,className:o,layout:i="default",themeConfig:l,as:s="ul",marker:d,itemSpacing:c="s",itemDivider:u,firstItemTopSpacing:p=!1,...f}=e,{list:m,listItem:h,listTitle:g,listDescription:v,customMarker:y,wrapper:b}=(0,B.tv)(l?(0,B.RH)(gC,l):gC)({as:s,marker:d,itemSpacing:c,itemDivider:u,layout:i,firstItemTopSpacing:p}),x=(0,F.cn)("ef-list",m(),o),w=[[gx,{className:h(),as:s}],[gw,{className:g(),as:s}],[gk,{className:v(),as:s}],[g_,{className:y(),as:s}]];return(0,D.jsx)(oQ.zt,{children:"grid"===i?(0,D.jsx)("div",{className:b(),children:(0,D.jsx)(s,{ref:t,className:x,...f,children:(0,D.jsx)(it.o,{atomValues:w,children:r})})}):(0,D.jsx)(s,{ref:t,className:x,...f,children:(0,D.jsx)(it.o,{atomValues:w,children:r})})})});g$.displayName="List";let gS=(0,I.forwardRef)((e,t)=>{let{children:r,className:o,...i}=e,{className:l,as:s}=(0,oQ.Dv)(gx),d=(0,F.cn)("ef-list-item",l,o);return(0,D.jsx)("dl"===s?"div":"li",{ref:t,className:d,...i,children:r})});gS.displayName="ListItem";
42let gE=[{preset:{name:"Default (Section)",preset:{_uid:"5f78e86d-f666-4386-8b59-58772c52287d",design:"",content:{type:"doc",content:[{type:"paragraph",content:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",type:"text"}]}]},component:"sb-text",custom_classname:""},created_at:"2023-10-19T11:22:20.446Z",updated_at:"2023-10-19T11:22:20.446Z",image:`${ig.Bn}/Text/storyblok/sb-text-default.webp`,color:"",description:""}},{preset:{name:"Default (Flex Group)",preset:{_uid:"b0edb1fc-7791-4080-b5b3-343c79958e02",design:{_uid:"a921406c-c897-4614-aa6f-5cf850e4c5c9",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"body"}},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},item_width:{type:"number",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",type:"text"}]}]},component:"sb-text",custom_classname:""},created_at:"2023-10-19T11:19:52.477Z",updated_at:"2023-10-19T11:19:52.477Z",image:`${ig.Bn}/Text/storyblok/sb-text-default.webp`,color:"",description:""}}],gj={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:(hb.collapsible_appearance.keys??[]).filter(e=>"text_align"!==e)},collapsible_text:{...hb.collapsible_text,keys:["text_align","variant","text_color","link_text_color","link_text_hover_color"]},...hc,...hf,...hv,...hO,...hD};ig.Bn,[...hg],[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([gj.collapsible_size,gj.collapsible_layout,gj.collapsible_component,gj.collapsible_appearance,gj.collapsible_text,gj.collapsible_effects,gj.collapsible_code_overrides]),JSON.stringify(gj.spacing),JSON.stringify(gj.text_align),JSON.stringify(gj.variant),JSON.stringify(gj.text_color),JSON.stringify(gj.link_text_color),JSON.stringify(gj.link_text_hover_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-text",gE);let gN=e=>I.createElement(I.Fragment,null,e),gT={[hY]:gN,[h0]:gN,[h1]:gN,[hG]:e=>(0,D.jsx)("span",{className:"underline [.ef-link_&]:no-underline",children:e})},gP=e=>{let{blok:t,renderCustomLink:r,...o}=e,{content:i,design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l},gj),c=(0,h5.qm)(d),u=gm({variant:null==d?void 0:d.variant}),p=gh({align:null==d?void 0:d.text_align}),f=(0,h7.N)(null==d?void 0:d.spacing),m=gn({bpHide:d.visibility}),h=(0,hr.t0)(null==c?void 0:c.text_color),g=(0,hr.vC)(h),v=(0,F.cn)("sb-text",f,m,g?"[--sb-text-color:var(--sb-text-color-light)] dark:[--sb-text-color:var(--sb-text-color-dark)]":"",s),y=g?{"--sb-text-color-light":h.light,"--sb-text-color-dark":h.dark,"--color-system-text-default":"var(--sb-text-color)"}:void 0,b=h2(i,{markResolvers:{[hJ]:(e,t)=>{let{href:o,target:i,linktype:l}=t,s=o?r??gr.r:"span",d=(0,hr.t0)(null==c?void 0:c.link_text_color),u=(0,hr.t0)(null==c?void 0:c.link_text_hover_color),p=!!(d.light||d.dark),f=!!(u.light||u.dark),m=p?{"--sb-text-link-color-light":d.light,"--sb-text-link-color-dark":d.dark,"--color-components-links-link-enabled":"var(--sb-text-link-color)","--color-components-links-in-text-enabled":"var(--sb-text-link-color)"}:{},h=f?{"--sb-text-link-hover-color-light":u.light,"--sb-text-link-hover-color-dark":u.dark,"--color-components-links-link-hover":"var(--sb-text-link-hover-color)","--color-components-links-in-text-hover":"var(--sb-text-link-hover-color)"}:{};return(0,D.jsx)(s,{href:hS({href:o,linktype:l}),target:i,style:{...m,...h},className:(0,F.cn)("ef-link",p?"[--sb-text-link-color:var(--sb-text-link-color-light)] dark:[--sb-text-link-color:var(--sb-text-link-color-dark)]":"",f?"[--sb-text-link-hover-color:var(--sb-text-link-hover-color-light)] dark:[--sb-text-link-hover-color:var(--sb-text-link-hover-color-dark)]":""),children:(0,D.jsx)(ga.u,{children:e})})},...gT},nodeResolvers:{[hz]:e=>(0,D.jsx)(aL.x,{...o,className:(0,F.cn)(p,u),children:e})}});return(0,D.jsx)("div",{className:v,style:y,...hl(t),children:b})};function gA(e,t){if(null==e)return{};var r={};for(var o in e)if(({}).hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;r[o]=e[o]}return r}gP.displayName="TextSB";var gO=r(51195);
42function gR(e,t){return(gR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var gD={exports:{}},gM={};gD.exports=function(){if(NQ)return gM;NQ=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case c:case u:case o:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case d:case p:case g:case h:case s:return e;default:return m}}case r:return m}}}function k(e){return w(e)===u}return gM.AsyncMode=c,gM.ConcurrentMode=u,gM.ContextConsumer=d,gM.ContextProvider=s,gM.Element=t,gM.ForwardRef=p,gM.Fragment=o,gM.Lazy=g,gM.Memo=h,gM.Portal=r,gM.Profiler=l,gM.StrictMode=i,gM.Suspense=f,gM.isAsyncMode=function(e){return k(e)||w(e)===c},gM.isConcurrentMode=k,gM.isContextConsumer=function(e){return w(e)===d},gM.isContextProvider=function(e){return w(e)===s},gM.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},gM.isForwardRef=function(e){return w(e)===p},gM.isFragment=function(e){return w(e)===o},gM.isLazy=function(e){return w(e)===g},gM.isMemo=function(e){return w(e)===h},gM.isPortal=function(e){return w(e)===r},gM.isProfiler=function(e){return w(e)===l},gM.isStrictMode=function(e){return w(e)===i},gM.isSuspense=function(e){return w(e)===f},gM.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===d||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},gM.typeOf=w,gM}();var gL=gD.exports,gI=r(80054),gF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},gB={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gV={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},gz={};function gH(e){return gL.isMemo(e)?gV:gz[e.$$typeof]||gF}gz[gL.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gz[gL.Memo]=gV;var gU=Object.defineProperty,gZ=Object.getOwnPropertyNames,gW=Object.getOwnPropertySymbols,gK=Object.getOwnPropertyDescriptor,gq=Object.getPrototypeOf,gG=Object.prototype;let gJ=(0,gI.fm)(function e(t,r,o){if("string"!=typeof r){if(gG){var i=gq(r);i&&i!==gG&&e(t,i,o)}var l=gZ(r);gW&&(l=l.concat(gW(r)));for(var s=gH(t),d=gH(r),c=0;c<l.length;++c){var u=l[c];if(!gB[u]&&!(o&&o[u])&&!(d&&d[u])&&!(s&&s[u])){var p=gK(r,u);try{gU(t,u,p)}catch{}}}}return t});var gY=I.createContext(),gX={initialChunks:{}},gQ="PENDING",g0="REJECTED",g1=function(e){var t=function(t){return I.createElement(gY.Consumer,null,function(r){return I.createElement(e,Object.assign({__chunkExtractor:r},t))})};return e.displayName&&(t.displayName=e.displayName+"WithChunkExtractor"),t},g2=function(e){return e};function g3(e){var t=e.defaultResolveComponent,r=void 0===t?g2:t,o=e.render,i=e.onLoad;function l(e,t){void 0===t&&(t={});var l="function"==typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e,s={};function d(e){return t.cacheKey?t.cacheKey(e):l.resolve?l.resolve(e):"static"}function c(e,o,i){var l=t.resolveComponent?t.resolveComponent(e,o):r(e);if(t.resolveComponent&&!gL.isValidElementType(l))throw Error("resolveComponent returned something that is not a React component!");return gJ(i,l,{preload:!0}),l}var u=function(e){var t=d(e),r=s[t];return r&&r.status!==g0||((r=l.requireAsync(e)).status=gQ,s[t]=r,r.then(function(){r.status="RESOLVED"},function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:l.resolve(e),chunkName:l.chunkName(e),error:t&&t.message}),r.status=g0})),r},p=g1(function(e){function r(r){var o;return(o=e.call(this,r)||this).state={result:null,error:null,loading:!0,cacheKey:d(r)},function(e,t){if(!e){var r=Error("loadable: "+t);throw r.framesToPop=1,r.name="Invariant Violation",r}}(!r.__chunkExtractor||l.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),r.__chunkExtractor?(!1===t.ssr||(l.requireAsync(r).catch(function(){return null}),o.loadSync(),r.__chunkExtractor.addChunk(l.chunkName(r))),function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o)):(!1!==t.ssr&&(l.isReady&&l.isReady(r)||l.chunkName&&gX.initialChunks[l.chunkName(r)])&&o.loadSync(),o)}r.prototype=Object.create(e.prototype),r.prototype.constructor=r,gR(r,e),r.getDerivedStateFromProps=function(e,t){var r=d(e);return(0,gO.Z)({},t,{cacheKey:r,loading:t.loading||t.cacheKey!==r})};var p=r.prototype;return p.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===g0&&this.setCache(),this.state.loading&&this.loadAsync()},p.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},p.componentWillUnmount=function(){this.mounted=!1},p.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},p.getCacheKey=function(){return d(this.props)},p.getCache=function(){return s[this.getCacheKey()]},p.setCache=function(e){void 0===e&&(e=void 0),s[this.getCacheKey()]=e},p.triggerOnLoad=function(){var e=this;i&&setTimeout(function(){i(e.state.result,e.props)})},p.loadSync=function(){if(this.state.loading)try{var e=l.requireSync(this.props),t=c(e,this.props,f);this.state.result=t,this.state.loading=!1}catch(e){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:l.resolve(this.props),chunkName:l.chunkName(this.props),error:e&&e.message}),this.state.error=e}},p.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then(function(t){var r=c(t,e.props,f);e.safeSetState({result:r,loading:!1},function(){return e.triggerOnLoad()})}).catch(function(t){return e.safeSetState({error:t,loading:!1})}),t},p.resolveAsync=function(){var e=this.props;return e.__chunkExtractor,e.forwardedRef,u(gA(e,["__chunkExtractor","forwardedRef"]))},p.render=function(){var e=this.props,r=e.forwardedRef,i=e.fallback;e.__chunkExtractor;var l=gA(e,["forwardedRef","fallback","__chunkExtractor"]),s=this.state,d=s.error,c=s.loading,u=s.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===gQ)throw this.loadAsync();if(d)throw d;var p=i||t.fallback||null;return c?p:o({fallback:p,result:u,options:t,props:(0,gO.Z)({},l,{ref:r})})},r}(I.Component)),f=I.forwardRef(function(e,t){return I.createElement(p,Object.assign({forwardedRef:t},e))});return f.displayName="Loadable",f.preload=function(e){f.load(e)},f.load=function(e){return u(e)},f}return{loadable:l,lazy:function(e,t){return l(e,(0,gO.Z)({},t,{suspense:!0}))}}}
42var g4=g3({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,r=e.props;return I.createElement(t,r)}}),g6=g4.loadable,g8=g4.lazy,g9=g3({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,r=e.props;return r.children?r.children(t):null}}),g5=g9.loadable,g7=g9.lazy;g6.lib=g5,g8.lib=g7;let ve=g6(()=>r.e(4591).then(r.bind(r,4591)),{resolveComponent:e=>e.SplitCharsAnimation}),vt=(0,I.forwardRef)(({variant:e="header2",as:t,children:r,animated:o=!1,className:i,...l},s)=>{let d=(0,F.cn)("ef-headline",i);return(0,D.jsx)(aL.x,{ref:s,as:t,variant:e,className:d,...l,children:o?(0,D.jsx)(ve,{children:r}):r})});vt.displayName="Headline";let vn=[{preset:{name:"Default",preset:{as:"h2",_uid:"83e1e826-3046-457a-a867-b5c894e2357c",design:"",content:"Lorem ipsum dolor sit amet",component:"sb-headline",custom_classname:""},created_at:"2023-10-19T11:22:38.308Z",updated_at:"2023-10-19T11:22:38.308Z",image:`${ig.Bn}/Text/storyblok/sb-headline-default.webp`,color:"",description:""}}],vr={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:(hb.collapsible_appearance.keys??[]).filter(e=>"text_align"!==e)},collapsible_text:{...hb.collapsible_text,keys:["text_align","variant","text_color"]},...hc,...hm,...hv,...hO,...hD};ig.Bn,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([vr.collapsible_size,vr.collapsible_layout,vr.collapsible_component,vr.collapsible_appearance,vr.collapsible_text,vr.collapsible_effects,vr.collapsible_code_overrides]),JSON.stringify(vr.spacing),JSON.stringify(vr.text_align),JSON.stringify(vr.variant),JSON.stringify(vr.animated),JSON.stringify(vr.text_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-headline",vn);var va=r(74752);let vo=e=>{let{blok:t,className:r}=e,{as:o="h2",content:i,design:l,custom_classname:s}=t,d=(0,I.useRef)(null),c=(0,va.S)(d,{freezeOnceVisible:!0}),u=!!(null!=c&&c.isIntersecting),p=(0,h5.mi)({design:l},vr),f=(0,h5.qm)(p),m=gm({variant:null==p?void 0:p.variant}),h=gh({align:null==p?void 0:p.text_align}),g=(0,h7.N)(null==p?void 0:p.spacing),v=gn({bpHide:p.visibility}),y=(0,hr.t0)(null==f?void 0:f.text_color),b=(0,hr.vC)(y),x=(0,F.cn)("sb-headline",g,v,m,h,b?"[--sb-headline-text-color:var(--sb-headline-text-color-light)] dark:[--sb-headline-text-color:var(--sb-headline-text-color-dark)]":"",s,r),w=b?{"--sb-headline-text-color-light":y.light,"--sb-headline-text-color-dark":y.dark,"--color-system-text-default":"var(--sb-headline-text-color)"}:void 0;return(0,D.jsx)(vt,{as:o,ref:d,animated:u&&(null==f?void 0:f.animated),variant:(null==f?void 0:f.variant)??"header2",style:w,className:(0,F.cn)(x),...hl(t),children:i})};vo.displayName="HeadlineSB";var vi=r(34600);let vl=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,160H48l80-80Z",opacity:"0.2"}),I.createElement("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"}))]]);var vs=Object.defineProperty,vd=Object.defineProperties,vc=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,vp=Object.prototype.hasOwnProperty,vf=Object.prototype.propertyIsEnumerable,vm=(e,t,r)=>t in e?vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vh=(e,t)=>{for(var r in t||(t={}))vp.call(t,r)&&vm(e,r,t[r]);if(vu)for(var r of vu(t))vf.call(t,r)&&vm(e,r,t[r]);return e},vg=(e,t)=>vd(e,vc(t));let vv=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,vg(vh({ref:t},e),{weights:vl})));
42vv.displayName="CaretUp";var vy=r(36813);let vb=g6(()=>Promise.resolve().then(r.bind(r,56896)).then(e=>e.Button)),vx=e=>{let{blok:t,resolvers:r={},renderCustomLink:o}=e,{text_color:i,design:l,content:s,className:d,children:c}=t,[u,p]=(0,I.useState)(!0),f=(0,h5.mi)({design:l},hL),m=(0,h5.qm)(f),h=(0,h7.N)(null==f?void 0:f.spacing),g=gn({bpHide:f.visibility}),v=(0,hr.t0)(null==m?void 0:m.text_color),y=(0,hr.t0)(null==m?void 0:m.link_text_color),b=(0,hr.t0)(null==m?void 0:m.link_text_hover_color),x=(0,hr.vC)(v),w=(0,hr.vC)(y),k=(0,hr.vC)(b),{root:_,block:C,listItem:$,viewMoreButton:S,list:E,oList:j}=(0,B.tv)(vy.I2)(),N=gh({align:null==f?void 0:f.text_align}),T=(0,F.cn)("sb-body-text-block",_(),h,g,N,x?"[--sb-body-text-color:var(--sb-body-text-color-light)] dark:[--sb-body-text-color:var(--sb-body-text-color-dark)]":"",u&&null!=m&&m.max_lines?`line-clamp-${m.max_lines}`:"line-clamp-none",d),P=(0,F.cn)("light"===i?"-inv":"","-no-max-width"),{markResolvers:A,nodeResolvers:O,blokResolvers:R,...M}=r,L={[hJ]:(e,t)=>{let{href:r,target:i,anchor:l,linktype:s}=t,d=l?`${r}#${l}`:r,c=d?o??gr.r:"span",u={...w?{"--sb-body-text-link-color-light":y.light,"--sb-body-text-link-color-dark":y.dark,"--color-components-links-link-enabled":"var(--sb-body-text-link-color)","--color-components-links-in-text-enabled":"var(--sb-body-text-link-color)"}:{},...k?{"--sb-body-text-link-hover-color-light":b.light,"--sb-body-text-link-hover-color-dark":b.dark,"--color-components-links-link-hover":"var(--sb-body-text-link-hover-color)","--color-components-links-in-text-hover":"var(--sb-body-text-link-hover-color)"}:{}},p=(0,F.cn)(N,w?"[--sb-body-text-link-color:var(--sb-body-text-link-color-light)] dark:[--sb-body-text-link-color:var(--sb-body-text-link-color-dark)]":"",k?"[--sb-body-text-link-hover-color:var(--sb-body-text-link-hover-color-light)] dark:[--sb-body-text-link-hover-color:var(--sb-body-text-link-hover-color-dark)]":"");return(0,D.jsx)(gr.r,{asChild:!0,className:p,href:hS({href:d,linktype:s}),target:i,style:u,children:(0,D.jsx)(c,{children:(0,D.jsx)(ga.u,{children:e})})})},[hX]:e=>(0,D.jsx)("sub",{children:e}),[hQ]:e=>(0,D.jsx)("sup",{children:e}),...gT,...A},V=s?h2(s,{markResolvers:L,nodeResolvers:{[hU]:e=>(0,D.jsx)(g$,{as:"ol",marker:"decimal",itemSpacing:"xs",className:(0,F.cn)(P,j(),"font-inherit text-inherit"),children:e}),[hZ]:e=>(0,D.jsx)(g$,{as:"ul",marker:"disc",itemSpacing:"xs",className:(0,F.cn)(P,E()),children:e}),[hW]:e=>{let t=null!=m&&m.variant?gm({variant:null==m?void 0:m.variant}):[];return(0,D.jsx)(gS,{className:(0,F.cn)($(),t),children:e})},[hz]:e=>{let t=null!=m&&m.variant?[]:gm({variant:null==f?void 0:f.variant});return(0,D.jsx)(aL.x,{variant:(null==m?void 0:m.variant)||"body",className:(0,F.cn)(C(),t,N),children:e})},[hV]:(e,t)=>{let r=(null==t?void 0:t.level)||2,o=`header${r}`;return(0,D.jsx)(aL.x,{variant:o,as:`h${r}`,className:(0,F.cn)(C(),N),children:e})},[hH]:e=>(0,D.jsx)(gb,{className:(0,F.cn)(C()),children:e}),...O},blokResolvers:{"sb-text":e=>(0,D.jsx)(gP,{blok:e,className:(0,F.cn)(C())}),"sb-headline":e=>(0,D.jsx)(vo,{blok:e,className:(0,F.cn)(C())}),...R},...M}):null,z=((null==m?void 0:m.view_more)&&(null==m?void 0:m.text_overflow)!=="truncate"||(null==m?void 0:m.text_overflow)==="expandable")&&(null==m?void 0:m.max_lines);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:T,style:x?{"--sb-body-text-color-light":v.light,"--sb-body-text-color-dark":v.dark,"--color-system-text-default":"var(--sb-body-text-color)"}:void 0,...hl(t),children:[V,c]}),z?(0,D.jsx)("div",{className:"flex justify-end",children:(0,D.jsx)(vb,{variant:"link",size:"small",onPress:()=>{p(!u)},className:(0,F.cn)(S(),x?"[--sb-body-text-view-more-color:var(--sb-body-text-view-more-color-light)] dark:[--sb-body-text-view-more-color:var(--sb-body-text-view-more-color-dark)]":""),style:x?{"--sb-body-text-view-more-color-light":v.light,"--sb-body-text-view-more-color-dark":v.dark,"--color-components-buttons-ghost-enabled-foreground":"var(--sb-body-text-view-more-color)"}:void 0,children:u?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(vi.p,{weight:"bold"})," ",null==m?void 0:m.view_more_text]}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(vv,{weight:"bold"})," ",null==m?void 0:m.view_less_text]})})}):null]})};vx.displayName="BodyTextSB";let vw=e=>{let t=!((null==e?void 0:e.linktype)==="story"&&!(null!=e&&e.id))&&(null!=e&&e.cached_url||null!=e&&e.url)?e.cached_url||e.url:void 0;return(null==e?void 0:e.linktype)==="story"&&t&&!t.startsWith("/")?`/${t}`:t},vk=(e,t)=>{var r,o,i,l,s,d;let c=(null==e?void 0:e.child_links)&&(null==(r=null==e?void 0:e.child_links)?void 0:r.length)>0,u=((null==e?void 0:e.show_external_link_icon)??!0)&&(null==(o=null==e?void 0:e.link)?void 0:o.linktype)==="url",p=(null==e?void 0:e.isExternal)||u,f=vw(null==e?void 0:e.link),m={
42id:null==e?void 0:e._uid,link:f,title:null==e?void 0:e.title,subLabel:null==e?void 0:e.sub_label,target:(null==(i=null==e?void 0:e.link)?void 0:i.target)||void 0,showExternalIcon:p,isExternal:p,iconSvgData:null==(s=null==(l=null==e?void 0:e.icon)?void 0:l.selectedIcon)?void 0:s.data};return c?{...m,menuLinks:null==(d=e.child_links)?void 0:d.filter(Boolean).map(e=>vk(e))}:{...m,tagText:null==e?void 0:e.tag_text}},v_=(e,t)=>null==e?void 0:e.filter(Boolean).map(e=>{var t,r;return{...vk(e),subMenuLayout:e.category_layout,shortcuts:null==(t=null==e?void 0:e.shortcut_links)?void 0:t.filter(Boolean).map(e=>vk(e)),shortcutsLabel:null==e?void 0:e.shortcuts_label,subMenu:e.child_links?null==(r=e.child_links)?void 0:r.filter(Boolean).map(e=>vk(e)):void 0}}),vC=e=>!!e&&!1!==e.visible,v$=e=>{var t,r,o,i,l;return{id:null==e?void 0:e._uid,icon:null!=(r=null==(t=null==e?void 0:e.icon)?void 0:t.selectedIcon)&&r.data?(0,D.jsx)(a4,{src:null==(i=null==(o=null==e?void 0:e.icon)?void 0:o.selectedIcon)?void 0:i.data}):void 0,children:null==(l=null==e?void 0:e.text)?void 0:l.map(e=>(0,D.jsx)(vx,{blok:e},e._uid)),timeout:null!=e&&e.timeout?Number(e.timeout):void 0}},vS=e=>{var t,r;let o=null==(t=null==e?void 0:e.announcement_bar)?void 0:t.find(vC);return{siteData:{siteName:null==e?void 0:e.site_name,siteSubHeading:null==e?void 0:e.site_sub_heading,siteUrl:vw(null==e?void 0:e.site_url),backLabel:null==e?void 0:e.back_label,menuLabel:null==e?void 0:e.menu_label,closeLabel:null==e?void 0:e.close_label},ctaLinks:null==(r=null==e?void 0:e.cta_links)?void 0:r.filter(Boolean).map(e=>{var t,r,o,i;return{...vk(e),variant:e.variant,bgColor:null==(r=null==(t=e.bg_color)?void 0:t.selected)?void 0:r.value,color:null==(i=null==(o=e.color)?void 0:o.selected)?void 0:i.value,size:e.size,shape:e.shape}}),announcementBar:o?v$(o):void 0,variant:null==e?void 0:e.variant,disableMenuOverlay:null==e?void 0:e.disable_menu_overlay}},vE=e=>{var t,r,o,i;return{id:e._uid,title:e.title,link:vw(null==e?void 0:e.link),iconSvgData:null==(r=null==(t=null==e?void 0:e.icon)?void 0:t.selectedIcon)?void 0:r.data,isExternal:(null==e?void 0:e.show_external_link_icon)&&(null==(o=null==e?void 0:e.link)?void 0:o.linktype)==="url",menuLinks:null==(i=null==e?void 0:e.child_links)?void 0:i.filter(Boolean).map(e=>vk(e))}},vj=(e,t)=>{if(!t)return e;let r=(e,t)=>e&&null!=t&&t.length?e.map(e=>{let r=t.find(t=>t.id===e.id);return r?{...e,...r}:e}):e;return{...e,...t,header:t.header?{...e.header,...t.header}:e.header,bodyLinks:r(e.bodyLinks,t.bodyLinks),footer:r(e.footer,t.footer)}},vN=e=>{var t,r;return{header:null!=e&&e.title?{title:e.title,avatar:null==e?void 0:e.avatar,subtitle:null==e?void 0:e.subtitle}:void 0,bodyLinks:null==(t=null==e?void 0:e.body_links)?void 0:t.filter(Boolean).map(e=>"sb-nav-bar-folder"===e.component?vE(e):vk(e)),footer:null==(r=null==e?void 0:e.footer_links)?void 0:r.filter(Boolean).map(e=>vk(e)),moreBackLabel:(null==e?void 0:e.more_back_label)||void 0,overviewLabel:(null==e?void 0:e.overview_label)||void 0,moreLabel:(null==e?void 0:e.more_label)||void 0,collapseLabel:(null==e?void 0:e.collapse_label)||void 0,expandLabel:(null==e?void 0:e.expand_label)||void 0,notificationsLabel:(null==e?void 0:e.notifications_label)||void 0}},vT=(0,I.forwardRef)((e,t)=>{var r,o,i;let{blok:l,utilityBarData:s,navigationBarData:d,currentSegment:c,children:u,className:p,...f}=e,m=(0,F.cn)("sb-backpack-header",p),h=(0,I.useMemo)(()=>({header:vS(l),menuLinks:v_(null==l?void 0:l.nav_links)}),[l]),g=(0,I.useMemo)(()=>({...s??{},links:[...null!=l&&l.utility_bar?v_(l.utility_bar):[],...(null==s?void 0:s.links)??[]]}),[l,s]),v=(0,I.useCallback)(()=>"/"===c?"/home/":c??"",[c]),y=(0,I.useCallback)(e=>{var t,r;return(0,D.jsx)(a4,{...e,src:null==(r=null==(t=null==l?void 0:l.site_logo)?void 0:t.selectedIcon)?void 0:r.data})},[null==(o=null==(r=null==l?void 0:l.site_logo)?void 0:r.selectedIcon)?void 0:o.data]),b=null==(i=null==l?void 0:l.navigation_bar)?void 0:i[0],x=(0,I.useMemo)(()=>b?vj(vN(b),d):void 0,[b,d]);return b?(0,D.jsx)(mJ,{...mX(l),className:m,headerProps:{data:h,utilityBarData:g,variant:(null==l?void 0:l.variant)??"condensed",logoVariant:null==l?void 0:l.product_logo_variant,staticHeader:null==l?void 0:l.static,productLogo:y,activeSlug:v,...f},navigationBarData:x,navigationBarProps:{collapsible:b.collapsible??!0},children:u}):(0,D.jsx)(lD,{...mX(l),ref:t,className:m,data:h,utilityBarData:g,variant:(null==l?void 0:l.variant)??"condensed",logoVariant:null==l?void 0:l.product_logo_variant,staticHeader:null==l?void 0:l.static,productLogo:y,activeSlug:v,...f})});vT.displayName="BackpackHeaderSB";var vP=r(90512);let vA=e=>{let{blok:t}=e,{body:r,background_color:o,mono:i,theme:l}=t,s={backgroundColor:(0,hr.z$)(o)};return(0,D.jsx)("main",{...(0,ha.LF)(t),style:s,className:(0,vP.Z)(l,i&&"mono"),children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})};
42var vO=r(25675),vR=r.n(vO),vD=r(1258);let vM={s:6,m:6,l:16,xl:16,xxl:16},vL=e=>{let t={};for(let r of Object.keys(e)){let o=e[r];void 0!==o&&"auto"!==o&&(t[r]=o)}return t},vI=({position:e,viewport_sizes:t})=>{let r;if(typeof e>"u"&&typeof t>"u")return;let o=(0,iw.H2)(vL(e??{})),i=(0,iw.H2)(vL(t??{})),l=(0,iw.H2)(Object.entries(o??{}).reduce((e,[t,r])=>{let o=r.x;if(typeof o>"u")return e;let i=vM[t];if(!i||0===i)return console.warn(`Invalid maxColsPerBp value for breakpoint '${t}': ${i}`),e;let l=Number(o[1])-Number(o[0]);if(l<=0)return e;let s=Math.round(l/i*100);return 0===s||(e[t]=`${s}vw`),e},{s:"100vw"})),s=(0,iw.H2)({...l,...i}),d=Object.keys(s),c=d[d.length-1],u=c?s[c]:void 0;"string"==typeof u&&u.endsWith("vw")&&typeof(null==i?void 0:i[c])>"u"&&(s.xxl=`${Math.round(parseInt(u,10)/100*ig.V4)}px`);let p=Object.entries(s).reduce((e,[t,o])=>("string"!=typeof o||o===r||(r=o,e.push(`${"s"!==t?`(min-width: ${ig.AV[t]}px) `:""}${o}`)),e),[]).reverse().join(", ").trim();return p&&`auto, ${p}`},vF={none:"none",xxs:"xxs",xs:"xs",s:"sm",sm:"sm",m:"md",md:"md",l:"lg",lg:"lg",xl:"xl",full:"full"},vB={none:"[--inner-border-radius:var(--border-radius-none)]",xxs:"[--inner-border-radius:var(--border-radius-xxs)]",xs:"[--inner-border-radius:var(--border-radius-xs)]",sm:"[--inner-border-radius:var(--border-radius-s)]",md:"[--inner-border-radius:var(--border-radius-m)]",lg:"[--inner-border-radius:var(--border-radius-l)]",xl:"[--inner-border-radius:var(--border-radius-xl)]",full:"[--inner-border-radius:var(--border-radius-full)]"},vV=(e,t)=>{if(!e||0===Object.keys(e).length||typeof e>"u")return"";let{withInnerRadiusVariable:r=!1}=t||{};return Object.entries(e).reduce((e,[t,o])=>{let i;let l="s"!==t?`${ge.r[t]}:`:"";if("string"==typeof o){let t=vF[o]||o,i=`${l}rounded-${t}`,s=vB[t],d=r&&s?`${l}${s}`:"";return`${e}${e?" ":""}${i}${d?" "+d:""}`}if(null==o)return e;let s=[],d=[];if("object"==typeof o&&null!==o&&"rounded"in o&&(i=o.rounded),Object.entries(o).forEach(([e,t])=>{let r=vF[t]||t;s.push(`${l}${e}-${r}`)}),!i&&"object"==typeof o&&null!==o){for(let e of["rounded-ts","rounded-te","rounded-bs","rounded-be"])if(o[e]){i=o[e];break}}if(r&&i){let e=vB[vF[i]||i];e&&d.push(`${l}${e}`)}let c=[...s,...d].join(" ");return`${e}${e?" ":""}${c}`},"")},vz=({variant:e="content",modal:t=!0,open:r,defaultOpen:o,onOpenChange:i,size:l="lightbox"===e?"xl":"s",radius:s,position:d,children:c,className:u,overlayClassName:p,allowThirdPartyInteractions:f=!1,onInteractOutside:m,mobileFullscreen:h=!0,trapFocus:g=!0,themeConfig:v,hideScrollbars:y=!1,closeButtonAttributes:b,...x})=>{let{ModalContentSlot:w,ModalTriggerSlot:k}=(0,ir.F)(c,{ModalContent:o8,ModalTrigger:ii}),_=(0,ie.s0)(),C=(0,ie.pP)(_),{overlay:$,contentWrapper:S,content:E,dismiss:j}=(0,B.tv)(v?(0,B.RH)(ia,v):ia)({variant:e,size:l,radius:s,position:d,mobileFullscreen:h,hideScrollbars:y}),N=(0,F.cn)("ef-modal-overlay",$(),C,p,u),T=(0,F.cn)("ef-modal-content",S()),P=(0,F.cn)("ef-modal-dismiss",j()),A=[[o3,{className:E()}]],O=e=>{if(!(!m&&!f)){if(f&&!m){e.preventDefault();return}null==m||m(e)}},R=e=>{e&&f&&setTimeout(()=>{document.body.style.pointerEvents="auto"},0),i&&i(e)};return(0,D.jsxs)(o5.fC,{modal:t,open:r,onOpenChange:e=>R(e),defaultOpen:o,children:[k,(0,D.jsx)(o5.h_,{children:(0,D.jsxs)(o5.aV,{className:N,...x,children:["lightbox"===e&&(0,D.jsx)(vH,{modalDismissClasses:P,closeButtonAttributes:b}),(0,D.jsxs)(o5.VY,{tabIndex:g?void 0:-1,onFocus:g?void 0:e=>e.currentTarget.blur(),...w.props,className:T,onInteractOutside:e=>O(e),children:["lightbox"!==e&&(0,D.jsx)(vH,{modalDismissClasses:P,closeButtonAttributes:b}),(0,D.jsx)(it.o,{atomValues:A,children:w})]})]})})]})},vH=({modalDismissClasses:e,closeButtonAttributes:t})=>(0,D.jsx)(o5.x8,{className:e,asChild:!0,children:(0,D.jsx)(e7.Button,{as:"button",variant:"ghost",shape:"round",size:"small",...t,"aria-label":"Dismiss",children:(0,D.jsx)(o9.X,{weight:"bold"})})});vz.displayName="Modal";var vU=r(76121);let vZ=(0,I.forwardRef)((e,t)=>{let{aspectRatios:r={s:"natural"},alt:o="",src:i="",className:l,radius:s,style:d={},themeConfig:c,variant:u,asChild:p=!1,sizes:f,children:m,...h}=e,g=p?ik.g:iV,[v,y]=(0,I.useState)(!1),[b,x]=(0,I.useState)(!1),w=(0,I.useRef)(null),{imgRoot:k,img:_,modalImgRoot:C,modalImg:$,modalDismissButton:S,modalOverlay:E}=(0,B.tv)(c?(0,B.RH)(iA,c):iA)({transitioning:b}),{buttonProps:j}=(0,vU.U)({elementType:"div",onPress:()=>
42{if(!document.startViewTransition){y(!0);return}x(!0),document.startViewTransition(()=>{(0,eD.flushSync)(()=>{x(!1),y(!0)})})},"aria-label":`View ${o} in fullscreen`},w);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(e9.t,{children:(0,D.jsx)("div",{ref:w,...j,children:(0,D.jsx)(g,{alt:o,src:i,radius:s,variant:u,aspectRatios:r,style:d,className:(0,F.cn)(l,"cursor-pointer"),asChild:p,themeConfig:{slots:{root:(0,F.cn)(k()),img:(0,F.cn)(_())}},ref:t,sizes:f,...h,children:m})})}),(0,D.jsx)(vz,{variant:"lightbox",open:v,onOpenChange:e=>y(e),themeConfig:{slots:{content:(0,F.cn)("z-[1]")},variants:{variant:{lightbox:{overlay:(0,F.cn)(E()),dismiss:(0,F.cn)(S(),v&&!b?"z-[2]":"")}}}},children:(0,D.jsx)(o8,{children:(0,D.jsx)(g,{alt:o,src:i,radius:s,variant:u,aspectRatios:r,style:d,asChild:p,themeConfig:{slots:{root:(0,F.cn)(C()),img:(0,F.cn)($())}},ref:t,sizes:v?"100vw":f,...h,children:m})})})]})});vZ.displayName="ExpandableImage",ig.Bn,ig.Bn;let vW={aspect_ratio:{type:"option",display_name:"Aspect ratio",options:[{name:"Original size",value:"natural"},{name:"3/2",value:"3/2",icon:`${ig.GT}/aspect_3-2.svg`},{name:"1/1",value:"1/1",icon:`${ig.GT}/aspect_1-1.svg`},{name:"2/1",value:"2/1",icon:`${ig.GT}/aspect_2-1.svg`},{name:"16/9",value:"16/9",icon:`${ig.GT}/aspect_16-9.svg`},{name:"2/3",value:"2/3",icon:`${ig.GT}/aspect_2-3.svg`},{name:"4/3",value:"4/3",icon:`${ig.GT}/aspect_4-3.svg`},{name:"3/4",value:"3/4",icon:`${ig.GT}/aspect_3-4.svg`},{name:"9/16",value:"9/16",icon:`${ig.GT}/aspect_9-16.svg`},{name:"18/9",value:"18/9",icon:`${ig.GT}/aspect_18-9.svg`},{name:"9/18",value:"9/18",icon:`${ig.GT}/aspect_9-18.svg`},{name:"21/9",value:"21/9",icon:`${ig.GT}/aspect_21-9.svg`},{name:"5/4",value:"5/4",icon:`${ig.GT}/aspect_5-4.svg`},{name:"4/5",value:"4/5",icon:`${ig.GT}/aspect_4-5.svg`},{name:"3/1",value:"3/1",icon:`${ig.GT}/aspect_3-1.svg`},{name:"1/2",value:"1/2",icon:`${ig.GT}/aspect_1-2.svg`}],default_value:{}}};JSON.stringify(vW.aspect_ratio);let vK={border_radius:{type:"custom",field_type:"backpack-rounded",options:[{value:"none",secondaryText:"zero",name:"0px"},{value:"xxs",secondaryText:"XXS",name:"4px"},{value:"xs",secondaryText:"XS",name:"8px"},{value:"s",secondaryText:"S",name:"16px"},{value:"m",secondaryText:"M",name:"24px"},{value:"l",secondaryText:"L",name:"32px"},{value:"full",secondaryText:"Full",name:"Round"}],default_value:{}},viewport_size:{type:"option",display_name:"Image optimisation",description:"Assign the display width for this image. This doesnât change its layout, but tells the browser exactly which file size to fetch for faster loading.",options:[{value:"auto",name:"Auto"},{value:"25vw",name:"25% of the screen"},{value:"33vw",name:"33% of the screen"},{value:"50vw",name:"50% of the screen"},{value:"66vw",name:"66% of the screen"},{value:"75vw",name:"75% of the screen"},{value:"100vw",name:"100% of the screen"}],default_value:{s:"auto"}},variant:{display_name:"Border type",type:"option",exclude_empty_option:!0,options:[{value:"outline",name:"Outline"},{value:"shadow-s",name:"Shadow Small"},{value:"shadow-m",name:"Shadow Medium"},{value:"shadow-l",name:"Shadow Large"},{value:"shadow-xl",name:"Shadow Extra Large"}],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},outline_color:{display_name:"Border color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...vW},vq={"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx},vG={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:["outline_color","border_radius","variant"]},...vK,...hv,...hO,...hD};ig.Bn,JSON.stringify(vq),[JSON.stringify(vq),JSON.stringify([vG.collapsible_size,vG.collapsible_layout,vG.collapsible_component,vG.collapsible_appearance,vG.collapsible_text,vG.collapsible_effects,vG.collapsible_code_overrides]),JSON.stringify(vG.spacing),JSON.stringify(h_(vG.aspect_ratio,"default_value",{s:"natural"})),JSON.stringify(vG.variant),JSON.stringify(vG.viewport_size),JSON.stringify(vG.border_radius),JSON.stringify(vG.outline_color),...hy.design.options,...hR.design.options,...hM.design.options];let vJ=()=>vG,vY=(0,B.c6)({slots:{root:"relative grid grid-cols-[auto_1fr] gap-x-xs rounded-sm p-s",arrow:"absolute",title:"h-fit min-w-fit font-bold text-system-text-default",description:"h-fit min-w-fit text-system-text-default",icon:"col-span-1 row-span-2 h-fit w-fit "},variants:{intent:{info:{root:"border border-system-stroke-info bg-system-surface-info-weak",arrow:"fill-system-surface-info-weak text-system-stroke-info",icon:"text-system-vector-info-on-weak",title:"text-system-text-info-on-weak",description:"text-system-text-info-on-weak"},success:{root:"border border-system-stroke-success-on-weak bg-system-surface-success-weak",arrow:"fill-system-surface-success-weak text-system-stroke-success-on-weak",icon:"text-system-vector-success-on-weak",title:"text-system-text-success-on-weak",description:"text-system-text-success-on-weak"},warning:{root:"border border-system-stroke-warning-on-weak bg-system-surface-warning-weak",arrow:"fill-system-surface-warning-weak text-system-stroke-warning-on-weak",icon:"text-system-vector-warning-on-weak",title:"text-system-text-warning-on-weak",description:"text-system-text-warning-on-weak"},attention:{root:"border border-system-stroke-attention-on-weak bg-system-surface-attention-weak",arrow:"fill-system-surface-attention-weak text-system-stroke-attention-on-weak",icon:"text-system-vector-attention-on-weak",title:"text-system-text-attention-on-weak",description:"text-system-text-attention-on-weak"}},pointerSide:{topStart:{arrow:"left-4 top-[-9px]"},topCenter:{arrow:"left-0 right-0 top-[-9px] mx-auto"},topEnd:{arrow:"right-4 top-[-9px]"},bottomStart:{arrow:"bottom-[-9px] left-4 rotate-180 "},bottomCenter:{arrow:"bottom-[-9px] left-0 right-0 mx-auto rotate-180"},bottomEnd:{arrow:"bottom-[-9px] right-4 rotate-180"},right:{arrow:"bottom-0 right-[-15px] top-0 my-auto rotate-90"},left:{arrow:"bottom-0 left-[-15px] top-0 my-auto -rotate-90"}}}});var vX=r(88393);
42let vQ=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),I.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var v0=Object.defineProperty,v1=Object.defineProperties,v2=Object.getOwnPropertyDescriptors,v3=Object.getOwnPropertySymbols,v4=Object.prototype.hasOwnProperty,v6=Object.prototype.propertyIsEnumerable,v8=(e,t,r)=>t in e?v0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,v9=(e,t)=>{for(var r in t||(t={}))v4.call(t,r)&&v8(e,r,t[r]);if(v3)for(var r of v3(t))v6.call(t,r)&&v8(e,r,t[r]);return e},v5=(e,t)=>v1(e,v2(t));let v7=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,v5(v9({ref:t},e),{weights:vQ})));v7.displayName="Info";let ye=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),I.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,
42151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]);var yt=Object.defineProperty,yn=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,yi=Object.prototype.propertyIsEnumerable,yl=(e,t,r)=>t in e?yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ys=(e,t)=>{for(var r in t||(t={}))yo.call(t,r)&&yl(e,r,t[r]);if(ya)for(var r of ya(t))yi.call(t,r)&&yl(e,r,t[r]);return e},yd=(e,t)=>yn(e,yr(t));let yc=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,yd(ys({ref:t},e),{weights:ye})));yc.displayName="Warning";var yu=r(13178);let yp=({className:e,...t})=>(0,D.jsxs)("svg",{className:(0,F.cn)("ef-alert-pointer",e),width:"21",height:"9",viewBox:"0 0 21 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,D.jsx)("path",{d:"M20.0098 8.5C18.4698 8.46959 17.4398 7.34449 17.4398 7.34449L11.2998 1.1412C10.5298 0.299904 9.50977 0.279632 8.74977 1.12093L2.58977 7.34449C2.58977 7.34449 1.55977 8.46959 0.00976562 8.5V10H20.0098V8.5Z",fill:"inherit"}),(0,D.jsx)("path",{d:"M20.0098 8.5C18.4698 8.46959 17.4398 7.34449 17.4398 7.34449L11.2998 1.1412C10.5298 0.299904 9.50977 0.279632 8.74977 1.12093L2.58977 7.34449C2.58977 7.34449 1.55977 8.46959 0.00976562 8.5",stroke:"currentColor",strokeMiterlimit:"10"})]});yp.displayName="AlertPointer";let yf={info:(0,D.jsx)(v7,{weight:"fill"}),attention:(0,D.jsx)(yc,{weight:"fill"}),warning:(0,D.jsx)(yu.Q,{weight:"fill"}),success:(0,D.jsx)(vX.f,{weight:"fill"})},ym=e=>{let{children:t,pointerSide:r="topStart",intent:o="info",withPointer:i=!1,className:l,themeConfig:s,...d}=e,{root:c,arrow:u,icon:p}=(0,B.tv)(s?(0,B.RH)(vY,s):vY)({intent:o,pointerSide:r}),f=(0,F.cn)("ef-alert",c(),l);return(0,D.jsx)(oQ.zt,{children:(0,D.jsxs)("div",{className:f,...d,children:[(0,D.jsx)(aB.a,{iconSize:"m",className:(0,F.cn)(p()),children:o?yf[o]:null}),t,i?(0,D.jsx)(yp,{className:(0,F.cn)(u())}):null]})})};ym.displayName="Alert";let yh=e=>{let{children:t,descriptionClassname:r,...o}=e,{description:i}=(0,B.tv)(vY)(),l=(0,F.cn)(i(),r,"ef-alert-description");return(0,D.jsx)("div",{className:l,...o,children:t})};yh.displayName="AlertDescription";let yg=(e,t)=>{let{width:r,height:o}=i_(t),[i,l]=e.split(":")[0].split("x");return`${i/r*100}% ${l/o*100}%`},yv=({focus:e,smartFocus:t=!1,responsiveCrops:r=!1,hasUnsetAspectRatio:o,activeAspectRatio:i})=>{let l=r&&!!(null!=i&&i.includes("/"));return{serverFocus:r?t?"smart":e||void 0:void 0,useObjectPosition:!!(e&&o&&!l)}},yy=(0,I.forwardRef)((e,t)=>{let{blok:r,asChild:o=!1,className:i,style:l,responsiveCrops:s=!1,...d}=e,{image:c,design:u,quality:p,expandable:f,aspectRatios:m,smart_focus:h,custom_classname:g}=r,{filename:v,alt:y}=c,b=o?ik.g:iV,x=(0,h5.mi)({design:u},vJ()),w=(0,h5.qm)(x),{breakpoint:k}=(0,ib.G)(),[_]=(0,oQ.KO)(vD.h),C=gn({bpHide:x.visibility}),$=(0,h7.N)(null==x?void 0:x.spacing),S=vV(null==x?void 0:x.border_radius),E=vI({position:(null==x?void 0:x.position)||_,viewport_sizes:x.viewport_size}),j=iT(null==x?void 0:x.aspect_ratio,m),N="string"==typeof j?j:null==j?void 0:j[(0,iw.v9)(j,k)??"s"],T="object"==typeof x.aspect_ratio&&null!==x.aspect_ratio&&Object.values(x.aspect_ratio).includes("unset"),{serverFocus:P,useObjectPosition:A}=yv({focus:null==c?void 0:c.focus,smartFocus:h,responsiveCrops:s,hasUnsetAspectRatio:T,activeAspectRatio:N}),O=(0,hr.t0)(null==w?void 0:w.outline_color),R=!!(O.light||O.dark),M={...l,position:"relative",...R&&{"--sb-image-outline-color-light":O.light,"--sb-image-outline-color-dark":O.dark,"--color-system-stroke-default":"var(--sb-image-outline-color)"},...A&&{"--img-object-position":yg(c.focus,v)}},L=(0,F.cn)("sb-image",C,$,S,R?"[--sb-image-outline-color:var(--sb-image-outline-color-light)] dark:[--sb-image-outline-color:var(--sb-image-outline-color-dark)]":"",g,i);return v?f?(0,D.jsx)(vZ,{aspectRatios:j,ref:t,alt:y,src:v,asChild:o,variant:null==w?void 0:w.variant,radius:null==w?void 0:w.border_radius,className:L,style:M,quality:p,sizes:E,...hl(r),...d}):(0,D.jsx)(b,{aspectRatios:j,alt:y,src:v,asChild:o,variant:null==w?void 0:w.variant,className:L,style:M,ref:t,quality:p,focus:P,responsiveCrops:s,sizes:E,...hl(r),...d}):(0,D.jsx)(ym,{intent:"attention",children:(0,D.jsx)(yh,{children:(0,D.jsx)(aL.x,{variant:"uiLabel",children:"Please add an image asset"})})})});yy.displayName="ImageSB";let yb=e=>{let t=null==e?void 0:e.match(/\/(\d+)x(\d+)(\/)?/);return t?{width:parseInt(t[1]),height:parseInt(t[2])}:(console.error("Image dimensions not found in URL:",e),{width:0,height:0})},yx=e=>{var t,r;let{blok:o,className:i,sizes:l,...s}=e;return(0,D.jsx)(yy,{blok:o,asChild:!0,"data-slot":"Image",children:(0,D.jsx)(yw,{...s,src:null==o?void 0:null===(t=o.image)||void 0===t?void 0:t.filename,priority:null==o?void 0:o.priority,"data-slot":"Image",asChild:!0,focus:o.smart_focus?"smart":null==o?void 0:null===(r=o.image)||void 0===r?void 0:r.focus,className:i,...l&&{sizes:l}})})},yw=e=>{let{src:t,aspectRatios:r,priority:o,focus:i,blok:l,...s}=e;return(null==t?void 0:t.endsWith(".svg"))?(0,D.jsx)(iV,{src:t,loading:o?"eager":"lazy",aspectRatios:r,...s,asChild:!1,"data-slot":"Image"}):(0,D.jsx)(iV,{asChild:!0,aspectRatios:r,src:t,...s,children:(0,D.jsx)(yk,{priority:o,focus:i,"data-slot":"Image",aspectRatios:r,defaultSize:null==l?void 0:l.default_size})})},yk=e=>{let{priority:t=!1,alt:r,src:o,aspectRatios:i,focus:l,sizes:s,width:d,defaultSize:c,quality:u,...p}=e,f=yb(o),m=d||(null==f?void 0:f.width),h=(null==f?void 0:f.width)>0&&(null==f?void 0:f.height)>0;return(0,D.jsx)(vR(),{...h&&{loader:e=>iD({...e,aspectRatios:i,focus:l,width:m,quality:u||70})},src:o,fill:!0,priority:null!=t&&t,alt:r,sizes:s||"90vw","data-slot":"Image",...p})};yx.displayName="ImageSB";let y_=(0,B.c6)({slots:{root:"relative z-0 flex flex-col overflow-x-clip overflow-y-visible"}}),yC=(0,B.c6)({slots:{content:"isolate z-10 h-fit flex-1"}}),y$=(0,B.c6)({slots:{background:"absolute left-0 top-0 z-0 flex h-full w-full flex-col overflow-y-clip",bgGrid:"h-full w-full"}}),yS=(0,I.forwardRef)((e,t)=>{let{children:r,className:o,themeConfig:i,...l}=e,{root:s}=(0,B.tv)(i?(0,B.RH)(y_,i):y_)(),d=(0,F.cn)("ef-section",s(),o);return(0,D.jsx)("section",{className:d,...l,ref:t,children:r})});yS.displayName="Section";var yE=r(88714);let yj=e=>{let{children:t,themeConfig:r,...o}=e,{background:i,bgGrid:l}=(0,B.tv)(r?(0,B.RH)(y$,r):y$)(),s=(0,F.cn)("ef-section-background",i());return(0,D.jsx)("div",{className:s,children:(0,D.jsx)(yE.r,{className:(0,F.cn)(l()),...o,children:t})})};
42yj.displayName="SectionBackground";let yN=e=>{let{children:t,className:r,themeConfig:o,...i}=e,{content:l}=(0,B.tv)(o?(0,B.RH)(yC,o):yC)(),s=(0,F.cn)("ef-section-content",l(),r);return(0,D.jsx)(yE.r,{className:s,...i,children:t})};yN.displayName="SectionContent",function(e,t){try{let r="__styleInject_SSR_MODULES",o=("function"==typeof t.styleId?t.styleId():t.styleId)??"";if(typeof document>"u"&&globalThis)globalThis[r]=globalThis[r]||[],globalThis[r].push({cssCode:e,id:o});else{if(document.getElementById(o))return;let t=document.createElement("style");t.id=o,t.appendChild(document.createTextNode(`${e}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}("._sectionBgLayer_1yqd3_1{width:100%}._sectionBgLayerItem_1yqd3_5{height:100%}._sectionBgItem_1yqd3_9{grid-row:1;display:flex;flex-direction:column}._sectionBgLayerFlex_1yqd3_15{height:100%}",{styleId:"backpack-7bf0415e-c965-45e0-ac90-f8193ccf27ed"});let yT={sectionBgLayer:"_sectionBgLayer_1yqd3_1",sectionBgLayerItem:"_sectionBgLayerItem_1yqd3_5",sectionBgItem:"_sectionBgItem_1yqd3_9",sectionBgLayerFlex:"_sectionBgLayerFlex_1yqd3_15"},yP=({bpMono:e,bpTheme:t})=>{let{breakpoint:r}=(0,ib.G)(),o=[];if(t&&Object.keys(t).length>0){let e=(0,iw.v9)(t,r)??"s",i=t[e];i&&o.push(i)}if(e&&Object.keys(e).length>0){let t=(0,iw.v9)(e,r)??"s",i=e[t];void 0!==i&&o.push(i?"mono":"non-mono")}return o},yA=` 43{{@if(val.component === 'sb-accordion')}}Accordion{{#elif(val.component === 'sb-alert')}}Alert{{#elif(val.component === 'sb-animated-ribbon')}}Animated Ribbon{{#elif(val.component === 'sb-avatar')}}Avatar{{#elif(val.component === 'sb-banner')}}Banner{{#elif(val.component === 'sb-bento-grid')}}Bento Grid{{#elif(val.component === 'sb-bilibili-video')}}Bilibili Video{{#elif(val.component === 'sb-blockquote')}}Blockquote{{#elif(val.component === 'sb-body-text')}}Rich Text{{#elif(val.component === 'sb-breadcrumbs')}}Breadcrumbs{{#elif(val.component === 'sb-button')}}Button{{#elif(val.component === 'sb-button-group')}}Button Group{{#elif(val.component === 'sb-card')}}Card{{#elif(val.component === 'sb-card-flipper')}}Card Flipper{{#elif(val.component === 'sb-carousel')}}Carousel{{#elif(val.component === 'sb-collapsible')}}Collapsible{{#elif(val.component === 'sb-collapsible-group')}}Collapsible Group{{#elif(val.component === 'sb-content-card')}}Content Card{{#elif(val.component === 'sb-content-group')}}Content Group{{#elif(val.component === 'sb-countdown-timer')}}Countdown Timer{{#elif(val.component === 'sb-cta-card')}}CTA Card{{#elif(val.component === 'sb-divider')}}Divider{{#elif(val.component === 'sb-editorial-card')}}Editorial Card{{#elif(val.component === 'sb-flex-group')}}Flex Layout{{#elif(val.component === 'sb-form')}}Form Builder Wrapper{{#elif(val.component === 'sb-gallery')}}Gallery{{#elif(val.component === 'sb-headline')}}Headline{{#elif(val.component === 'sb-iframe')}}Iframe{{#elif(val.component === 'sb-icon')}}Icon{{#elif(val.component === 'sb-image')}}Image{{#elif(val.component === 'sb-inspiration-grid')}}Inspiration Grid{{#elif(val.component === 'sb-link')}}Link{{#elif(val.component === 'sb-link-tile')}}Link Tile{{#elif(val.component === 'sb-list')}}List{{#elif(val.component === 'sb-lottie-player')}}Lottie Player{{#elif(val.component === 'sb-position-layer')}}Position Layer{{#elif(val.component === 'sb-repeating-background-image')}}Repeating Bg Image{{#elif(val.component === 'sb-section-background-layer')}}Section Background Layer{{#elif(val.component === 'sb-social-embed')}}Social Embed{{#elif(val.component === 'sb-social-teaser-card')}}Social Teaser Card{{#elif(val.component === 'sb-surface')}}Surface{{#elif(val.component === 'sb-surface-card')}}Surface Card{{#elif(val.component === 'sb-table')}}Table{{#elif(val.component === 'sb-tabs')}}Tabs{{#elif(val.component === 'sb-teaser-card')}}Teaser Card{{#elif(val.component === 'sb-text')}}Text{{#elif(val.component === 'sb-trustpilot')}}Trustpilot Widget{{#elif(val.component === 'sb-video')}}Video{{#elif(val.component === 'sb-video-card')}}Video Card{{#else}}{{val.component}}{{/if}}`,yO={text:(e,t,r="identifier")=>{let o="content"===r?"<i>":'<span class="font-bold">
43',i="content"===r?"</i>":"</span>";return void 0===t?`{{@if(!!it.${e})}}${o}{{it.${e}}}${i}{{/if}}`:`{{@if(!!it.${e})}}${o}{{it.${e}}}${i}{{#else}}<span class="font-light">${t}</span>{{/if}}`},labeledValue:(e,t)=>`<span class="font-light">${e}</span><span class="font-bold">{{${t}}}</span>`,get link(){return this.labeledValue("Link to: ","it.link.cached_url")},selectedIcon:'<span class="font-light">Selected: </span><span class="font-bold">{{@if(it.icon.selectedIcon.typeName)}}{{it.icon.selectedIcon.typeName}}{{/if}}</span>',firstTextLine:(e,t)=>void 0===t?`{{@if(it.${e}?.[0]?.content?.content?.[0]?.content?.[0]?.text)}}<i>{{it.${e}[0].content.content[0].content[0].text}}</i>{{/if}}`:`{{@if(it.${e}?.[0]?.content?.content?.[0]?.content?.[0]?.text)}}<i>{{it.${e}[0].content.content[0].content[0].text}}</i>{{#else}}<span class="font-light">${t}</span>{{/if}}`,namePrefix:()=>'{{@if(it.name?.length > 0)}}<span class="font-bold">{{it.name}}</span><span class="font-light"> | </span>{{/if}}',itemCount:(e,t=`${e}s`,r="content")=>`{{@if(it.${r}?.length > 0)}}<span class="font-regular">{{it.${r}.length}} {{@if(it.${r}.length === 1)}}${e}{{#else}}${t}{{/if}}</span>{{#else}}<span class="font-light">Empty</span>{{/if}}`,itemCountWithTypes:(e="content")=>`{{@if(it.${e}?.length > 0)}}<span class="font-regular">{{it.${e}.length}} {{@if(it.${e}.length === 1)}}item{{#else}}items{{/if}}: </span><span class="font-medium">{{@each(it.${e}) => val, index}}{{@if(index < 2)}}{{@if(index > 0)}}<span class="font-medium">, </span>{{/if}}${yA}{{/if}}{{/each}}</span>{{@if(it.${e}.length > 2)}}<span class="font-medium">, etc.</span>{{/if}}{{#else}}<span class="font-light">Empty</span>{{/if}}`},yR=[{preset:{name:"Hero section",preset:{_uid:"91bde27e-653b-47ad-a9c4-7abe816e5e6f",name:"hero",design:{_uid:"68d6b0b9-8926-4e5c-a402-6f2c362ddd66",title:"Backpack Breakpoints plugin",fields:{gap:{type:"option",values:{s:""}},spacing:{type:"custom",values:{s:{}},field_type:"backpack-spacing"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},transition:{type:"custom",values:{s:{config:{effect:"fade",triggerOnce:!0},enabled:"disabled",classNames:{after:"afterTransition",before:"beforeTransition"},transitionConfig:{easing:"--motion-system-easing-expressive",stagger:.015,duration:"--motion-system-duration-medium",transitionProperty:"opacity, transform"}}},field_type:"backpack-transition"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},rounded_top:{type:"boolean",values:{s:!1}},aspect_ratio:{type:"option",values:{}},minimum_height:{type:"number",values:{s:80}},rounded_bottom:{type:"boolean",values:{s:!1}},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"},inner_shadow_top:{type:"boolean",values:{s:!1}},inner_shadow_bottom:{type:"boolean",values:{s:!1}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"e48bca1c-320f-422c-8b22-0d803a142a23",design:{_uid:"80ba24db-1bc2-4146-a6c0-61fbd3833861",title:"Backpack Breakpoints plugin",fields:{height:{type:"number",values:{s:100}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},position:{type:"custom",values:{s:{x:[0,6],active:!0}},field_type:"backpack-layout"}
43,item_align:{type:"custom",values:{s:"flex-start"},field_type:"backpack-toggle"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"fc23dc9e-bdb6-4b8b-941d-7b3964391be8",image:{id:17464192,alt:"",name:"",focus:"3263x2907:3264x2908",title:"",source:"",filename:"https://a.storyblok.com/f/189434/4656x3492/a97888bb5f/wojciech-then-dija5f0vogq-unsplash.jpg",copyright:"",fieldtype:"asset",meta_data:{alt:"",title:"",source:"",copyright:""},content_type:"jpg",is_external_url:!1},design:{_uid:"5f8c33b3-85a7-498b-8e4b-380027028112",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"unset"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"100vw"}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."}
43,quality:"70",priority:!0,component:"sb-image",smart_focus:!1,custom_classname:""}],component:"sb-section-background-layer",custom_classname:""},{_uid:"fa719b4b-faae-47f5-9aa1-55f8949fe468",design:{_uid:"6edfa4ac-0d42-4f81-a032-f8d399047397",title:"Backpack Breakpoints plugin",fields:{gap:{type:"option",values:{s:"s"}},wrap:{type:"boolean",values:{}},align:{type:"custom",values:{s:"flex-end"},field_type:"backpack-toggle"},order:{type:"number",values:{}},justify:{type:"custom",values:{s:"flex-start"},field_type:"backpack-toggle"},spacing:{type:"custom",values:{s:{mb:"xxl",mt:"xxl"}},field_type:"backpack-spacing"},position:{type:"custom",values:{l:{x:[1,8],active:!0},s:{x:[1,5]}},field_type:"backpack-layout"},direction:{type:"custom",values:{s:"column"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"fb4f8688-c235-4b7a-866b-1e4d4c5c6ee7",design:{_uid:"6a0d0f3b-52a7-452c-974b-c7feef53ef86",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{s:{selected:{id:4621809,name:"white",value:"#ffffff",dimension_value:null}}},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{as:"h2",_uid:"b78f52e1-fba0-42aa-b78e-17a06b6b0afc",design:{_uid:"4495aeef-4e7e-4b5b-88c7-a309e2e6b195",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header2"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:"Lorem ipsum dolor sit amet",component:"sb-headline",custom_classname:""},{_uid:"690c9097-3757-4d83-a7e3-2ee5ee44b0be",design:{_uid:"c2a4596e-b7d3-4544-8e43-77568f35a50c",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mt:"s"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"body"}},max_lines:{type:"number",values:{}},view_more:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},view_more_text:{type:"text",values:{s:"View more"}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. ",type:"text"}]}]},component:"sb-body-text",custom_classname:""},{_uid:"1e964edb-1a31-4ba5-b403-c26a143d1996",design:{_uid:"2ad581d8-3fe3-42d6-83ab-4aff485e0e3c",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{s:{mt:"m"}}
43,field_type:"backpack-spacing"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"64fa8e00-b908-47a7-8c52-252ce3eb30f4",action:[{_uid:"7607a889-8c15-43f2-8a15-e8296f61555e",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:""},component:"sb-link-button",open_new_tab:!1}],design:"",content:[{_uid:"258ccacc-bf31-480b-b74d-787c5ff7eb23",text:"Primary",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",custom_classname:""}],component:"sb-button-group",custom_classname:""}],component:"sb-content-group-flex-group",custom_classname:""}],component:"sb-flex-group-section",custom_classname:""}],component:"sb-section"},created_at:"2024-10-01T09:42:32.098Z",updated_at:"2024-10-09T06:22:28.762Z",image:`${ig.Bn}/Section/storyblok/sb-hero-section.webp`,color:"",description:""}}],yD={gap:{required:!0,display_name:"Gap",description:"The space between items",type:"option",options:[{value:"none",name:"0px",secondaryText:"zero"},{value:"xxs",name:"4px",secondaryText:"XXS"},{value:"xs",name:"8px",secondaryText:"XS"},{value:"s",name:"16px",secondaryText:"S"},{value:"m",name:"24px",secondaryText:"M"},{value:"l",name:"32px",secondaryText:"L"},{value:"xl",name:"48px",secondaryText:"XL"},{value:"xxl",name:"64px",secondaryText:"XXL"},{value:"xxxl",name:"128px",secondaryText:"XXXL"}],default_value:{s:"s"}}};JSON.stringify(yD.gap);var yM=r(11078);let yL=({motion:e,includes:t})=>Object.entries(e).filter(([e])=>e.includes(t)).reduce((e,r)=>{var o,i;let l=r[1].name.replace("Motion duration ","").replace("Motion easing ","").replace(/^./,e=>e.toUpperCase()),s=null==(o=r[1])?void 0:o.valueSeconds,d="duration"===t&&s?`${l} (${1e3*s}ms)`:l;return[...e,{property:`--motion-${r[0]}`,value:r[1].value,valueSeconds:s,easeArray:null==(i=r[1])?void 0:i.easeArray,name:d}]},[]),yI={transition:{type:"custom",field_type:"backpack-transition",options:[{name:"duration",value:JSON.stringify(yL({motion:yM.E,includes:"duration"}))},{name:"easing",value:JSON.stringify(yL({motion:yM.E,includes:"easing"}))}],default_value:{s:{enabled:"disabled",classNames:{before:"beforeTransition",after:"afterTransition"},transitionConfig:{transitionProperty:"opacity, transform",easing:"--motion-system-easing-expressive",duration:"--motion-system-duration-medium",stagger:.15},config:{triggerOnce:!0,effect:"fade"}}}}},yF={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{s:{pt:"xxl",pb:"xxl"}}},background_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},minimum_height:{display_name:"Height",type:"custom",field_type:"backpack-size",units:["vh","px"],default_value:{}},...hu,...yD,transition:yI.transition},yB={border_radius:{type:"custom",field_type:"backpack-rounded",display_name:"Border radius",options:[{value:"none",name:"0px",secondaryText:"zero"},{value:"xxs",name:"4px",secondaryText:"XXS"},{value:"xs",name:"8px",secondaryText:"XS"},{value:"s",name:"16px",secondaryText:"S"},{value:"m",name:"24px",secondaryText:"M"},{value:"l",name:"32px",secondaryText:"L"},{value:"xl",name:"40px",secondaryText:"XL"},{value:"full",name:"Round",secondaryText:"Full"}],default_value:{}}};JSON.stringify(yB.border_radius);let yV={mono:{display_name:"Mono",type:"boolean",default_value:{}},theme:{type:"option",display_name:"Theme",options:[{name:"Dark mode",value:"dark"},{name:"Light mode",value:"light"}],default_value:{}}};JSON.stringify(yV.mono),JSON.stringify(yV.theme);let yz={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_size:{...hb.collapsible_size,keys:["minimum_height",hN(),"aspect_ratio"]},...yF,...hv,...yB,...vW,...yD,...yV};yO.namePrefix(),yO.itemCountWithTypes(),[JSON.stringify(yz.spacing),JSON.stringify(yz.minimum_height),JSON.stringify([yz.collapsible_size,yz.collapsible_layout,yz.collapsible_component,yz.collapsible_appearance,yz.collapsible_text,yz.collapsible_effects,yz.collapsible_code_overrides]),JSON.stringify(h_(yz.gap,"default_value",{s:"none"})),JSON.stringify(yz.border_radius),JSON.stringify(yz.background_color),JSON.stringify(yz.text_color),JSON.stringify(yz.mono),JSON.stringify(yz.theme),...hy.design.options,JSON.stringify(yz.transition)],hE("sb-section",yR);let yH=e=>Object.values(e).toString(),yU=(e,t)=>{let r=(0,I.useRef)({}),[o,i]=(0,I.useState)(),{threshold:l=0,root:s=null,rootMargin:d="0%",freezeOnceVisible:c=!0}=t,u=(null==o?void 0:o.isIntersecting)&&c,p=([e])=>{i(e)};return(0,I.useEffect)(()=>{var o;let i;let c=null==e?void 0:e.current;if(!window.IntersectionObserver||u||!c)return;let f=null==(o=r.current)?void 0:o[yH(t)];return f?i=f:(i=new IntersectionObserver(p,{threshold:l,root:s,rootMargin:d}),r.current={...r.current,[yH(t)]:i}),i.observe(c),()=>i.disconnect()},[null==e?void 0:e.current,JSON.stringify(l),s,d,u]),o},yZ=e=>e?Object.entries(e).reduce((e,[t,r])=>{let o=0>Number(r),i=0===Number(r)?"none":Math.abs(Number(r));return`${e}${e?" ":""}${(0,ge.c)(t)}${o?"-":""}order-${i}`},""):"order-none";var yW="__lodash_hash_undefined__",yK=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yq=/^\w*$/,yG=/^\./,yJ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yY=/\\(\\)?/g,yX=/^\[object .+?Constructor\]$/,yQ="object"==typeof gI.t&&gI.t&&gI.t.Object===Object&&gI.t,y0="object"==typeof self&&self&&self.Object===Object&&self,y1=yQ||y0||Function("return this")(),y2=Array.prototype,y3=Function.prototype,y4=Object.prototype,y6=y1["__core-js_shared__"],y8=(NU=/[^.]+$/.exec(y6&&y6.keys&&y6.keys.IE_PROTO||""))?"Symbol(sr
43c)_1."+NU:"",y9=y3.toString,y5=y4.hasOwnProperty,y7=y4.toString,be=RegExp("^"+y9.call(y5).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bt=y1.Symbol,bn=y2.splice,br=bp(y1,"Map"),ba=bp(Object,"create"),bo=bt?bt.prototype:void 0,bi=bo?bo.toString:void 0;function bl(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function bs(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function bd(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function bc(e,t){for(var r,o=e.length;o--;)if((r=e[o][0])===t||r!=r&&t!=t)return o;return -1}function bu(e,t){var r,o=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function bp(e,t){var r,o=null==e?void 0:e[t];return!(!bg(o)||y8&&y8 in o)&&("[object Function]"==(r=bg(o)?y7.call(o):"")||"[object GeneratorFunction]"==r||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch{}return t}(o)?be:yX).test(function(e){if(null!=e){try{return y9.call(e)}catch{}try{return e+""}catch{}}return""}(o))?o:void 0}bl.prototype.clear=function(){this.__data__=ba?ba(null):{}},bl.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},bl.prototype.get=function(e){var t=this.__data__;if(ba){var r=t[e];return r===yW?void 0:r}return y5.call(t,e)?t[e]:void 0},bl.prototype.has=function(e){var t=this.__data__;return ba?void 0!==t[e]:y5.call(t,e)},bl.prototype.set=function(e,t){return this.__data__[e]=ba&&void 0===t?yW:t,this},bs.prototype.clear=function(){this.__data__=[]},bs.prototype.delete=function(e){var t=this.__data__,r=bc(t,e);return!(r<0)&&(r==t.length-1?t.pop():bn.call(t,r,1),!0)},bs.prototype.get=function(e){var t=this.__data__,r=bc(t,e);return r<0?void 0:t[r][1]},bs.prototype.has=function(e){return bc(this.__data__,e)>-1},bs.prototype.set=function(e,t){var r=this.__data__,o=bc(r,e);return o<0?r.push([e,t]):r[o][1]=t,this},bd.prototype.clear=function(){this.__data__={hash:new bl,map:new(br||bs),string:new bl}},bd.prototype.delete=function(e){return bu(this,e).delete(e)},bd.prototype.get=function(e){return bu(this,e).get(e)},bd.prototype.has=function(e){return bu(this,e).has(e)},bd.prototype.set=function(e,t){return bu(this,e).set(e,t),this};var bf=bm(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(bv(e))return bi?bi.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var t,r=[];return yG.test(e)&&r.push(""),e.replace(yJ,function(e,t,o,i){r.push(o?i.replace(yY,"$1"):t||e)}),r});function bm(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=r.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return r.cache=l.set(i,s),s};return r.cache=new(bm.Cache||bd),r}bm.Cache=bd;var bh=Array.isArray;function bg(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function bv(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==y7.call(e)}let by=(0,gI.fm)(function(e,t,r){var o=null==e?void 0:function(e,t){var r;t=!function(e,t){if(bh(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||bv(e))||yq.test(e)||!yK.test(e)||null!=t&&e in Object(t)}(t,e)?bh(r=t)?r:bf(r):[t];for(var o=0,i=t.length;null!=e&&o<i;)e=e[function(e){if("string"==typeof e||bv(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t[o++])];return o&&o==i?e:void 0}(e,t);return void 0===o?r:o}),bb={0:["bounds-start","bounds-start"],1:["col-1-start","col-1-end"],2:["col-3-end","col-3-end"],3:["col-6-end","col-6-end"],4:["col-9-end","col-9-end"],5:["col-12-end","col-12-end"],6:["bounds-end","bounds-end"]},bx={0:["bounds-start","bounds-start"],1:["offset-start","offset-start"],2:["col-1-start","col-1-start"],3:["col-1-end","col-1-end"],4:["col-2-end","col-2-end"],5:["col-3-end","col-3-end"],6:["col-4-end","col-4-end"],7:["col-5-end","col-5-end"],8:["col-6-end","col-6-end"],9:["col
43-7-end","col-7-end"],10:["col-8-end","col-8-end"],11:["col-9-end","col-9-end"],12:["col-10-end","col-10-end"],13:["col-11-end","col-11-end"],14:["col-12-end","col-12-end"],15:["offset-end","offset-end"],16:["bounds-end","bounds-end"]},bw=({xArr:e,size:t})=>{if(!e)return;let r=e[0],o=e[1];return"s"===t||"m"===t?[by(bb,[r,0],"main-start"),by(bb,[o,0],"main-end")]:[by(bx,[r,0],"main-start"),by(bx,[o,0],"main-end")]},bk=e=>{if(!(!e||0===Object.keys(e).length))return Object.keys(e).reduce((t,r)=>(t[r]=bw({xArr:e[r].x,size:r}),t),{})},b_=["sb-flex-group","sb-card","sb-surface"],bC=e=>b_.includes((null==e?void 0:e.component)??""),b$=(0,I.createContext)({enabled:"enabled",classNames:{before:"beforeTransition",after:"afterTransition"},transitionConfig:{transitionProperty:"opacity, transform",easing:"--motion-system-easing-standard",duration:"--motion-system-duration-medium",stagger:.3},config:{triggerOnce:!0,effect:"fade"}}),bS=e=>{let{children:t,transitionData:r}=e;return(0,D.jsx)(b$.Provider,{value:r||{},children:t})},bE=({transitionData:e,transitionOrder:t})=>{var r,o,i,l,s,d,c,u,p,f;let m=null==(r=null==e?void 0:e.classNames)?void 0:r.before,h=null==(o=null==e?void 0:e.classNames)?void 0:o.after,g=.01;return null!=(i=null==e?void 0:e.transitionConfig)&&i.stagger&&"u">typeof t&&(g=((null==(l=null==e?void 0:e.transitionConfig)?void 0:l.stagger)??.03)*t),{beforeTransitionClassname:m,afterTransitionClassname:h,transitionVariablesOverwrite:{...null!=(s=null==e?void 0:e.transitionConfig)&&s.duration?{"--transition-duration":`var(${null==(d=null==e?void 0:e.transitionConfig)?void 0:d.duration})`}:{},...g?{"--transition-delay":`${g}s`}:{},...null!=(c=null==e?void 0:e.transitionConfig)&&c.transitionProperty?{"--transition-property":null==(u=null==e?void 0:e.transitionConfig)?void 0:u.transitionProperty}:{},...null!=(p=null==e?void 0:e.transitionConfig)&&p.easing?{"--transition-easing":null==(f=null==e?void 0:e.transitionConfig)?void 0:f.easing}:{}}}},bj=e=>{let t=(0,I.useContext)(b$),r=(0,I.useRef)(null),o=yU(r,{threshold:0,freezeOnceVisible:!0}),i=!!(null!=o&&o.isIntersecting),{blok:l,className:s,index:d}=e,{design:c}=l,u=(0,h5.mi)({design:c}),p=(0,h5.qm)(u),f="u">typeof(null==p?void 0:p.order)?Number(p.order):d,m=(null==t?void 0:t.enabled)==="enabled"&&(null==p?void 0:p.transitionsOnEnter)===!0,h=m?bE({transitionData:t,transitionOrder:f}):{beforeTransitionClassname:null,afterTransitionClassname:null,transitionVariablesOverwrite:{}},g=bk({s:{x:[1,5]},...null==u?void 0:u.position})??{s:["col-1-start","col-12-end"]},v=yZ(null==u?void 0:u.order),y=(0,F.cn)(m?h.beforeTransitionClassname:null,m&&i?h.afterTransitionClassname:null,v,bC(l)?"grid":null,s);return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(vD.c,{ref:r,column:g,className:y,style:h.transitionVariablesOverwrite,order:null==p?void 0:p.order,position:null==u?void 0:u.position,children:(0,D.jsx)(hs,{blok:{...l,mappedCols:g}})},l._uid)})};bj.displayName="SectionSBContentItem";let bN={xxs:"gap-y-xxs",xs:"gap-y-xs",s:"gap-y-s",m:"gap-y-m",l:"gap-y-l",xl:"gap-y-xl"},bT=({gap:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>[...e,`${(0,ge.c)(t)}${bN[r.toString()]??""}`.trim()],[]):[],bP=({sectionProps:e})=>e&&0!==Object.keys(e).length?{gapClasses:bT(e)}:{},bA=(e,t)=>{let r=["s","m","l","xl","xxl"],o=r.indexOf(t);for(let t=o;t>=0;t--){let o=r[t];if(void 0!==e[o])return e[o]}},bO=e=>{let t;let{blok:r,...o}=e,{name:i,content:l,design:s,custom_classname:d}=r,c=(0,h5.mi)({design:s},yz),u=(0,h5.qm)(c),p=(0,h7.N)(null==c?void 0:c.spacing),f=vV(null==c?void 0:c.border_radius),{breakpoint:m}=(0,ib.G)(),h=u.theme,g=u.mono,v=(0,ie.s0)(),y=h??(null==v?void 0:v.theme)??"light",b=yP({bpTheme:null==c?void 0:c.theme,bpMono:null==c?void 0:c.mono}),x=iy({bpAspectRatio:null==c?void 0:c.aspect_ratio}),w=gn({bpHide:c.visibility,originalDisplayProperty:"flex"}),k=(0,hr.t0)(u.text_color),_=!!(k.light||k.dark),C=(0,hr.t0)(u.background_color),$=!!(C.light||C.dark),S=(0,hr.Gz)(k,y),E=(0,hr.Gz)(C,y),j=u.minimum_height,N={..._?{"--sb-section-text-color-light":k.light,"--sb-section-text-color-dark":k.dark,"--sb-section-text-color":S,"--color-system-text-default":"var(--sb-section-text-color)"}:{},...$?{"--sb-section-bg-color-light":C.light,"--sb-section-bg-color-dark":C.dark,"--sb-section-bg-color":E,"--color-system-background-default":"var(--sb-section-bg-color)"}:{},...j?{minHeight:`${j.value}${j.unit}`}:{}},T=(0,F.cn)(yT.sectionSB,p,f,b,w,x,d,$?"bg-system-background-default":""),P=[],A=[];for(let e of l){if("sb-section-background-layer"===e.component){P.push(e);continue}A.push(e)}let{gapClasses:O}=bP({sectionProps:{gap:c.gap}});return(0,D.jsx)(ie.oH,{theme:h,mono:g,children:(0,D.jsxs)(yS,{id:i,className:T,style:N,...o,...hl(r),children:[(null==P?void 0:P.length)>0?(0,D.jsx)(yj,{children:P.map(e=>(0,D.jsx)(bj,{blok:e,className:yT.sectionBgItem},e._uid))}):null,(0,D.jsx)(yN,{className:(0,F.cn)(O),children:(0,D.jsx)(bS,{transitionData:u.transition,children:(t=0,A.map(e=>{var r,o,i;let l=bA((null==(i=null==(o=null==(r=null==e?void 0:e.design)?void 0:r.fields)?void 0:o.transitionsOnEnter)?void 0:i.values)??{},m)?t++:void 0;return(0,D.jsx)(bj,{blok:e,className:yT.sectionItem,index:l},e._uid)}))})})]})})};
43bO.displayName="SectionSB";let bR="4.8.0-beta.8",bD=[{preset:{name:"Default (Flex Group)",preset:{_uid:"d3c79a93-65fe-4ab4-bc5b-b5c36ce9248c",icon:{_uid:"3b010483-fb95-46fe-b445-797b8be4eccb",title:"Backpack Asset Selector",plugin:"backpack-asset-selector",search:"",description:"Backpack Asset Selector plugin",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M25%202H7a1%201%200%200%200-1%201v26a1%201%200%200%200%20.53.88%201%201%200%200%200%201-.05L16%2024.2l8.45%205.63A1%201%200%200%200%2026%2029V3a1%201%200%200%200-1-1zM9%2025.26V5h14v20.26l-5.89-3.92L16%2020.6l-1.11.74z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconBookmarkOutlined",typePath:"../packages/icons/assets/IconBookmarkOutlined.svg"}},label:"Tag",design:"",component:"sb-tag",aria_label:"",custom_classname:""},created_at:"2023-12-11T15:52:57.562Z",updated_at:"2023-12-11T15:52:57.562Z",image:`${ig.Bn}/Tag/storyblok/sb-tag-default.webp`,color:"",description:""}}];hD.item_flex;let bM={bg_color:{type:"custom",display_name:"Background",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},content_color:{type:"custom",display_name:"Foreground",description:"Elements placed over a background",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},outline_color:{type:"custom",display_name:"Border color",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},bL={"sb-section":hw,"sb-flex-group":hx},bI={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},size:{type:"option",options:[{name:"Small",value:"small"},{name:"Medium",value:"regular"}],default_value:{s:"regular"}},variant:{display_name:"Type",type:"option",options:[{name:"Filled",value:"filled"},{name:"Outlined",value:"outlined"}],default_value:{s:"outlined"}},...bM,...hv,...hO,...hD};ig.Bn,JSON.stringify(bL),[JSON.stringify(bL),JSON.stringify([bI.collapsible_size,bI.collapsible_layout,bI.collapsible_component,bI.collapsible_appearance,bI.collapsible_text,bI.collapsible_effects,bI.collapsible_code_overrides]),JSON.stringify(bI.spacing),JSON.stringify(bI.variant),JSON.stringify(bI.size),JSON.stringify(bI.content_color),JSON.stringify(bI.bg_color),JSON.stringify(bI.outline_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-tag",bD);var bF=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,l=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=l.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}return s},bB=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],bV={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",
43itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode
43-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"},bz=function(){return(bz=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},bH=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,l=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=l.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}return s},bU=function(e,t,r){if(r||2==arguments.length)for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))};function bZ(e,t){if(void 0===t&&(t={}),!e||!(e instanceof Node))return null;var r,o,i,l,s,d=t.actions,c=void 0===d?[]:d,u=t.index,p=t.level,f=void 0===p?0:p,m=t.randomKey,h=e,g="".concat(f,"-").concat(void 0===u?0:u),v=[];if(m&&0===f&&(g="".concat(function(e){void 0===e&&(e=6);for(var t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r="",o=e;o>0;--o)r+=t[Math.round(Math.random()*(t.length-1))];return r}(),"-").concat(g)),Array.isArray(c)&&c.forEach(function(t){t.condition(h,g,f)&&("function"==typeof t.pre&&((h=t.pre(h,g,f))instanceof Node||(h=e)),"function"==typeof t.post&&v.push(t.post(h,g,f)))}),v.length)return v;switch(h.nodeType){case 1:return I.createElement((r=h.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(r)?r:r.toLowerCase()),function(e,t){var r={key:t};if(e instanceof Element){var o=e.getAttribute("class");o&&(r.className=o),bU([],bH(e.attributes),!1).forEach(function(e){switch(e.name){case"class":break;case"style":r[e.name]=e.value.split(/ ?; ?/).reduce(function(e,t){var r=bF(t.split(/ ?: ?/),2),o=r[0],i=r[1];return o&&i&&(e[o.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})]=Number.isNaN(Number(i))?i:Number(i)),e},{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"auto
43play":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[bV[e.name]||e.name]=!0;break;default:r[bV[e.name]||e.name]=e.value}})}return r}(h,g),(o=h.childNodes,i=t,(l=bU([],bH(o),!1).map(function(e,t){return bZ(e,bz(bz({},i),{index:t,level:f+1}))}).filter(Boolean)).length?l:null));case 3:var y=(null===(s=h.nodeValue)||void 0===s?void 0:s.toString())||"";if(/^\s+$/.test(y)&&!/[\u00A0\u202F]/.test(y))return null;if(!h.parentNode)return y;var b=h.parentNode.nodeName.toLowerCase();return bB.includes(b)?(/\S/.test(y)&&console.warn("A textNode is not allowed inside '".concat(b,"'. Your text \"").concat(y,'" will be ignored')),null):y;default:return null}}function bW(e,t){return void 0===t&&(t={}),"string"==typeof e?function(e,t){if(void 0===t&&(t={}),!e||"string"!=typeof e)return null;var r=t.nodeOnly,o=t.selector,i=t.type;try{var l=new DOMParser().parseFromString(e,void 0===i?"text/html":i).querySelector(void 0===o?"body > *":o);if(!(l instanceof Node))throw TypeError("Error parsing input");return void 0!==r&&r?l:bZ(l,t)}catch(e){}return null}(e,t):e instanceof Node?bZ(e,t):null}var bK={exports:{}};NW={canUseDOM:NZ=!!("u">typeof window&&window.document&&window.document.createElement),canUseWorkers:"u">typeof Worker,canUseEventListeners:NZ&&!!(window.addEventListener||window.attachEvent),canUseViewport:NZ&&!!window.screen},bK.exports?bK.exports=NW:window.ExecutionEnvironment=NW;var bq=bK.exports,bG={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function bJ(){return bq.canUseDOM}var bY=(NK=function(e,t){return(NK=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}NK(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),bX=function(){return(bX=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},bQ=function(e,t){var r,o,i,l,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return l={next:d(0),throw:d(1),return:d(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function d(d){return function(c){return function(d){if(r)throw TypeError("Generator is already executing.");for(;l&&(l=0,d[0]&&(s=0)),s;)try{if(r=1,o&&(i=2&d[0]?o.return:d[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,d[1])).done)return i;switch(o=0,i&&(d=[2&d[0],i.value]),d[0]){case 0:case 1:i=d;break;case 4:return s.label++,{value:d[1],done:!1};case 5:s.label++,o=d[1],d=[0];continue;case 7:d=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===d[0]||2===d[0])){s=0;continue}if(3===d[0]&&(!i||d[1]>i[0]&&d[1]<i[3])){s.label=d[1];break}if(6===d[0]&&s.label<i[1]){s.label=i[1],i=d;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(d);break}i[2]&&s.ops.pop(),s.trys.pop();continue}d=t.call(e,s)}catch(e){d=[6,e],o=0}finally{r=i=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,c])}}},b0=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,i,l=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(o=l.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(i)throw i.error}}return s},b1=function(e,t,r){if(r||2==arguments.length)for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))},b2=Object.create(null),b3=function(e){function t(t){var r=e.call(this,t)||this;return Object.defineProperty(r,"hash",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(r,"isActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"isInitialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(r,"handleError",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var t=r.props.onError,o="Browser does not support SVG"===e.message?bG.UNSUPPORTED:bG.FAILED;r.isActive&&r.setState({status:o},function(){"function"==typeof t&&t(e)})}}),Object.defineProperty(r,"handleLoad",{enumerable:!0,configurable:!0,writable:!0,value:function(e,t){void 0===t&&(t=!1),r.isActive&&r.setState({content:e,hasCache:t,status:bG.LOADED},r.getElement)}}),Object.defineProperty(r,"request",{enumerable:!0,configurable:!0,writable:!0,value:function(){var e,t,o;return e=void 0,t=void 0,o=function(){var e,t,r,o,i,l,s,d,c,u;return bQ(this,function(p){switch(p.label){case 0:t=(e=this.props).cacheRequests,r=e.fetchOptions,o=e.src,t&&(b2[o]={content:"",status:bG.LOADING}),p.label=1;case 1:return p.trys.push([1,4,,5]),[4,fetch(o,r)];case 2:if(l=b0(((i=p.sent()).headers.get("content-type")||"").split(/ ?; ?/),1)[0],i.status>299)throw Error("Not found");if(!["image/svg+xml","text/plain"].some(function(e){return l.includes(e)}))throw Error("Content type isn't valid: ".concat(l));return[4,i.text()];case 3:return s=p.sent(),d=this.props.src,o!==d?(b2[o].status===bG.LOADING&&delete b2[o],[2]):(this.handleLoad(s),t&&(c=b2[o])&&(c.content=s,c.status=bG.LOADED),[3,5]);case 4:return u=p.sent(),this.handleError(u),t&&(c=b2[o])&&delete b2[o],[3,5];case 5:return[2]}})},new(t||(t=Promise))(function(i,l){function s(e){try{c(o.next(e))}catch(e){l(e)}}function d(e){try{c(o.throw(e))}catch(e){l(e)}}function c(e){var r;e.done?i(e.value):((r=e.value)instanceof t?r:new t(function(e){e(r)})).then(s,d)}c((o=o.apply(r,e||[])).next())})}}),r.state={content:"",element:null,hasCache:!!t.cacheRequests&&!!b2[t.src],status:bG.IDLE},r.hash=t.uniqueHash||function(e){for(var t="abcdefghijklmnopqrstuvwxyz",r="".concat(t).concat(t.toUpperCase()).concat("1234567890"),o="",i=0;i<8;i++)o+=r[Math.floor(Math.random()*r.length)];return o}(0),r}return bY(t,e),Object.defineProperty(t.prototype,"componentDidMount",{enumerable:!1,
43configurable:!0,writable:!0,value:function(){if(this.isActive=!0,!(!bJ()||this.isInitialized)){var e=this.state.status,t=this.props.src;try{if(e===bG.IDLE){if(!(function(){if(!document)return!1;var e=document.createElement("div");e.innerHTML="<svg />";var t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"u">typeof window&&null!==window))throw Error("Browser does not support SVG");if(!t)throw Error("Missing src");this.load()}}catch(e){this.handleError(e)}this.isInitialized=!0}}}),Object.defineProperty(t.prototype,"componentDidUpdate",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){if(bJ()){var r=this.state,o=r.hasCache,i=r.status,l=this.props,s=l.onLoad,d=l.src;if(t.status!==bG.READY&&i===bG.READY&&s&&s(d,o),e.src!==d){if(!d){this.handleError(Error("Missing src"));return}this.load()}}}}),Object.defineProperty(t.prototype,"componentWillUnmount",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.isActive=!1}}),Object.defineProperty(t.prototype,"getElement",{enumerable:!1,configurable:!0,writable:!0,value:function(){try{var e=this.getNode(),t=bW(e);if(!t||!I.isValidElement(t))throw Error("Could not convert the src to a React element");this.setState({element:t,status:bG.READY})}catch(e){this.handleError(Error(e.message))}}}),Object.defineProperty(t.prototype,"getNode",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props,t=e.description,r=e.title;try{var o=this.processSVG(),i=bW(o,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw Error("Could not convert the src to a DOM Node");var l=this.updateSVGAttributes(i);if(t){var s=l.querySelector("desc");s&&s.parentNode&&s.parentNode.removeChild(s);var d=document.createElementNS("http://www.w3.org/2000/svg","desc");d.innerHTML=t,l.prepend(d)}if("u">typeof r){var c=l.querySelector("title");if(c&&c.parentNode&&c.parentNode.removeChild(c),r){var u=document.createElementNS("http://www.w3.org/2000/svg","title");u.innerHTML=r,l.prepend(u)}}return l}catch(e){return this.handleError(e)}}}),Object.defineProperty(t.prototype,"load",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;this.isActive&&this.setState({content:"",element:null,hasCache:!1,status:bG.LOADING},function(){var t=e.props,r=t.cacheRequests,o=t.src,i=r&&b2[o];if(i&&i.status===bG.LOADED){e.handleLoad(i.content,!0);return}var l,s=o.match(/^data:image\/svg[^,]*?(;base64)?,(.*)/u);if(s?l=s[1]?window.atob(s[2]):decodeURIComponent(s[2]):o.includes("<svg")&&(l=o),l){e.handleLoad(l);return}e.request()})}}),Object.defineProperty(t.prototype,"processSVG",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e}}),Object.defineProperty(t.prototype,"updateSVGAttributes",{enumerable:!1,configurable:!0,writable:!0,value:function(e){var t=this,r=this.props,o=r.baseURL,i=void 0===o?"":o,l=r.uniquifyIDs,s=["id","href","xlink:href","xlink:role","xlink:arcrole"],d=["href","xlink:href"];return l&&b1([],b0(e.children),!1).forEach(function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map(function(e){var r=e.value.match(/url\((.*?)\)/);return r&&r[1]&&(e.value=e.value.replace(r[0],"url(".concat(i).concat(r[1],"__").concat(t.hash,")"))),e});s.forEach(function(e){var o,i=r.find(function(t){return t.name===e});i&&(o=i.value,!d.includes(e)||!o||o.includes("#"))&&(i.value="".concat(i.value,"__").concat(t.hash))})}return e.children.length?t.updateSVGAttributes(e):e}),e}}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.state,t=e.element,r=e.status,o=this.props,i=o.children,l=o.innerRef,s=o.loader,d=void 0===s?null:s,c=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o={};for(var i in e)({}).hasOwnProperty.call(e,i)&&(t.includes(i)||(o[i]=e[i]));return o}(this.props,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return bJ()?t?I.cloneElement(t,bX({ref:l},c)):[bG.UNSUPPORTED,bG.FAILED].includes(r)?void 0===i?null:i:d:d}}),Object.defineProperty(t,"defaultProps",{enumerable:!0,configurable:!0,writable:!0,value:{cacheRequests:!0,uniquifyIDs:!1}}),t}
43(I.PureComponent);let b4=e=>{let{icon:t,height:r="1em",width:o="1em",...i}=e;return t?(0,D.jsx)(b3,{src:t,height:r,width:o,...i}):null};b4.displayName="Icon";let b6=e=>{var t;let{blok:r,...o}=e,{label:i,icon:l,aria_label:s,design:d,custom_classname:c}=r,u=(0,h5.mi)({design:d},bI),p=(0,h5.qm)(u),f=(0,hr.t0)(null==p?void 0:p.bg_color),m=(0,hr.t0)(null==p?void 0:p.content_color),h=(0,hr.t0)(null==p?void 0:p.outline_color),g=!!(f.light||f.dark),v=!!(m.light||m.dark),y=!!(h.light||h.dark),b=(0,h7.N)(null==u?void 0:u.spacing),x=gn({bpHide:u.visibility,originalDisplayProperty:"flex"}),w=(0,F.cn)("sb-tag",b,x,g?"[--sb-tag-bg-color:var(--sb-tag-bg-color-light)] dark:[--sb-tag-bg-color:var(--sb-tag-bg-color-dark)]":"",v?"[--sb-tag-content-color:var(--sb-tag-content-color-light)] dark:[--sb-tag-content-color:var(--sb-tag-content-color-dark)]":"",y?"[--sb-tag-outline-color:var(--sb-tag-outline-color-light)] dark:[--sb-tag-outline-color:var(--sb-tag-outline-color-dark)]":"",c),k=g?{"--sb-tag-bg-color-light":f.light,"--sb-tag-bg-color-dark":f.dark,"--color-system-surface-weak":"var(--sb-tag-bg-color)","--color-system-background-inverse":"var(--sb-tag-bg-color)"}:{},_=v?{"--sb-tag-content-color-light":m.light,"--sb-tag-content-color-dark":m.dark,"--color-system-text-default":"var(--sb-tag-content-color)","--color-system-text-on-inverse":"var(--sb-tag-content-color)"}:{},C=y?{"--sb-tag-outline-color-light":h.light,"--sb-tag-outline-color-dark":h.dark,"--color-system-stroke-strong":"var(--sb-tag-outline-color)"}:{},$={...k,..._,...C};return(0,D.jsxs)(aM,{...hl(r),className:w,small:(null==p?void 0:p.size)==="small",filled:(null==p?void 0:p.variant)==="filled",style:$,"aria-label":s,value:r._uid,...o,children:[(null==i?void 0:i.length)>0?i:"",null!=(t=null==l?void 0:l.selectedIcon)&&t.data?(0,D.jsx)(aB.a,{children:(0,D.jsx)(b4,{icon:l.selectedIcon.data})}):""]})};b6.displayName="TagSB";var b8=r(41664),b9=r.n(b8),b5=r(87739);let b7={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},size:{required:!1,display_name:"Size",type:"option",options:[{value:"small",name:"Small"},{value:"medium",name:"Medium"},{value:"large",name:"Large"}],exclude_empty_option:!0,default_value:{s:void 0}}},xe={...hu,hover_text_color:{type:"custom",display_name:"Link hover",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},xt=[{preset:{name:"Default (Section)",preset:{_uid:"45f42c37-604f-4322-8182-6a1126ca88e9",link:{id:"a6975c94-705f-43f2-91c9-af13eba056f8",url:"",linktype:"story",fieldtype:"multilink",cached_url:"all-components"},design:{_uid:"026aa972-4440-4a25-952b-373c4ceae8cb",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"default"}},underline:{type:"boolean",values:{s:!0}},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},hover_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-link",link_content:[{_uid:"16647fbe-13ff-4733-a475-01fae835b7ed",bold:!1,text:"Link",component:"sb-link-text"}],open_new_tab:!1,custom_classname:""},created_at:"2023-10-19T11:24:31.359Z",updated_at:"2023-10-19T11:24:31.359Z",image:`${ig.Bn}/Link/storyblok/sb-link-default.webp`,color:"",icon:"block-arrow-pointer",description:""}},{preset:{name:"Default (Flex Group)",preset:{_uid:"630711b7-dd28-4d00-aefa-c99d65dc68ae",link:{id:"",url:"https://ef.com",linktype:"url",fieldtype:"multilink",cached_url:"https://ef.com"},design:"",component:"sb-link",link_content:[{_uid:"a52e6c44-0976-46b3-9286-7d0e3c73ef51",bold:!1,text:"Link",component:"sb-link-text"}],open_new_tab:!1,custom_classname:""},created_at:"2023-10-19T11:42:52.959Z",updated_at:"2023-10-19T11:42:52.959Z",image:`${ig.Bn}/Link/storyblok/sb-link-default.webp`,color:"",description:""}}],xn={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},...b7,...xe,...hv,...hO,...hD};ig.Bn,yO.link,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([xn.collapsible_size,xn.collapsible_layout,xn.collapsible_component,xn.collapsible_appearance,xn.collapsible_text,xn.collapsible_effects,xn.collapsible_code_overrides]),JSON.stringify(xn.spacing),JSON.stringify(xn.size),JSON.stringify(xn.text_color),JSON.stringify(xn.hover_text_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-link",xt);let xr=(0,I.forwardRef)((e,t)=>{let{blok:r,...o}=e,{link_content:i,link:l,design:s,custom_classname:d,aria_label:c}=r,{hoverProps:u,isHovered:p}=(0,aR.X)({}),f=(0,h5.mi)({design:s},xn),m=(0,h5.qm)(f),h=(0,h7.N)(null==f?void 0:f.spacing),g=gn({bpHide:f.visibility,originalDisplayProperty:"inline-flex"}),v=(0,hr.t0)(null==m?void 0:m.text_color),y=(0,hr.t0)(null==m?void 0:m.hover_text_color),b=!!(v.light||v.dark),x=!!(y.light||y.dark),w=(0,F.cn)("sb-link",h,g,b?"[--sb-link-text-color:var(--sb-link-text-color-light)] dark:[--sb-link-text-color:var(--sb-link-text-color-dark)]":"",x?"[--sb-link-hover-text-color:var(--sb-link-hover-text-color-light)] dark:[--sb-link-hover-text-color:var(--sb-link-hover-text-color-dark)]":"",d),k={...b?{"--sb-link-text-color-light":v.light,"--sb-link-text-color-dark":v.dark,"--color-components-links-link-enabled":"var(--sb-link-text-color)","--color-components-links-in-text-enabled":"var(--sb-link-text-color)"}:{},...x?{"--sb-link-hover-text-color-light":y.light,"--sb-link-hover-text-color-dark":y.dark,"--color-components-links-link-hover":"var(--sb-link-hover-text-color)","--color-components-links-in-text-hover":"var(--sb-link-hover-text-color)"}:{}};return(0,D.jsx)(gr.r,{href:hC(l),size:null==m?void 0:m.size,target:null==l?void 0:l.target,className:w,style:k,"aria-label":c,...o,...u,ref:t,...hl(r),children:null==i?void 0:i.map(e=>(0,D.jsx)(hs,{blok:{...e,isHovered:p}},e._uid))})});xr.displayName="LinkSB";var xa=r(57842),xo=r(4908),xi=r(3955),xl=r(78825);
43let xs=[{preset:{name:"Default (Section)",preset:{_uid:"e4de5502-dbd4-44f6-a090-39d490caac50",link:{id:"a6975c94-705f-43f2-91c9-af13eba056f8",url:"",linktype:"story",fieldtype:"multilink",cached_url:"all-components"},title:"Title",design:{_uid:"ef938720-40c1-4462-9a9d-1ea8b1eff558",title:"Backpack Breakpoints plugin",fields:{order:{type:"number",values:{}},spacing:{type:"custom",values:{s:{mb:"s",mt:"xs"}},field_type:"backpack-spacing"},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-link-tile",description:"This is a description",custom_classname:""},created_at:"2023-10-19T11:24:51.290Z",updated_at:"2023-10-19T11:24:51.290Z",image:`${ig.Bn}/Link/storyblok/sb-link-tile-default.webp`,color:"",description:""}}],xd=[{name:"XS",value:"xs"},{name:"S",value:"s"},{name:"M",value:"m"},{name:"L",value:"l"},{name:"XL",value:"xl"}],xc={...hu,...yB,text_color:{...hu.text_color,display_name:"Title"},description_text_color:{display_name:"Description",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},background_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},icon_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},outline_color:{display_name:"Border color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},xu={"sb-section":hw,"sb-flex-group":hx},xp={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...b7,...xc,...hv,...hO,...hD};ig.Bn,yO.text("title"),JSON.stringify(xu),[JSON.stringify(xu),JSON.stringify([xp.collapsible_size,xp.collapsible_layout,xp.collapsible_component,xp.collapsible_appearance,xp.collapsible_text,xp.collapsible_effects,xp.collapsible_code_overrides]),JSON.stringify(xp.spacing),JSON.stringify(xp.text_color),JSON.stringify(xp.description_text_color),JSON.stringify(xp.background_color),JSON.stringify(xp.icon_color),JSON.stringify(xp.border_radius),JSON.stringify(xp.outline_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-link-tile",xs);let xf=(0,I.forwardRef)((e,t)=>{var r;let{blok:o,...i}=e,{icon:l,title:s,description:d,link:c,design:u,icon_size:p}=o,f=(0,h5.mi)({design:u},xp),m=(0,h5.qm)(f),h=(0,h7.N)(null==f?void 0:f.spacing),g=vV(null==f?void 0:f.border_radius),v=gn({bpHide:f.visibility,originalDisplayProperty:"flex"}),y=(0,hr.t0)(null==m?void 0:m.text_color),b=(0,hr.t0)(null==m?void 0:m.description_text_color),x=(0,hr.t0)(null==m?void 0:m.background_color),w=(0,hr.t0)(null==m?void 0:m.outline_color),k=(0,hr.t0)(null==m?void 0:m.icon_color),_=!!(y.light||y.dark),C=!!(b.light||b.dark),$=!!(x.light||x.dark),S=!!(w.light||w.dark),E=!!(k.light||k.dark),j={...$?{"--sb-link-tile-bg-color-light":x.light,"--sb-link-tile-bg-color-dark":x.dark,"--color-system-surface-default":"var(--sb-link-tile-bg-color)"}:{},...S?{"--sb-link-tile-outline-color-light":w.light,"--sb-link-tile-outline-color-dark":w.dark,"--color-system-stroke-default":"var(--sb-link-tile-outline-color)"}:{},...E?{"--sb-link-tile-icon-color-light":k.light,"--sb-link-tile-icon-color-dark":k.dark,"--color-system-vector-default":"var(--sb-link-tile-icon-color)"}:{},..._?{"--sb-link-tile-text-color-light":y.light,"--sb-link-tile-text-color-dark":y.dark,"--color-system-text-default":"var(--sb-link-tile-text-color)"}:{},...C?{"--sb-link-tile-description-text-color-light":b.light,"--sb-link-tile-description-text-color-dark":b.dark,"--color-system-text-weak":"var(--sb-link-tile-description-text-color)"}:{}},N=(0,F.cn)("sb-link-tile",h,g,v,$?"[--sb-link-tile-bg-color:var(--sb-link-tile-bg-color-light)] dark:[--sb-link-tile-bg-color:var(--sb-link-tile-bg-color-dark)]":"",S?"[--sb-link-tile-outline-color:var(--sb-link-tile-outline-color-light)] dark:[--sb-link-tile-outline-color:var(--sb-link-tile-outline-color-dark)]":"",E?"[--sb-link-tile-icon-color:var(--sb-link-tile-icon-color-light)] dark:[--sb-link-tile-icon-color:var(--sb-link-tile-icon-color-dark)]":"",_?"[--sb-link-tile-text-color:var(--sb-link-tile-text-color-light)] dark:[--sb-link-tile-text-color:var(--sb-link-tile-text-color-dark)]":"",C?"[--sb-link-tile-description-text-color:var(--sb-link-tile-description-text-color-light)] dark:[--sb-link-tile-description-text-color:var(--sb-link-tile-description-text-color-dark)]":"");return(0,D.jsxs)(xa.h,{as:"a",href:hC(c),target:null==c?void 0:c.target,...hl(o),className:N,style:j,ref:t,...i,children:[null!=(r=null==l?void 0:l.selectedIcon)&&r.data?(0,D.jsx)(xo.o,{iconSize:p,children:(0,D.jsx)(b4,{icon:l.selectedIcon.data||""})}
43):null,s?(0,D.jsx)(xi.q,{children:s}):null,d?(0,D.jsx)(xl.s,{children:d}):null]})});xf.displayName="LinkTileSB";let xm=0,xh=e=>"init"in e,xg=e=>!!e.write,xv=new WeakMap,xy=(e,t)=>{xv.set(e,t),e.catch(()=>{}).finally(()=>xv.delete(e))},xb=(e,t)=>{let r=xv.get(e);r&&(xv.delete(e),r(t))},xx=(e,t)=>{e.status="fulfilled",e.value=t},xw=(e,t)=>{e.status="rejected",e.reason=t},xk=e=>"function"==typeof(null==e?void 0:e.then),x_=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),xC=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),x$=e=>!!e&&"v"in e&&e.v instanceof Promise,xS=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,xE=e=>{if("e"in e)throw e.e;return e.v},xj=()=>{let e,t;let r=new WeakMap,o=new WeakMap,i=new Map;e=new Set,t=new Set;let l=e=>r.get(e),s=(e,t)=>{Object.freeze(t);let o=r.get(e);if(r.set(e,t),i.has(e)||i.set(e,o),x$(o)){let e="v"in t?t.v instanceof Promise?t.v:Promise.resolve(t.v):Promise.reject(t.e);o.v!==e&&xb(o.v,e)}},d=(e,t,r)=>{let o=new Map,i=!1;r.forEach((r,l)=>{r||l!==e||(r=t),r?(o.set(l,r),t.d.get(l)!==r&&(i=!0)):console.warn("[Bug] atom state not found")}),(i||t.d.size!==o.size)&&(t.d=o)},c=(e,t,r)=>{let o=l(e),i={d:(null==o?void 0:o.d)||new Map,v:t};if(r&&d(e,i,r),x_(o,i)&&o.d===i.d)return o;if(x$(o)&&x$(i)&&xS(o,i)){if(o.d===i.d)return o;i.v=o.v}return s(e,i),i},u=(e,t,r,i)=>{if(xk(t)){let s;let d=()=>{let t=l(e);if(!x$(t)||t.v!==u)return;let i=c(e,u,r);o.has(e)&&t.d!==i.d&&k(e,i,t.d)},u=new Promise((e,r)=>{let o=!1;t.then(t=>{o||(o=!0,xx(u,t),e(t),d())},e=>{o||(o=!0,xw(u,e),r(e),d())}),s=t=>{o||(o=!0,t.then(e=>xx(u,e),e=>xw(u,e)),e(t))}});return u.orig=t,u.status="pending",xy(u,e=>{e&&s(e),null==i||i()}),c(e,u,r)}return c(e,t,r)},p=(e,t,r)=>{let o=l(e),i={d:(null==o?void 0:o.d)||new Map,e:t};return(r&&d(e,i,r),xC(o,i)&&o.d===i.d)?o:(s(e,i),i)},f=(e,t)=>{let r,i;let s=l(e);if(!t&&s&&(o.has(e)||Array.from(s.d).every(([t,r])=>{if(t===e)return!0;let o=f(t);return o===r||x_(o,r)})))return s;let d=new Map,c=!0;try{let t=e.read(t=>{if(t===e){let e=l(t);if(e)return d.set(t,e),xE(e);if(xh(t))return d.set(t,void 0),t.init;throw Error("no atom init")}let r=f(t);return d.set(t,r),xE(r)},{get signal(){return r||(r=new AbortController),r.signal},get setSelf(){return xg(e)||console.warn("setSelf function cannot be used with read-only atom"),!i&&xg(e)&&(i=(...t)=>{if(c&&console.warn("setSelf function cannot be called in sync"),!c)return b(e,...t)}),i}});return u(e,t,d,()=>null==r?void 0:r.abort())}catch(t){return p(e,t,d)}finally{c=!1}},m=e=>{let t=o.get(e);return t||(t=x(e)),t},h=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),g=e=>{let t=o.get(e);t&&h(e,t)&&w(e)},v=e=>{let t=new Map,r=new WeakMap,s=e=>{var t;let r=new Set(null==(t=o.get(e))?void 0:t.t);return i.forEach((t,o)=>{var i;(null==(i=l(o))?void 0:i.d.has(e))&&r.add(o)}),r},d=e=>{s(e).forEach(o=>{o!==e&&(t.set(o,(t.get(o)||new Set).add(e)),r.set(o,(r.get(o)||0)+1),d(o))})};d(e);let c=e=>{s(e).forEach(o=>{var i;if(o!==e){let e=r.get(o);if(e&&r.set(o,--e),!e){let e=!!(null==(i=t.get(o))?void 0:i.size);e&&(e=!x_(l(o),f(o,!0))),e||t.forEach(e=>e.delete(o))}c(o)}})};c(e)},y=(t,...r)=>{let o=!0,i=t.write(e=>xE(f(e)),(r,...i)=>{let s;if(r===t){if(!xh(r))throw Error("atom not writable");x_(l(r),u(r,i[0]))||v(r)}else s=y(r,...i);if(!o){let t=_();e.forEach(e=>e({type:"async-write",flushed:t}))}return s},...r);return o=!1,i},b=(t,...r)=>{let o=y(t,...r),i=_();return e.forEach(e=>e({type:"write",flushed:i})),o},x=(e,r,i)=>{var s;let d=i||[];null==(s=l(e))||s.d.forEach((t,r)=>{let i=o.get(r);i?i.t.add(e):r!==e&&x(r,e,d)}),f(e);let c={t:new Set(r&&[r]),l:new Set};if(o.set(e,c),t.add(e),xg(e)&&e.onMount){let{onMount:t}=e;d.push(()=>{let r=t((...t)=>b(e,...t));r&&(c.u=r)})}return i||d.forEach(e=>e()),c},w=e=>{var r;let i=null==(r=o.get(e))?void 0:r.u;i&&i(),o.delete(e),t.delete(e);let s=l(e);s?(x$(s)&&xb(s.v),s.d.forEach((t,r)=>{if(r!==e){let t=o.get(r);t&&(t.t.delete(e),h(r,t)&&w(r))}})):console.warn("[Bug] could not find atom state to unmount",e)},k=(e,t,r)=>{let i=new Set(t.d.keys());null==r||r.forEach((t,r)=>{if(i.has(r)){i.delete(r);return}let l=o.get(r);l&&(l.t.delete(e),h(r,l)&&w(r))}
43),i.forEach(t=>{let r=o.get(t);r?r.t.add(e):o.has(e)&&x(t,e)})},_=()=>{let e;for(e=new Set;i.size;){let t=Array.from(i);i.clear(),t.forEach(([t,r])=>{let i=l(t);if(i){let l=o.get(t);l&&i.d!==(null==r?void 0:r.d)&&k(t,i,null==r?void 0:r.d),l&&!(!x$(r)&&(x_(r,i)||xC(r,i)))&&(l.l.forEach(e=>e()),e.add(t))}else console.warn("[Bug] no atom state to flush")})}return e};return{get:e=>xE(f(e)),set:b,sub:(t,r)=>{let o=m(t),i=_(),l=o.l;return l.add(r),e.forEach(e=>e({type:"sub",flushed:i})),()=>{l.delete(r),g(t),e.forEach(e=>e({type:"unsub"}))}},dev_subscribe_store:(t,r)=>{if(2!==r)throw Error("The current StoreListener revision is 2.");return e.add(t),()=>{e.delete(t)}},dev_get_mounted_atoms:()=>t.values(),dev_get_atom_state:e=>r.get(e),dev_get_mounted:e=>o.get(e),dev_restore_atoms:t=>{for(let[e,r]of t)xh(e)&&(u(e,r),v(e));let r=_();e.forEach(e=>e({type:"restore",flushed:r}))}}};"number"==typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1;let xN=()=>(d||(1!==globalThis.__NUMBER_OF_JOTAI_INSTANCES__&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),d=xj()),d),xT=(0,I.createContext)(void 0),xP=e=>{let t=(0,I.useContext)(xT);return(null==e?void 0:e.store)||t||xN()},xA=e=>"function"==typeof(null==e?void 0:e.then),xO=I.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e});function xR(e,t){let r=xP(t),[[o,i,l],s]=(0,I.useReducer)(t=>{let o=r.get(e);return Object.is(t[0],o)&&t[1]===r&&t[2]===e?t:[o,r,e]},void 0,()=>[r.get(e),r,e]),d=o;(i!==r||l!==e)&&(s(),d=r.get(e));let c=null==t?void 0:t.delay;return(0,I.useEffect)(()=>{let t=r.sub(e,()=>{if("number"==typeof c){setTimeout(s,c);return}s()});return s(),t},[r,e,c]),(0,I.useDebugValue)(d),xA(d)?xO(d):d}let xD=function(e,t){let r=`atom${++xm}`,o={toString:()=>r};return"function"==typeof e?o.read=e:(o.init=e,o.read=function(e){return e(this)},o.write=function(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}),o}({preview:!1});xj();var xM=r(89754),xL=r(14922),xI=r(9358),xF=r(11163),xB=r(91997);let xV=e=>{let{blok:t}=e,{link:r}=t,{preview:o}=xR(xD);(0,xF.useRouter)();let{locale:i}=(0,xB.b)();(0,xL.SV)(xI.Q,i);let[l]=(0,xM.Z)("status_overlay",{listenStorageChange:!0});if(o&&(null==l?void 0:l.areLinksDisabled))return(0,D.jsx)(xr,{...e,href:"#_"});let s=xz({locale:i,link:r});return(0,D.jsx)(b9(),{href:s,passHref:!0,legacyBehavior:!0,children:(0,D.jsx)(xr,{...e,"data-info":null==r?void 0:r.data_info})})},xz=e=>{let{locale:t,link:r}=e;return"story"===r.linktype?t?(0,xL.v0)(r.cached_url,t):"".concat(r.cached_url):(0,xL._U)(r.url)},xH=e=>!!(e&&("story"===e.linktype?e.cached_url||e.id:e.url||e.email)),xU=e=>{let{blok:t,...r}=e,{text:o,bold:i=!1}=t,l=(0,F.cn)("sb-link-text",i?"font-bold":"");return(0,D.jsx)(ga.u,{className:l,...r,...hl(t),children:o})};xU.displayName="LinkTextSB";var xZ=r(87351);let xW=e=>{var t;let{blok:r,...o}=e,{icon:i}=r,l=(0,F.cn)("sb-link-icon");return(0,D.jsx)(xZ.x,{className:l,asChild:!0,...o,...hl(r),children:(0,D.jsx)(b4,{icon:(null==(t=null==i?void 0:i.selectedIcon)?void 0:t.data)||""})})};xW.displayName="LinkIconSB";let xK=g6(()=>r.e(5770).then(r.bind(r,25770)).then(e=>e.AnimatedArrowLeft)),xq=g6(()=>Promise.resolve().then(r.bind(r,1753)).then(e=>e.AnimatedArrowRight)),xG=g6(()=>Promise.resolve().then(r.bind(r,89840)).then(e=>e.AnimatedChevronRight)),xJ=g6(()=>Promise.resolve().then(r.bind(r,38845)).then(e=>e.AnimatedChevronLeft)),xY=g6(()=>Promise.resolve().then(r.bind(r,49190)).then(e=>e.AnimatedChevron)),xX=g6(()=>Promise.resolve().then(r.bind(r,61376)).then(e=>e.AnimatedExternalArrow)),xQ=g6(()=>Promise.resolve().then(r.bind(r,79355)).then(e=>e.AnimatedDoubleChevronLeft)),x0=g6(()=>Promise.resolve().then(r.bind(r,59237)).then(e=>e.AnimatedDoubleChevronRight)),x1=e=>{let{blok:t,...r}=e,{icon:o,isHovered:i}=t,l=(0,F.cn)("sb-link-icon-animated");if(!o)return null;let s={AnimatedIconArrowLeft:xK,AnimatedIconArrowRight:xq,AnimatedIconChevronRight:xG,AnimatedIconChevronLeft:xJ,AnimatedIconChevron:xY,AnimatedExternalArrow:xX,AnimatedIconDoubleChevronLeft:xQ,AnimatedIconDoubleChevronRight:x0,AnimatedArrowRight:ol.AnimatedArrowRight};return(0,D.jsx)(xZ.x,{className:l,asChild:!0,...r,...hl(t),children:I.createElement(s[o],{active:i})})};x1.displayName="LinkAnimatedIconSB";var x2=r(97292),x3=r(53129);let x4=["s","m","l","xl","xxl"],x6={s:"",m:"md:",l:"lg:",xl:"xl:",xxl:"xxl:"},x8={row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"},x9={start:"items-start",center:"items-center",end:"items-end",inherit:"items-center"},x5={start:"justify-start",center:"justify-center",end:"justify-end",inherit:""},x7=(e,t)=>{if(e)for(let r=x4.indexOf(t);r>=0;r-=1){let t=e[x4[r]];if("u">typeof t)return t}},we=(e,t,r)=>t?x3.E[e].grow:r?x3.E[e].reset:"",wt=e=>{if(!Object.values(e).some(e=>e&&Object.keys(e).length>0))return[];let t=[],r=!1;for(let o of x4){let i=x7(e.direction,o)??"row",l=x7(e.align,o)??"start",s=x7(e.resize,o),d="column"===i||"column-reverse"===i,c=!d&&"fill"===s,u=x6[o],p=[...[x8[i],d?x9[l]:"items-center",d?"":x5[l],d||"hug"!==s?"gap-s":"gap-xs"].filter(
43Boolean).map(e=>`${u}${e}`),we(o,c,r)].filter(Boolean).join(" ");r=c,p&&t.push(p)}return t},wn={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},resize:{display_name:"Button sizing",description:"Controls how the buttons size inside the button group",type:"custom",field_type:"backpack-toggle",options:[{value:"auto",name:"Auto",tooltip_text:"Currently behaves the same as Hug"},{value:"fill",name:"Fill",tooltip_text:"Buttons grow to fill the available width"},{value:"hug",name:"Hug",tooltip_text:"Buttons hug their content"}],default_value:{s:"hug"}},direction:{display_name:"Direction",type:"custom",field_type:"backpack-toggle",options:[{value:"row",name:"Row",icon:`${ig.GT}/direction-row.svg`},{value:"column",name:"Column",icon:`${ig.GT}/direction-column.svg`}],default_value:{s:"row"}},align:{display_name:"Horizontal",type:"custom",field_type:"backpack-toggle",options:[{value:"start",name:"left",icon:`${ig.GT}/justify-start.svg`,tooltip_text:"Left"},{value:"center",name:"center",icon:`${ig.GT}/justify-center.svg`,tooltip_text:"Center"},{value:"end",name:"right",icon:`${ig.GT}/justify-end.svg`,tooltip_text:"Right"}],default_value:{s:"start"}}},wr=[{preset:{name:"Default (Section)",preset:{_uid:"44e6deb7-7644-409e-8958-3e776505423a",design:{_uid:"125ad176-2a2f-4723-bc76-c5e2cf0dce50",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},order:{type:"number",values:{}},layout:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"8b6066f0-403c-4ca3-9ec9-ca516cfb0ec9",action:[{_uid:"e2c6a0ab-dd26-49ff-ab60-03fc1fc65210",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:"",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"primary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c47792e5-5dda-44a4-8081-7ef5fc6c8d44",icon:{_uid:"bc026b3a-9609-4a3d-94a7-da97712d1c18",title:"Backpack Asset Selector",plugin:"backpack-asset-selector",search:"",description:"Backpack Asset Selector plugin",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"},selectedAsset:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M24%209h-8a1%201%200%200%200-1%201v8H4V9a1%201%200%200%200-1-1H2a1%201%200%200%200-1%201v17a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-5h24v5a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1V16a7%207%200%200%200-7-7z%22%2F%3
43E%3Ccircle%20cx%3D%229.5%22%20cy%3D%2212.5%22%20r%3D%224.5%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAccommodation",typePath:"../packages/icons/assets/IconAccommodation.svg"}},design:{_uid:"812dda8d-549b-49f3-93b0-4562dc0be3fc",title:"Backpack Breakpoints plugin",fields:{visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-icon-button"},{_uid:"fceabd7a-566d-456f-a416-65b65c199c0d",text:"Primary",component:"sb-text-button"}],component:"sb-button"},{_uid:"fbf2c1b8-d51e-4d95-98ac-f71241c7f408",action:[{_uid:"6d2f17b8-da88-404d-8603-7e5ba8f38b0c",link:{id:"a6975c94-705f-43f2-91c9-af13eba056f8",url:"",linktype:"story",fieldtype:"multilink",cached_url:"all-components",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"secondary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"3dd309ba-6c4d-4c44-9a57-ab143494a0ba",icon:{_uid:"144fc1d5-3635-4ee4-a134-bd562b562fb8",title:"Backpack Asset Selector",plugin:"backpack-asset-selector",search:"",description:"Backpack Asset Selector plugin",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"},selectedAsset:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M16%2032a16%2016%200%201%201%200-32%2016%2016%200%200%201%200%2032Zm0-3a13%2013%200%201%200%200-26%2013%2013%200%200%200%200%2026Zm0-10a1.5%201.5%200%200%201-1.5-1.5v-10a1.5%201.5%200%201%201%203%200v10A1.5%201.5%200%200%201%2016%2019Zm0%207a2%202%200%201%201%200-4%202%202%200%200%201%200%204Z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAlertCircleOutlined2",typePath:"../packages/icons/assets/IconAlertCircleOutlined2.svg"}},design:{_uid:"7440eecf-32c1-4d9b-98f3-43bfba36380c",title:"Backpack Breakpoints plugin",fields:{visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-icon-button"},{_uid:"3e7cafd0-db68-4ae7-b3df-978b90cc21be",text:"Secondary",component:"sb-text-button"}],component:"sb-button"},{_uid:"e61e707a-9767-42cd-8689-1c255ef9cf27",action:[{_uid:"f7534d91-8dd2-4f69-8d3c-9558810f0684",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:"",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{}
43,field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"442b7d53-abd2-404c-ab4b-126bd899ce1b",icon:{_uid:"6b03a7c9-a8f2-41d4-bf8c-d4d31cb0aa68",title:"Backpack Icon Selector",plugin:"backpack-icon-selector",search:"",description:"Backpack Icon Selector plugin, amazigness",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"}},component:"sb-icon-button"},{_uid:"5aa6cb4d-2d69-4a75-83f3-66aaedbe89ee",text:"Link",component:"sb-text-button"}],component:"sb-button"}],component:"sb-button-group",custom_classname:""},created_at:"2023-10-19T11:32:31.079Z",updated_at:"2023-10-19T11:32:39.665Z",image:`${ig.Bn}/Button/storyblok/sb-button-group-default.webp`,color:"",description:"With Primary, Secondary, and Link Buttons"}},{preset:{name:"Default (Flex Group)",preset:{_uid:"c99beb13-3716-4e44-8937-1ee36934d3c0",design:"",buttons:[{_uid:"dfd85501-c92e-40ac-a58b-cf372c22a4f8",action:[{_uid:"13d0a78d-26e2-41c4-96ad-114ceb937449",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:"",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"primary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"122af044-9a63-40c8-ba84-3c79609285ac",icon:{_uid:"bc026b3a-9609-4a3d-94a7-da97712d1c18",title:"Backpack Asset Selector",plugin:"backpack-asset-selector",search:"",description:"Backpack Asset Selector plugin",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3
43E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"},selectedAsset:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M24%209h-8a1%201%200%200%200-1%201v8H4V9a1%201%200%200%200-1-1H2a1%201%200%200%200-1%201v17a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-5h24v5a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1V16a7%207%200%200%200-7-7z%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%2212.5%22%20r%3D%224.5%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAccommodation",typePath:"../packages/icons/assets/IconAccommodation.svg"}},design:{_uid:"812dda8d-549b-49f3-93b0-4562dc0be3fc",title:"Backpack Breakpoints plugin",fields:{visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-icon-button"},{_uid:"175d98cc-1465-4c41-ae46-13eadcc35b4f",text:"Primary",component:"sb-text-button"}],component:"sb-button"},{_uid:"a5ab6c53-b5f7-4933-a4a7-d075fc3c854d",action:[{_uid:"3b7e8d90-c100-421a-af54-8f8966cf5cd5",link:{id:"a6975c94-705f-43f2-91c9-af13eba056f8",url:"",linktype:"story",fieldtype:"multilink",cached_url:"all-components",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"secondary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"6e353395-11cd-4859-a3e2-c6b9c8762d58",icon:{_uid:"144fc1d5-3635-4ee4-a134-bd562b562fb8",title:"Backpack Asset Selector",plugin:"backpack-asset-selector",search:"",description:"Backpack Asset Selector plugin",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"},selectedAsset:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M16%2032a16%2016%200%201%201%200-32%2016%2016%200%200%201%200%2032Zm0-3a13%2013%200%201%200%200-26%2013%2013%200%200%200%200%2026Zm0-10a1.5%201.5%200%200%201-1.5-1.5v-10a1.5%201.5%200%201%201%203%200v10A1.5%201.5%200%200%201%2016%2019Zm0%207a2%202%200%201%201%200-4%202%202%200%200%201%200%204Z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAlertCircleOutlined2",typePath:"../packages/icons/assets/IconAlertCircleOutlined2.svg"}},design:{_uid:"7440eecf-32c1-4d9b-98f3-43bfba36380c",title:"Backpack Breakpoints plugin",fields:{visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-icon-button"},{_uid:"74fc6ad8-dcbd-451b-9ff8-a906fa556bfc",text:"Secondary",component:"sb-text-button"}],component:"sb-button"},{_uid:"a93626f3-a229-4631-886f-536d910c2506",action:[{_uid:"969844ad-c7e0-49e9-9564-549e35b9e0e3",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:"",target:""},component:"sb-link-button"}],design:{title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{}
43,field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"cbbcb292-c6c8-4656-8605-11e44a93b98f",icon:{_uid:"6b03a7c9-a8f2-41d4-bf8c-d4d31cb0aa68",title:"Backpack Icon Selector",plugin:"backpack-icon-selector",search:"",description:"Backpack Icon Selector plugin, amazigness",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20class%3D%22ef-svg%20ef-icon%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22fill%3AcurrentColor%3Bwidth%3Avar(--icon-size%2C%201em)%3Bheight%3Avar(--icon-size%2C%201em)%3Bdisplay%3Ainline-block%22%3E%3Cpath%20d%3D%22M27.41%204.59a2%202%200%200%200-2.82%200l-5.65%205.65L5.05%206.45a1%201%200%200%200-1%20.26L2.67%208.12a1%201%200%200%200%20.22%201.58l10.66%205.92-5.25%205.25-4-1a1%201%200%200%200-1%20.26L2%2021.56a1%201%200%200%200-.28.89%201%201%200%200%200%20.59.73l4.58%202%202%204.58a1%201%200%200%200%20.73.59h.19a1%201%200%200%200%20.7-.29l1.42-1.41a1%201%200%200%200%20.26-.95l-1-4%205.25-5.25%205.86%2010.66a1%201%200%200%200%20.73.51h.14a1%201%200%200%200%20.71-.3l1.41-1.41a1%201%200%200%200%20.26-1l-3.79-13.85%205.65-5.65a2%202%200%200%200%200-2.82z%22%2F%3E%3C%2Fsvg%3E",typeName:"IconAirplane",typePath:"../packages/icons/assets/IconAirplane.svg"}},component:"sb-icon-button"},{_uid:"d1e9cab3-b94f-4fe9-a3c2-cb82f1fe5d9e",text:"Link",component:"sb-text-button"}],component:"sb-button"}],component:"sb-button-group",custom_classname:""},created_at:"2023-10-19T11:34:19.073Z",updated_at:"2023-10-19T11:34:19.073Z",image:`${ig.Bn}/Button/storyblok/sb-button-group-default.webp`,color:"",description:"With Primary, Secondary, and Link Buttons"}},{preset:{name:"Social Sharing Buttons (Section)",preset:{_uid:"3496dd18-c5cd-40af-8690-87d3e568415f",design:{_uid:"20b1abd6-61a8-4abf-a149-e367f872a754",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"center"},field_type:"backpack-toggle"},order:{type:"number",values:{}},layout:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"ffe2f580-f207-481f-9416-791e51b00e4e",action:[{_uid:"aebcb1fe-17da-436e-a804-eff7266f14bb",link:{id:"",url:"[email protected]",email:"[email protected]",linktype:"email",fieldtype:"multilink",cached_url:"[email protected]"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"25e04e9f-b6a2-4093-b20c-161c432124c8",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C44H32A12%2C12%2C0%2C0%2C0%2C20%2C56V192a20%2C20%2C0%2C0%2C0%2C20%2C20H216a20%2C20%2C0%2C0%2C0%2C20-20V56A12%2C12%2C0%2C0%2C0%2C224%2C44ZM193.15%2C68%2C128%2C127.72%2C62.85%2C68ZM44%2C188V83.28l75.89%2C69.57
43a12%2C12%2C0%2C0%2C0%2C16.22%2C0L212%2C83.28V188Z%22%2F%3E%3C%2Fsvg%3E",typeName:"envelope-simple",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share via e-mail",aria_labelledby:"",custom_classname:""},{_uid:"4153006a-8f7c-4d3c-a3e1-51166e52c5c0",action:[{_uid:"3d8456ed-21a4-4ee3-a4f4-218e44e55066",link:{id:"",url:"https://www.facebook.com/sharer/sharer.php?u=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.facebook.com/sharer/sharer.php?u=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"51f06b5c-222c-4748-b1d9-1a1fe877e7c1",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EFacebook%3C%2Ftitle%3E%3Cpath%20d%3D%22M9.101%2023.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085%201.848-5.978%205.858-5.978.401%200%20.955.042%201.468.103a8.68%208.68%200%200%201%201.141.195v3.325a8.623%208.623%200%200%200-.653-.036%2026.805%2026.805%200%200%200-.733-.009c-.707%200-1.259.096-1.675.309a1.686%201.686%200%200%200-.679.622c-.258.42-.374.995-.374%201.752v1.297h3.919l-.386%202.103-.287%201.564h-3.246v8.245C19.396%2023.238%2024%2018.179%2024%2012.044c0-6.627-5.373-12-12-12s-12%205.373-12%2012c0%205.628%203.874%2010.35%209.101%2011.647Z%22%2F%3E%3C%2Fsvg%3E",typeName:"Facebook",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Facebook",aria_labelledby:"",custom_classname:""},{_uid:"351f959c-83de-40f0-bcee-db94117d509e",action:[{_uid:"701f5bd5-44e7-4729-ba3c-0429ce363e39",link:{id:"",url:"whatsapp://send?text=YourEncodedTextAndOrLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"whatsapp://send?text=YourEncodedTextAndOrLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c6b6a481-e620-4bb6-9eaa-6cc86cff81dd",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EWhatsApp%3C%2Ftitle%3E%3Cpath%20d%3D%22M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413Z%22%2F%3E%3C%2Fsvg%3E",typeName:"WhatsApp",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Whatsapp",aria_labelledby:"",custom_classname:""},{_uid:"f9f03d9f-32af-4870-9956-b7060af83424",action:[{_uid:"5a43819f-f958-43d1-93ef-909e9d88dabc",link:{id:"",url:"https://x.com/intent/post?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://x.com/intent/post?url=YourLink"},component:"sb-link-button"}],design:{_uid:"75b57df8-6e59-48bd-95e4-6c4447e3ad7d",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"}
43,shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"6938c378-0140-43ee-9616-386aefbfdc58",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EX%3C%2Ftitle%3E%3Cpath%20d%3D%22M18.901%201.153h3.68l-8.04%209.19L24%2022.846h-7.406l-5.8-7.584-6.638%207.584H.474l8.6-9.83L0%201.154h7.594l5.243%206.932ZM17.61%2020.644h2.039L6.486%203.24H4.298Z%22%2F%3E%3C%2Fsvg%3E",typeName:"X",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on X",aria_labelledby:"",custom_classname:""},{_uid:"0664a5e8-5f5c-4ece-9001-8706d8f60d96",action:[{_uid:"eedfa61b-0d29-459e-8c72-0c99b305257f",link:{id:"",url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"483e199d-585d-4d53-9273-0399dbeb6407",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C24H40A16%2C16%2C0%2C0%2C0%2C24%2C40V216a16%2C16%2C0%2C0%2C0%2C16%2C16H216a16%2C16%2C0%2C0%2C0%2C16-16V40A16%2C16%2C0%2C0%2C0%2C216%2C24ZM96%2C176a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C16%2C0ZM88%2C96a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C88%2C96Zm96%2C80a8%2C8%2C0%2C0%2C1-16%2C0V140a20%2C20%2C0%2C0%2C0-40%2C0v36a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C15.79-1.78A36%2C36%2C0%2C0%2C1%2C184%2C140Z%22%2F%3E%3C%2Fsvg%3E",typeName:"linkedin",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on LinkedIn",aria_labelledby:"",custom_classname:""}],component:"sb-button-group",custom_classname:""},image:`${ig.Bn}/Button/storyblok/sb-button-group-social-sharing.webp`,color:"",description:""}},{preset:{name:"Social Sharing Buttons (Flex Group)",preset:{_uid:"aa670f76-2ffd-408d-bc64-621abb6c3bf6",design:{_uid:"840e2502-b8ef-4bca-a306-3da8f6820920",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"center"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"grow"},field_type:"backpack-toggle"},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"43a6e85e-36a6-44e7-8935-77c1a1dacc37",action:[{_uid:"16aa2df8-7bf0-45c0-95c7-adef7e88ec76",link:{id:"",url:"[email protected]",email:"[email protected]",linktype:"email",fieldtype:"multilink",cached_url:"[email protected]"},component:"sb-link-button"}
43],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"718a6465-884f-43f3-aecf-530266c7e36c",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C44H32A12%2C12%2C0%2C0%2C0%2C20%2C56V192a20%2C20%2C0%2C0%2C0%2C20%2C20H216a20%2C20%2C0%2C0%2C0%2C20-20V56A12%2C12%2C0%2C0%2C0%2C224%2C44ZM193.15%2C68%2C128%2C127.72%2C62.85%2C68ZM44%2C188V83.28l75.89%2C69.57
43a12%2C12%2C0%2C0%2C0%2C16.22%2C0L212%2C83.28V188Z%22%2F%3E%3C%2Fsvg%3E",typeName:"envelope-simple",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share via e-mail",aria_labelledby:"",custom_classname:""},{_uid:"9737a77f-92bb-42cc-a157-426394178002",action:[{_uid:"b8bf28d2-9a0a-495b-ad7c-7dbeb354203f",link:{id:"",url:"https://www.facebook.com/sharer/sharer.php?u=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.facebook.com/sharer/sharer.php?u=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"eaffb3a9-6c50-44ae-8c08-f172faaddc77",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EFacebook%3C%2Ftitle%3E%3Cpath%20d%3D%22M9.101%2023.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085%201.848-5.978%205.858-5.978.401%200%20.955.042%201.468.103a8.68%208.68%200%200%201%201.141.195v3.325a8.623%208.623%200%200%200-.653-.036%2026.805%2026.805%200%200%200-.733-.009c-.707%200-1.259.096-1.675.309a1.686%201.686%200%200%200-.679.622c-.258.42-.374.995-.374%201.752v1.297h3.919l-.386%202.103-.287%201.564h-3.246v8.245C19.396%2023.238%2024%2018.179%2024%2012.044c0-6.627-5.373-12-12-12s-12%205.373-12%2012c0%205.628%203.874%2010.35%209.101%2011.647Z%22%2F%3E%3C%2Fsvg%3E",typeName:"Facebook",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Facebook",aria_labelledby:"",custom_classname:""},{_uid:"dd96afc7-3550-49a9-a4cf-b5b3d080c7f2",action:[{_uid:"fa7d4a1e-f753-4cf6-bed0-5a86289fda56",link:{id:"",url:"whatsapp://send?text=YourEncodedTextAndOrLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"whatsapp://send?text=YourEncodedTextAndOrLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"cc68bf43-c15d-4ea2-bead-8bc728ae17f9",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EWhatsApp%3C%2Ftitle%3E%3Cpath%20d%3D%22M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413Z%22%2F%3E%3C%2Fsvg%3E",typeName:"WhatsApp",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Whatsapp",aria_labelledby:"",custom_classname:""},{_uid:"9b725506-1f5a-43cf-8113-85b3b5aa9108",action:[{_uid:"f786379a-d409-40bb-8c39-d51fa6662768",link:{id:"",url:"https://x.com/intent/post?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://x.com/intent/post?url=YourLink"},component:"sb-link-button"}],design:{_uid:"75b57df8-6e59-48bd-95e4-6c4447e3ad7d",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"}
43,shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"2796c1dc-f0a1-496e-ad24-d627b19d05db",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EX%3C%2Ftitle%3E%3Cpath%20d%3D%22M18.901%201.153h3.68l-8.04%209.19L24%2022.846h-7.406l-5.8-7.584-6.638%207.584H.474l8.6-9.83L0%201.154h7.594l5.243%206.932ZM17.61%2020.644h2.039L6.486%203.24H4.298Z%22%2F%3E%3C%2Fsvg%3E",typeName:"X",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on X",aria_labelledby:"",custom_classname:""},{_uid:"4830479a-2cbd-4e6e-8f6e-c05e13ba39c9",action:[{_uid:"006aea3c-71bb-4746-be10-58ecadedc0f6",link:{id:"",url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"ab483ddc-6b6c-4b75-a84b-c82a0f21ef60",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C24H40A16%2C16%2C0%2C0%2C0%2C24%2C40V216a16%2C16%2C0%2C0%2C0%2C16%2C16H216a16%2C16%2C0%2C0%2C0%2C16-16V40A16%2C16%2C0%2C0%2C0%2C216%2C24ZM96%2C176a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C16%2C0ZM88%2C96a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C88%2C96Zm96%2C80a8%2C8%2C0%2C0%2C1-16%2C0V140a20%2C20%2C0%2C0%2C0-40%2C0v36a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C15.79-1.78A36%2C36%2C0%2C0%2C1%2C184%2C140Z%22%2F%3E%3C%2Fsvg%3E",typeName:"linkedin",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on LinkedIn",aria_labelledby:"",custom_classname:""}],component:"sb-button-group",custom_classname:""},created_at:"2025-08-29T09:12:51.582Z",updated_at:"2025-08-29T09:12:51.582Z",image:`${ig.Bn}/Button/storyblok/sb-button-group-social-sharing.webp`,color:"",description:""}}],wa={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...wn,...hv,...hO,...hD};ig.Bn,yO.itemCount("button","buttons","buttons"),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([wa.collapsible_size,wa.collapsible_layout,wa.collapsible_component,wa.collapsible_appearance,wa.collapsible_text,wa.collapsible_effects,wa.collapsible_code_overrides]),JSON.stringify(wa.spacing),JSON.stringify(wa.resize),JSON.stringify(wa.direction),JSON.stringify(wa.align),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-button-group",wr);let wo=e=>{let{blok:t}=e,{design:r,buttons:o,custom_classname:i}=t,l=(0,h5.mi)({design:r},wa),s=(0,h7.N)(null==l?void 0:l.spacing),d=gn({bpHide:l.visibility,originalDisplayProperty:"flex"}),c=wt({resize:null==l?void 0:l.resize,direction:null==l?void 0:l.direction,align:null==l?void 0:l.align}),u=(0,F.cn)("sb-button-group",s,d,c,i);return o.length>0?(0,D.jsx)(x2.h,{...hl(t),className:u,children:null==o?void 0:o.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))}):null};wo.displayName="ButtonGroupSB";
43let wi=[{preset:{name:"Rows layout (Section)",preset:{as:"ul",_uid:"08d3c615-3ce8-4c10-b73f-59fcdc3c66b4",content:[{_uid:"318e9cb5-0679-478c-90ab-f825f2a3ce07",design:{_uid:"701771e4-38d9-4472-9fbf-6ee5ff896182",plugin:"backpack-breakpoints",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}}},content:[{_uid:"aef11eab-c140-4d45-acbb-260a8ee0fa8a",design:"",content:[{_uid:"20667571-87ed-4328-a52b-f9ee1a5b78e0",design:{_uid:"50f85bbb-0711-45d9-89ed-1ceaefb8c977",plugin:"backpack-breakpoints",fields:{variant:{type:"option",values:{s:"title3"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"}}},content:{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:"Item 1"}]}]},component:"sb-body-text"}],component:"sb-list-title"}],component:"sb-list-item"}],design:{_uid:"54d8f8d2-8ffa-4cc0-b7c1-0521971db55b",plugin:"backpack-breakpoints",fields:{layout:{type:"option",values:{s:"rows"}},marker:{type:"option",values:{s:"disc"}},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},item_spacing:{type:"option",values:{s:"m"}}}},component:"sb-list",custom_classname:""},image:`${ig.Bn}/List/storyblok/sb-list-rows-default.webp`,description:"List with rows layout and default marker style"}}
43,{preset:{name:"Grid layout (Section)",preset:{as:"ul",_uid:"986ac719-1127-4663-9dac-d4d53d0c41ca",content:[{_uid:"53174456-c564-4e3d-a5bd-8da2ed32a0f7",content:[{_uid:"abcb80fe-afe0-4951-aa0b-cbff8fc3f150",content:[{_uid:"962f4dec-f47c-450b-964d-876a41a1dee1",content:{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:"Item 1"}]}]},design:{plugin:"backpack-breakpoints",fields:{variant:{type:"option",values:{s:"title3"}}}},component:"sb-body-text"}],design:"",component:"sb-list-title"}],design:"",component:"sb-list-item"}],design:{plugin:"backpack-breakpoints",fields:{position:{type:"custom",field_type:"backpack-layout",values:{s:{x:[1,5]}}},layout:{type:"option",values:{s:"grid"}},item_spacing:{type:"option",values:{s:"m"}}}},component:"sb-list",custom_classname:""},image:`${ig.Bn}/List/storyblok/sb-list-grid-default.webp`,description:"List with Grid layout"}},{preset:{name:"Default layout (Section)",preset:{as:"ul",_uid:"e972933a-b182-4ecd-8705-63354b4de978",content:[{_uid:"bc9e539d-09d1-4655-aa5c-5942c9b856a0",design:{plugin:"backpack-breakpoints",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}}},content:[{_uid:"4c354503-e9e5-4255-a9b7-114d52f40960",content:{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:"This is Item 1"}]}]},design:"",component:"sb-text"}],component:"sb-list-item"}],design:{plugin:"backpack-breakpoints",fields:{position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},layout:{type:"option",values:{s:"default"}},item_spacing:{type:"option",values:{s:"xs"}}}},component:"sb-list",custom_classname:""},image:`${ig.Bn}/List/storyblok/sb-list-default-no-marker.webp`,description:"List with default layout"}}
43,{preset:{name:"Default (Flex Group)",preset:{as:"ul",_uid:"a82c3cef-449a-480e-83d8-ce10be256360",content:[{_uid:"1d4b889a-40ed-44be-863f-e04568e94eb8",design:{_uid:"a9a838a6-b1f0-4365-9449-3a6e7492a65c",plugin:"backpack-breakpoints",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}}},content:[{_uid:"1321315c-4750-4355-9457-ef27c110be6d",design:"",content:[{_uid:"6092e522-1bce-4b76-bb49-757e9fa26508",design:"",content:{type:"doc",content:[{type:"paragraph",content:[{text:"First list item",type:"text"}]}]},component:"sb-text",custom_classname:""}],component:"sb-flex-group",custom_classname:""}],component:"sb-list-item"}],design:{_uid:"13f3e2af-ef0e-4690-bbe0-d41417dd3e5d",plugin:"backpack-breakpoints",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}}},component:"sb-list"},image:`${ig.Bn}/List/storyblok/sb-list-default.webp`,description:""}}],wl={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},layout:{display_name:"Display",type:"option",description:"The list layout style",options:[{name:"Row",value:"rows"},{name:"Grid",value:"grid"}],default_value:{s:"rows"}},marker:{display_name:"Marker type",type:"option",description:"The list marker style, does not apply to rows layout",options:[{name:"None",value:"none"},{name:"Bullet point",value:"disc"},{name:"Number",value:"decimal"}],default_value:{s:"none"}},item_spacing:{display_name:"Gap",type:"option",description:"The spacing between list items",options:[{name:"8px",secondaryText:"XS",value:"xs"},{name:"16px",secondaryText:"S",value:"s"},{name:"24px",secondaryText:"M",value:"m"},{name:"32px",secondaryText:"L",value:"l"},{name:"48px",secondaryText:"XL",value:"xl"}],default_value:{s:"m"}},item_divider:{display_name:"Divider",type:"boolean",description:"Adds a divider between list items",default_value:{}},...hv,...hO,...hD};ig.Bn,yO.itemCount("item"),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([wl.collapsible_size,wl.collapsible_layout,wl.collapsible_component,wl.collapsible_appearance,wl.collapsible_text,wl.collapsible_effects,wl.collapsible_code_overrides]),JSON.stringify(wl.spacing),JSON.stringify(wl.layout),JSON.stringify(wl.marker),JSON.stringify(wl.item_spacing),JSON.stringify(wl.item_divider),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-list",wi);let ws=e=>{let{blok:t,...r}=e,{content:o,as:i,design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l},wl),c=(0,h5.qm)(d),u=(0,h7.N)(null==d?void 0:d.spacing),p=gn({bpHide:d.visibility,originalDisplayProperty:"grid"}),f=(0,F.cn)("sb-list",u,p,s);return(0,D.jsx)(g$,{layout:null==c?void 0:c.layout,marker:null==c?void 0:c.marker,itemSpacing:null==c?void 0:c.item_spacing,itemDivider:null==c?void 0:c.item_divider,as:i||"ul",...r,...hl(t),className:f,children:null==o?void 0:o.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};ws.displayName="ListSB";let wd=e=>{var t,r,o,i;let{blok:l,children:s,...d}=e,c=(0,h5.mi)({design:null==l?void 0:l.design}),u=(0,h5.qm)(c),p=(0,D.jsx)(o8,{children:(null==(t=null==l?void 0:l.content)?void 0:t.length)>0?null==(r=null==l?void 0:l.content)?void 0:r.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)):null}),f={modal:!0,size:null==u?void 0:u.size,position:null==(i=null==(o=null==u?void 0:u.position)?void 0:o.align)?void 0:i.join("-"),variant:null==u?void 0:u.variant,radius:null==u?void 0:u.border_radius,allowThirdPartyInteractions:null==l?void 0:l.allow_third_party_interactions,...d};return s?(0,D.jsxs)(vz,{...f,children:[s,p]}):(0,D.jsx)(vz,{...f,children:p})};wd.displayName="ModalBaseSB";let wc=e=>{let{blok:t,children:r,...o}=e;return(0,D.jsx)(wd,{blok:t,...o,children:(0,D.jsx)(ii,{asChild:!0,children:r})})};wc.displayName="ModalSB";var wu=r(85399);
43let wp={...hu,spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},background_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},variant:{display_name:"Border type",type:"option",options:[{name:"Outline",secondaryText:"With border",value:"outline"},{name:"Shadow Small",value:"shadow-s"},{name:"Shadow Medium",value:"shadow-m"},{name:"Shadow Large",value:"shadow-l"},{name:"Shadow Extra Large",value:"shadow-xl"}],default_value:{}},border_radius:{display_name:"Border radius",type:"custom",field_type:"backpack-rounded",options:[{value:"none",secondaryText:"zero",name:"0px"},{value:"xxs",secondaryText:"XXS",name:"4px"},{value:"xs",secondaryText:"XS",name:"8px"},{value:"s",secondaryText:"S",name:"16px"},{value:"m",secondaryText:"M",name:"24px"},{value:"l",secondaryText:"L",name:"32px"},{value:"full",secondaryText:"Full",name:"Round"}],default_value:{}},outline_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},clip_content:{type:"custom",field_type:"backpack-toggle",display_name:"Clip content",options:[{value:"clip",name:"clip",icon:`${ig.GT}/check.svg`,tooltip_text:"Clip"},{value:"not-clip",name:"not clip",icon:`${ig.GT}/x.svg`,tooltip_text:"Do not clip"}],default_value:{}}},wf=[{preset:{name:"Default (Section)",preset:{_uid:"0377f890-6a1e-4d6b-91b1-e963e304cd47",design:{_uid:"b80a63e9-16a1-4259-9b89-d6a6f162bf3d",title:"Backpack Breakpoints plugin",fields:{order:{type:"number",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"shadow-m"}},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c3d52668-1cf6-4cc9-8e78-7c32f65d1777",design:"",content:[{_uid:"93f9a861-cdcf-48b5-bfbe-52ce3ec947d5",design:{_uid:"8cb810d1-218c-420c-81ca-912273524d33",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{pb:"s",pl:"s",pr:"s",pt:"s"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"body"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",type:"text"}]}]},component:"sb-text",custom_classname:""}],component:"sb-content-group",custom_classname:""}],component:"sb-surface",custom_classname:""},created_at:"2023-10-19T11:43:52.975Z",updated_at:"2023-10-19T11:43:52.975Z",image:`${ig.Bn}/Surface/storyblok/sb-surface-default.webp`,color:"",description:""}},{preset:{name:"Default (Flex Group)",preset:{_uid:"ef3db8a1-fa60-45bd-9caa-7bbbcce8a5d7",design:{_uid:"77018f35-3de9-4b53-a100-12b912f921ca",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"shadow-m"}},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},item_width:{type:"number",values:{}},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c0bb4a80-3cb5-4f16-ac88-9a33f6310593",design:"",content:[{_uid:"5179cb9d-921a-4efe-8417-a15232daa179",design:{_uid:"8cb810d1-218c-420c-81ca-912273524d33",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{pb:"s",pl:"s",pr:"s",pt:"s"}}
43,field_type:"backpack-spacing"},variant:{type:"option",values:{s:"body"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",type:"text"}]}]},component:"sb-text",custom_classname:""}],component:"sb-content-group",custom_classname:""}],component:"sb-surface",custom_classname:""},created_at:"2023-10-19T15:33:25.909Z",updated_at:"2023-10-19T15:33:25.909Z",image:`${ig.Bn}/Surface/storyblok/sb-surface-default.webp`,color:"",description:""}},{preset:{name:"Copy link to clipboard",preset:{_uid:"d83c885d-15a2-41c2-b025-b93ac7dcacd1",design:{_uid:"53cc245e-d05c-4c3b-930c-99ee1dfeaab2",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mt:"l"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"outline"}},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},clip_content:{type:"custom",values:{},field_type:"backpack-toggle"},border_radius:{type:"option",values:{s:"xs"}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"0cc0d709-9a5c-4d52-a55d-4fb5de4fbacc",name:"",design:{_uid:"01fd4657-974b-4381-940c-b691cbba48b9",title:"Backpack Breakpoints plugin",fields:{gap:{type:"option",values:{s:"s"}},wrap:{type:"boolean",values:{}},align:{type:"custom",values:{},field_type:"backpack-toggle"},justify:{type:"custom",values:{s:"space-between"},field_type:"backpack-toggle"},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},direction:{type:"custom",values:{s:"row"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"2a97975f-f046-4aed-bd18-8817d5019a0d",design:{_uid:"69f134a3-e9c3-444b-af73-99488fb60188",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mb:"s",ml:"s",mt:"s"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"uiLabel"}},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},max_lines:{type:"number",values:{s:1}},view_more:{type:"boolean",values:{}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},view_less_text:{type:"text",values:{s:"View less"}},view_more_text:{type:"text",values:{s:"View more"}},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"https://impact.ef.com/stories/ecobana-hult-prize-winner/",type:"text",marks:[{type:"textStyle",attrs:{color:""}}]}]}]},component:"sb-body-text-flex-group",custom_classname:""},{_uid:"9ccd5d63-2cc6-46d1-91da-a161f5a7af97",design:{_uid:"26d01d5d-4e20-4e1b-83c1-9391472a1cd3",title:"Backpack Breakpoints plugin",fields:{color:{type:"custom",values:{},field_type:"backpack-color-picker"},width:{type:"number",values:{s:100}},spacing:{type:"custom",values:{s:{mb:"m"}}
43,field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},thickness:{type:"number",values:{s:1}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},orientation:{type:"option",values:{s:"vertical"}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-divider-flex-group",custom_classname:""},{_uid:"4dbf2b2f-9b58-4819-a65a-9ae544b7dad1",design:{_uid:"8d32976b-da16-419d-ad08-e624e484309d",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{s:{pr:"s"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"33f4c2ee-9f20-4368-8e23-38c0490a73c4",action:[{_uid:"38216ddf-3692-4f4b-a8eb-8c4578dd208c",link:{id:"",url:"www.google.it",linktype:"url",fieldtype:"multilink",cached_url:"www.google.it"},component:"sb-copy-button",toast_text:"Link copied",toast_error_text:"Copy failed"}],design:{_uid:"6a530dbf-1261-43f9-b970-7c29585c81ce",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"small"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"square"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"ed4d1184-3fd1-42b9-bf78-fd3821536c8a",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C28H88A12%2C12%2C0%2C0%2C0%2C76%2C40V76H40A12%2C12%2C0%2C0%2C0%2C28%2C88V216a12%2C12%2C0%2C0%2C0%2C12%2C12H168a12%2C12%2C0%2C0%2C0%2C12-12V180h36a12%2C12%2C0%2C0%2C0%2C12-12V40A12%2C12%2C0%2C0%2C0%2C216%2C28ZM156%2C204H52V100H156Zm48-48H180V88a12%2C12%2C0%2C0%2C0-12-12H100V52H204Z%22%2F%3E%3C%2Fsvg%3E",typeName:"copy",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"},{_uid:"302d5d2e-d9b9-4886-8300-d81713110712",text:"Copy link",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",aria_labelledby:"",custom_classname:""}],component:"sb-button-group-flex-group",custom_classname:""}],component:"sb-flex-group",custom_classname:""}],component:"sb-surface",custom_classname:""},image:`${ig.Bn}/Surface/storyblok/sb-surface-copy-link.webp`,color:"",description:"Copies the Link to the Clipboard"}},{preset:{name:"Social Sharing Buttons",preset:{_uid:"d83c885d-15a2-41c2-b025-b93ac7dcacd1",design:{_uid:"53cc245e-d05c-4c3b-930c-99ee1dfeaab2",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mt:"l"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"outline"}},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},clip_content:{type:"custom",values:{},field_type:"backpack-toggle"},border_radius:{type:"option",values:{s:"xs"}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"0cc0d709-9a5c-4d52-a55d-4fb5de4fbacc",name:"",design:{_uid:"01fd4657-974b-4381-940c-b691cbba48b9",title:"Backpack Breakpoints plugin",fields:{gap:{type:"option",values:{s:"s"}},wrap:{type:"boolean",values:{}},align:{type:"custom",values:{},field_type:"backpack-toggle"},justify:{type:"custom",values:{s:"space-between"},field_type:"backpack-toggle"},spacing:{type:"custom",values:{}
43,field_type:"backpack-spacing"},direction:{type:"custom",values:{s:"row"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"2a97975f-f046-4aed-bd18-8817d5019a0d",design:{_uid:"69f134a3-e9c3-444b-af73-99488fb60188",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mb:"s",ml:"s",mt:"s"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"uiLabel"}},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},max_lines:{type:"number",values:{s:1}},view_more:{type:"boolean",values:{}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},view_less_text:{type:"text",values:{s:"View less"}},view_more_text:{type:"text",values:{s:"View more"}},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"https://impact.ef.com/stories/ecobana-hult-prize-winner/",type:"text",marks:[{type:"textStyle",attrs:{color:""}}]}]}]},component:"sb-body-text-flex-group",custom_classname:""},{_uid:"9ccd5d63-2cc6-46d1-91da-a161f5a7af97",design:{_uid:"26d01d5d-4e20-4e1b-83c1-9391472a1cd3",title:"Backpack Breakpoints plugin",fields:{color:{type:"custom",values:{},field_type:"backpack-color-picker"},width:{type:"number",values:{s:100}},spacing:{type:"custom",values:{s:{mb:"m"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},thickness:{type:"number",values:{s:1}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},orientation:{type:"option",values:{s:"vertical"}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-divider-flex-group",custom_classname:""},{_uid:"4dbf2b2f-9b58-4819-a65a-9ae544b7dad1",design:{_uid:"8d32976b-da16-419d-ad08-e624e484309d",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{s:{pr:"s"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"33f4c2ee-9f20-4368-8e23-38c0490a73c4",action:[{_uid:"38216ddf-3692-4f4b-a8eb-8c4578dd208c",link:{id:"",url:"www.google.it",linktype:"url",fieldtype:"multilink",cached_url:"www.google.it"},component:"sb-copy-button",toast_text:"Link copied",toast_error_text:"Copy failed"}],design:{_uid:"6a530dbf-1261-43f9-b970-7c29585c81ce",title:"Backpack Breakpoints plugin",fields:{mono:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"small"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"square"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"ed4d1184-3fd1-42b9-bf78-fd3821536c8a",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C28H88A12%2C12%2C0%2C0%2C0%2C76%2C40V76H40A12%2C12%2C0%2C0%2C0%2C28%2C88V216a12%2C12%2C0%2C0%2C0%2C12%2C12H168a12%2C12%2C0%2C0%2C0%2C12-12V180h36a12%2C12%2C0%2C0%2C0%2C12-12V40A12%2C12%2C0%2C0%2C0%2C216%2C28ZM156%2C204H52V100H156Zm48-48H180V88a12
43%2C12%2C0%2C0%2C0-12-12H100V52H204Z%22%2F%3E%3C%2Fsvg%3E",typeName:"copy",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"},{_uid:"302d5d2e-d9b9-4886-8300-d81713110712",text:"Copy link",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",aria_labelledby:"",custom_classname:""}],component:"sb-button-group-flex-group",custom_classname:""}],component:"sb-flex-group",custom_classname:""}],component:"sb-surface",custom_classname:""},image:`${ig.Bn}/Surface/storyblok/sb-surface-social-sharing.webp`,color:"",description:""}}],wm={stretch:{type:"custom",field_type:"backpack-toggle",display_name:"Resize",options:[{value:"fill",name:"Fill"},{value:"auto",name:"Hug"}],default_value:{s:"fill"}}},wh={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:["background_color","outline_color","border_radius","variant"]},...wp,...hv,...hO,...hD,...wm};ig.Bn,yO.itemCountWithTypes(),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([wh.collapsible_size,wh.collapsible_layout,wh.collapsible_component,wh.collapsible_appearance,wh.collapsible_text,wh.collapsible_effects,wh.collapsible_code_overrides]),JSON.stringify(wh.spacing),JSON.stringify(wh.border_radius),JSON.stringify(wh.variant),JSON.stringify(wh.text_color),JSON.stringify(wh.background_color),JSON.stringify(wh.outline_color),JSON.stringify(wh.clip_content),...hy.design.options,...hR.design.options,...hM.design.options,JSON.stringify(wh.stretch)],hE("sb-surface",wf);let wg=e=>{let{blok:t}=e,{content:r,design:o,custom_classname:i}=t,l=(0,h5.mi)({design:o},wh),s=(0,h5.qm)(l),d=(0,h7.N)(null==l?void 0:l.spacing),c=vV(null==l?void 0:l.border_radius),u=gn({bpHide:l.visibility}),p=(0,hr.t0)(null==s?void 0:s.text_color),f=(0,hr.t0)(null==s?void 0:s.background_color),m=(0,hr.t0)(null==s?void 0:s.outline_color),h=!!(p.light||p.dark),g=!!(f.light||f.dark),v=!!(m.light||m.dark),y={...h?{"--sb-surface-text-color-light":p.light,"--sb-surface-text-color-dark":p.dark,"--color-system-text-default":"var(--sb-surface-text-color)"}:{},...g?{"--sb-surface-background-color-light":f.light,"--sb-surface-background-color-dark":f.dark,"--color-system-surface-default":"var(--sb-surface-background-color)"}:{},...v?{"--sb-surface-outline-color-light":m.light,"--sb-surface-outline-color-dark":m.dark,"--color-system-stroke-weak":"var(--sb-surface-outline-color)"}:{}},b=(0,F.cn)("sb-surface",d,c,u,h?"[--sb-surface-text-color:var(--sb-surface-text-color-light)] dark:[--sb-surface-text-color:var(--sb-surface-text-color-dark)]":"",g?"[--sb-surface-background-color:var(--sb-surface-background-color-light)] dark:[--sb-surface-background-color:var(--sb-surface-background-color-dark)]":"",v?"[--sb-surface-outline-color:var(--sb-surface-outline-color-light)] dark:[--sb-surface-outline-color:var(--sb-surface-outline-color-dark)]":"","fill"===s.stretch?"flex items-stretch":"","clip"===s.clip_content?"overflow-hidden":"",i);return(0,D.jsx)(wu.T,{className:b,variant:null==s?void 0:s.variant,clipContent:"clip"===s.clip_content,stretch:s.stretch,style:y,...hl(t),children:(0,D.jsx)("div",{className:"flex-1",children:(null==r?void 0:r.length)>0&&r.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})})};wg.displayName="SurfaceSB";let wv=(0,oG.cn)({isHovered:!1,isClickable:void 0,loop:void 0,muted:void 0,playing:void 0,horizontal:void 0,border:void 0}),wy=(0,oG.cn)({horizontal:!1,social:void 0}),wb=(0,oG.cn)({isHovered:!1,isClickable:void 0}),wx={none:{root:"rounded-none [--inner-border-radius:0]"},xxs:{root:"rounded-xxs [--inner-border-radius:var(--border-radius-xxs)]"},xs:{root:"rounded-xs [--inner-border-radius:var(--border-radius-xs)]"},s:{root:"rounded-sm [--inner-border-radius:var(--border-radius-s)]"},m:{root:"rounded-md [--inner-border-radius:var(--border-radius-m)]"},l:{root:"rounded-lg [--inner-border-radius:var(--border-radius-l)]"},xl:{root:"rounded-xl [--inner-border-radius:var(--border-radius-xl)]"},full:{root:"rounded-full [--inner-border-radius:9999px]"}},ww=(0,B.c6)({slots:{root:"border-box group relative flex w-full flex-col bg-system-surface-default text-system-text-default transition-shadow duration-system-medium ease-system-easing-expressive has-[.ef-card-action[data-focus-visible]]:ef-focus-ring has-[.ef-card-banner]:-mt-8 has-[.ef-card-action]:cursor-pointer",clip:"relative flex w-full flex-1 flex-col overflow-hidden rounded-[inherit] has-[.ef-card-banner]:pt-8"}
43,variants:{radius:{...wx},isClickable:{true:{root:"relative cursor-pointer"}},border:{none:{},bordered:{root:"ring-1 ring-system-stroke-default has-[.ef-card-action]:transition-all has-[.ef-card-action]:duration-system-medium has-[.ef-card-action]:ease-system-easing-expressive has-[.ef-card-action]:can-hover:hover:ring-1 has-[.ef-card-action]:can-hover:hover:ring-system-stroke-hover has-[.ef-card-action]:can-hover:hover:ring-offset-4 has-[.ef-card-action]:can-hover:hover:ring-offset-system-surface-default"},"shadow-s":{root:"shadow-dark-s-10 not-has-media:hover:shadow-dark-l-10 has-[.ef-card-action]:can-hover:hover:shadow-dark-m-25"},"shadow-m":{root:"shadow-dark-m-15 not-has-media:hover:shadow-dark-l-15 has-[.ef-card-action]:can-hover:hover:shadow-dark-l-30"},"shadow-l":{root:"shadow-dark-l-15 not-has-media:hover:shadow-dark-xl-15 has-[.ef-card-action]:can-hover:hover:shadow-dark-xl-30"},"shadow-xl":{root:"shadow-dark-xl-15 not-has-media:hover:shadow-dark-l-15 has-[.ef-card-action]:can-hover:hover:shadow-dark-xxl-30"}},horizontal:{true:{clip:"flex-row items-center [&_.ef-card-body]:ms-0 [&_.ef-card-body]:h-auto [&_>_*:not(.ef-card-action)]:w-[calc(50%_-_(var(--spacing-spacing-xs)_*_2))] [&_>_*:not(.ef-card-action)]:max-w-[50%]"}},isFocusVisible:{true:{root:"ef-focus-ring"}},background:{none:{root:"rounded-none bg-transparent shadow-none ring-0 ring-offset-0 hover:!shadow-none hover:ring-0 hover:ring-offset-0"},default:{}}},compoundVariants:[{isClickable:!0,border:"bordered",class:{root:"ring-1 ring-system-stroke-default transition-all duration-system-medium ease-system-easing-expressive can-hover:hover:ring-1 can-hover:hover:ring-system-stroke-hover can-hover:hover:ring-offset-4 can-hover:hover:ring-offset-system-surface-default"}},{isClickable:!0,border:"shadow-s",class:{root:"can-hover:hover:shadow-dark-m-25"}},{isClickable:!0,border:"shadow-m",class:{root:"can-hover:hover:shadow-dark-l-30"}},{isClickable:!0,border:"shadow-l",class:{root:"can-hover:hover:shadow-dark-xl-30"}},{isClickable:!0,border:"shadow-xl",class:{root:"can-hover:hover:shadow-dark-xxl-30"}}]}),wk=((0,B.c6)({slots:{root:"absolute inset-0 z-20 m-0 cursor-pointer appearance-none rounded-[inherit] border-0 bg-transparent p-0"}}),(0,B.c6)({slots:{root:"mono left-2 right-2 top-2 z-20 flex flex-row flex-nowrap gap-2 px-6 pb-0 pt-6 group-has-[.ef-card-image]:absolute group-has-[.ef-card-video]:absolute group-has-[.ef-card-banner]:top-10 group-has-[.ef-card-image[data-variant=inline-full]]:left-0 group-has-[.ef-card-image[data-variant=inline-full]]:right-0 group-has-[.ef-card-image[data-variant=inline-full]]:top-0 group-has-[.ef-card-image[data-variant=inline-full]]:p-4 group-has-[.ef-card-image]:p-2 group-has-[.ef-card-video]:p-2"},variants:{justify:{"space-between":{root:"justify-between"},"space-around":{root:"justify-around"},"space-evenly":{root:"justify-evenly"},start:{root:"justify-start"},end:{root:"justify-end"},center:{root:"justify-center"}}}})),w_=(0,B.c6)({slots:{root:"[&_img]:relative [&_img]:scale-100 [&_img]:transition-transform [&_img]:duration-system-medium [&_img]:ease-system-easing-expressive [&_img]:motion-reduce:transition-none",imageContainer:"relative z-0 m-2 shrink-0 grow-0 basis-auto overflow-clip group-has-[.ef-card-action]:can-hover:group-hover:[&_img]:scale-105 motion-reduce:group-has-[.ef-card-action]:group-hover:[&_img]:scale-100",overlayTop:"absolute end-0 start-0 top-0 z-10 hidden rounded-t-[inherit] bg-gradient-to-b from-mono-black-90 to-transparent",overlayBottom:"absolute bottom-0 end-0 start-0 z-10 hidden rounded-b-[inherit] bg-gradient-to-t from-mono-black-90 to-transparent"},variants:{radius:{...wx},isHovered:{true:{root:""}},isClickable:{true:{root:""}},variant:{background:{imageContainer:"peer absolute inset-0 m-0 rounded-[inherit]",root:"h-full w-full"},inline:{imageContainer:"rounded-[calc(var(--inner-border-radius)-theme(spacing.2))]"},"inline-full":{imageContainer:"m-0 overflow-hidden rounded-[var(--inner-border-radius)]"}},overlayTop:{none:{},s:{overlayTop:"block h-16"},m:{overlayTop:"block h-20"},l:{overlayTop:"block h-32"},xl:{overlayTop:"block h-40"}},overlayBottom:{none:{},s:{overlayBottom:"block h-16"},m:{overlayBottom:"block h-20"},l:{overlayBottom:"block h-32"},xl:{overlayBottom:"block h-40"}},overlayFull:{true:{overlayTop:"bottom-0 block bg-mono-black-50 bg-none"}},horizontal:{true:{}},border:{none:{},bordered:{},"shadow-s":{},"shadow-m":{},"shadow-l":{},"shadow-xl":{}}},compoundVariants:[{isHovered:!0,isClickable:!0,class:{root:"[&_img]:scale-105 motion-reduce:[&_img]:scale-100"}},{variant:"inline-full",horizontal:!1,border:["bordered","shadow-s","shadow-m","shadow-l","shadow-xl"],class:{imageContainer:"rounded-b-none"}},{variant:"inline-full",horizontal:!0,border:["bordered","shadow-s","shadow-m","shadow-l","shadow-xl"],class:{imageContainer:"rounded-e-none"}},{radius:"full",class:{imageContainer:"rounded-full"}}]}),wC=(0,B.c6)({slots:{root:"relative z-0 flex h-fit flex-col rounded-xs",overlayTop:"pointer-events-none absolute end-0 start-0 top-0 z-20 hidden rounded-t-[inherit] bg-gradient-to-b from-mono-black-90 to-transparent",overlayBottom:"pointer-events-none absolute bottom-0 end-0 start-0 z-20 hidden rounded-b-[inherit] bg-gradient-to-t from-mono-black-90 to-transparent",playButton:"z-30",videoPreview:"m-2 roun
43ded-[inherit] bg-mono-black-100",audioControl:"mono !absolute bottom-4 right-4 z-30 group-[.dark]/card-video-bg:light group-[]/card-video-bg:dark"},variants:{radius:{...wx},variant:{background:{root:"group/card-video-bg peer absolute inset-0 z-auto m-0 h-full w-full",overlayTop:"z-0",overlayBottom:"z-0",playButton:"z-10",videoPreview:"m-0 p-0"},inline:{root:"group-has-[.ef-card-action]:z-30",videoPreview:"m-2 overflow-hidden rounded-[calc(var(--inner-border-radius)-theme(spacing.2))]"},"inline-full":{root:"m-0 group-has-[.ef-card-action]:z-30",videoPreview:"m-0 p-0"}},overlayTop:{none:{},s:{overlayTop:"block h-16"},m:{overlayTop:"block h-20"},l:{overlayTop:"block h-32"},xl:{overlayTop:"block h-40"}},overlayBottom:{none:{},s:{overlayBottom:"block h-16"},m:{overlayBottom:"block h-20"},l:{overlayBottom:"block h-32"},xl:{overlayBottom:"block h-40"}},overlayFull:{true:{overlayTop:"bottom-0 block bg-mono-black-50 bg-none"}},interactive:{true:{root:"cursor-pointer"},false:{videoPreview:"pointer-events-none"}}}}),w$=(0,B.c6)({slots:{root:"z-10 flex h-full w-full flex-1 flex-col items-start gap-2 p-6 text-system-text-default peer-[.dark]:light peer-[]:dark peer-[]:flex-none group-has-[.ef-card-action]:z-auto [&>.ef-flex]:flex-1 group-has-[.ef-card-action]:[&_a]:relative group-has-[.ef-card-action]:[&_a]:z-30 group-has-[.ef-card-action]:[&_button]:relative group-has-[.ef-card-action]:[&_button]:z-30"},variants:{shape:{default:{},"speech-bubble":{root:'relative bg-system-surface-default before:pointer-events-none before:absolute before:start-6 before:top-[-18px] before:h-[19px] before:w-[33px] before:bg-inherit before:content-[""] before:[clip-path:path("M_21.6674_1.10617_C_23.0908_-0.477677_25.5132_-0.410557_26.1175_1.63138_C_27.9901_7.95945_25.5376_18.3557_32.2816_18.3557_C_36.2823_18.3557_-3.7184_18.3557_0.281604_18.3557_C_7.21568_18.3557_16.0426_7.36494_21.6674_1.10617_Z")]'}},social:{true:{root:"p-4 pb-5 [&_.ef-button.hit-area-small]:!h-6 [&_.ef-button.hit-area-small]:!self-center [&_.ef-button.hit-area-small]:!py-0.5 [&_.ef-tag.h-6]:!h-6 [&_.flex.flex-row.gap-xs]:h-8 [&_.flex.flex-row.gap-xs]:items-center"}},align:{center:{root:"my-auto h-fit"},start:{root:"mb-auto h-auto"},end:{root:"mt-auto h-auto"}},justify:{center:{root:"mx-auto h-auto w-fit"},start:{root:"me-auto h-auto w-fit"},end:{root:"ms-auto h-auto w-fit"}},textAlign:{inherit:{root:""},center:{root:"items-center text-center [&>*]:text-center"},start:{root:"items-start text-start"},end:{root:"items-end text-end [&>*]:text-end"}},stretch:{fill:{root:"flex-1"},auto:{root:"flex-auto"}},horizontal:{true:{root:"px-12"}}}}),wS=(0,B.c6)({slots:{root:"z-10 mt-auto flex w-full flex-row flex-nowrap items-center gap-2 group-has-[.ef-card-action]:z-auto group-has-[.ef-card-action]:[&_a]:relative group-has-[.ef-card-action]:[&_a]:z-30 group-has-[.ef-card-action]:[&_button]:relative group-has-[.ef-card-action]:[&_button]:z-30",arrow:"animation-delay-[0s] animation-ease-system-easing-expressive",arrowWrapper:"z-10 overflow-visible group-has-[.ef-card-action]:z-auto",content:"z-10 group-has-[.ef-card-action]:z-auto"},variants:{justify:{center:{root:"justify-center"},start:{root:"justify-start"},end:{root:"justify-end"},"space-between":{root:"justify-between"},"space-around":{root:"justify-around"},"space-evenly":{root:"justify-evenly"}},withoutChildren:{true:{root:"justify-end"}}}}),wE=((0,B.c6)({slots:{root:"h-full w-full rounded-[inherit] ",button:"h-full w-full rounded-[inherit]",video:"pointer-events-none m-0 bg-mono-black-100",audioControl:"absolute bottom-0 right-0 z-30 m-6"},variants:{playing:{false:{root:""}}}}),(0,B.c6)({slots:{root:"absolute top-0 z-30 flex h-8 w-full flex-none flex-row gap-2 rounded-t-[inherit] px-4 py-2 *:overflow-hidden *:text-ellipsis *:whitespace-nowrap"},variants:{justify:{"space-between":{root:"justify-between"},"space-around":{root:"justify-around"},"space-evenly":{root:"justify-evenly"},start:{root:"justify-start"},end:{root:"justify-end"},center:{root:"justify-center"}},intent:{primary:{root:"bg-system-surface-brand-primary text-system-text-brand-on-primary [&_.ef-text]:text-system-text-brand-on-primary"},promo:{root:"bg-system-surface-promo-strong text-system-text-promo-on-strong [&_.ef-text]:text-system-text-promo-on-strong"},info:{root:"bg-system-surface-info-strong text-system-text-info-on-strong [&_.ef-text]:text-system-text-info-on-strong"},success:{root:"bg-system-surface-success-strong text-system-text-success-on-strong [&_.ef-text]:text-system-text-success-on-strong"},attention:{root:"bg-system-surface-attention-strong text-system-text-attention-on-strong [&_.ef-text]:text-system-text-attention-on-strong"},warning:{root:"bg-system-surface-warning-strong text-system-text-warning-on-strong [&_.ef-text]:text-system-text-warning-on-strong"}}}}));var wj=r(75607),wN=r(25146);let wT=(0,oG.cn)(void 0),wP=e=>{let{variant:t="uiLabelSmall",children:r,...o}=e,i=(0,oQ.Dv)(wT);return(0,D.jsx)(aL.x,{variant:t,...o,children:"u">typeof r&&r?r:i})};
43wP.displayName="CardVideoDuration";var wA=r(83637);let wO=(0,I.forwardRef)((e,t)=>{let{onPress:r,onPressStart:o,onPressEnd:i,href:l,themeConfig:s,aspectRatios:d,border:c="shadow-m",horizontal:u=!1,renderCustomLink:p,children:f,radius:m="m",background:h="default",social:g=!1,className:v,onClick:y,...b}=e,{pressProps:x}=(0,oX.r)({onPressStart:e=>{o&&o(e)},onPressEnd:e=>{i&&i(e)},onPress:e=>{r&&r(e)},onClick:y}),{isFocusVisible:w,focusProps:k}=(0,wj.F)({}),{hoverProps:_,isHovered:C}=(0,aR.X)({});if(l&&r)throw Error("Card component cannot have both href and onPress props");let $=!!l&&l.length>0,S=!!l||!!r||!!o||!!i||!!y,E=!!r||!!o||!!i||!$&&!!y,{root:j,clip:N}=(0,mP.tv)(s?(0,B.RH)(ww,s):ww)({isClickable:S,border:c,horizontal:u,background:h,isFocusVisible:w,radius:m}),T=iy({bpAspectRatio:d}),P="article";p&&$?P=p:$?P="a":E&&(P="div");let A="div"===P,O=(0,F.cn)("ef-card",T,void 0===d?"has-[[data-default-aspect-ratio]]:aspect-video":void 0,j(),A?"appearance-none border-0 p-0 text-start font-[inherit]":"",v),R=[[wv,{isHovered:C,isClickable:S,border:c,horizontal:u}],[wb,{isHovered:C,isClickable:S}],[wy,{horizontal:u,social:g}]];return(0,D.jsx)(wA.$,{atoms:[wv,wb,wT,wy],children:(0,D.jsx)(P,{className:O,href:$?l:void 0,role:A?"button":void 0,tabIndex:A?0:void 0,onClick:E?void 0:y||void 0,ref:t,...(0,wN.d)(E?x:{},S?_:{},S?k:{},b),children:(0,D.jsx)("div",{className:(0,F.cn)(N()),children:(0,D.jsx)(it.o,{atomValues:R,children:f})})})})});wO.displayName="Card";let wR=(0,I.forwardRef)((e,t)=>{let{children:r,align:o,justify:i,textAlign:l,stretch:s,shape:d="default",className:c,themeConfig:u,...p}=e,{horizontal:f,social:m}=(0,oQ.Dv)(wy),{root:h}=(0,B.tv)(u?(0,B.RH)(w$,u):w$)({align:f?i:o,justify:f?o:i,textAlign:l,stretch:s,horizontal:f,social:m,shape:d}),g=(0,F.cn)("ef-card-body",h(),c);return(0,D.jsx)("div",{ref:t,className:g,...p,children:r})});wR.displayName="CardBody";var wD=r(60128);let wM=e=>{let{aspectRatios:t={s:"natural"},className:r,...o}=e,i=iy({bpAspectRatio:t});return(0,D.jsx)(wD.O,{className:(0,F.cn)("ef-skeleton-image",i,r),...o})};wM.displayName="SkeletonImage";let wL=(0,I.forwardRef)((e,t)=>{let{aspectRatios:r,themeConfig:o,className:i,variant:l="inline",radius:s,overlayTop:d="none",overlayBottom:c="none",overlayFull:u=!1,src:p,alt:f,renderCustomImage:m,containerClassName:h,...g}=e,{isHovered:v,isClickable:y,horizontal:b,border:x}=(0,oQ.Dv)(wv),{root:w,imageContainer:k,overlayTop:_,overlayBottom:C}=(0,mP.tv)(o?(0,B.RH)(w_,o):w_)({isHovered:v,variant:l,isClickable:y,radius:s,overlayTop:d,overlayBottom:c,overlayFull:u,horizontal:b,border:x}),$=(0,F.cn)("ef-card-image",w(),i),S="background"===l&&!r;return(0,D.jsx)(wA.$,{atoms:[ix],children:(0,D.jsxs)(D.Fragment,{children:["none"!==d?(0,D.jsx)("div",{className:(0,F.cn)(_())}):null,"none"!==c?(0,D.jsx)("div",{className:(0,F.cn)(C())}):null,(0,D.jsx)("div",{className:(0,F.cn)("ef-card-image",k(),h),"data-variant":l,"data-default-aspect-ratio":S||void 0,children:!p&&typeof m>"u"?(0,D.jsx)(wM,{aspectRatios:r}):m?(0,D.jsx)(iV,{ref:t,className:(0,F.cn)($),src:p,aspectRatios:r,radius:s,alt:f??"",...g,asChild:!0,children:(0,D.jsx)(m,{})}):(0,D.jsx)(iV,{ref:t,src:p,alt:f??"",className:$,aspectRatios:r,...g,asChild:!1})})]})})});wL.displayName="CardImage";let wI=(0,I.forwardRef)((e,t)=>{let{children:r,justify:o="start",arrow:i=!1,className:l,animated:s=!0,externalLink:d,themeConfig:c,...u}=e,{root:p,content:f,arrow:m,arrowWrapper:h}=(0,B.tv)(c?(0,B.RH)(wS,c):wS)({justify:o,withoutChildren:!r&&(i||d)}),{isHovered:g,isClickable:v}=(0,oQ.Dv)(wb),y=(0,F.cn)("ef-card-footer",p(),l);return(0,D.jsxs)("div",{ref:t,className:y,...u,children:[r?(0,D.jsx)("div",{className:(0,F.cn)(f()),children:r}):null,i?(0,D.jsx)(aB.a,{className:(0,F.cn)(h()),children:(0,D.jsx)(ol.AnimatedArrowRight,{active:g&&v&&s,className:(0,F.cn)(m())})}):d?(0,D.jsx)(aB.a,{className:(0,F.cn)(h()),children:(0,D.jsx)(rZ.AnimatedExternalArrow,{active:g&&v&&s,className:(0,F.cn)(m())})}):null]})});wI.displayName="CardFooter",function(e,t){try{let r="__styleInject_SSR_MODULES",o=("function"==typeof t.styleId?t.styleId():t.styleId)??"";if(typeof document>"u"&&globalThis)globalThis[r]=globalThis[r]||[],globalThis[r].push({cssCode:e,id:o});else{if(document.getElementById(o))return;let t=document.createElement("style");t.id=o,t.appendChild(document.createTextNode(`${e}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}
43(":root{--card-box-shadow: var(--shadow-shadow-dark-m-15);--card-box-shadow-hover: var(--shadow-shadow-dark-l-15);--card-border-radius: var(--border-radius-xs);--card-background: var(--color-mono-white-100);--card-outline-color: var(--color-components-dividers-default);--card-text-color: var(--color-system-text-default)}:root ._radius-xxs_mkkxf_10{--card-border-radius: var(--border-radius-xxs);--image-border-radius: calc(var(--card-border-radius) - 4px)}:root ._radius-xs_mkkxf_15{--card-border-radius: var(--border-radius-xs);--image-border-radius: calc(var(--card-border-radius) - 4px)}:root ._radius-s_mkkxf_20{--card-border-radius: var(--border-radius-s);--image-border-radius: calc(var(--card-border-radius) - 4px)}:root ._radius-m_mkkxf_25{--card-border-radius: var(--border-radius-l);--image-border-radius: calc(var(--card-border-radius) - 4px)}:root ._radius-none_mkkxf_30{--card-border-radius: 0;--image-border-radius: 0}._shadow-off_mkkxf_35{--card-box-shadow: none;--card-box-shadow-hover: none}._shadow-enabled_mkkxf_40,._shadow-deep_mkkxf_45{--card-box-sha
43dow: 0 2px 8px 0 rgba(25, 25, 25, .15);--card-box-shadow-hover: 0 2px 16px 0 rgba(25, 25, 25, .1)}._cardTitle_mkkxf_50,._cardBody_mkkxf_51,._cardFooter_mkkxf_52{color:var(--card-text-color)}",{styleId:"backpack-25de8e91-4ac9-468e-90d2-b12ff1ae7c7e"});let wF=e=>{let{children:t,className:r,text_color:o,text_align:i,variant:l,...s}=e,d=(0,F.cn)("_cardTitle_mkkxf_50",r),c=h2(t,{nodeResolvers:{[hz]:e=>(0,D.jsx)("span",{children:e})}});return(0,D.jsx)(aL.x,{className:d,as:"h4",variant:l||"title3",text_color:o,align:i,...s,children:c})};wF.displayName="CardTitle";let wB=e=>{let{children:t,className:r,text_color:o,variant:i,...l}=e,s=(0,F.cn)("sb-card-body","_cardBody_mkkxf_51",r),{listItem:d,list:c,oList:u}=(0,B.tv)(vy.I2)(),p=o?{"--color-system-text-default":o.value}:{},f=h2(t,{nodeResolvers:{[hz]:e=>(0,D.jsx)("span",{children:e}),[hZ]:e=>(0,D.jsx)("ul",{className:(0,F.cn)("ef-list",c()),style:p,children:e}),[hU]:e=>(0,D.jsx)("ol",{className:(0,F.cn)("ef-list",u()),style:p,children:e}),[hW]:e=>(0,D.jsx)("li",{style:p,className:(0,F.cn)(d()),children:e})},markResolvers:{[hK]:e=>(0,D.jsx)("strong",{children:e}),[hq]:e=>(0,D.jsx)("em",{children:e})}});return(0,D.jsx)(aL.x,{className:s,as:"p",variant:i||"body",text_color:o,...l,children:f})};wB.displayName="CardBody";let wV=e=>{let{children:t,className:r,text_color:o,...i}=e,l=(0,F.cn)("sb-card-footer",r),s=h2(t,{nodeResolvers:{[hz]:e=>(0,D.jsx)("span",{children:e})}});return(0,D.jsx)(aL.x,{className:l,as:"span",align:"start",variant:"uiLabel",text_color:o,...i,children:s})};wV.displayName="CardFooter";let wz=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d,c;let{blok:u,...p}=e,{card_image:f,card_body:m,card_footer:h,card_title:g,card_link:v,design:y,custom_classname:b}=u,x=null==(r=null==g?void 0:g[0])?void 0:r.design,w=null==(o=null==m?void 0:m[0])?void 0:o.design,k=null==(i=null==h?void 0:h[0])?void 0:i.design,_=null==(l=null==f?void 0:f[0])?void 0:l.design,C=(0,h5.mi)({design:y}),$=(0,h5.qm)(C),S=(0,h5.mi)({design:_}),E=(0,h5.mi)({design:x}),j=(0,h5.mi)({design:w}),N=(0,h5.mi)({design:k}),T=(0,h5.qm)(E),P=(0,h5.qm)(j),A=gn({bpHide:C.visibility}),O=(0,hr.t0)(null==$?void 0:$.text_color),R=!!(O.light||O.dark),M=(0,F.cn)("sb-editorial-card",A,(0,h7.N)(null==C?void 0:C.spacing),"fill"===$.stretch?"flex-grow":"",R?"[--sb-editorial-card-text-color:var(--sb-editorial-card-text-color-light)] dark:[--sb-editorial-card-text-color:var(--sb-editorial-card-text-color-dark)]":"",b,"bg-transparent"),L=R?{"--sb-editorial-card-text-color-light":O.light,"--sb-editorial-card-text-color-dark":O.dark,"--color-system-text-default":"var(--sb-editorial-card-text-color)"}:void 0,I=(0,F.cn)("sb-editorial-card-title",(0,h7.N)(null==E?void 0:E.spacing)),B=(0,F.cn)("sb-card-body",(0,h7.N)(null==j?void 0:j.spacing)),V=(0,F.cn)("sb-card-footer",(0,h7.N)(null==N?void 0:N.spacing));if((null==g?void 0:g.length)===0)return(0,D.jsx)("div",{children:"Add at least title"});let z=(null==v?void 0:v.url)||(null==v?void 0:v.cached_url);return(0,D.jsxs)(wO,{className:M,href:null!=v&&v.anchor?`${z}#${v.anchor}`:z,border:"none",target:null==v?void 0:v.target,style:L,ref:t,...p,...hl(u),children:[f&&f.length>0?(0,D.jsx)(wL,{renderCustomImage:e=>(0,D.jsx)(hs,{blok:{...f[0],aspectRatios:e.aspectRatios},radius:"xxs"}),radius:"xs",aspectRatios:S.aspect_ratio,alt:null==(s=f[0])?void 0:s.image.alt,src:null==(d=f[0])?void 0:d.image.filename,themeConfig:{slots:{root:"m-0 mb-4"}},...hl(f[0])}):void 0,(0,D.jsxs)(wR,{themeConfig:{slots:{root:"p-0"}},children:[g&&g.length>0?(0,D.jsx)(wF,{variant:null==T?void 0:T.variant,className:I,...hl(g[0]),children:null==(c=g[0])?void 0:c.content}):void 0,m&&m.length>0?(0,D.jsx)(wB,{variant:null==P?void 0:P.variant,className:B,...hl(m[0]),children:m[0].content}):void 0,h&&h.length>0?(0,D.jsx)(wI,{arrow:!0,justify:"start",children:(0,D.jsx)(wV,{className:V,...hl(h[0]),children:h[0].content})}):void 0]})]})});wz.displayName="EditorialCardSB";let wH=e=>(0,D.jsx)(wz,{...e,renderCustomLink:e=>(0,D.jsx)(xV,{...e})}),wU=(0,I.forwardRef)((e,t)=>{let{children:r,justify:o="space-between",themeConfig:i,className:l,...s}=e,{root:d}=(0,B.tv)(i?(0,B.RH)(wk,i):wk)({justify:o});return(0,D.jsx)("div",{ref:t,className:(0,F.cn)("ef-card-header",d(),l),...s,children:r})});
43wU.displayName="CardHeader";let wZ=(0,I.memo)(e=>{var t,r,o,i;let{blok:l,...s}=e,{card_image:d,card_body:c,card_link:u,card_title:p,card_footer:f,header_item_left:m,header_item_right:h,design:g,custom_classname:v}=l,y=(0,I.useMemo)(()=>{var e;return null==(e=null==p?void 0:p[0])?void 0:e.design},[p]),b=(0,I.useMemo)(()=>{var e;return null==(e=null==c?void 0:c[0])?void 0:e.design},[c]),x=(0,I.useMemo)(()=>{var e;return null==(e=null==f?void 0:f[0])?void 0:e.design},[f]),w=(0,I.useMemo)(()=>{var e;return null==(e=null==d?void 0:d[0])?void 0:e.design},[d]),k=(0,h5.mi)({design:g}),_=(0,h5.qm)(k),C=(0,h5.mi)({design:w}),$=(0,h5.mi)({design:y}),S=(0,h5.mi)({design:b}),E=(0,h5.mi)({design:x}),j=(0,h5.qm)($),N=(0,h5.qm)(S),T=gn({bpHide:k.visibility,originalDisplayProperty:"flex"}),P=(0,hr.t0)(null==_?void 0:_.background_color),A=!!(P.light||P.dark),O=(0,hr.t0)(null==_?void 0:_.text_color),R=!!(O.light||O.dark),M=(0,F.cn)("sb-content-card",T,(0,h7.N)(null==k?void 0:k.spacing),(null==_?void 0:_.stretch)==="auto"?"h-fit":"h-auto",A?"[--sb-content-card-bg-color:var(--sb-content-card-bg-color-light)] dark:[--sb-content-card-bg-color:var(--sb-content-card-bg-color-dark)]":"",R?"[--sb-content-card-text-color:var(--sb-content-card-text-color-light)] dark:[--sb-content-card-text-color:var(--sb-content-card-text-color-dark)]":"",v),L=(0,F.cn)("sb-content-card-title",(0,h7.N)(null==$?void 0:$.spacing)),B=(0,I.useMemo)(()=>{let e={};return A&&(e["--sb-content-card-bg-color-light"]=P.light,e["--sb-content-card-bg-color-dark"]=P.dark,e["--color-system-surface-default"]="var(--sb-content-card-bg-color)"),R&&(e["--sb-content-card-text-color-light"]=O.light,e["--sb-content-card-text-color-dark"]=O.dark,e["--color-system-text-default"]="var(--sb-content-card-text-color)"),e},[P.dark,P.light,A,O.dark,O.light,R]),V=(0,F.cn)("sb-card-body",(0,h7.N)(null==S?void 0:S.spacing)),z=(0,F.cn)("sb-card-footer",(0,h7.N)(null==E?void 0:E.spacing));if((null==p?void 0:p.length)===0)return(0,D.jsx)("div",{children:"Add at least title"});let H=(null==u?void 0:u.url)||(null==u?void 0:u.cached_url);return(0,D.jsxs)(wO,{className:M,horizontal:null==_?void 0:_.horizontal,href:null!=u&&u.anchor?`${H}#${u.anchor}`:H,target:null==u?void 0:u.target,radius:null==_?void 0:_.radius,border:{off:"none",enabled:"shadow-m",deep:"shadow-l"}[(null==_?void 0:_.shadow)??"enabled"],style:B,...s,...hl(l),children:[(null==m?void 0:m.length)!==0||(null==h?void 0:h.length)!==0?(0,D.jsxs)(wU,{justify:(null==m?void 0:m.length)===0?"end":"space-between",children:[(null==m?void 0:m.length)!==0?(0,D.jsx)(hs,{blok:m[0]}):void 0,(null==h?void 0:h.length)!==0?(0,D.jsx)(hs,{blok:h[0]}):void 0]}):void 0,d&&d.length>0?(0,D.jsx)(wL,{renderCustomImage:e=>(0,D.jsx)(hs,{blok:{...d[0],aspectRatios:e.aspectRatios}}),radius:null==_?void 0:_.radius,aspectRatios:C.aspect_ratio,alt:null==(t=d[0])?void 0:t.image.alt,src:null==(r=d[0])?void 0:r.image.filename,...hl(d[0])}):void 0,(0,D.jsxs)(wR,{children:[p&&p.length>0?(0,D.jsx)(wF,{variant:null==j?void 0:j.variant,className:L,...hl(p[0]),children:null==(o=p[0])?void 0:o.content}):void 0,c&&c.length>0?(0,D.jsx)(wB,{variant:null==N?void 0:N.variant,className:V,...hl(c[0]),children:null==(i=c[0])?void 0:i.content}):void 0,f&&f.length>0?(0,D.jsx)(wI,{arrow:null==_?void 0:_.arrow,externalLink:(null==u?void 0:u.target)==="_blank",children:(0,D.jsx)(wV,{className:z,...hl(f[0]),children:f[0].content})}):void 0]})]})},hj);wZ.displayName="ContentCardSB";var wW=r(17739),wK=r(92993),wq=r(89671);let wG={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}}};JSON.stringify(wG.spacing);let wJ={item_align:{type:"custom",field_type:"backpack-toggle",display_name:"Align vertically",options:[{value:"flex-start",name:"Start",icon:`${ig.GT}/align-start.svg`},{value:"center",name:"Center",icon:`${ig.GT}/align-center.svg`},{value:"flex-end",name:"End",icon:`${ig.GT}/align-end.svg`}],default_value:{s:"flex-start"}}};JSON.stringify(wJ.item_align);let wY={height:{type:"number",display_name:"Height (%)",default_value:{}}};JSON.stringify(wY.height);
43let wX={background_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}};JSON.stringify(wX.background_color);let wQ={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...wJ,...wG,...hP,...wY,...hv,...wX,...hO,...hD};yO.itemCountWithTypes(),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([wQ.collapsible_size,wQ.collapsible_layout,wQ.collapsible_component,wQ.collapsible_appearance,wQ.collapsible_text,wQ.collapsible_effects,wQ.collapsible_code_overrides]),JSON.stringify(wQ.spacing),JSON.stringify({...h_(wQ.height,"default_value",{s:100}),description:"Set the height to 100% to make the background fill the entire section"}),JSON.stringify(wQ.item_align),JSON.stringify(wQ.background_color),...hy.design.options,...hR.design.options,...hM.design.options];let w0=e=>{let{blok:t}=e,{design:r,content:o,custom_classname:i}=t,l=(0,h5.mi)({design:r},wQ),s=(0,h5.qm)(l),d=gn({bpHide:l.visibility,originalDisplayProperty:"flex"}),c=(0,h7.N)(null==l?void 0:l.spacing),{alignClasses:u}=(0,wq.k)({flexProps:{align:l.item_align},type:"item"}),p=(0,hr.t0)(null==s?void 0:s.background_color),f=!!(p.light||p.dark),m=(0,F.cn)(yT.sectionBgLayer,d,u,c,f?"[--sb-section-background-layer-color:var(--sb-section-background-layer-color-light)] dark:[--sb-section-background-layer-color:var(--sb-section-background-layer-color-dark)]":"",i),h={...f?{"--sb-section-background-layer-color-light":p.light,"--sb-section-background-layer-color-dark":p.dark,backgroundColor:"var(--sb-section-background-layer-color)"}:{},...null!=l&&l.height?{height:`${null==s?void 0:s.height}%`}:{height:"auto"}};return(0,D.jsx)(wW.k,{direction:"column",justify:s.item_align,className:yT.sectionBgLayerFlex,...hl(t),children:(0,D.jsx)(wK.B,{style:h,className:m,children:o?o.map(e=>(0,D.jsx)(hs,{blok:e,className:yT.sectionBgLayerItem},e._uid)):null})})};w0.displayName="SectionBackgroundLayerSB";let w1=e=>{var t,r,o,i;let{blok:l}=e,{card_body:s,button:d,card_title:c,design:u,custom_classname:p}=l,f=null==(t=s[0])?void 0:t.design,m=null==(r=c[0])?void 0:r.design,h=(0,h5.mi)({design:u}),g=(0,h5.mi)({design:f}),v=(0,h5.mi)({design:m}),y=(0,h5.qm)(h),b=(0,h5.qm)(g),x=(0,h5.qm)(v),w=gn({bpHide:h.visibility}),k=(0,hr.t0)(null==y?void 0:y.background_color),_=!!(k.light||k.dark),C=(0,hr.t0)(null==y?void 0:y.text_color),$=!!(C.light||C.dark),S=(0,F.cn)("sb-cta-card","rounded-sm",(0,h7.N)(null==h?void 0:h.spacing),w,_?"[--sb-cta-card-bg-color:var(--sb-cta-card-bg-color-light)] dark:[--sb-cta-card-bg-color:var(--sb-cta-card-bg-color-dark)]":"",$?"[--sb-cta-card-text-color:var(--sb-cta-card-text-color-light)] dark:[--sb-cta-card-text-color:var(--sb-cta-card-text-color-dark)]":"",p),E=(0,F.cn)("sb-card-subtitle",(0,h7.N)(null==v?void 0:v.spacing)),j=(0,F.cn)("sb-card-body",(0,h7.N)(null==g?void 0:g.spacing)),N={..._?{"--sb-cta-card-bg-color-light":k.light,"--sb-cta-card-bg-color-dark":k.dark,"--color-system-surface-default":"var(--sb-cta-card-bg-color)"}:{},...$?{"--sb-cta-card-text-color-light":C.light,"--sb-cta-card-text-color-dark":C.dark,"--color-system-text-default":"var(--sb-cta-card-text-color)"}:{}};return(0,D.jsx)(wO,{className:S,style:N,...hl(l),background:_?"default":"none",children:(0,D.jsxs)(wR,{textAlign:y.text_align,stretch:y.stretch,themeConfig:{slots:{root:"px-xxl py-m lg:p-[80px]"}},children:[c&&c.length>0?(0,D.jsx)(wF,{variant:null==x?void 0:x.variant,text_align:null==x?void 0:x.text_align,className:E,...hl(c[0]),children:null==(o=c[0])?void 0:o.content}):void 0,s&&s.length>0?(0,D.jsx)(wB,{variant:null==b?void 0:b.variant,className:j,...hl(s[0]),children:null==(i=s[0])?void 0:i.content}):void 0,d&&d.length>0?(0,D.jsx)("div",{className:"mt-s",children:(0,D.jsx)(hs,{blok:d[0]})}):void 0]})})};w1.displayName="CTACardSB";let w2=(0,I.memo)(e=>{var t,r,o,i,l;let{blok:s,...d}=e,{card_image:c,card_title:u,design:p,card_link:f,custom_classname:m}=s,h=(0,I.useMemo)(()=>{var e;return null==(e=null==u?void 0:u[0])?void 0:e.design},[u]),g=(0,I.useMemo)(()=>{var e;return null==(e=null==c?void 0:c[0])?void 0:e.design},[c]),v=(0,h5.mi)({design:p}),y=(0,h5.mi)({design:h}),b=(0,h5.mi)({design:g}),x=(0,h5.qm)(v),w=(0,h5.qm)(y),k=gn({bpHide:v.visibility,originalDisplayProperty:"flex"}),_=(0,F.cn)("sb-teaser-card",(0,h7.N)(null==v?void 0:v.spacing),k,m),C=(0,F.cn)("sb-teaser-card-title",(0,h7.N)(null==y?void 0:y.spacing)),$=null!=(t=w.text_color)&&t.selected?w.text_color:null==x?void 0:x.text_color,S=(0,hr.t0)($),E=!!(S.light||S.dark),j=null!=x&&x.on_light?"#1A1A1A":"#FFFFFF",N=E?{"--sb-teaser-card-text-color-light":S.light,"--sb-teaser-card-text-color-dark":S.dark,"--color-system-text-default":"var(--sb-teaser-card-text-color)"}:{"--color-system-text-default":j}
43,T=(null==f?void 0:f.url)||(null==f?void 0:f.cached_url);return(0,D.jsxs)(wO,{className:_,radius:null==x?void 0:x.radius,href:null!=f&&f.anchor?`${T}#${f.anchor}`:T,aspectRatios:b.aspect_ratio,target:null==f?void 0:f.target,...d,...hl(s),children:[c&&c.length>0?(0,D.jsx)(wL,{overlayBottom:null==x?void 0:x.overlay_bottom,asChild:!0,variant:"background",aspectRatios:b.aspect_ratio,alt:null==(r=c[0])?void 0:r.image.alt,src:null==(o=c[0])?void 0:o.image.filename,renderCustomImage:()=>(0,D.jsx)(hs,{className:"h-full w-full",blok:{...null==c?void 0:c[0],aspectRatios:b.aspect_ratio}})},null==(i=null==c?void 0:c[0])?void 0:i._uid):void 0,(0,D.jsx)(wR,{justify:"start",align:"end",className:"w-full justify-between pb-m pe-xl ps-m pt-0",children:(0,D.jsx)(wI,{arrow:null==x?void 0:x.arrow,externalLink:(null==f?void 0:f.target)==="_blank",style:N,className:(0,F.cn)("flex-nowrap",E?"[--sb-teaser-card-text-color:var(--sb-teaser-card-text-color-light)] dark:[--sb-teaser-card-text-color:var(--sb-teaser-card-text-color-dark)]":""),children:u&&u.length>0?(0,D.jsx)(wF,{className:C,variant:(null==w?void 0:w.variant)??"header5",...hl(u[0]),children:null==(l=u[0])?void 0:l.content}):void 0})})]})},hj);w2.displayName="TeaserCardSB";let w3=e=>{if(!e)return;let[t,r]=("natural"===e?"16/9":e).split("/").map(Number),o=t/r;return Number.isFinite(o)&&o>0?Number(o.toFixed(4)):void 0},w4=(e,t)=>{let r="string"==typeof t?w3(t):void 0;return r?{"--video-aspect-ratio":r,...e}:e},w6=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"}),I.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"}))]]);var w8=Object.defineProperty,w9=Object.defineProperties,w5=Object.getOwnPropertyDescriptors,w7=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,kn=(e,t,r)=>t in e?w8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kr=(e,t)=>{for(var r in t||(t={}))ke.call(t,r)&&kn(e,r,t[r]);if(w7)for(var r of w7(t))kt.call(t,r)&&kn(e,r,t[r]);return e},ka=(e,t)=>w9(e,w5(t));let ko=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,ka(kr({ref:t},e),{weights:w6})));ko.displayName="Play";let ki=(0,B.c6)({slots:{root:"group relative isolate transition-shadow duration-system-medium ease-system-easing-expressive [&.ef-autoplay-video]:bg-system-surface-transparent",player:"relative z-20 opacity-100 transition-opacity duration-system-long ease-system-easing-expressive",coverImageContainer:"h-full overflow-hidden rounded-[inherit]",coverImage:"z-30 h-full w-full cursor-pointer",videoController:"absolute left-0 top-0 z-40 h-full w-full cursor-pointer",clipper:"relative h-full w-full overflow-hidden rounded-[inherit]",playerWrapper:"relative h-full w-full [&>
43*]:min-w-0 [@supports(-webkit-appearance:none)_and_(stroke-color:transparent)]:[&>*]:scale-[1.005]"},variants:{variant:{outline:{root:"border border-solid border-system-stroke-default"},"shadow-s":{root:"shadow-dark-s-10"},"shadow-m":{root:"shadow-dark-m-15"},"shadow-l":{root:"shadow-dark-l-10"},"shadow-xl":{root:"shadow-dark-xl-15"}},radius:{none:{root:"rounded-none"},xxs:{root:"rounded-xxs"},xs:{root:"rounded-xs"},s:{root:"rounded-sm"},m:{root:"rounded-md"},l:{root:"rounded-lg"},xl:{root:"rounded-xl"},full:{root:"rounded-full"}},isPlaying:{true:{},false:{}},hoverEffect:{true:{},false:{}},controls:{true:{},false:{}},clickToPlay:{true:{},false:{}},startedPlaying:{true:{},false:{}},hasConfirmedPlayback:{true:{},false:{}},hasCustomCoverImage:{true:{player:"absolute left-0 top-0 h-full w-full"}},transparent:{true:{root:"bg-system-surface-transparent",playerWrapper:"bg-system-surface-transparent"},false:{}}},compoundVariants:[{startedPlaying:!0,hoverEffect:!0,class:{playerWrapper:"group-hover:scale-100"}},{startedPlaying:!1,hoverEffect:!0,class:{playerWrapper:"transition-transform duration-system-medium ease-system-easing-expressive group-hover:scale-105",coverImage:"transition-transform duration-system-medium ease-system-easing-expressive group-hover:scale-105"}},{hasConfirmedPlayback:!0,controls:!1,class:{player:"pointer-events-none"}},{controls:!1,clickToPlay:!1,class:{player:"pointer-events-none"}}]}),kl=(0,B.c6)({slots:{container:"mono pointer-events-auto absolute z-50 flex items-center gap-2",button:""},variants:{position:{"top-left":{container:"left-2 top-2"},"top-right":{container:"right-2 top-2"},"bottom-left":{container:"bottom-2 left-2"},"bottom-right":{container:"bottom-2 right-2"}}},defaultVariants:{position:"bottom-right"}}),ks=(0,B.c6)({slots:{playIcon:"pointer-events-none absolute left-1/2 top-1/2 z-40 -translate-x-1/2 -translate-y-1/2 transform cursor-pointer bg-system-surface-default",playIconInner:"text-system-vector-default"}}),kd=(0,B.c6)({slots:{root:"relative overflow-hidden rounded-[inherit] bg-mono-black-100",videoPreview:"absolute left-0 top-0 z-20 h-full w-full max-w-full animate-from-opacity-0 animation-duration-system-medium animation-ease-system-easing-expressive",coverImage:"z-20 cursor-pointer transition-opacity duration-system-medium ease-system-easing-expressive"},variants:{isPlaying:{true:{videoPreview:"block animate-in animate-from-opacity-0",coverImage:"opacity-0"},false:{videoPreview:"hidden",coverImage:"opacity-100"}},radius:ki.variants.radius}}),kc=e=>{var t,r;let{size:o="m",className:i,themeConfig:l}=e,s={s:{iconSize:"s",size:"m"},m:{iconSize:"m",size:"l"},l:{iconSize:"m",size:"xl"},xl:{iconSize:"l",size:"xxl"}},{playIcon:d,playIconInner:c}=(0,B.tv)(l?(0,B.RH)(ks,l):ks)(),u=(0,F.cn)("ef-video-play-icon",d(),i);return(0,D.jsx)(aB.a,{className:u,size:(null==(t=s[o])?void 0:t.size)||"l",radius:"full",iconSize:(null==(r=s[o]
43)?void 0:r.iconSize)||"m",children:(0,D.jsx)(ko,{weight:"fill",height:24,width:24,className:(0,F.cn)(c())})})};kc.displayName="VideoPlayIcon";let ku=e=>{let{role:t="button",setIsPlaying:r,renderCustomImage:o,coverImageSrc:i,aspectRatios:l,radius:s,alt:d,className:c,imageClassName:u}=e,{pressProps:p}=(0,oX.r)({onPress:()=>null==r?void 0:r(!0)}),f=[[ix,{aspectRatios:l}]],m=(0,F.cn)("ef-video-cover-image",u);return(0,D.jsx)(wA.$,{atoms:[ix],children:(0,D.jsx)(it.o,{atomValues:f,children:(0,D.jsx)("div",{className:(0,F.cn)(c),role:"img"===t?void 0:"button","aria-label":"img"===t?void 0:d,..."button"===t?p:{},tabIndex:0,children:i?o?(0,D.jsx)(o,{src:i,alt:d,className:m}):(0,D.jsx)(iV,{className:m,src:i,alt:d,asChild:!1,aspectRatios:l??"auto",radius:s}):(0,D.jsx)(wM,{aspectRatios:l})})})})};ku.displayName="VideoCoverImage";let kp=e=>{let{startedPlaying:t,hasConfirmedPlayback:r,isPlaying:o,setIsPlaying:i,controls:l,hiddenControls:s,light:d,hoverEffect:c,themeConfig:u,tabIndex:p=0,...f}=e,m=o&&!r,{pressProps:h}=(0,oX.r)({onPress:()=>null==i?void 0:i("u">typeof o&&!o)}),{videoController:g}=(0,B.tv)(u?(0,B.RH)(ki,u):ki)({isPlaying:o,hoverEffect:c}),v=(0,F.cn)("ef-video-controller",g());return l||!1===s||d&&!t||m?null:(0,D.jsx)("div",{className:v,role:"button",tabIndex:p,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null==i||i("u">typeof o&&!o))},...h,...f})},kf=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M157.27,21.22a12,12,0,0,0-12.64,1.31L75.88,76H32A20,20,0,0,0,12,96v64a20,20,0,0,0,20,20H75.88l68.75,53.47A12,12,0,0,0,164,224V32A12,12,0,0,0,157.27,21.22ZM36,100H68v56H36Zm104,99.46L92,162.13V93.87l48-37.33ZM212,128a44,44,0,0,1-11,29.11,12,12,0,1,1-18-15.88,20,20,0,0,0,0-26.43,12,12,0,0,1,18-15.86A43.94,43.94,0,0,1,212,128Zm40,0a83.87,83.87,0,0,1-21.39,56,12,12,0,0,1-17.89-16,60,60,0,0,0,0-80,12,12,0,1,1,17.88-16A83.87,83.87,0,0,1,252,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M80,88v80H32a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8Z",opacity:"0.2"}),I.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M160,32.25V223.69a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56l-65.57-51A4,4,0,0,1,80,176.16V79.84a4,4,0,0,1,1.55-3.15l65.57-51a8,8,0,0,1,10,.16A8.27,8.27,0,0,1,160,32.25ZM60,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H60a4,4,0,0,0,4-4V84A4,4,0,0,0,60,80Zm126.77,20.84a8,8,0,0,0-.72,11.3,24,24,0,0,1,0,31.72,8,8,0,1,0,12,10.58,40,40,0,0,0,0-52.88A8,8,0,0,0,186.74,100.84Zm40.89-26.17a8,8,0,1,0-11.92,10.66,64,64,0,0,1,0,85.34,8,8,0,1,0,11.92,10.66,80,80,0,0,0,0-106.66Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M154.64,26.61a6,6,0,0,0-6.32.65L77.94,82H32A14,14,0,0,0,18,96v64a14,14,0,0,0,14,14H77.94l70.38,54.74A6,6,0,0,0,158,224V32A6,6,0,0,0,154.64,26.61ZM30,160V96a2,2,0,0,1,2-2H74v68H32A2,2,0,0,1,30,160Zm116,51.73L86,165.07V90.93l60-46.66Zm50.53-108.85a38,38,0,0,1,0,50.24,6,6,0,1,1-9-7.94,26,26,0,0,0,0-34.37,6,6,0,0,1,9-7.93ZM246,128a77.86,77.86,0,0,1-19.86,52,6,6,0,1,1-8.94-8,66,66,0,0,0,0-88,6,6,0,1,1,8.94-8A77.86,77.86,0,0,1,246,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M155.51,24.81a8,8,0,0,0-8.42.88L77.25,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V32A8,8,0,0,0,155.51,24.81ZM32,96H72v64H32ZM144,207.64,88,164.09V91.91l56-43.55Zm54-106.08a40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.58,24,24,0,0,0,0-31.72,8,8,0,0,1,12-10.58ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M153.76,28.41a4,4,0,0,0-4.22.43L78.63,84H32A12,12,0,0,0,20,96v64a12,12,0,0,0,12,12H78.63l70.91,55.16A4.07,4.07,0,0,0,152,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,156,224V32A4,4,0,0,0,153.76,28.41ZM28,160V96a4,4,0,0,1,4-4H76v72H32A4,4,0,0,1,28,160Zm120,55.82L84,166V90l64-49.78Zm47-111.61a36,36,0,0,1,0,47.59,4,4,0,1,1-6-5.3,28,28,0,0,0,0-37,4,4,0,0,1,6-5.28ZM244,128a75.88,75.88,0,0,1-19.35,50.67,4,4,0,0,1-6-5.34,68,68,0,0,0,0-90.66,4,4,0,0,1,6-5.34A75.88,75.88,0,0,1,244,128Z"}))]]);var km=Object.defineProperty,kh=Object.defineProperties,kg=Object.getOwnPropertyDescriptors,kv=Object.getOwnPropertySymbols,ky=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable,kx=(e,t,r)=>t in e?km(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kw=(e,t)=>{for(var r in t||(t={}))ky.call(t,r)&&kx(e,r,t[r]);if(kv)for(var r of kv(t))kb.call(t,r)&&kx(e,r,t[r]);return e},kk=(e,t)=>kh(e,kg(t));let k_=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,kk(kw({ref:t},e),{weights:kf})));k_.displayName="SpeakerHigh";
43let kC=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07L64.51,76H32A20,20,0,0,0,12,96v64a20,20,0,0,0,20,20H75.88l68.75,53.47A12,12,0,0,0,164,224V185.44l35.12,38.63a12,12,0,0,0,17.76-16.14ZM36,100H68v56H36Zm104,99.46L92,162.13V106.24L140,159Zm-31-134a12,12,0,0,1,2.11-16.84l33.51-26.07A12,12,0,0,1,164,32V94.94a12,12,0,0,1-24,0V56.54l-14.15,11A12,12,0,0,1,109,65.44Zm74,49.35a12,12,0,0,1,18-15.85,44,44,0,0,1,5.55,50.21,12,12,0,0,1-21-11.55A19.67,19.67,0,0,0,188,128,20,20,0,0,0,183,114.79ZM252,128a84.18,84.18,0,0,1-19.11,53.35,12,12,0,1,1-18.53-15.25A60,60,0,0,0,212.73,88a12,12,0,1,1,17.88-16A83.87,83.87,0,0,1,252,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M80,88v80H32a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8Z",opacity:"0.2"}),I.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L73.55,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V175.09l42.08,46.29a8,8,0,1,0,11.84-10.76ZM32,96H72v64H32ZM144,207.64,88,164.09V95.89l56,61.6Zm42-63.77a24,24,0,0,0,0-31.72,8,8,0,1,1,12-10.57,40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.59Zm-80.16-76a8,8,0,0,1,1.4-11.23l39.85-31A8,8,0,0,1,160,32v74.83a8,8,0,0,1-16,0V48.36l-26.94,21A8,8,0,0,1,105.84,67.91ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M213.92,210.62a8,8,0,1,1-11.84,10.76L160,175.09v48.6a8.29,8.29,0,0,1-3.91,7.18,8,8,0,0,1-9-.56l-65.55-51A4,4,0,0,1,80,176.18V87.09L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-27.21-55.46a8,8,0,0,0,11.29-.7,40,40,0,0,0,0-52.88,8,8,0,1,0-12,10.57,24,24,0,0,1,0,31.72A8,8,0,0,0,186.71,
43155.16Zm40.92-80.49a8,8,0,1,0-11.92,10.66,64,64,0,0,1,0,85.34,8,8,0,1,0,11.92,10.66,80,80,0,0,0,0-106.66ZM153,119.87a4,4,0,0,0,7-2.7V32.25a8.27,8.27,0,0,0-2.88-6.4,8,8,0,0,0-10-.16L103.83,59.33a4,4,0,0,0-.5,5.85ZM60,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H60a4,4,0,0,0,4-4V84A4,4,0,0,0,60,80Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L78,81.94l-.08.06H32A14,14,0,0,0,18,96v64a14,14,0,0,0,14,14H77.94l70.38,54.74A6,6,0,0,0,158,224V169.92L203.56,220a6,6,0,0,0,8.88-8.08ZM30,160V96a2,2,0,0,1,2-2H74v68H32A2,2,0,0,1,30,160Zm116,51.73L86,165.07V90.93l.11-.08L146,156.72Zm41.5-66.53a26,26,0,0,0,0-34.37,6,6,0,1,1,9-7.93,38,38,0,0,1,0,50.24,6,6,0,0,1-9-7.94ZM107.41,66.68a6,6,0,0,1,1.06-8.42l39.85-31A6,6,0,0,1,158,32v74.83a6,6,0,0,1-12,0V44.27L115.83,67.73A6,6,0,0,1,107.41,66.68ZM246,128a77.86,77.86,0,0,1-19.86,52,6,6,0,1,1-8.94-8,66,66,0,0,0,0-88,6,6,0,1,1,8.94-8A77.86,77.86,0,0,1,246,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L73.55,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H77.25l69.84,54.31A8,8,0,0,0,160,224V175.09l42.08,46.29a8,8,0,1,0,11.84-10.76ZM32,96H72v64H32ZM144,207.64,88,164.09V95.89l56,61.6Zm42-63.77a24,24,0,0,0,0-31.72,8,8,0,1,1,12-10.57,40,40,0,0,1,0,52.88,8,8,0,0,1-12-10.59Zm-80.16-76a8,8,0,0,1,1.4-11.23l39.85-31A8,8,0,0,1,160,32v74.83a8,8,0,0,1-16,0V48.36l-26.94,21A8,8,0,0,1,105.84,67.91ZM248,128a79.9,79.9,0,0,1-20.37,53.34,8,8,0,0,1-11.92-10.67,64,64,0,0,0,0-85.33,8,8,0,1,1,11.92-10.67A79.83,79.83,0,0,1,248,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L81,82.19,78.63,84H32A12,12,0,0,0,20,96v64a12,12,0,0,0,12,12H78.63l70.91,55.16A4.07,4.07,0,0,0,152,228a3.92,3.92,0,0,0,1.76-.41A4,4,0,0,0,156,224V164.75l49,53.94a4,4,0,1,0,5.92-5.38ZM28,160V96a4,4,0,0,1,4-4H76v72H32A4,4,0,0,1,28,160Zm120,55.82L84,166V90l2.35-1.83L148,156Zm41-69.3a28,28,0,0,0,0-37,4,4,0,1,1,6-5.29,36,36,0,0,1,0,47.59,4,4,0,1,1-6-5.29ZM109,65.45a4,4,0,0,1,.7-5.61l39.85-31A4,4,0,0,1,156,32v74.83a4,4,0,0,1-8,0V40.18l-33.39,26A4,4,0,0,1,109,65.45ZM244,128a75.88,75.88,0,0,1-19.35,50.67,4,4,0,0,1-6-5.34,68,68,0,0,0,0-90.66,4,4,0,0,1,6-5.34A75.88,75.88,0,0,1,244,128Z"}))]]);var k$=Object.defineProperty,kS=Object.defineProperties,kE=Object.getOwnPropertyDescriptors,kj=Object.getOwnPropertySymbols,kN=Object.prototype.hasOwnProperty,kT=Object.prototype.propertyIsEnumerable,kP=(e,t,r)=>t in e?k$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kA=(e,t)=>{for(var r in t||(t={}))kN.call(t,r)&&kP(e,r,t[r]);if(kj)for(var r of kj(t))kT.call(t,r)&&kP(e,r,t[r]);return e},kO=(e,t)=>kS(e,kE(t));let kR=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,kO(kA({ref:t},e),{weights:kC})));kR.displayName="SpeakerSlash";var kD=r(92692);let kM=(0,I.forwardRef)((e,t)=>{let{active:r=!1,themeConfig:o,className:i,...l}=e,{root:s,play:d,pause:c}=(0,B.tv)(o?(0,B.RH)(kD.Ww,o):kD.Ww)({active:r}),u=(0,F.cn)("ef-animated-play-pause","rtl-flip",s(),i);return(0,D.jsxs)("svg",{ref:t,className:u,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"#000000",viewBox:"0 0 256 256",...l,children:[(0,D.jsx)("path",{className:(0,F.cn)(d()),d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"}),(0,D.jsx)("path",{className:(0,F.cn)(c()),d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"})]})});kM.displayName="AnimatedPlayPause";let kL=(0,I.forwardRef)((e,t)=>{let{play:r=!0,audio:o=!0,position:i="bottom-right",size:l="small",isPlaying:s=!1,onPlayToggle:d,isMuted:c=!1,onMuteToggle:u,className:p,themeConfig:f,...m}=e,{container:h,button:g}=(0,B.tv)(f?(0,B.RH)(kl,f):kl)({position:i}),v=s?"Pause video":"Play video";return(0,D.jsxs)("div",{ref:t,className:(0,F.cn)("ef-video-overlay-controls",h(),p),...m,children:[r?(0,D.jsx)(e7.Button,{as:"button",className:(0,F.cn)(g()),size:l,shape:"round","aria-label":v,"aria-pressed":s,onPress:()=>null==d?void 0:d(!s),children:(0,D.jsx)(kM,{active:s})}):null,o?(0,D.jsx)(e7.Button,{as:"button",className:(0,F.cn)(g()),size:l,shape:"round","aria-label":c?"Unmute":"Mute","aria-pressed":!c,onPress:()=>null==u?void 0:u(!c),children:c?(0,D.jsx)(kR,{weight:"fill"}):(0,D.jsx)(k_,{weight:"fill"})}):null]})});kL.displayName="VideoOverlayControls";let kI=(0,oG.cn)({}),kF=(0,oG.cn)(void 0),kB=e=>{let t=e=>{try{return new URL(e)}catch{return null}},r=t(e);return null!=r&&r.hostname?r:t(`https://${e.replace(/^\/\//,"")}`)},kV=e=>{let t=e.hostname.replace(/^www\./,"");return"youtu.be"===t||["youtube.com","youtube-nocookie.com","youtubeeducation.com"].some(e=>t===e||t.endsWith(`.${e}`))},kz=e=>{let t=kB(e);return!!t&&kV(t)},kH=e=>{let t=kB(e);if(!t)return!1;let{hostname:r}=t;return"vimeo.com"===r||r.endsWith(".vimeo.com")},kU=e=>{let t=e.match(/youtube\.com\/shorts\/([^/?&]+)/);return t?`https://www.youtube.com/watch?v=${t[1]}`:e},kZ=e=>{var t;let r=(null==(t=kB(e))?void 0:t.href)??e;return kH(e)?`https://vimeo.com/api/oembed.json?url=${encodeURIComponent(r)}`:`https://noembed.com/embed?url=${kU(r)}`},kW=(e,t,r=!0,o)=>{let[i,l]=(0,I.useState)(t),[s,d]=(0,I.useState)(""),[c,u]=(0,I.useState)(!1);return(0,I.useEffect)(()=>
43{if(t){l(t),u(!1);return}if(!r||!e){u(!1);return}let i=new AbortController;return l(void 0),u(!0),(async()=>{var t,r;try{let s=await fetch(kZ(e),{signal:i.signal});if(i.signal.aborted)return;if(!s.ok)throw Error(`oembed request failed with status ${s.status}`);let c=await s.json();if(i.signal.aborted)return;let u=null==(r=null==(t=null==c?void 0:c.thumbnail_url)?void 0:t.replace("height=100","height=480"))?void 0:r.replace("-d_295x166","-d_640"),p="number"==typeof(null==c?void 0:c.duration)?(0,iw.eQ)(c.duration):"";l(u),d(p),null==o||o(p)}catch(e){e instanceof DOMException&&"AbortError"===e.name||(l(void 0),d(""),null==o||o(""))}finally{i.signal.aborted||u(!1)}})(),()=>i.abort()},[t,r,o,e]),{imageUrl:i,isLoading:c,videoDuration:s}},kK=e=>e?Array.from(e):[],kq=(e,t)=>{if(!t)return e[0];let r=t.toLowerCase(),o=r.split("-")[0];return e.find(e=>e.language.toLowerCase()===r)??e.find(e=>e.language.toLowerCase().split("-")[0]===o)},kG=(e,t)=>{let r=kK(null==e?void 0:e.textTracks),o=kq(r,t);return!!o&&(r.forEach(e=>{e.mode=e===o?"showing":"disabled"}),!0)},kJ=(e,{enableCc:t,preferredLanguage:r})=>{(0,I.useEffect)(()=>{if(!t||!e)return;let o=0,i,l=!1,s=()=>{if(0===kK(e.textTracks).length){(o+=1)<20&&(i=setTimeout(s,250));return}kG(e,r)||kG(e,void 0),l=!0},d=()=>{l||(o=0,i&&clearTimeout(i),s())},c=()=>{l=!1,d()},u=e.textTracks,p="function"==typeof(null==u?void 0:u.addEventListener);return d(),e.addEventListener("loadstart",c),e.addEventListener("loadedmetadata",d),e.addEventListener("playing",d),p&&u.addEventListener("addtrack",d),()=>{i&&clearTimeout(i),e.removeEventListener("loadstart",c),e.removeEventListener("loadedmetadata",d),e.removeEventListener("playing",d),p&&u.removeEventListener("addtrack",d)}},[r,t,e])},kY=g6(()=>r.e(1841).then(r.bind(r,51841))),kX=e=>{var t;let r=kB(e);if(!r||!kV(r))return{};let o={},i="string"==typeof(null==(t=globalThis.location)?void 0:t.origin)?globalThis.location.origin:void 0;i&&(o.origin=i);let l=r.searchParams.get("cc_load_policy");if(null!==l){let e=Number(l);Number.isFinite(e)&&(o.cc_load_policy=e)}let s=r.searchParams.get("cc_lang_pref");return s&&(o.cc_lang_pref=s),o},kQ=(e,t)=>{if("function"==typeof e){e(t);return}e&&(e.current=t)},k0=e=>{let t=e.youtube,r=null==t?void 0:t.cc_lang_pref;return"string"==typeof r?r:void 0},k1=(e,t)=>({...e,...t,youtube:{...e.youtube,...null==t?void 0:t.youtube},vimeo:{...e.vimeo,...null==t?void 0:t.vimeo},wistia:{...e.wistia,...null==t?void 0:t.wistia}}),k2=(0,I.forwardRef)((e,t)=>{let{url:r,placeholderImageSrc:o,radius:i="s",variant:l,aspectRatios:s={s:"natural"},playing:d,muted:c=!1,loop:u=!1,light:p=!0,alt:f="",enableCc:m=!1,captionLanguage:h,tabIndex:g=0,className:v,renderCustomImage:y,themeConfig:b,controls:x=!1,clickToPlay:w=!0,hoverEffect:k=!0,playIcon:_=!0,showPlayIcon:C=_,threshold:$=0,intersectionObserverRoot:S=null,playIconSize:E="m",pauseOnOutOfViewport:j=!0,onPlayChange:N,playerConfig:T,transparent:P=!1,overlayControls:A=!1,style:O,...R}=e,{aspectRatios:M,radius:L,light:V}=(0,oQ.Dv)(kI),z=(0,oQ.Dv)(kF),H=M??s,U=V??p,Z=w4(O,H),W=(0,I.useRef)(null),[K,q]=(0,I.useState)(null),[G,J]=(0,I.useState)(void 0),Y=G??c,X=yU(W,{threshold:$,root:S,freezeOnceVisible:!1}),{isPlaying:Q,startedPlaying:ee,hasConfirmedPlayback:et,start:en,toggle:er,handlePlaying:ea,handlePause:eo}=function({playing:e,parentPlaying:t,isVisible:r,hasObserverEntry:o,pauseOnOutOfViewport:i,onPlayChange:l}){let s=e??t??!1,[d,c]=(0,I.useState)(s),[u,p]=(0,I.useState)(s),[f,m]=(0,I.useState)(!1),h=(0,I.useRef)(s),g=(0,I.useRef)(!1),v=(0,I.useRef)(!1),y=(0,I.useRef)(!1),b=e=>{h.current=e,c(e)},x=e=>{v.current=e,m(e)},w=()=>{y.current=!1,h.current||x(!1),b(!0)},k=()=>{if(h.current&&!v.current){y.current=!0;return}y.current=!1,x(!1),b(!1)},_=()=>{if((e??t)===!1){k();return}w()};(0,I.useEffect)(()=>{("u">typeof e||"u">typeof t)&&(e??t?(w(),p(!0)):k())},[e,t]),(0,I.useEffect)(()=>{i&&u&&o&&(r&&g.current?(g.current=!1,_()):!r&&h.current&&(g.current=!0,k()))},[r,o,i,u]);let C=(0,I.useRef)(s);return(0,I.useEffect)(()=>{C.current!==d&&(C.current=d,null==l||l(d))},[d,l]),{isPlaying:d,startedPlaying:u,hasConfirmedPlayback:f,start:()=>{g.current=!1,p(!0),_()},toggle:e=>{g.current=!1,e&&!u&&p(!0),e?_():k()},handlePlaying:()=>{x(!0),y.current&&(y.current=!1,x(!1),b(!1))},handlePause:()=>{y.current=!1,x(!1),b(!1)}}}({playing:d,parentPlaying:z,isVisible:!!(null!=X&&X.isIntersecting),hasObserverEntry:void 0!==X,pauseOnOutOfViewport:j,onPlayChange:N}),ei=!0===U&&!o&&!ee,{imageUrl:el,isLoading:es}=kW(r,o,ei),ed=o??el,ec=ei&&es&&!ed,eu="u">typeof ed&&!!ed&&!ee,ep="boolean"==typeof A?{}:A,ef=!!A&&ee&&!x&&!eu,em=ef&&!1!==ep.play,eh=!!U&&!d&&!ee&&!eu&&U,eg=iy({bpAspectRatio:H,mediaType:"video"}),{root:ev,clipper:ey,playerWrapper:eb,player:ex,coverImageContainer:ew,coverImage:ek}=(0,B.tv)(b?(0,B.RH)(ki,b):ki)({variant:l,radius:L??i,isPlaying:Q,hoverEffect:k,startedPlaying:ee,hasConfirmedPlayback:et,controls:x,clickToPlay:w,hasCustomCoverImage:eu,transparent:P}),e_=(0,F.cn)("ef-video-player",ev(),eg,v),eC=Q?"Pause video":"Play video",e$=k1({youtube:{cc_lang_pref:"en",cc_load_policy:void 0,...kX(r),...m?{cc_load_policy:1}:{}},vimeo:{muted:Y,autopause:!1,transparent:!0,...d&&!x&&{background:Y?1:0}},wistia:{autoplay:!1}},T),eS=h??(kz(r)?k0(e$):void 0),eE=(0,I.useCallback)(e=>{q(e),kQ(t,e)},[t]);return kJ(K,{enableCc:m,preferredLanguage:eS}),(0,D.jsx)(e9.t,{within:!0,children:(0,D.jsxs)("div",{ref:W,className:e_,"data-
43playing":Q,style:Z,...R,children:[eu?(0,D.jsx)(ku,{className:(0,F.cn)(ew()),imageClassName:(0,F.cn)(ek(),eg),aspectRatios:H,radius:i,setIsPlaying:en,renderCustomImage:o?y:void 0,coverImageSrc:ed,alt:f}):null,Q||ee&&x||!C||em?null:(0,D.jsx)(kc,{size:E,"aria-hidden":"true"}),eu||ec?null:(0,D.jsx)("div",{className:(0,F.cn)(ey()),children:(0,D.jsxs)("div",{className:(0,F.cn)(eb()),children:[(0,D.jsx)(kY,{ref:eE,className:(0,F.cn)(ex()),width:"100%",height:"100%",playing:Q,light:eh,onPlay:en,onPlaying:ea,onPause:eo,loop:u,muted:Y,volume:Y?0:void 0,config:e$,playIcon:null,src:r,onClickPreview:en,controls:x,playsInline:!0,tabIndex:g,"aria-label":eC}),(0,D.jsx)(kp,{startedPlaying:ee,hasConfirmedPlayback:et,isPlaying:Q,setIsPlaying:er,controls:x,hiddenControls:w,light:!!U,hoverEffect:k,"aria-label":eC,"aria-pressed":Q,tabIndex:0})]})}),ef?(0,D.jsx)(kL,{...ep,isPlaying:Q,onPlayToggle:er,isMuted:Y,onMuteToggle:J}):null]})})});k2.displayName="VideoPlayer";let k3=(0,I.forwardRef)((e,t)=>{let{url:r,className:o,...i}=e;return(0,D.jsx)(k2,{ref:t,className:(0,F.cn)("ef-autoplay-video",o),url:r,playing:!0,controls:!1,...i,light:!1,muted:!0})});k3.displayName="AutoplayVideo";let k4=(e,t)=>"s"===e?{breakpoint:"s",url:t.s}:"m"===e&&t.m?{breakpoint:"m",url:t.m}:{breakpoint:"l",url:t.l},k6=(e,t)=>{if(e.width<=0||e.height<=0||!t)return;let[r,o]=t.split("/").map(Number);if(!r||!o)return;let i=r/o;return e.width/e.height>i?{width:e.width,height:e.width/i}:{width:e.height*i,height:e.height}},k8=(e,t)=>{if(!e||"string"==typeof e)return e;let r=(0,iw.v9)(e,t);return r?e[r]:void 0},k9=(0,I.forwardRef)((e,t)=>{let{autoplay:r,className:o,fit:i,sources:l,url:s,aspectRatios:d,style:c,playing:u,muted:p=!1,onPlayChange:f,overlayControls:m,...h}=e,{breakpoint:g}=(0,ib.G)(),v=(0,I.useRef)(null),y=(0,mO.h)(v),[b,x]=(0,I.useState)(!l),[w,k]=(0,I.useState)(u??r),[_,C]=(0,I.useState)(void 0),$=_??(r||p);(0,I.useEffect)(()=>{x(!0)},[]);let S=l?k4(g,l):void 0,E=S?k8(d,S.breakpoint):k8(d,g),j=(null==S?void 0:S.url)??s??"",N="boolean"==typeof m?{}:m,T="u">typeof u,P=!T||"u">typeof f,A=null!=E&&E.includes("/")?E:"16/9",O=(0,I.useCallback)(e=>{k(e),null==f||f(e)},[f]);if("cover"===i){let e=k6(y,A);return(0,D.jsxs)("div",{ref:v,className:(0,F.cn)(o,"relative h-auto min-h-full w-full overflow-hidden"),style:{aspectRatio:A,...c},children:[!l||b?(0,D.jsx)(k2,{ref:t,className:(0,F.cn)(r&&"ef-autoplay-video","absolute left-1/2 top-1/2 h-full w-full max-w-none -translate-x-1/2 -translate-y-1/2 [&_.ef-video-player]:h-full [&_.ef-video-player]:w-full [&_video]:h-full [&_video]:w-full [&_video]:object-cover"),style:e?{width:e.width,height:e.height}:void 0,url:j,aspectRatios:E,playing:u??w,muted:$,onPlayChange:O,...h,light:!r&&h.light}):null,m?(0,D.jsx)(kL,{...N,play:!!P&&(null==N?void 0:N.play),isPlaying:u??w,onPlayToggle:e=>{T?null==f||f(e):k(e)},isMuted:$,onMuteToggle:C}):null]})}return l&&!b?null:(0,D.jsx)(r?k3:k2,{ref:t,className:o,style:c,url:j,aspectRatios:E,muted:p,onPlayChange:f,overlayControls:m,..."u">typeof u?{playing:u}:{},...h})});k9.displayName="ResponsiveVideo";let k5=(0,I.forwardRef)((e,t)=>{let{autoplay:r,className:o,fit:i,sources:l,url:s,...d}=e,{className:c,autoplay:u,presentation:p}=(0,oQ.Dv)(kI),f=(0,F.cn)("ef-video",o,c),{autoplay:m,fit:h,...g}=p??{},v=u??r??m??!1,y=i??h,b=Object.fromEntries(Object.entries(d).filter(([,e])=>void 0!==e)),x={...g,...b};return y||l?(0,D.jsx)(k9,{ref:t,...x,className:f,autoplay:v,fit:y,sources:l,url:s}):(0,D.jsx)(v?k3:k2,{ref:t,className:f,url:s??"",...x})});k5.displayName="Video";let k7=(0,I.forwardRef)((e,t)=>{let{url:r,duration:o=5,isHovered:i=!1,muted:l=!0,loop:s=!0,placeholderImageSrc:d,renderCustomImage:c,aspectRatios:u={s:"natural"},radius:p="s",alt:f="",showPlayIcon:m=!0,playIconSize:h,className:g,themeConfig:v,...y}=e,[b,x]=(0,I.useState)(!1),[w,k]=(0,I.useState)(!1),_=(0,I.useRef)(null);(0,I.useImperativeHandle)(t,()=>_.current,[]);let{imageUrl:C}=kW(r,d),{hoverProps:$}=(0,aR.X)({onHoverStart:()=>k(!0),onHoverEnd:()=>k(!1)}),S=i||w;(0,I.useEffect)(()=>{x(!!S)},[S]),(0,I.useEffect)(()=>{if(b){let e=setInterval(()=>{_.current&&"seekTo"in _.current&&_.current.seekTo&&_.current.seekTo(0,"seconds")},1e3*o);return()=>clearInterval(e)}},[b,o]);let{root:E,videoPreview:j,coverImage:N}=(0,B.tv)(v?(0,B.RH)(kd,v):kd)({isPlaying:b,radius:p}),T=(0,F.cn)("ef-video-hover-preview",E(),g),P=d??C;return(0,D.jsx)(e9.t,{within:!0,children:(0,D.jsxs)("div",{className:T,...$,role:"button",tabIndex:0,onKeyDown:e=>
43{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),k(!0),x(!0))},onKeyUp:e=>{("Enter"===e.key||" "===e.key)&&(k(!1),x(!1))},"aria-label":`${f||"Video preview"} - Press Enter or Space to preview`,"aria-pressed":b,children:[P?(0,D.jsx)(ku,{imageClassName:(0,F.cn)(N()),aspectRatios:u,role:"img",renderCustomImage:c,coverImageSrc:P,radius:p,alt:f}):null,m?(0,D.jsx)(kc,{size:h,"aria-hidden":"true"}):null,(0,D.jsx)(k2,{ref:_,url:r,playing:b,muted:l,loop:s,className:(0,F.cn)(j()),controls:!1,light:!b,radius:p,showPlayIcon:!1,alt:f,pauseOnOutOfViewport:!1,...y})]})})});k7.displayName="VideoHoverPreview";let _e=(0,I.forwardRef)((e,t)=>{let{playButton:r=!0,playButtonSize:o="m",url:i="",hoverPreview:l=!1,themeConfig:s,variant:d="inline",radius:c,overlayTop:u="none",overlayBottom:p="none",overlayFull:f=!1,aspectRatios:m,customImagePreviewSrc:h,renderCustomImage:g,customImageAlt:v,playing:y,autoplay:b,loop:x,className:w,muted:k=!0,audioControl:_=!1,interactive:C=!1}=e;if(l&&y)throw Error("Only one of hoverPreview or playing can be defined, not both.");let[$,S]=(0,I.useState)(k||!!b),[E,j]=(0,I.useState)(r||l),{isHovered:N}=(0,oQ.Dv)(wv),T=(0,oQ.b9)(wT),{imageUrl:P}=kW(i,h,!0,(0,I.useCallback)(e=>T(e),[T])),{root:A,overlayTop:O,overlayBottom:R,videoPreview:M,audioControl:L}=(0,mP.tv)(s?(0,B.RH)(wC,s):wC)({variant:d,radius:c,overlayTop:u,overlayBottom:p,overlayFull:f,interactive:C}),V=(0,F.cn)("ef-card-video",A(),w),z=!C&&!b&&!l,H="background"===d&&!m&&!z,U={className:(0,F.cn)(M()),url:i,muted:$,showPlayIcon:!1,playIconSize:o,renderCustomImage:g,placeholderImageSrc:h||P,aspectRatios:m,alt:v};return(0,D.jsxs)("div",{ref:t,className:V,"data-default-aspect-ratio":H||void 0,children:[z?(0,D.jsx)(wL,{src:h||P,alt:v,variant:d,renderCustomImage:g,aspectRatios:m,radius:c}):l?(0,D.jsx)(k7,{isHovered:N,...U}):(0,D.jsx)(k5,{ref:t,controls:!1,autoplay:b,light:!1,loop:x,...U,onPlayChange:e=>j(!e)}),E&&!b?(0,D.jsx)(kc,{size:o}):null,_&&!b?(0,D.jsx)(kL,{className:(0,F.cn)(L()),play:!1,isMuted:$,onMuteToggle:S}):null,(0,D.jsx)("div",{className:(0,F.cn)(O())}),(0,D.jsx)("div",{className:(0,F.cn)(R())})]})});_e.displayName="CardVideo";let _t=(0,I.memo)(e=>{let{blok:t,variant:r,...o}=e,{video_url:i,cover_image:l,design:s,custom_classname:d}=t,c=(0,h5.mi)({design:s}),u=(0,h5.qm)(c),p=gn({bpHide:c.visibility,originalDisplayProperty:"flex"}),f=(0,F.cn)("sb-card-video",p,d),m=u.autoplay?{autoplay:u.autoplay,hoverPreview:void 0}:u.hover_preview?{hoverPreview:u.hover_preview,autoplay:void 0}:{},h=(0,I.useMemo)(()=>null!=l&&l[0]?()=>(0,D.jsx)(yy,{blok:{...null==l?void 0:l[0],aspectRatios:u.aspect_ratio}}):void 0,[l]),g=(0,I.useMemo)(()=>{var e,t;return null!=l&&l[0]?null==(t=null==(e=null==l?void 0:l[0])?void 0:e.image)?void 0:t.filename:void 0},[l]);return(0,D.jsx)(_e,{className:f,variant:r,aspectRatios:u.aspect_ratio,renderCustomImage:h,customImagePreviewSrc:g,loop:u.loop,interactive:u.interactive,muted:u.muted,audioControl:u.audio_control,playButton:u.play_button,playButtonSize:u.play_button_size,...hl(t),...m,...o,url:(null==i?void 0:i.url)||(null==i?void 0:i.cached_url)})},(e,t)=>hj(e,t)&&e.variant===t.variant);_t.displayName="CardVideoSB";let _n=e=>{var t;let{blok:r,...o}=e,{content:i,design:l,custom_classname:s}=r,d=(0,h5.mi)({design:l}),c=(0,h5.qm)(d),u=(0,h5.mi)({design:null==(t=null==i?void 0:i[0])?void 0:t.design}),p=gn({bpHide:d.visibility,originalDisplayProperty:"flex"}),f="none"===c.gradient_type?{}:"overlay"===c.gradient_type?{overlayFull:!0}:{overlayTop:c.overlay_top,overlayBottom:c.overlay_bottom},m=(0,F.cn)("sb-card-media",p,s);return(()=>{var e,t,l,s,d;if((null==i?void 0:i.length)===0)return!1;if((null==i?void 0:i[0].component)==="sb-image"||(null==i?void 0:i[0].component)==="sb-image-bento"){let p=(null==(e=null==i?void 0:i[0])?void 0:e.component)==="sb-image-bento"?"background":c.variant,h="background"===p?"h-full w-full":"";return(0,D.jsx)(wL,{className:m,src:null==(l=null==(t=i[0])?void 0:t.image)?void 0:l.filename,alt:null==(d=null==(s=i[0])?void 0:s.image)?void 0:d.alt,variant:p,renderCustomImage:e=>(0,D.jsx)(hs,{className:h,blok:{...i[0],aspectRatios:e.aspectRatios}}),aspectRatios:u.aspect_ratio,...f,...hl(r),...o})}
43return(null==i?void 0:i[0].component)==="sb-carousel"?(0,D.jsx)(wL,{className:m,renderCustomImage:()=>(0,D.jsx)(hs,{blok:i[0],...hl(i[0])}),aspectRatios:u.aspect_ratio,variant:c.variant,...f,...hl(r),...o}):(null==i?void 0:i[0].component)==="sb-card-video"?(0,D.jsx)(_t,{className:m,blok:null==i?void 0:i[0],variant:c.variant,url:"",...f,...hl(r),...o}):(0,D.jsx)(hs,{className:m,blok:null==i?void 0:i[0],...hl(r),...o})})()};_n.displayName="CardMediaSB";let _r=e=>{let{blok:t,children:r,...o}=e,i=(0,h5.mi)({design:null==t?void 0:t.design}),l=(0,h5.qm)(i),s=(0,h7.N)(null==i?void 0:i.spacing),d=gn({bpHide:i.visibility,originalDisplayProperty:"flex"}),c=(0,F.cn)("sb-card-body",s,d,null==t?void 0:t.custom_classname);return(0,D.jsxs)(wR,{className:c,align:(null==l?void 0:l.align)||"end",justify:null==l?void 0:l.justify,...o,children:[null==t?void 0:t.content.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)),r]})};_r.displayName="CardBodySB";let _a=e=>{let{blok:t,isExternalLink:r,...o}=e,{content:i,design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l}),c=(0,h5.qm)(d),u=(0,h7.N)(null==d?void 0:d.spacing),p=gn({bpHide:d.visibility,originalDisplayProperty:"flex"}),f=(0,F.cn)("sb-card-footer",u,p,s);return(0,D.jsx)(wI,{className:f,justify:null==c?void 0:c.justify,arrow:null==c?void 0:c.arrow,externalLink:r,...o,children:i.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};_a.displayName="CardFooterSB";let _o=e=>{let{blok:t}=e,{content:r,design:o,custom_classname:i}=t,l=(0,h5.mi)({design:o}),s=(0,h5.qm)(l),d=(0,h7.N)(null==l?void 0:l.spacing),c=gn({bpHide:l.visibility,originalDisplayProperty:"flex"}),u=(0,F.cn)("sb-card-header",d,c,i);return(0,D.jsx)(wU,{className:u,justify:null==s?void 0:s.justify,children:r.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};_o.displayName="CardHeaderSB";let _i=(0,I.forwardRef)((e,t)=>{let{children:r,justify:o="center",themeConfig:i,intent:l="info",className:s,...d}=e,{root:c}=(0,B.tv)(i?(0,B.RH)(wE,i):wE)({justify:o,intent:l});return(0,D.jsx)("div",{ref:t,className:(0,F.cn)("ef-card-banner",c(),s),...d,children:r})});_i.displayName="CardBanner";let _l=e=>{let{blok:t,...r}=e,{content:o,design:i,custom_classname:l}=t,s=(0,h5.mi)({design:i}),d=(0,h5.qm)(s),c=(0,h7.N)(null==s?void 0:s.spacing),u=gn({bpHide:s.visibility,originalDisplayProperty:"flex"}),p=(0,F.cn)("sb-card-banner",c,u,l);return(0,D.jsx)(_i,{className:p,justify:null==d?void 0:d.justify,intent:null==d?void 0:d.intent,...r,children:(0,D.jsx)(aL.x,{variant:"eyebrow",children:o})})};_l.displayName="CardBannerSB";let _s={direction:{display_name:"Direction",type:"custom",field_type:"backpack-toggle",options:[{value:"column",name:"Column",icon:`${ig.GT}/direction-column.svg`},{value:"row",name:"Row",icon:`${ig.GT}/direction-row.svg`}],default_value:{s:"column"}},border:{display_name:"Border type",description:"Controls the visual depth and definition of the card.",type:"option",options:[{name:"None",value:"none"},{name:"Bordered",value:"bordered"},{name:"Shadow Small",value:"shadow-s"},{name:"Shadow Medium",value:"shadow-m"},{name:"Shadow Large",value:"shadow-l"},{name:"Shadow Extra Large",value:"shadow-xl"}],default_value:{}},border_color:{type:"custom",display_name:"Border color",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},radius:{type:"custom",display_name:"Border radius",field_type:"backpack-rounded",options:[{name:"0px",secondaryText:"zero",value:"none"},{name:"4px",secondaryText:"XXS",value:"xxs"},{name:"8px",secondaryText:"XS",value:"xs"},{name:"16px",secondaryText:"S",value:"s"},{name:"24px",secondaryText:"M",value:"m"}],default_value:{}},...wG,...wX,...hu,...hv,...wm},_d=(0,I.memo)((0,I.forwardRef)((e,t)=>{var r,o,i;let{blok:l,...s}=e,d=null==(o=null==(r=null==l?void 0:l.action)?void 0:r[0])?void 0:o.component,c=null==(i=null==l?void 0:l.action)?void 0:i[0],{bpCurrentDesign:u,currentImageDesign:p,classes:f,inlineStyle:m,isBackgroundVariant:h,href:g}=_c(l),v=(0,D.jsx)(wO,{className:f,horizontal:(null==u?void 0:u.direction)==="row",border:null==u?void 0:u.border,radius:null==u?void 0:u.radius,social:null==l?void 0:l.social,aspectRatios:h?null==p?void 0:p.aspect_ratio:void 0,style:m,href:g,...s,...hl(l),ref:t,children:_u(l)});return"sb-modal"===d||"sb-drawer"===d?(0,D.jsx)(hs,{blok:c,children:v}):v}),hj);
43_d.displayName="CardSB";let _c=e=>{var t,r,o,i,l,s,d;let{card_header:c,card_body:u,card_footer:p,card_media:f,card_banner:m,design:h,custom_classname:g,action:v}=e,y=(0,h5.mi)({design:h},_s),b=(0,h5.qm)(y),x=(0,h5.mi)({design:null==(t=null==f?void 0:f[0])?void 0:t.design}),w=(0,h5.qm)(x),k=(0,h5.mi)({design:null==(i=null==(o=null==(r=null==f?void 0:f[0])?void 0:r.content)?void 0:o[0])?void 0:i.design}),_=(0,h5.qm)(k),C=(0,h5.mi)({design:null==(l=null==v?void 0:v[0])?void 0:l.design}),$=(0,h5.qm)(C),S=(0,h7.N)(null==y?void 0:y.spacing),E=vV(null==y?void 0:y.radius,{withInnerRadiusVariable:!0}),j=gn({bpHide:y.visibility,originalDisplayProperty:"flex"}),N=(null==w?void 0:w.variant)==="background"||(null==(s=null==f?void 0:f[0])?void 0:s.component)==="sb-card-media-bento",T=(0,hr.t0)(null==b?void 0:b.background_color),P=(0,hr.t0)(null==b?void 0:b.border_color),A=!!(T.light||T.dark),O=!!(P.light||P.dark),R=(0,hr.t0)(null==b?void 0:b.text_color),D=!!(R.light||R.dark),M=(0,F.cn)("sb-card",S,E,j,A?"[--sb-card-bg-color:var(--sb-card-bg-color-light)] dark:[--sb-card-bg-color:var(--sb-card-bg-color-dark)]":"",O?"[--sb-card-border-color:var(--sb-card-border-color-light)] dark:[--sb-card-border-color:var(--sb-card-border-color-dark)]":"",D?"[--sb-card-text-color:var(--sb-card-text-color-light)] dark:[--sb-card-text-color:var(--sb-card-text-color-dark)]":"",(null==b?void 0:b.stretch)==="auto"?"h-fit":"",g),L=(0,I.useMemo)(()=>{let e={};return A&&(e["--sb-card-bg-color-light"]=T.light,e["--sb-card-bg-color-dark"]=T.dark,e["--color-system-surface-default"]="var(--sb-card-bg-color)"),O&&(e["--sb-card-border-color-light"]=P.light,e["--sb-card-border-color-dark"]=P.dark,e["--color-system-stroke-default"]="var(--sb-card-border-color)"),D&&(e["--sb-card-text-color-light"]=R.light,e["--sb-card-text-color-dark"]=R.dark,e["--color-system-text-default"]="var(--sb-card-text-color)"),e},[T.dark,T.light,P.dark,P.light,R.dark,R.light,A,O,D]),B=(null==(d=null==v?void 0:v[0])?void 0:d.component)==="sb-link-card"&&v[0].link?hC(v[0].link):void 0;return{card_header:c,card_body:u,card_footer:p,card_media:f,card_banner:m,action:v,bpCurrentDesign:b,bpCurrentActionDesign:$,currentMediaDesign:w,currentImageDesign:_,classes:M,inlineStyle:L,href:B,isBackgroundVariant:N}},_u=e=>{var t,r,o,i,l;let{card_banner:s,card_header:d,card_media:c,card_body:u,card_footer:p,action:f}=e;return(0,D.jsxs)(D.Fragment,{children:[(null==s?void 0:s.length)>0?(0,D.jsx)(_l,{blok:s[0],...hl(s[0])}):null,(null==d?void 0:d.length)>0?(0,D.jsx)(hs,{blok:d[0]}):null,(null==(t=null==c?void 0:c[0])?void 0:t.component)==="sb-card-media"?(0,D.jsx)(_n,{blok:c[0]}):(null==(r=null==c?void 0:c[0])?void 0:r.component)==="sb-card-media-bento"?(0,D.jsx)(_n,{blok:c[0]}):(null==c?void 0:c.length)>0?(0,D.jsx)(hs,{blok:c[0],...hl(c[0])}):null,(null==u?void 0:u.length)>0||(null==p?void 0:p.length)>0?(0,D.jsx)(_r,{blok:null==u?void 0:u[0],...hl(null==u?void 0:u[0]),children:(null==p?void 0:p.length)>0?(0,D.jsx)(_a,{blok:p[0],isExternalLink:(null==(o=null==f?void 0:f[0])?void 0:o.component)==="sb-link-card"&&(null==(i=f[0].link)?void 0:i.linktype)==="url"&&(null==(l=f[0].link)?void 0:l.target)==="_blank",...hl(p[0])}):null}):null]})},_p={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hv,...hO,...hD};[JSON.stringify([_p.collapsible_size,_p.collapsible_layout,_p.collapsible_component,_p.collapsible_appearance,_p.collapsible_text,_p.collapsible_effects,_p.collapsible_code_overrides]),...hy.design.options,...hR.design.options,...hM.design.options];let _f=e=>{let{blok:t}=e,{text:r,design:o}=t,i=gn({bpHide:(0,h5.mi)({design:o},_p).visibility}),l=(0,F.cn)("sb-text-button",i);return(0,D.jsx)("span",{...hl(t),className:l,children:r})};_f.displayName="ButtonTextSB";let _m={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hv};[JSON.stringify([_m.collapsible_size,_m.collapsible_layout,_m.collapsible_component,_m.collapsible_appearance,_m.collapsible_text,_m.collapsible_effects,_m.collapsible_code_overrides]),...hy.design.options];let _h=e=>{var t;let{blok:r}=e,{icon:o,design:i}=r,l=gn({bpHide:(0,h5.mi)({design:i},_m).visibility,originalDisplayProperty:"flex"});return(0,D.jsx)("span",{className:(0,F.cn)("sb-icon-button flex",l),children:(0,D.jsx)(b4,{...hl(r),icon:(null==(t=null==o?void 0:o.selectedIcon)?void 0:t.data)||""})})};_h.displayName="ButtonIconSB";var _g=r(29890),_v=r(69618),_y=r(82554);let _b=e=>{let{isHighlighted:t,children:r}=e,o=(0,oQ.b9)(kF);return(0,I.useEffect)(()=>{o(t)},[t]),r};
43_b.displayName="CarouselPlayingSlideWrapper";var _x=r(17486),_w=NaN,_k=/^\s+|\s+$/g,__=/^[-+]0x[0-9a-f]+$/i,_C=/^0b[01]+$/i,_$=/^0o[0-7]+$/i,_S=parseInt,_E="object"==typeof gI.t&&gI.t&&gI.t.Object===Object&&gI.t,_j="object"==typeof self&&self&&self.Object===Object&&self,_N=_E||_j||Function("return this")(),_T=Object.prototype.toString,_P=Math.max,_A=Math.min,_O=function(){return _N.Date.now()};function _R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _D(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==_T.call(t))return _w;if(_R(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=_R(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(_k,"");var o=_C.test(e);return o||_$.test(e)?_S(e.slice(2),o?2:8):__.test(e)?_w:+e}let _M=(0,gI.fm)(function(e,t,r){var o,i,l,s,d,c,u=0,p=!1,f=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var r=o,l=i;return o=i=void 0,u=t,s=e.apply(l,r)}function g(e){var r=e-c,o=e-u;return void 0===c||r>=t||r<0||f&&o>=l}function v(){var e,r,o,i=_O();if(g(i))return y(i);d=setTimeout(v,(e=i-c,r=i-u,o=t-e,f?_A(o,l-r):o))}function y(e){return d=void 0,m&&o?h(e):(o=i=void 0,s)}function b(){var e,r=_O(),l=g(r);if(o=arguments,i=this,c=r,l){if(void 0===d)return u=e=c,d=setTimeout(v,t),p?h(e):s;if(f)return d=setTimeout(v,t),h(c)}return void 0===d&&(d=setTimeout(v,t)),s}return t=_D(t)||0,_R(r)&&(p=!!r.leading,l=(f="maxWait"in r)?_P(_D(r.maxWait)||0,t):l,m="trailing"in r?!!r.trailing:m),b.cancel=function(){void 0!==d&&clearTimeout(d),u=0,o=c=i=d=void 0},b.flush=function(){return void 0===d?s:y(_O())},b});var _L=r(36297);let _I=(0,I.forwardRef)((e,t)=>{var r;let{scrollToHighlightedSlideOnClick:o=!0,children:i,className:l,...s}=e,[d,c]=(0,I.useState)(void 0),{CarouselSlidesSlot:u,CarouselControlsSlot:p}=(0,ir.F)(i,{CarouselSlides:_v.h,CarouselControls:_y.J}),f=_M(e=>c(e),350,{leading:!1,trailing:!0}),{root:m,slideContainer:h,slide:g}=(0,B.tv)(_L.v$)(),v=(0,F.cn)("ef-social-carousel",m(),l);return(0,D.jsxs)(_g.l,{ref:t,className:v,events:{onHighlightedSlideChange:({highlightedSlideIndex:e})=>f(e)},scrollToHighlightedSlideOnClick:o,renderMode:"performance",highlightCentralSlide:!0,centered:!0,themeConfig:{slots:{slideContainer:(0,F.cn)(h()),slide:(0,F.cn)(g())}},...s,children:[(0,D.jsx)(_v.h,{children:I.Children.map(null==(r=null==u?void 0:u.props)?void 0:r.children,(e,t)=>{if(!e)return null;let r=(0,_x.$U)(e,t);return(0,D.jsx)(wA.$,{atoms:[kF],children:(0,D.jsx)(_b,{isHighlighted:d===t,children:e})},r)})}),p]})});_I.displayName="SocialCarousel";
43let _F=[{preset:{name:"Curve",preset:{_uid:"dd8da028-5206-40b0-adac-6aa07937fa9d",name:"",design:{fields:{gap:{type:"option",values:{l:"xl"}},loop:{type:"boolean",values:{s:!1}},order:{type:"number",values:{}},center:{type:"boolean",values:{s:!0}},display:{type:"option",values:{s:"full"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},autoplay:{type:"boolean",values:{s:!1}},position:{type:"custom",values:{s:{x:[0,6],active:!0}},field_type:"backpack-layout"},transition:{type:"option",values:{s:"curve"}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}},slides_in_view:{type:"number",values:{l:"3.5",m:"2.5",s:"1.5"}},start_on_slide:{type:"number",values:{s:"3"}},autoplay_stagger:{type:"number",values:{s:2e3}},transitionsOnEnter:{type:"boolean",values:{}},pagination_behavior:{type:"option",values:{s:"single"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0"},slides:[{_uid:"85fc33eb-e49f-4d53-84be-0a2c7855a547",image:{id:13769196,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/2368x2376/16b4a579cd/photography.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{_uid:"e15c283e-15ee-43ff-96a8-c2c553219bf9",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."}
43,quality:"",priority:!1,component:"sb-image"},{_uid:"27919f90-1499-408e-bd63-1cd32aebebcb",image:{id:13769194,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/1500x1504/3c14b39f79/sea.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{_uid:"56bd9b14-0e2a-4118-a1f0-71c7c8cc5ecf",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},quality:"",priority:!1,component:"sb-image"},{_uid:"c1c5756c-aa4c-4e82-ae18-d30b38af9e7b",image:{id:65299392796136,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/326447/1024x600/9565747aef/heroimage.png",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{_uid:"2d8b1fe6-926d-4154-b3e5-2565fe40c0dd",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."}
43,quality:"",priority:!1,component:"sb-image"},{_uid:"3aa8b6af-ece1-4117-bd15-4170536d056d",image:{id:13769196,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/2368x2376/16b4a579cd/photography.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{_uid:"cb91b49e-e318-47be-9813-0b99031103b3",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},quality:"",priority:!1,component:"sb-image"},{_uid:"4682ef05-5c2e-4653-a128-ff367222d88e",image:{id:13769194,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/1500x1504/3c14b39f79/sea.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_private:"",is_external_url:!1},design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"custom",values:{},field_type:"backpack-rounded"},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},quality:"",priority:!1,component:"sb-image"},{_uid:"2c3217d2-d35b-41e0-ae4c-0a147f603ce1",image:{id:65299392796136,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/326447/1024x600/9565747aef/heroimage.png",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"custom",values:{},field_type:"backpack-rounded"},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],controls:[{_uid:"c136ac70-11e3-4789-b714-41141ea5af63",design:{fields:{controls:{type:"option",values:{s:"minimal"}},pagination:{type:"option",values:{s:"dots"}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}},controls_position:{type:"option",values:{s:"center"}},controls_background:{type:"custom",values:{},field_type:"backpack-color-picker"},controls_foreground:{type:"custom",values:{},field_type:"backpack-color-picker"},pagination_position:{type:"option",values:{s:"outside"}}},plugin:"backpack-breakpoints-v2",version:"2.20.0"},component:"sb-carousel-controls",next_control_aria_label:"",previous_control_aria_label:""}],component:"sb-carousel"},image:`${ig.Bn}/Carousel/storyblok/sb-carousel-default.webp`,color:"",description:"Curved fan of centered slides with tucked controls"}},{preset:{name:"Default (Section)",preset:{_uid:"643b1e13-c1a4-44f5-9efe-a74f8bc62f32",name:"",design:{fields:{gap:{type:"option",values:{l:"m",s:"xs"}},loop:{type:"boolean",values:{s:!1}},order:{type:"number",values:{}},center:{type:"boolean",values:{s:!1}},display:{type:"option",values:{s:"full"}},autoplay:{type:"boolean",values:{s:!1}},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}},slides_in_view:{type:"number",values:{l:"3",s:"2"}},start_on_slide:{type:"number",values:{s:0}},autoplay_stagger:{type:"number",values:{s:2e3}},transitionsOnEnter:{type:"boolean",values:{}},pagination_behavior:{type:"option",values:{s:"group"}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},slides:[{_uid:"1394f996-783b-4c71-8289-6dc3f5a73cf3",action:[],design:"",social:!1,card_body:[{_uid:"3a54da1e-ee2c-4f4f-8470-19adc808386d",design:"",content:[{as:"h2",_uid:"6d872aa7-df0f-4395-a949-becd2ea98ae1",design:{fields:{spacing:{type:"custom",values:{}
43,field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header4"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},content:"Card",component:"sb-headline",custom_classname:""}],component:"sb-card-primitive-body",custom_classname:""}],component:"sb-card",card_media:[{_uid:"e0857c41-0d72-45c9-9fd8-83f6dcd48178",design:"",content:[{_uid:"d9e21aa9-7956-4903-85f8-e4f420648745",image:{id:0x60c53943b0ca,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/288029660171217/1000x1000/cf24c4c4f4/default.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:"",quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],component:"sb-card-media",custom_classname:""}],card_banner:[],card_footer:[],card_header:[],custom_classname:""},{_uid:"0fd6cd43-18eb-47c6-8b9b-f2e8dbd9799a",action:[],design:"",social:!1,card_body:[{_uid:"8f2eb630-22e2-4f53-9fde-0d8557ddf24b",design:"",content:[{as:"h2",_uid:"15ba703e-190d-406e-a77d-29cc18281bd0",design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header4"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},content:"Card",component:"sb-headline",custom_classname:""}],component:"sb-card-primitive-body",custom_classname:""}],component:"sb-card",card_media:[{_uid:"a17908bc-f908-49d1-b8d7-58f43391d3ee",design:"",content:[{_uid:"7bd2c054-e93d-45d2-81f7-55685a43adf2",image:{id:0x60c53943b0ca,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/288029660171217/1000x1000/cf24c4c4f4/default.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:"",quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],component:"sb-card-media",custom_classname:""}],card_banner:[],card_footer:[],card_header:[],custom_classname:""},{_uid:"efd147e2-86ad-4856-9110-9f6da1b3cc57",action:[],design:"",social:!1,card_body:[{_uid:"e3a32cf0-4074-4614-9512-bb3b64e39d2f",design:"",content:[{as:"h2",_uid:"e9a67bf0-933d-4b2d-9a9e-f5b7e1282800",design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header4"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},content:"Card",component:"sb-headline",custom_classname:""}],component:"sb-card-primitive-body",custom_classname:""}],component:"sb-card",card_media:[{_uid:"6ab81007-8cb7-4e40-b1a5-34414d8a4b82",design:"",content:[{_uid:"23391eb5-8aff-47d0-800f-3f328e4f74f0",image:{id:0x60c53943b0ca,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/288029660171217/1000x1000/cf24c4c4f4/default.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:"",quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],component:"sb-card-media",custom_classname:""}],card_banner:[],card_footer:[],card_header:[],custom_classname:""},{_uid:"54f4b912-b1d0-4364-ae39-dcfe1ed1c75b",action:[],design:"",social:!1,card_body:[{_uid:"477d0ec7-2670-4a5b-a405-af727c1c3b9d",design:"",content:[{as:"h2",_uid:"edcb75ce-c279-464b-8a73-5a466a74af33",design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header4"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},content:"Card",component:"sb-headline",custom_classname:""}],component:"sb-card-primitive-body",custom_classname:""}],component:"sb-card",card_media:[{_uid:"ea4b2235-0ae7-4fd6-8311-82f72f084478",design:"",content:[{_uid:"8a92cca0-fd26-4b23-900f-e316fe2cd4e6",image:{id:0x60c53943b0ca,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/288029660171217/1000x1000/cf24c4c4f4/default.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:"",quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],component:"sb-card-media",custom_classname:""}
43],card_banner:[],card_footer:[],card_header:[],custom_classname:""}],controls:[{_uid:"36a88f45-2997-4c43-bc74-d07a8f6391bd",design:{fields:{controls:{type:"option",values:{s:"bold"}},pagination:{type:"option",values:{s:"dots"}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}},controls_background:{type:"custom",values:{},field_type:"backpack-color-picker"},controls_foreground:{type:"custom",values:{},field_type:"backpack-color-picker"},pagination_position:{type:"option",values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},component:"sb-carousel-controls",next_control_aria_label:"",previous_control_aria_label:""}],component:"sb-carousel"},image:`${ig.Bn}/Carousel/storyblok/sb-carousel-with-cards.webp`,color:"",description:"With Content Cards"}},{preset:{name:"Default",preset:{_uid:"7bb0498c-5bae-4eed-bc0a-f2307127adc4",name:"",design:{fields:{gap:{type:"option",values:{l:"m",s:"xs"}},loop:{type:"boolean",values:{s:!1}},order:{type:"number",values:{}},center:{type:"boolean",values:{s:!1}},display:{type:"option",values:{s:"full"}},autoplay:{type:"boolean",values:{s:!1}},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},__collapsibles:{values:{}},slides_in_view:{type:"number",values:{m:"1.5",s:"1"}},start_on_slide:{type:"number",values:{s:"2"}},autoplay_stagger:{type:"number",values:{s:2e3}},transitionsOnEnter:{type:"boolean",values:{}},pagination_behavior:{type:"option",values:{s:"group"}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},slides:[{_uid:"952e9b4e-83db-4886-9b13-6c832da959fb",image:{id:13769196,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/2368x2376/16b4a579cd/photography.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{_uid:"5ce065ee-6bbe-48f4-922f-6f18f576ccfe",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"option",values:{}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints-v2",version:"2.16.7",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."}
43,quality:"",priority:!1,component:"sb-image"},{_uid:"d15dba31-9e0e-4c5c-b7d8-25413f932d5b",image:{id:13769194,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/226550/1500x1504/3c14b39f79/sea.jpg",copyright:"",fieldtype:"asset",meta_data:{},is_private:"",is_external_url:!1},design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"custom",values:{},field_type:"backpack-rounded"},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},quality:"",priority:!1,component:"sb-image"},{_uid:"5efa803a-5528-42e9-88ed-4b9d0230b834",image:{id:65299392796136,alt:"",name:"",focus:"",title:"",source:"",filename:"https://a.storyblok.com/f/326447/1024x600/9565747aef/heroimage.png",copyright:"",fieldtype:"asset",meta_data:{},is_external_url:!1},design:{fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},aspect_ratio:{type:"option",values:{s:"4/3"}},border_radius:{type:"custom",values:{},field_type:"backpack-rounded"},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},viewport_size:{type:"option",values:{s:"auto"}},__collapsibles:{values:{}}},plugin:"backpack-breakpoints-v2",version:"2.16.7"},quality:"70",priority:!1,component:"sb-image",expandable:!1,smart_focus:!1,custom_classname:""}],controls:[{_uid:"ce5b5f90-edd8-403d-80b4-66f2ef5d4950",design:"",component:"sb-carousel-controls",next_control_aria_label:"",previous_control_aria_label:""}],component:"sb-carousel"},image:`${ig.Bn}/Carousel/storyblok/sb-carousel-with-cards.webp`,color:"",description:"With Content Cards"}}],_B={...wG,display:{display_name:"Display",type:"option",options:[{name:"Contained",value:"contained"},{name:"Full",value:"full"}],default_value:{s:"full"}},...yD,start_on_slide:{display_name:"Start on slide",type:"number",description:"Zero-based index of the slide to start on (0 = first slide)",default_value:{s:0}},slides_in_view:{type:"number",min_value:1,max_value:5,steps:.5,default_value:{s:1,l:3}},pagination_behavior:{type:"option",options:[{name:"Group of slides move",value:"group"},{name:"Single slide moves",value:"single"}],default_value:{s:"single"}},center:{type:"boolean",display_name:"Center",description:"The first slide will be horizontally centered",default_value:{s:!1}},transition:{display_name:"Transition",type:"option",description:"How slides move: regular sliding, or fanned along a curve around the centered slide",options:[{name:"Slide",value:"slide"},{name:"Curve",value:"curve"}],default_value:{s:"slide"}},loop:{type:"boolean",default_value:{s:!1}},autoplay:{type:"boolean",default_value:{s:!1}},autoplay_stagger:{type:"number",display_name:"Autoplay stagger",description:"Delay between items appearing.",min_value:500,max_value:1e4,steps:100,default_value:{s:2e3}}},_V=h_(h_(yD.gap,"default_value",{s:"xs",l:"m"}),"options",[{value:"none",name:"0px",secondaryText:"zero"},...yD.gap.options??[]]),_z={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["slides_in_view","start_on_slide","display","center","transition","pagination_behavior"],default_value:{}},..._B,...hv,...yD,gap:_V,...hO,...hD};ig.Bn,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([_z.collapsible_size,_z.collapsible_layout,_z.collapsible_component,_z.collapsible_appearance,_z.collapsible_text,_z.collapsible_effects,_z.collapsible_code_overrides]),JSON.stringify(_z.slides_in_view),JSON.stringify(_z.gap),JSON.stringify(_z.spacing),JSON.stringify(_z.display),JSON.stringify(_z.loop),JSON.stringify(_z.autoplay),JSON.stringify(_z.autoplay_stagger),JSON.stringify(_z.start_on_slide),JSON.stringify(_z.pagination_behavior),JSON.stringify(_z.center),JSON.stringify(_z.transition),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-carou
43sel",_F);let _H={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["controls","controls_position","pagination","pagination_position"],default_value:{}},controls:{display_name:"Controls",translatable:!1,type:"option",required:!0,options:[{name:"None",value:"none"},{name:"Minimal",value:"minimal"},{name:"Bold",value:"bold"}],default_value:{s:"minimal"}},controls_position:{display_name:"Controls position",translatable:!1,type:"option",description:"Center stacks the pagination above horizontally centered buttons; with the curve transition the centered controls tuck in below the centered slide",options:[{name:"Default",value:"default"},{name:"Center",value:"center"}],default_value:{s:"default"}},pagination:{display_name:"Pagination",translatable:!1,type:"option",required:!0,options:[{name:"None",value:"none"},{name:"Dots",value:"dots"},{name:"Counter",value:"counter"}],default_value:{s:"dots"}},pagination_position:{display_name:"Pagination position",translatable:!1,type:"option",description:"Inside overlays the pagination on the carousel content â ideal for hero or full-screen image carousels",options:[{name:"Inside",value:"inside"},{name:"Outside",value:"outside"}],default_value:{s:"outside"}},controls_background:{type:"custom",field_type:"backpack-color-picker",display_name:"Background",options:[{name:"colors",value:"colors"}],default_value:{}},controls_foreground:{type:"custom",field_type:"backpack-color-picker",display_name:"Foreground",options:[{name:"colors",value:"colors"}],default_value:{}},...hv};ig.Bn,[JSON.stringify([_H.collapsible_size,_H.collapsible_layout,_H.collapsible_component,_H.collapsible_appearance,_H.collapsible_text,_H.collapsible_effects,_H.collapsible_code_overrides]),JSON.stringify(_H.pagination),JSON.stringify(_H.pagination_position),JSON.stringify(_H.controls),JSON.stringify(_H.controls_position),JSON.stringify(_H.controls_background),JSON.stringify(_H.controls_foreground),...hy.design.options];let _U=e=>{let{blok:t,...r}=e,{previous_control_aria_label:o,next_control_aria_label:i,design:l}=t,s=(0,h5.mi)({design:l},_H),d=(0,h5.qm)(s),c=(0,hr.t0)(null==d?void 0:d.controls_background),u=(0,hr.t0)(null==d?void 0:d.controls_foreground),p=!!(c.light||c.dark),f=!!(u.light||u.dark),m={controlsVariant:null==s?void 0:s.controls,controlsPosition:null==s?void 0:s.controls_position,paginationVariant:null==s?void 0:s.pagination,paginationPosition:null==s?void 0:s.pagination_position},h=p?{"--sb-carousel-controls-bg-color-light":c.light,"--sb-carousel-controls-bg-color-dark":c.dark,"--color-components-buttons-ghost-enabled-background":"var(--sb-carousel-controls-bg-color)","--color-system-surface-default":"var(--sb-carousel-controls-bg-color)"}:{},g=f?{"--sb-carousel-controls-foreground-color-light":u.light,"--sb-carousel-controls-foreground-color-dark":u.dark,"--color-system-vector-default":"var(--sb-carousel-controls-foreground-color)","--color-components-buttons-ghost-enabled-foreground":"var(--sb-carousel-controls-foreground-color)","--color-system-text-default":"var(--sb-carousel-controls-foreground-color)","--color-system-text-on-inverse":"var(--sb-carousel-controls-foreground-color)"}:{},v={...h,...g};return(0,D.jsx)(_y.J,{previousAriaLabel:o,nextAriaLabel:i,className:(0,F.cn)(p?"[--sb-carousel-controls-bg-color:var(--sb-carousel-controls-bg-color-light)] dark:[--sb-carousel-controls-bg-color:var(--sb-carousel-controls-bg-color-dark)]":"",f?"[--sb-carousel-controls-foreground-color:var(--sb-carousel-controls-foreground-color-light)] dark:[--sb-carousel-controls-foreground-color:var(--sb-carousel-controls-foreground-color-dark)]":""),style:v,...m,...hl(t),...r})};_U.displayName="CarouselControlsSB";let _Z=(0,I.memo)((0,I.forwardRef)((e,t)=>{let{blok:r,...o}=e,{design:i,slides:l,controls:s,custom_classname:d}=r,c=(0,h5.mi)({design:i},_z),u=(0,h5.qm)(c),p=gn({bpHide:c.visibility}),f=(0,h7.N)(null==c?void 0:c.spacing),m=(0,F.cn)("sb-carousel",f,p,d),h=(0,I.useMemo)(()=>({...null==c?void 0:c.slides_in_view}),[null==c?void 0:c.slides_in_view]);if(!l||(null==l?void 0:l.length)===0)return null;let g=null!=c&&c.display?c.display:void 0,v=null!=c&&c.transition?c.transition:void 0;
43return"sb-carousel"===r.component||"sb-carousel-section"===r.component?(0,D.jsxs)(_g.l,{ref:t,className:m,slidesInView:h??1,startAtIndex:null==c?void 0:c.start_on_slide,layout:g,gap:(0,_x.oU)(null==c?void 0:c.gap),centered:null==c?void 0:c.center,transition:v,loop:null==u?void 0:u.loop,autoplay:null==u?void 0:u.autoplay,autoplayInterval:null==u?void 0:u.autoplay_stagger,paginated:(null==u?void 0:u.pagination_behavior)==="group",...o,...hl(r),children:[(0,D.jsx)(_v.h,{children:l.map(e=>"sb-carousel-controls"!==e.component?(0,D.jsx)(hs,{blok:e},e._uid):null)}),(null==s?void 0:s.length)>0?(0,D.jsx)(_U,{blok:null==s?void 0:s[0],"data-slot":"CarouselControls"}):null]}):"sb-social-carousel"===r.component||"sb-social-carousel-section"===r.component?(0,D.jsxs)(_I,{ref:t,className:m,slidesInView:h??1,startAtIndex:null==c?void 0:c.start_on_slide,layout:g,loop:null==u?void 0:u.loop,...hl(r),children:[(0,D.jsx)(_v.h,{children:l.map(e=>"sb-carousel-controls"!==e.component?(0,D.jsx)(hs,{blok:e},e._uid):null)}),(null==s?void 0:s.length)>0?(0,D.jsx)(_U,{blok:null==s?void 0:s[0],"data-slot":"CarouselControls"}):null]}):null}));_Z.displayName="CarouselSB";let _W=()=>(0,D.jsx)(wW.k,{justify:"space-between",align:"center",gap:"m",direction:"column",className:"flex w-full p-6 gap-2.5 rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]",children:(0,D.jsx)(wW.k,{justify:"space-between",align:"center",gap:"m",direction:"column",children:(0,D.jsx)(aL.x,{variant:"header5",className:"pt-6 pb-2",children:"No articles found"})})}),_K=(0,I.forwardRef)(({children:e,className:t,...r},o)=>{let i=(0,F.cn)("ef-tab-content",t);return(0,D.jsx)("div",{ref:o,className:i,...r,children:e})});_K.displayName="TabContent";let _q=(0,B.c6)({slots:{root:"",tabPanel:"mt-4",tabList:"text-body-bold relative flex max-w-full overflow-x-auto scroll-smooth text-system-text-default scrollbar-hide",tabItem:"relative z-[1] flex whitespace-nowrap px-4 outline-none motion-safe:transition-colors",tabItemWrapper:"relative motion-safe:duration-system-medium",tabItemTitleNumber:"flex min-h-6 min-w-6 items-center justify-center rounded-full ring-1 ring-system-stroke-weak text-small-print-bold motion-safe:transition-colors motion-safe:ease-[cubic-bezier(0.83,0,0.17,1)]",scrollContainerRight:"pointer-events-none absolute right-0 top-0 z-10 h-full w-24 bg-gradient-to-r from-transparent opacity-0 motion-safe:transition-opacity",scrollContainerLeft:"pointer-events-none absolute left-0 top-0 z-10 h-full w-24 bg-gradient-to-l from-transparent opacity-0 motion-safe:transition-opacity",tabItemTitleWrapper:"flex min-w-12 items-center gap-1 whitespace-nowrap rtl:flex-row-reverse",slidingIndicator:"pointer-events-none absolute bottom-1 top-1 rounded-full transition-all motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive"},variants:{variant:{underlined:{tabList:"px-2 pt-3",tabItem:"relative mb-3 motion-safe:transition-colors",tabItemWrapper:"after:absolute after:-bottom-0 after:left-2 after:right-2 after:h-[3px] after:bg-system-vector-hover after:opacity-0 after:transition-opacity hover:after:opacity-100",slidingIndicator:"bottom-0 top-auto h-[3px] rounded-none bg-system-vector-selected-default",tabItemTitleNumber:"text-small-print-bold",scrollContainerRight:"to-white",scrollContainerLeft:"to-white"},filled:{tabItemTitleNumber:""},outlined:{tabItem:""}}
43,shape:{round:{scrollContainerRight:"rounded-full",scrollContainerLeft:"rounded-full"},square:{tabList:"!rounded-xxs",tabItem:"rounded-xxs hover:rounded-xxs",slidingIndicator:"rounded-xxs",scrollContainerRight:"rounded-xxs",scrollContainerLeft:"rounded-xxs"}},showRightScrollGradient:{true:{scrollContainerRight:"opacity-100"}},showLeftScrollGradient:{true:{scrollContainerLeft:"opacity-100"}},isSelected:{true:{tabItem:"text-system-text-selected-default text-ui-label-bold",tabItemTitleNumber:"bg-system-surface-selected-strong text-system-text-selected-on-strong ring-0"}},isFocusVisible:{true:{}},isDisabled:{true:{tabItem:"cursor-not-allowed text-system-text-disabled-default hover:after:opacity-0 motion-safe:group-hover:text-system-text-disabled-default"}},centered:{true:{tabList:"mx-auto max-w-fit"}},hasNumber:{true:{tabItemTitleWrapper:"flex flex-row gap-2"}}},compoundVariants:[{variant:["filled","outlined"],class:{tabList:"gap-1 rounded-full bg-system-surface-weak p-1 ring-1 ring-system-stroke-weak",tabItem:"rounded-full bg-transparent py-2 hover:bg-system-surface-hover",tabItemTitleWrapper:"flex flex-col",scrollC
43ontainerRight:"isolate to-system-surface-weak ",scrollContainerLeft:"isolate to-system-surface-weak "}},{variant:"filled",class:{slidingIndicator:"bg-system-surface-selected-strong shadow-sm"}},{variant:"outlined",class:{slidingIndicator:"border-2 border-system-stroke-selected-on-weak bg-system-surface-selected-weak"}},{variant:["filled","outlined"],hasNumber:!0,class:{tabItemTitleWrapper:"flex flex-row"}},{variant:["filled","outlined"],isDisabled:!0,class:{tabItem:"cursor-not-allowed bg-transparent text-system-text-disabled-default hover:bg-transparent",tabItemTitleNumber:"border-system-stroke-disabled text-system-text-disabled-default"}},{variant:"outlined",isDisabled:!0,class:{tabItem:"border-transparent hover:border-transparent"}},{variant:"filled",isSelected:!0,class:{tabItem:"text-system-text-selected-on-strong hover:bg-transparent",tabItemTitleNumber:"bg-system-surface-selected-weak text-system-text-selected-on-weak"}},{variant:"outlined",isSelected:!0,class:{tabItem:"text-system-text-selected-default hover:bg-transparent",tabItemTitleNumber:"bg-system-surface-selected-strong text-system-text-selected-on-strong"}},{variant:"underlined",isSelected:!0,class:{tabItemWrapper:"after:opacity-0 hover:after:opacity-0"}},{variant:["filled","outlined"],shape:"square",class:{tabList:"rounded-xxs",tabItem:"rounded-xxs hover:rounded-xxs"}}]}),_G=(0,oG.cn)({variant:"underlined",shape:void 0}),_J=(0,oG.cn)({}),_Y=(0,I.forwardRef)(({number:e,children:t,themeConfig:r,className:o,...i},l)=>{let{variant:s}=(0,oQ.Dv)(_G),{isSelected:d,isFocusVisible:c}=(0,oQ.Dv)(_J),{tabItemTitleNumber:u,tabItemTitleWrapper:p}=(0,B.tv)(r?(0,B.RH)(_q,r):_q)({variant:s,hasNumber:!!e,isSelected:d,isFocusVisible:c}),f=(0,F.cn)("ef-tab-item-title",p(),o);return(0,D.jsxs)("div",{ref:l,className:f,...i,children:[t,e&&(0,D.jsx)("div",{className:(0,F.cn)(u()),children:e})]})});_Y.displayName="TabItemTitle";let _X=new WeakMap;function _Q(e,t,r){return e?("string"==typeof t&&(t=t.replace(/\s+/g,"")),`${_X.get(e)}-${r}-${t}`):""}var _0=r(96194),_1=r(274),_2=r(73449),_3=r(11214),_4=r(40267);function _6(e){return(0,_4.ad)()?e.altKey:e.ctrlKey}function _8(e,t){var r,o;let i=`[data-key="${CSS.escape(String(t))}"]`,l=null===(r=e.current)||void 0===r?void 0:r.dataset.collection;return l&&(i=`[data-collection="${CSS.escape(l)}"]${i}`),null===(o=e.current)||void 0===o?void 0:o.querySelector(i)}let _9=new WeakMap;var _5=r(25828),_7=r(59988),Ce=r(62181),Ct=r(38346);function Cn(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:o,onLongPress:i,threshold:l=500,accessibilityDescription:s}=e,d=(0,I.useRef)(void 0),{addGlobalListener:c,removeGlobalListener:u}=(0,Ce.x)(),{pressProps:p}=(0,oX.r)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),d.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,_5.r3)(e.target).activeElement!==e.target&&(0,_7.A)(e.target),i&&i({...e,type:"longpress"}),d.current=void 0},l),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};c(e.target,"contextmenu",t,{once:!0}),c(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)}
43,30)},{once:!0})}},onPressEnd(e){d.current&&clearTimeout(d.current),o&&("mouse"===e.pointerType||"touch"===e.pointerType)&&o({...e,type:"longpressend"})}}),f=(0,Ct.P)(i&&!t?s:void 0);return{longPressProps:(0,wN.d)(p,f)}}var Cr=r(48476);function Ca(e){return(0,_4.V5)()?e.metaKey:e.ctrlKey}var Co=r(29344);function Ci(e){var t;let r,o;let i=(t=(0,_5.r3)(e),(o=null==(r=(0,Co.vY)(t))?void 0:r.getAttribute("aria-activedescendant"))&&t.getElementById(o)||r);i!==e&&(i&&(i.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))),e&&Cl(e,i))}function Cl(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Cs(e){var t;let{id:r,selectionManager:o,key:i,ref:l,shouldSelectOnPressUp:s,shouldUseVirtualFocus:d,focus:c,isDisabled:u,onAction:p,allowsDifferentPressOrigin:f,linkBehavior:m="action"}=e,h=(0,_1.tv)();r=(0,_3.Me)(r);let g=e=>{if("keyboard"===e.pointerType&&_6(e))o.toggleSelection(i);else{if("none"===o.selectionMode)return;if(o.isLink(i)){if("selection"===m&&l.current){let t=o.getItemProps(i);h.open(l.current,e,t.href,t.routerOptions),o.setSelectedKeys(o.selectedKeys);return}if("override"===m||"none"===m)return}"single"===o.selectionMode?o.isSelected(i)&&!o.disallowEmptySelection?o.toggleSelection(i):o.replaceSelection(i):e&&e.shiftKey?o.extendSelection(i):"toggle"===o.selectionBehavior||e&&(Ca(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?o.toggleSelection(i):o.replaceSelection(i)}};(0,I.useEffect)(()=>{i===o.focusedKey&&o.isFocused&&(d?Ci(l.current):c?c():document.activeElement!==l.current&&l.current&&(0,Cr.e)(l.current))},[l,i,o.focusedKey,o.childFocusStrategy,o.isFocused,d]),u=u||o.isDisabled(i);let v={};d||u?u&&(v.onMouseDown=e=>{e.preventDefault()}):v={tabIndex:i===o.focusedKey?0:-1,onFocus(e){e.target===l.current&&o.setFocusedKey(i)}};let y=o.isLink(i)&&"override"===m,b=o.isLink(i)&&"selection"!==m&&"none"!==m,x=!u&&o.canSelectItem(i)&&!y,w=(p||b)&&!u,k=w&&("replace"===o.selectionBehavior?!x:!x||o.isEmpty),_=w&&x&&"replace"===o.selectionBehavior,C=k||_,$=(0,I.useRef)(null),S=C&&x,E=(0,I.useRef)(!1),j=(0,I.useRef)(!1),N=e=>{if(p&&p(),b&&l.current){let t=o.getItemProps(i);h.open(l.current,e,t.href,t.routerOptions)}},T={};s?(T.onPressStart=e=>{$.current=e.pointerType,E.current=S,"keyboard"===e.pointerType&&(!C||Cc())&&g(e)},f?(T.onPressUp=k?void 0:e=>{"mouse"===e.pointerType&&x&&g(e)},T.onPress=k?N:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&x&&g(e)}):T.onPress=e=>{k||_&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||Cd())&&N(e):"keyboard"!==e.pointerType&&x&&g(e)}):(T.onPressStart=e=>{$.current=e.pointerType,E.current=S,j.current=k,x&&("mouse"===e.pointerType&&!k||"keyboard"===e.pointerType&&(!w||Cc()))&&g(e)},T.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&C&&Cd()||"mouse"===e.pointerType&&j.current)&&(C?N(e):x&&g(e))}),v["data-collection"]=(t=o.collection,_9.get(t)),v["data-key"]=i,T.preventFocusOnPress=d,d&&(T=(0,wN.d)(T,{onPressStart(e){"touch"!==e.pointerType&&(o.setFocused(!0),o.setFocusedKey(i))},onPress(e){"touch"===e.pointerType&&(o.setFocused(!0),o.setFocusedKey(i))}}));let{pressProps:P,isPressed:A}=(0,oX.r)(T),O=_?e=>{"mouse"===$.current&&(e.stopPropagation(),e.preventDefault(),N(e))}:void 0,{longPressProps:R}=Cn({isDisabled:!S,onLongPress(e){"touch"===e.pointerType&&(g(e),o.setSelectionBehavior("toggle"))}}),D=o.isLink(i)?e=>{_1.nG.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,wN.d)(v,x||k||d?P:{},S?R:{},{onDoubleClick:O,onDragStartCapture:e=>{"touch"===$.current&&E.current&&e.preventDefault()},onClick:D,id:r},d?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:A,isSelected:o.isSelected(i),isFocused:o.isFocused&&o.focusedKey===i,isDisabled:u,allowsSelection:x,hasAction:C}}function Cd(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function Cc(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}let Cu=({item:e,state:t,themeConfig:r,variant:o,shape:i})=>{let{key:l,rendered:s}=e,d=(0,I.useRef)(null),{tabProps:c,isSelected:u,isDisabled:p}=function(e,t,r){let{key:o,isDisabled:i,shouldSelectOnPressUp:l}=e,{selectionManager:s,selectedKey:d}=t,c=o===d,u=i||t.isDisabled||t.selectionManager.isDisabled(o),{itemProps:p,isPressed:f}=Cs({selectionManager:s,key:o,ref:r,isDisabled:u,shouldSelectOnPressUp:l,linkBehavior:"selection"}),m=_Q(t,o,"tab"),h=_Q(t,o,"tabpanel"),{tabIndex:g}=p,v=t.collection.getItem(o),y=(0,_0.z)(null==v?void 0:v.props,{labelable:!0});delete y.id;let b=(0,_1.eY)(null==v?void 0:v.props),{focusableProps:x}=(0,_2.kc)({isDisabled:u},r);return{tabProps:(0,wN.d)(y,x,b,p,{id:m,"aria-selected":c,"aria-disabled":u||void 0,"aria-controls":c?h:void 0,tabIndex:u?void 0:g,role:"tab"}),isSelected:c,isDisabled:u,isPressed:f}}({key:l},t,d),{TabItemTitleSlot:f}=(0,ir.F)(s,{TabItemTitle:_Y});if(!f)throw Error("TabItemTitle component does not exist within TabItem component.");let m=(0,B.tv)(r?(0,B.RH)(_q,r):_q),{isFocusVisible:h,focusProps:g}=(0,wj.F)(),{tabItem:v,tabItemWrapper:y}=m({isSelected:u,isFocusVisible:h,isDisabled:p,variant:o,shape:i}),b=[[_J,{isSelected:u,isFocusVisible:h,isDisabled:p}]];return(0,D.jsx)("div",{className:(0,F.cn)("ef-tab-item-wrapper",y()),children:(0,D.jsx)(wA.$,{atoms:[_J],children:(0,D.jsx)(it.o,{atomValues:b,children:(0,D.jsx)(e9.t,{children:(0,D.jsx)("button",{...(0,wN.d)(c,g),ref:d,className:(0,F.cn)("ef-tab-item",v()),children:f})})})})})};Cu.displayName="Tab";var Cp=r(52701),Cf=r(48356),Cm=r(12181);let Ch=(0,I.forwardRef)(({state:e,className:t,themeConfig:r,...o},i)=>{var l;let{TabContentSlot:s}=(0,ir.F)(null==(l=e.selectedItem)?void 0:l.props.children,{TabContent:_K}),{tabPanel:d}=(0,B.tv)(r?(0,B.RH)(_q,r):_q)({}),c=(0,I.useRef)(null),{tabPanelProps:u}=function(e,t,r){var o;let i=!function(e,t){let r,[o,i]=(0,I.useState)(!1);return(0,Cm.b)(()=>
43{if(null!=e&&e.current&&!r){let t=()=>{e.current&&i(!!(0,Cf.QL)(e.current,{tabbable:!0}).nextNode())};t();let r=new MutationObserver(t);return r.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{r.disconnect()}}}),!r&&o}(r)?0:void 0,l=_Q(t,null!==(o=e.id)&&void 0!==o?o:null==t?void 0:t.selectedKey,"tabpanel"),s=(0,Cp.b)({...e,id:l,"aria-labelledby":_Q(t,null==t?void 0:t.selectedKey,"tab")});return{tabPanelProps:(0,wN.d)(s,{tabIndex:i,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}(o,e,c),p=(0,F.cn)("ef-tab-panel",d(),t);return(0,D.jsx)("div",{...u,ref:i||c,className:p,...o,children:s})});Ch.displayName="TabPanel";let Cg=({ref:e,selectedKey:t,selector:r='[role="tab"][aria-selected="true"]'})=>{let[o,i]=(0,I.useState)(null),l=(0,I.useCallback)(()=>{if(!e.current||null===t)return;let o=e.current.querySelector(`[data-key="${CSS.escape(t.toString())}"]`);if(o||(o=e.current.querySelector(r)),o){let t=e.current.getBoundingClientRect(),r=o.getBoundingClientRect();i({left:r.left-t.left+e.current.scrollLeft,width:r.width})}},[e,t,r]);return(0,I.useLayoutEffect)(()=>
43{l()},[l,t]),{indicatorStyle:o,updatePosition:l}};class Cv{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!==(t=r.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)r(t)};for(let t of e)r(t);let o=null,i=0;for(let[e,t]of this.keyMap)o?(o.nextKey=e,t.prevKey=o.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(o=t).nextKey=void 0;this.lastKey=null!==(t=null==o?void 0:o.key)&&void 0!==t?t:null}}class Cy extends Set{constructor(e,t,r){super(e),e instanceof Cy?(this.anchorKey=t??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=t??null,this.currentKey=r??null)}}var Cb=r(19909);function Cx(e,t){return e?"all"===e?"all":new Cy(e):t}function Cw(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function Ck(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let o=[...C_(e,t),t],i=[...C_(e,r),r],l=o.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return -1!==l?(t=o[l],r=i[l],t.index-r.index):o.findIndex(e=>e===r)>=0?1:(i.findIndex(e=>e===t),-1)}function C_(e,t){let r=[],o=t;for(;(null==o?void 0:o.parentKey)!=null;)(o=e.getItem(o.parentKey))&&r.unshift(o);return r}class CC{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let r=this.collection.getItem(e);(!t||r&&0>Ck(this.collection,r,t))&&(t=r)}return null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let r=this.collection.getItem(e);(!t||r&&Ck(this.collection,r,t)>0)&&(t=r)}return null!==(e=null==t?void 0:t.key)&&void 0!==e?e:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode){this.replaceSelection(e);return}let r=this.getKey(e);if(null!=r){if("all"===this.state.selectedKeys)t=new Cy([r],r,r);else{var o,i;let e=this.state.selectedKeys,l=null!==(o=e.anchorKey)&&void 0!==o?o:r;for(let o of(t=new Cy(e,l,r),this.getKeyRange(l,null!==(i=e.currentKey)&&void 0!==i?i:r)))t.delete(o);for(let e of this.getKeyRange(r,l))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let r=this.collection.getItem(e),o=this.collection.getItem(t);return r&&o?0>=Ck(this.collection,r,o)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var r;if(!(null===(r=this.layoutDelegate)||void 0===r)&&r.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let o=[],i=e;for(;null!=i;){let e=this.collection.getItem(i);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&o.push(i),i===t)return o;i=this.collection.getKeyAfter(i)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e)){this.replaceSelection(e);return}let t=this.getKey(e);if(null==t)return;
43let r=new Cy("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),this.disallowEmptySelection&&0===r.size||this.state.setSelectedKeys(r)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let r=this.canSelectItem(t)?new Cy([t],t,t):new Cy;this.state.setSelectedKeys(r)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new Cy;for(let r of e){let e=this.getKey(r);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=r=>{for(;null!=r;){if(this.canSelectItem(r)){var o,i;let l=this.collection.getItem(r);(null==l?void 0:l.type)==="item"&&e.push(r),null!=l&&l.hasChildNodes&&(this.allowsCellSelection||"item"!==l.type)&&t(null!==(i=null===(o=function(e,t){for(let t of e)return t}(Cw(l,this.collection)))||void 0===o?void 0:o.key)&&void 0!==i?i:null)}r=this.collection.getKeyAfter(r)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Cy)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;for(let r of t)if(!e.has(r))return!1;return!0}canSelectItem(e){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let r=this.collection.getItem(e);return!(!r||!(null==r||null===(t=r.props)||void 0===t)&&t.isDisabled||"cell"===r.type&&!this.allowsCellSelection)}isDisabled(e){var t,r;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(!(null===(r=this.collection.getItem(e))||void 0===r||null===(t=r.props)||void 0===t)&&t.isDisabled))}isLink(e){var t,r;return!!(!(null===(r=this.collection.getItem(e))||void 0===r||null===(t=r.props)||void 0===t)&&t.href)}getItemProps(e){var t;return null===(t=this.collection.getItem(e))||void 0===t?void 0:t.props}withCollection(e){return new CC(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,t,r){var o;this.collection=e,this.state=t,this.allowsCellSelection=null!==(o=null==r?void 0:r.allowsCellSelection)&&void 0!==o&&o,this._isSelectAll=null,this.layoutDelegate=(null==r?void 0:r.layoutDelegate)||null}}class C${build(e,t){return this.context=t,CS(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:r}=e;if(I.isValidElement(t)&&t.type===I.Fragment)yield*this.iterateCollection({children:t.props.children,items:r});else if("function"==typeof t){if(!r)throw Error("props.children was a function but props.items is missing");let e=0;for(let o of r)yield*this.getFullNode({value:o,index:e},{renderer:t}),e++}else{let e=[];I.Children.forEach(t,t=>{t&&e.push(t)});let r=0;for(let t of e)for(let e of this.getFullNode({element:t,index:r},{}))r++,yield e}}getKey(e,t,r,o){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${o}${t.key}`;let i=t.value;if(null!=i){var l;let e=null!==(l=i.key)&&void 0!==l?l:i.id;if(null==e)throw Error("No key found for item");return e}return o?`${o}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,r,o){var i,l,s,d,c,u,p,f;if(I.isValidElement(e.element)&&e.element.type===I.Fragment){let l=[];I.Children.forEach(e.element.props.children,e=>{l.push(e)});let s=null!==(i=e.index)&&void 0!==i?i:0;for(let e of l)yield*this.getFullNode({element:e,index:s++},t,r,o);return}let m=e.element;if(!m&&e.value&&t&&t.renderer){let r=this.cache.get(e.value);if(r&&(!r.shouldInvalidate||!r.shouldInvalidate(this.context))){r.index=e.index,r.parentKey=o?o.key:null,yield r;return}m=t.renderer(e.value)}if(I.isValidElement(m)){let i=m.type;if("function"!=typeof i&&"function"!=typeof i.getCollectionNode){let e=m.type;throw Error(`Unknown element <${e}> in collection.`)}let p=i.getCollectionNode(m.props,this.context),f=null!==(l=e.index)&&void 0!==l?l:0,h=p.next();for(;!h.done&&h.value;){let i=h.value;e.index=f;let l=null!==(s=i.key)&&void 0!==s?s:null;null==l&&(l=i.element?null:this.getKey(m,e,t,r));let g=[...this.getFullNode({...i,key:l,index:f,wrapper:function(e,t){return e&&t?r=>e(t(r)):e||t||void 0}(e.wrapper,i.wrapper)},this.getChildState(t,i),r?`${r}${m.key}`:m.key,o)];for(let t of g){if(t.value=null!==(c=null!==(d=i.value)&&void 0!==d?d:e.value)&&void 0!==c?c:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${CE(t.type)}> in <${CE(null!==(u=null==o?void 0:o.type)&&void 0!==u?u:"unknown parent type")}>. Only <${CE(e.type)}> is supported.`);f++,yield t}h=p.next(g)}return}if(null==e.key||null==e.type)return;let h=this,g={type:e.type,props:e.props,key:e.key,parentKey:o?o.key:null,value:null!==(p=e.value)&&void 0!==p?p:null,level:o?o.level+1:0,index:e.index,rendered:e.rendered,textValue:null!==(f=e.textValue)&&void 0!==f?f:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:CS(function*(){if(!e.hasChildNodes||!e.childNodes)return;let r=0;for(let o of e.childNodes())for(let e of(null!=o.key&&(o.key=`${g.key}${o.key}`),h.getFullNode({...o,index:r},h.getChildState(t,o),g.key,g)))r++,yield e})};yield g}constructor(){this.cache=new WeakMap}}function CS(e){let t=[],r=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let o of(r||(r=e()),r))t.push(o),yield o}}}function CE(e){return e[0].toUpperCase()+e.slice(1)}function Cj(e){var t;let[r,o]=(0,Cb.z)(e.selectedKey,null!==(t=e.defaultSelectedKey)&&void 0!==t?t:null,e.onSelectionChange),i=(0,I.useMemo)(()=>null!=r?[r]:[],[r]),{collection:l,disabledKeys:s,selectionManager:d}=function(e){let{filter:t,layoutDelegate:r}=e,o=function(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:o,selectionBehavior:i="toggle",disabledBehavior:l="all"}=e,s=(0,I.useRef)(!1),[,d]=(0,I.useState)(!1),c=(0,I.useRef)(null),u=(0,I.useRef)(null),[,p]=(0,I.useState)(null),f=(0,I.useMemo)(()=>Cx(e.selectedKeys),[e.selectedKeys]),m=(0,I.useMemo)(()=>Cx(e.defaultSelectedKeys,new Cy),[e.defaultSelectedKeys]),[h,g]=(0,Cb.z)(f,m,e.onSelectionChange),v=(0,I.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,b]=(0,I.useState)(i);"replace"===i&&"toggle"===y&&"object"==typeof h&&0===h.size&&b("replace");let x=(0,I.useRef)(i);return(0,I.useEffect)(()=>{i!==x.current&&(b(i),x.current=i)},[i]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:b,get isFocused(){return s.current},setFocused(e){s.current=e,d(e)},get focusedKey(){return c.current},get childFocusStrategy(){return u.current},setFocusedKey(e,t="first"){c.current=e,u.current=t,p(e)},selectedKeys:h,setSelectedKeys(e){(o||!function(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}(e,h))&&g(e)},disabledKeys:v,disabledBehavior:l}}(e),i=(0,I.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),l=(0,I.useCallback)(e=>new Cv(t?t(e):e),[t]),s=(0,I.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),d=function(e,t,r){let o=(0,I.useMemo)(()=>new C$,[]),{children:i,items:l,collection:s}=e;return(0,I.useMemo)(()=>s||t(o.build({children:i,items:l},r)),[o,i,l,s,r,t])}(e,l,s),c=(0,I.useMemo)(()=>new CC(d,o,{layoutDelegate:r}),[d,o,r]);return function(e,t){let r=(0,I.useRef)(null);(0,I.useEffect)(()=>
43{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&r.current){var o,i,l,s,d,c,u;let p=r.current.getItem(t.focusedKey),f=[...r.current.getKeys()].map(e=>{let t=r.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),m=[...e.getKeys()].map(t=>{let r=e.getItem(t);return(null==r?void 0:r.type)==="item"?r:null}).filter(e=>null!==e),h=(null!==(o=null==f?void 0:f.length)&&void 0!==o?o:0)-(null!==(i=null==m?void 0:m.length)&&void 0!==i?i:0),g=Math.min(h>1?Math.max((null!==(l=null==p?void 0:p.index)&&void 0!==l?l:0)-h+1,0):null!==(s=null==p?void 0:p.index)&&void 0!==s?s:0,(null!==(d=null==m?void 0:m.length)&&void 0!==d?d:0)-1),v=null,y=!1;for(;g>=0;){if(!t.isDisabled(m[g].key)){v=m[g];break}g<m.length-1&&!y?g++:(y=!0,g>(null!==(c=null==p?void 0:p.index)&&void 0!==c?c:0)&&(g=null!==(u=null==p?void 0:p.index)&&void 0!==u?u:0),g--)}t.setFocusedKey(v?v.key:null)}r.current=e},[e,t])}(d,c),{collection:d,disabledKeys:i,selectionManager:c}}({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:t=>{var i;if("all"===t)return;let l=null!==(i=t.values().next().value)&&void 0!==i?i:null;l===r&&e.onSelectionChange&&e.onSelectionChange(l),o(l)}}),c=null!=r?l.getItem(r):null;return{collection:l,disabledKeys:s,selectionManager:d,selectedKey:r,setSelectedKey:o,selectedItem:c}}function CN(e,t){let r=null;if(e){var o,i,l,s;for(r=e.getFirstKey();null!=r&&(t.has(r)||!(null===(i=e.getItem(r))||void 0===i||null===(o=i.props)||void 0===o)&&o.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);null!=r&&(t.has(r)||!(null===(s=e.getItem(r))||void 0===s||null===(l=s.props)||void 0===l)&&l.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}class CT{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,r;return this.disabledKeys.has(e)||!!(!(null===(r=this.collection.getItem(e))||void 0===r||null===(t=r.props)||void 0===t)&&t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){do null==(e=this.collection.getKeyAfter(e))&&(e=this.collection.getFirstKey());while(this.isDisabled(e));return e}getPreviousKey(e){do null==(e=this.collection.getKeyBefore(e))&&(e=this.collection.getLastKey());while(this.isDisabled(e));return e}constructor(e,t,r,o=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===r,this.disabledKeys=o,this.tabDirection="horizontal"===r}}var CP=r(54181);function CA(e,t){let r=(0,I.useRef)(!0),o=(0,I.useRef)(null);(0,Cm.b)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,Cm.b)(()=>{r.current?r.current=!1:(!o.current||t.some((e,t)=>!Object.is(e,o[t])))&&e(),o.current=t},t)}var CO=r(36100),CR=r(13543),CD=r(37135),CM=r(26874);function CL(e){var t;let r,o,{selectionManager:i,keyboardDelegate:l,ref:s,autoFocus:d=!1,shouldFocusWrap:c=!1,disallowEmptySelection:u=!1,disallowSelectAll:p=!1,selectOnFocus:f="replace"===i.selectionBehavior,disallowTypeAhead:m=!1,shouldUseVirtualFocus:h,allowsTabNavigation:g=!1,isVirtualized:v,scrollRef:y=s,linkBehavior:b="action"}=e,{direction:x}=(0,CP.j)(),w=(0,_1.tv)(),k=(0,I.useRef)({top:0,left:0});(0,CO.z)(y,"scroll",v?void 0:()=>{var e,t,r,o;k.current={top:null!==(r=null===(e=y.current)||void 0===e?void 0:e.scrollTop)&&void 0!==r?r:0,left:null!==(o=null===(t=y.current)||void 0===t?void 0:t.scrollLeft)&&void 0!==o?o:0}});let _=(0,I.useRef)(!1);(0,CO.z)(s,"react-aria-focus",h?e=>{let{detail:t}=e;e.stopPropagation(),i.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(_.current=!0)}:void 0);let C=(0,CD.i)(()=>{var e,t;let r=null!==(t=null===(e=l.getFirstKey)||void 0===e?void 0:e.call(l))&&void 0!==t?t:null;null==r?(Ci(s.current),i.collection.size>0&&(_.current=!1)):(i.setFocusedKey(r),_.current=!1)});CA(()=>{_.current&&C()},[i.collection,C]);let $=(0,CD.i)(()=>{i.collection.size>0&&(_.current=!1)});CA(()=>{$()},[i.focusedKey,$]),(0,CO.z)(s,"react-aria-clear-focus",h?e=>{var t;e.stopPropagation(),i.setFocused(!1),!(null===(t=e.detail)||void 0===t)&&t.clearFocusKey&&i.setFocusedKey(null)}:void 0);let S=(0,I.useRef)(d),E=(0,I.useRef)(!1);(0,I.useEffect)(()=>
43{if(S.current){var e,t,r,o;let c=null;"first"===d&&(c=null!==(r=null===(e=l.getFirstKey)||void 0===e?void 0:e.call(l))&&void 0!==r?r:null),"last"===d&&(c=null!==(o=null===(t=l.getLastKey)||void 0===t?void 0:t.call(l))&&void 0!==o?o:null);let u=i.selectedKeys;if(u.size){for(let e of u)if(i.canSelectItem(e)){c=e;break}}i.setFocused(!0),i.setFocusedKey(c),null==c&&!h&&s.current&&(0,Cr.e)(s.current),i.collection.size>0&&(S.current=!1,E.current=!0)}});let j=(0,I.useRef)(i.focusedKey);(0,I.useEffect)(()=>{if(i.isFocused&&null!=i.focusedKey&&(i.focusedKey!==j.current||E.current)&&y.current&&s.current){let e=(0,CM.Jz)(),t=_8(s,i.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||E.current)&&((0,CR.z)(y.current,t),"virtual"!==e&&(0,CR.G)(t,{containingElement:s.current}))}!h&&i.isFocused&&null==i.focusedKey&&null!=j.current&&s.current&&(0,Cr.e)(s.current),j.current=i.focusedKey,E.current=!1}),(0,CO.z)(s,"react-aria-focus-scope-restore",e=>{e.preventDefault(),i.setFocused(!0)});let N={onKeyDown:e=>{var t,r,o,d,m,h,v,y,k,_,C,$,S;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(!(null===(t=s.current)||void 0===t)&&t.contains(e.target)))return;let E=(t,r)=>{if(null!=t){if(i.isLink(t)&&"selection"===b&&f&&!_6(e)){(0,eD.flushSync)(()=>{i.setFocusedKey(t,r)});let o=_8(s,t),l=i.getItemProps(t);o&&w.open(o,e,l.href,l.routerOptions);return}i.setFocusedKey(t,r),i.isLink(t)&&"override"===b||(e.shiftKey&&"multiple"===i.selectionMode?i.extendSelection(t):f&&!_6(e)&&i.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(l.getKeyBelow){let t=null!=i.focusedKey?null===(r=l.getKeyBelow)||void 0===r?void 0:r.call(l,i.focusedKey):null===(o=l.getFirstKey)||void 0===o?void 0:o.call(l);null==t&&c&&(t=null===(d=l.getFirstKey)||void 0===d?void 0:d.call(l,i.focusedKey)),null!=t&&(e.preventDefault(),E(t))}break;case"ArrowUp":if(l.getKeyAbove){let t=null!=i.focusedKey?null===(m=l.getKeyAbove)||void 0===m?void 0:m.call(l,i.focusedKey):null===(h=l.getLastKey)||void 0===h?void 0:h.call(l);null==t&&c&&(t=null===(v=l.getLastKey)||void 0===v?void 0:v.call(l,i.focusedKey)),null!=t&&(e.preventDefault(),E(t))}break;case"ArrowLeft":if(l.getKeyLeftOf){let t=null!=i.focusedKey?null===(y=l.getKeyLeftOf)||void 0===y?void 0:y.call(l,i.focusedKey):null;null==t&&c&&(t="rtl"===x?null===(k=l.getFirstKey)||void 0===k?void 0:k.call(l,i.focusedKey):null===(_=l.getLastKey)||void 0===_?void 0:_.call(l,i.focusedKey)),null!=t&&(e.preventDefault(),E(t,"rtl"===x?"first":"last"))}break;case"ArrowRight":if(l.getKeyRightOf){let t=null!=i.focusedKey?null===(C=l.getKeyRightOf)||void 0===C?void 0:C.call(l,i.focusedKey):null;null==t&&c&&(t="rtl"===x?null===($=l.getLastKey)||void 0===$?void 0:$.call(l,i.focusedKey):null===(S=l.getFirstKey)||void 0===S?void 0:S.call(l,i.focusedKey)),null!=t&&(e.preventDefault(),E(t,"rtl"===x?"last":"first"))}break;case"Home":if(l.getFirstKey){if(null===i.focusedKey&&e.shiftKey)return;e.preventDefault();let t=l.getFirstKey(i.focusedKey,Ca(e));i.setFocusedKey(t),null!=t&&(Ca(e)&&e.shiftKey&&"multiple"===i.selectionMode?i.extendSelection(t):f&&i.replaceSelection(t))}break;case"End":if(l.getLastKey){if(null===i.focusedKey&&e.shiftKey)return;e.preventDefault();let t=l.getLastKey(i.focusedKey,Ca(e));i.setFocusedKey(t),null!=t&&(Ca(e)&&e.shiftKey&&"multiple"===i.selectionMode?i.extendSelection(t):f&&i.replaceSelection(t))}break;case"PageDown":if(l.getKeyPageBelow&&null!=i.focusedKey){let t=l.getKeyPageBelow(i.focusedKey);null!=t&&(e.preventDefault(),E(t))}break;case"PageUp":if(l.getKeyPageAbove&&null!=i.focusedKey){let t=l.getKeyPageAbove(i.focusedKey);null!=t&&(e.preventDefault(),E(t))}break;case"a":Ca(e)&&"multiple"===i.selectionMode&&!0!==p&&(e.preventDefault(),i.selectAll());break;case"Escape":u||0===i.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),i.clearSelection());break;case"Tab":if(!g){if(e.shiftKey)s.current.focus();else{let e=(0,Cf.QL)(s.current,{tabbable:!0}),t,r;do(r=e.lastChild())&&(t=r);while(r);t&&!t.contains(document.activeElement)&&(0,_7.A)(t)}}}},onFocus:e=>{if(i.isFocused){e.currentTarget.contains(e.target)||i.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(i.setFocused(!0),null==i.focusedKey){var t,r,o,d;let s=e=>{null!=e&&(i.setFocusedKey(e),f&&!i.isSelected(e)&&i.replaceSelection(e))},c=e.relatedTarget;c&&e.currentTarget.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING?s(null!==(o=i.lastSelectedKey)&&void 0!==o?o:null===(t=l.getLastKey)||void 0===t?void 0:t.call(l)):s(null!==(d=i.firstSelectedKey)&&void 0!==d?d:null===(r=l.getFirstKey)||void 0===r?void 0:r.call(l))}else!v&&y.current&&(y.current.scrollTop=k.current.top,y.current.scrollLeft=k.current.left);if(null!=i.focusedKey&&y.current){let e=_8(s,i.focusedKey);e instanceof HTMLElement&&(e.contains(document.activeElement)||h||(0,_7.A)(e),"keyboard"===(0,CM.Jz)()&&(0,CR.G)(e,{containingElement:s.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||i.setFocused(!1)},onMouseDown(e){y.current===e.target&&e.preventDefault()}}
43,{typeSelectProps:T}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:o}=e,i=(0,I.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var l;let s=1!==(l=e.key).length&&/^[A-Z]/i.test(l)?"":l;if(!(!s||e.ctrlKey||e.metaKey||!e.currentTarget.contains(e.target))){if(" "===s&&i.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),i.search+=s,null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.search,r.focusedKey);null==e&&(e=t.getKeyForSearch(i.search)),null!=e&&(r.setFocusedKey(e),o&&o(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},1e3)}}:void 0}}}({keyboardDelegate:l,selectionManager:i});m||(N=(0,wN.d)(T,N)),h||(o=null==i.focusedKey?0:-1);let P=(t=i.collection,r=(0,_3.Me)(),_9.set(t,r),r);return{collectionProps:(0,wN.d)(N,{tabIndex:o,"data-collection":P})}}let CI=e=>{var t;let{className:r,centered:o=!1,showScrollGradient:i=!0,themeConfig:l,variant:s="underlined",shape:d="underlined"!==s?"round":void 0,...c}=e,u=function(e){var t,r;let o=Cj({...e,suppressTextValueWarning:!0,defaultSelectedKey:null!==(r=null!==(t=e.defaultSelectedKey)&&void 0!==t?t:CN(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))&&void 0!==r?r:void 0}),{selectionManager:i,collection:l,selectedKey:s}=o,d=(0,I.useRef)(s);return(0,I.useEffect)(()=>{let t=s;null==e.selectedKey&&(i.isEmpty||null==t||!l.getItem(t))&&null!=(t=CN(l,o.disabledKeys))&&i.setSelectedKeys([t]),(null==t||null!=i.focusedKey)&&(i.isFocused||t===d.current)||i.setFocusedKey(t),d.current=t}),{...o,isDisabled:e.isDisabled||!1}}(c),p=(0,I.useRef)(null),{tabListProps:f}=function(e,t,r){let{orientation:o="horizontal",keyboardActivation:i="automatic"}=e,{collection:l,selectionManager:s,disabledKeys:d}=t,{direction:c}=(0,CP.j)(),{collectionProps:u}=CL({ref:r,selectionManager:s,keyboardDelegate:(0,I.useMemo)(()=>new CT(l,c,o,d),[l,d,o,c]),selectOnFocus:"automatic"===i,disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),p=(0,_3.Me)();_X.set(t,p);let f=(0,Cp.b)({...e,id:p});return{tabListProps:{...(0,wN.d)(u,f),role:"tablist","aria-orientation":o,tabIndex:void 0}}}(c,u,p),{focusProps:m}=(0,wj.F)({within:!0}),[h,g]=(0,I.useState)(!1),[v,y]=(0,I.useState)(!1),{indicatorStyle:b,updatePosition:x}=Cg({ref:p,selectedKey:u.selectedKey}),w=e=>{let{scrollWidth:t,scrollLeft:r,clientWidth:o}=e;g(r>1),y(t-o-r>1)};(0,I.useEffect)(()=>{p.current&&w(p.current)},[w]);let{tabList:k,scrollContainerRight:_,scrollContainerLeft:C,root:$,slidingIndicator:S}=(0,B.tv)(l?(0,B.RH)(_q,l):_q)({showRightScrollGradient:v&&i,showLeftScrollGradient:h&&i,centered:o,variant:s,shape:d}),E=[[_G,{variant:s,shape:d}]];(0,I.useEffect)(()=>{var e,t;let r=null==(t=null==(e=p.current)?void 0:e.querySelector('[role="tab"][aria-selected="true"]'))?void 0:t.parentElement;if(!r||!p.current)return;let o=p.current,i=o.getBoundingClientRect(),l=r.getBoundingClientRect(),s=i.width/2,d=l.left-i.left+l.width/2-s;o.scrollBy({left:d,behavior:"smooth"})},[u.selectedKey]);let j=(0,F.cn)($(),r,"ef-tabs");return(0,D.jsx)(oQ.zt,{children:(0,D.jsxs)("div",{className:j,children:[(0,D.jsxs)("div",{className:"relative",children:[(0,D.jsxs)("ul",{className:(0,F.cn)(k(),e.className),...(0,wN.d)(f,m),ref:p,onScroll:e=>{w(e.currentTarget),x()},children:[b?(0,D.jsx)("span",{className:(0,F.cn)(S()),style:{left:b.left+("underlined"===s?8:0),width:b.width-("underlined"===s?16:0)},"aria-hidden":"true"}):null,(0,D.jsx)(it.o,{atomValues:E,children:[...u.collection].map(e=>(0,D.jsx)(Cu,{themeConfig:l,item:e,state:u,variant:s,shape:d},e.key))})]}),(0,D.jsx)("span",{className:(0,F.cn)(C())}),(0,D.jsx)("span",{className:(0,F.cn)(_())})]}),"underlined"===s&&(0,D.jsx)(i7,{}),(0,D.jsx)(Ch,{state:u},null==(t=u.selectedItem)?void 0:t.key)]})})};CI.displayName="Tabs",ig.Bn;let CF={name:"sb-tab-item",display_name:"Tab Item",is_root:!1,is_nestable:!0,...hd,preview_tmpl:yO.text("value"),schema:{title:{required:!0,type:"bloks",component_whitelist:["sb-text"],maximum:1,restrict_components:!0},value:{required:!0,type:"text",translatable:!1},content:{required:!0,type:"bloks",component_whitelist:["sb-blockquote","sb-button-group","sb-divider","sb-flex-group","sb-content-group","sb-icon","sb-image","sb-link","sb-list","sb-surface","sb-table","sb-text","sb-headline","sb-body-text"],restrict_components:!0},tab_content:{type:"tab",display_name:"Content",keys:["title","value","content"]}}},CB={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},centered:{type:"boolean",default_value:{s:!1}},show_scroll_gradient:{type:"boolean",default_value:{s:!0},description:"Whether the Scroll Gradient at the end of the Tabs should be visible. This is only visible if the Tabs are scrollable."},scroll_gradient_color:{type:"custom",field_type:"backpack-color-picker",display_name:"Scroll Gradient Color",description:"The color the scroll gradient fades into. Should match the background color of the section. Defaults to white for underlined tabs.",options:[{name:"colors",value:"colors"}],default_value:{}},variant:{type:"option",options:[{name:"Underlined",value:"underlined"},{name:"Filled",value:"filled"},{name:"Outlined",value:"outlined"}],default_value:{s:"underlined"},description:"The visual style of the tabs."},shape:{type:"option",options:[{name:"Round",value:"round"},{name:"Square",value:"square"}],default_value:{s:"round"},description:"The shape of filled/outlined tabs."},...hv,...hO,...hD};ig.Bn,yO.itemCount("tab item"),CF.name,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([CB.collapsible_size,CB.collapsible_layout,CB.collapsible_component,CB.collapsible_appearance,CB.collapsible_text,CB.collapsible_effects,CB.collapsible_code_overrides]),JSON.stringify(CB.spacing),JSON.stringify(CB.variant),JSON.stringify(CB.shape),JSON.stringify(CB.centered),JSON.stringify(CB.show_scroll_gradient),JSON.stringify(CB.scroll_gradient_color),...hy.design.options,...hR.design.options,...hM.design.options];let CV={true:{s:"mx-auto max-w-fit",m:"md:mx-auto md:max-w-fit",l:"lg:mx-auto lg:max-w-fit",xl:"xl:mx-auto xl:max-w-fit",xxl:"xxl:mx-auto xxl:max-w-fit"},false:{s:"mx-0 max-w-none",m:"md:mx-0 md:max-w-none",l:"lg:mx-0 lg:max-w-none",xl:"xl:mx-0 xl:max-w-none",xxl:"xxl:mx-0 xxl:max-w-none"}},Cz=e=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var o;let i=null==(o=CV[r.toString()])?void 0:o[t];return i?[...e,i]:e},[]):[];function CH(e){return null}CH.getCollectionNode=function*(e,t){let{childItems:r,title:o,children:i}=e,l=e.title||e.children,s=e.textValue||("string"==typeof l?l:"")||e["aria-label"]||"";s||null!=t&&t.suppressTextValueWarning||console.warn("<Item>
43 with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:l,textValue:s,"aria-label":e["aria-label"],hasChildNodes:null!=e.hasChildItems?e.hasChildItems:!!(e.childItems||e.title&&I.Children.count(e.children)>0),*childNodes(){if(r)for(let e of r)yield{type:"item",value:e};else if(o){let e=[];I.Children.forEach(i,t=>{e.push({type:"item",element:t})}),yield*e}}}};let CU=()=>{var e,t;if(!(typeof window>"u"))try{let r=null==(e=new URL(window.location.href).searchParams.get("tab"))?void 0:e.replace(/\/+$/,"");if(r)return r;let o=window.location.hash;if(o.includes("?")){let e=o.split("?")[1];return null==(t=new URLSearchParams(e).get("tab"))?void 0:t.replace(/\/+$/,"")}}catch{}},CZ=()=>{if(typeof window>"u")return;let e=window.location.hash;if(e)return e.split("?")[0].slice(1)||void 0},CW=(0,I.memo)(e=>{let{blok:t,...r}=e,{content:o,aria_label:i,design:l,custom_classname:s,default_selected_key:d}=t,[c,u]=(0,I.useState)(()=>{var e;let t=CU();return t&&null!=o&&o.some(e=>e.value===t)?t:d||(null==(e=null==o?void 0:o[0])?void 0:e.value)}),p=(0,I.useRef)(!1);(0,I.useEffect)(()=>{let e=()=>{var e;let t=CU();if(t&&null!=o&&o.some(e=>e.value===t)&&(u(t),!p.current)){p.current=!0;let t=CZ();
43t&&(null==(e=document.getElementById(t))||e.scrollIntoView({behavior:"smooth",block:"start"}))}};e(),window.addEventListener("popstate",e);let t=window.location.hash,r=()=>{requestAnimationFrame(()=>{window.location.hash!==t&&(t=window.location.hash,e())})};return document.addEventListener("click",r,!0),()=>{window.removeEventListener("popstate",e),document.removeEventListener("click",r,!0)}},[o]);let f=(0,h5.mi)({design:l},CB),m=(0,h5.qm)(f),h=(0,h7.N)(null==f?void 0:f.spacing),g=gn({bpHide:f.visibility,originalDisplayProperty:"flex"}),v=Cz(f.centered),y=(0,hr.t0)(null==m?void 0:m.scroll_gradient_color),b=(0,hr.vC)(y),x={...b?{"--sb-tabs-gradient-color-light":y.light,"--sb-tabs-gradient-color-dark":y.dark}:{}},w=(0,F.cn)("sb-tabs",g,v,b?"[--sb-tabs-gradient-color:var(--sb-tabs-gradient-color-light)] dark:[--sb-tabs-gradient-color:var(--sb-tabs-gradient-color-dark)]":"",s);return(0,D.jsx)("div",{className:(0,F.cn)(h),style:x,...r,children:(0,D.jsx)(CI,{className:w,selectedKey:c,onSelectionChange:e=>u(String(e)),showScrollGradient:null==m?void 0:m.show_scroll_gradient,variant:null==m?void 0:m.variant,shape:null==m?void 0:m.shape,themeConfig:b?{slots:{scrollContainerRight:"!to-[var(--sb-tabs-gradient-color)]",scrollContainerLeft:"!to-[var(--sb-tabs-gradient-color)]"}}:void 0,"aria-label":i,...hl(t),children:null==o?void 0:o.map(e=>{var t;return(0,D.jsxs)(CH,{children:[(0,D.jsx)(_Y,{children:e.title.length>0?(0,D.jsx)(hs,{blok:e.title[0]}):null}),(0,D.jsx)(_K,{children:null==(t=e.content)?void 0:t.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})]},e.value)})})})},hj);CW.displayName="TabsSB";let CK=e=>{let{children:t,titleClassname:r,...o}=e,{title:i}=(0,B.tv)(vY)(),l=(0,F.cn)(i(),r,"ef-alert-title");return(0,D.jsx)("div",{className:l,...o,children:t})};CK.displayName="AlertTitle";let Cq={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},variant:{display_name:"Type",type:"option",options:[{name:"Filled",value:"primary"},{name:"Outlined",value:"secondary"},{name:"Ghost",value:"link"},{name:"Text",value:"text"}],default_value:{s:"primary"},exclude_empty_option:!0},size:{type:"option",options:[{name:"Small",value:"small"},{name:"Regular",value:"regular"}],default_value:{s:"regular"}},shape:{type:"option",options:[{name:"Round",value:"round"},{name:"Square",value:"square"}],default_value:{}},bg_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},color:{display_name:"Foreground",description:"Elements placed over a background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},disabled:{type:"boolean",default_value:{s:!1}},...yV},CG={...Cq,...hv};[JSON.stringify(CG.spacing),JSON.stringify(CG.variant),JSON.stringify(CG.size),JSON.stringify(CG.shape),JSON.stringify(CG.bg_color),JSON.stringify(CG.color),...hy.design.options,...hR.design.options,...hM.design.options];let CJ=(0,I.forwardRef)((e,t)=>{let{blok:r,open:o,onClick:i,...l}=e,{content:s,open_content:d,design:c}=r,u=(0,h5.mi)({design:c},CG),p=(0,h5.qm)(u),f=(0,h7.N)(null==u?void 0:u.spacing),m=gn({bpHide:u.visibility,originalDisplayProperty:"inline-flex"}),h=(0,hr.t0)(null==p?void 0:p.bg_color),g=(0,hr.t0)(null==p?void 0:p.color),v=!!(h.light||h.dark),y=!!(g.light||g.dark),b=(0,F.cn)("sb-button",f,m,v?"[--sb-collapsible-button-bg-color:var(--sb-collapsible-button-bg-color-light)] dark:[--sb-collapsible-button-bg-color:var(--sb-collapsible-button-bg-color-dark)]":"",y?"[--sb-collapsible-button-text-color:var(--sb-collapsible-button-text-color-light)] dark:[--sb-collapsible-button-text-color:var(--sb-collapsible-button-text-color-dark)]":""),x=v?{"--sb-collapsible-button-bg-color-light":h.light,"--sb-collapsible-button-bg-color-dark":h.dark,"--color-components-buttons-filled-background":"var(--sb-collapsible-button-bg-color)","--color-components-buttons-outlined-background":"var(--sb-collapsible-button-bg-color)","--color-components-buttons-ghost-enabled-background":"var(--sb-collapsible-button-bg-color)"}:{},w=y?{"--sb-collapsible-button-text-color-light":g.light,"--sb-collapsible-button-text-color-dark":g.dark,"--color-components-buttons-filled-foreground":"var(--sb-collapsible-button-text-color)","--color-components-buttons-outlined-foreground":"var(--sb-collapsible-button-text-color)","--color-components-buttons-ghost-enabled-foreground":"var(--sb-collapsible-button-text-color)"}:{},k={...x,...w};return(0,D.jsxs)(e7.Button,{...l,...hl(r),as:"button",variant:null==p?void 0:p.variant,size:null==p?void 0:p.size,className:b,style:k,onClick:i,ref:t,...(null==p?void 0:p.shape)==="round"?{shape:"round","aria-label":o?"Close":"Open"}:{shape:null==p?void 0:p.shape}
43,children:[!o&&s.length>0&&(null==s?void 0:s.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))),o&&d.length>0&&(null==d?void 0:d.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))]})});CJ.displayName="CollapsibleButtonSB";let CY={align:{type:"custom",field_type:"backpack-toggle",display_name:"Align vertically",options:[{name:"Start",value:"flex-start",icon:`${ig.GT}/align-start.svg`,tooltip_text:"Start"},{name:"Center",value:"center",icon:`${ig.GT}/align-center.svg`,tooltip_text:"Center"},{name:"End",value:"flex-end",icon:`${ig.GT}/align-end.svg`,tooltip_text:"End"},{name:"Space between",value:"space-between",icon:`${ig.GT}/align-between.svg`,tooltip_text:"Space between"},{name:"Space evenly",value:"space-evenly",icon:`${ig.GT}/align-even.svg`,tooltip_text:"Space evenly"}],default_value:{s:"flex-start"}}};JSON.stringify(CY.align);let CX={direction:{display_name:"Direction",type:"custom",field_type:"backpack-toggle",options:[{value:"row",name:"Row",icon:`${ig.GT}/direction-row.svg`},{value:"column",name:"Column",icon:`${ig.GT}/direction-column.svg`},{value:"row-reverse",name:"Reverse row",icon:`${ig.GT}/direction-row-reverse.svg`},{value:"column-reverse",name:"Reverse column",icon:`${ig.GT}/direction-column-reverse.svg`}],default_value:{s:"column"}}};JSON.stringify(CX.direction);let CQ={justify:{type:"custom",field_type:"backpack-toggle",display_name:"Align horizontally",options:[{value:"flex-start",name:"Start",icon:`${ig.GT}/justify-start.svg`,tooltip_text:"Start"},{value:"center",name:"Center",icon:`${ig.GT}/justify-center.svg`,tooltip_text:"Center"},{value:"flex-end",name:"End",icon:`${ig.GT}/justify-end.svg`,tooltip_text:"End"},{value:"space-between",name:"Space between",icon:`${ig.GT}/justify-between.svg`,tooltip_text:"Space between"},{value:"space-evenly",name:"Space evenly",icon:`${ig.GT}/justify-even.svg`,tooltip_text:"Space evenly"}],default_value:{s:"flex-start"}}};JSON.stringify(CQ.justify);let C0={wrap:{display_name:"Wrap",description:"Elements wrap to a new line based on available space",type:"boolean",default_value:{}}};JSON.stringify(C0.wrap);let C1={cross_axis_stretch:{display_name:"Stretch items",description:"Items stretch to fill the cross-axis (height in Row, width in Column)",type:"boolean",default_value:{s:!0}}};JSON.stringify(C1.cross_axis_stretch);let C2={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},collapsible_layout:{...hb.collapsible_layout,keys:["position","order","spacing",hN(),"cross_axis_stretch","direction","justify","align",hN(),"wrap","gap"]}
43,collapsible_appearance:{...hb.collapsible_appearance,keys:["background_color","text_color"]},collapsible_text:{...hb.collapsible_text,keys:[]},...CX,...CY,...CQ,...wG,...hP,...hv,...wX,...yD,...C0,...wm,...C1,...hO,...hD,text_color:{...hu.text_color,display_name:"Foreground",description:"Elements placed over a background"}},C3={name:"sb-flex-group",display_name:"Flex Layout",is_root:!1,is_nestable:!0,...hd,preview_tmpl:yO.namePrefix()+yO.itemCountWithTypes(),schema:{name:{display_name:"Id",description:"Custom ID for linking / styling",type:"text",translatable:!0,required:!1},content:{display_name:"Content",required:!1,translatable:!1,type:"bloks",restrict_components:!0,component_whitelist:["sb-blockquote","sb-text","sb-image","sb-accordion","sb-button-group","sb-card","sb-card-flipper","sb-divider","sb-flex-group","sb-icon","sb-headline","sb-link","sb-list","sb-content-group","sb-body-text","sb-social-embed","sb-surface","sb-position-layer","sb-surface-card","sb-content-card","sb-surface-card-arrow-cta","sb-tag","sb-countdown-timer","sb-animated-ribbon"]},design:{type:"custom",field_type:"backpack-breakpoints-v2",display_name:"Design",options:[{name:"fieldsPerPlacement",value:JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx})},{name:"__collapsibles",value:JSON.stringify([C2.collapsible_size,C2.collapsible_layout,C2.collapsible_component,C2.collapsible_appearance,C2.collapsible_text,C2.collapsible_effects,C2.collapsible_code_overrides])},{name:"spacing",value:JSON.stringify(C2.spacing)},{name:"direction",value:JSON.stringify(C2.direction)},{name:"gap",value:JSON.stringify(C2.gap)},{name:"justify",value:JSON.stringify(C2.justify)},{name:"align",value:JSON.stringify(C2.align)},{name:"wrap",value:JSON.stringify(C2.wrap)},{name:"cross_axis_stretch",value:JSON.stringify(C2.cross_axis_stretch)},{name:"text_color",value:JSON.stringify(C2.text_color)},{name:"background_color",value:JSON.stringify(C2.background_color)},...hy.design.options,...hR.design.options,...hM.design.options]},custom_classname:{type:"text",description:"Add a custom global classname for styling in your project"},section_dev:{type:"section",display_name:"Developer",keys:["custom_classname"]},tab_content:{type:"tab",display_name:"Content",keys:["content","name"]},tab_design:{type:"tab",display_name:"Design",keys:["design","section_dev"]}}},C4={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},accent_color:{type:"custom",display_name:"Accent",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hu},C6=(ig.Bn,ig.Bn,ig.Bn,ig.Bn,{...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...C4,...hv,...hO,...hD}),C8=(ig.Bn,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([C6.collapsible_size,C6.collapsible_layout,C6.collapsible_component,C6.collapsible_appearance,C6.collapsible_text,C6.collapsible_effects,C6.collapsible_code_overrides]),JSON.stringify(C6.spacing),...hy.design.options,...hR.design.options,...hM.design.options],{...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...CX,...CY,...CQ,...wG,...hP,...hv,...hu,...hA,...yD,...C0});C3.schema,[JSON.stringify([C8.collapsible_size,C8.collapsible_layout,C8.collapsible_component,C8.collapsible_appearance,C8.collapsible_text,C8.collapsible_effects,C8.collapsible_code_overrides]),JSON.stringify(C8.order),JSON.stringify(C8.spacing),JSON.stringify(C8.direction),JSON.stringify(C8.gap),JSON.stringify(C8.wrap),JSON.stringify(C8.justify),JSON.stringify(C8.align),JSON.stringify(C8.text_color),...hy.design.options,JSON.stringify(C8.transitionsOnEnter)];var C9=r(67767);let C5={none:"flex-none",auto:"flex-auto",grow:"flex-grow",shrink:"flex-shrink",basis:""},C7={true:"flex-wrap",false:"flex-nowrap"},$e={item:{"flex-start":"mr-auto ml-0",center:"mr-auto ml-auto","flex-end":"ml-auto mr-0",start:"mr-auto ml-0",end:"ml-auto mr-0"},group:{"flex-start":"justify-start",center:"justify-center","flex-end":"justify-end","space-between":"justify-between","space-evenly":"justify-evenly"}},$t={item:{"flex-start":"self-start",center:"self-center","flex-end":"self-end",stretch:"self-stretch",baseline:"self-baseline",start:"self-start",end:"self-end"},group:{"flex-start":"items-start",center:"items-center","flex-end":"items-end",stretch:"items-stretch",baseline:"items-baseline","space-between":"","space-evenly":""}},$n={s:"",m:"md",l:"lg",xl:"xl",xxl:"2xl"},$r={xxs:"gap-1",xs:"gap-2",s:"gap-4",m:"gap-6",l:"gap-8",xl:"gap-12",xxl:"gap-16",xxxl:"gap-32"},$a=({flex:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>[...e,`${(0,ge.c)(t)}${C5[r]??""}`.trim()],[]):[],$o=({wrap:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>[...e,`${(0,ge.c)(t)}${C7[r.toString()]??""}`.trim()],[]):[],$i=({align:e,type:t,direction:r})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[o,i])=>{var l,s;let d;let c=r&&("row"===(d=r[o])||"row-reverse"===d)?null==(l=$t[t])?void 0:l[i]:null==(s=$e[t])?void 0:s[i];return!c||typeof c>"u"?e:[...e,...null==c?void 0:c.split(" ").map(e=>`${(0,ge.c)(o)}${e}`)]},[]):[],$l=({justify:e,type:t,direction:r})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[o,i])=>{var l,s;let d;let c=r&&("row"===(d=r[o])||"row-reverse"===d)?null==(l=$e[t])?void 0:l[i]:null==(s=$t[t])?void 0:s[i];return!c||typeof c>"u"?e:[...e,...null==c?void 0:c.split(" ").map(e=>`${(0,ge.c)(o)}${e}`)]},[]):[],$s=({direction:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{let o;switch(r){case"row":o="flex-row";break;case"column":default:o="flex-col";break;case"row-reverse":o="flex-row-reverse";break;case"column-reverse":o="flex-col-reverse"}return[...e,`${(0,ge.c)(t)}${o??"flex-col"}`]},[]):[],$d=({basis:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var o;let i=(0,wq.Q)(r);if(!i)return e;let l=(null==(o=C9.ke[i])?void 0:o[t])??"";return l?[...e,l]:e},[]):[],$c=({gap:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>
43{if(!r)return e;let o=$r[r.toString()];return o?[...e,`${"s"===t?"":`${$n[t]}:`}${o}`]:e},[]):[],$u=({crossAxisStretch:e,type:t})=>{if(!e||0===Object.keys(e).length)return[];let r="group"===t?"items-stretch":"self-stretch";return Object.entries(e).reduce((e,[t,o])=>{if(!o)return e;let i="s"===t?"":`${$n[t]}:`;return[...e,`${i}${r}`]},[])},$p=({flexProps:e,type:t="item"})=>{if(!e||0===Object.keys(e).length)return{};let{flex:r,justify:o,align:i,direction:l,wrap:s,gap:d,basis:c,crossAxisStretch:u}=e;return{directionClasses:$s({direction:l}),flexClasses:$a({flex:r}),alignClasses:$i({align:i,type:t,direction:l}).flat(),justifyClasses:$l({justify:o,type:t,direction:l}).flat(),wrapClasses:$o({wrap:s}),gapClasses:$c({gap:d}),basisClasses:$d({basis:c}),crossAxisStretchClasses:$u({crossAxisStretch:u,type:t})}},$f=(e,t,r)=>{let{design:o}=e,i=(0,h5.mi)({design:o}),l=(0,h7.N)(null==i?void 0:i.spacing);switch(e.component){case"sb-collapsible-content":return(0,I.createElement)(mD,{...hl(e),key:e._uid},(0,D.jsx)("div",{className:l,children:e.content.length>0?e.content.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)):null}));case"sb-collapsible-trigger":return(0,D.jsx)(mA,{...hl(e),asChild:!0,children:e.trigger.length>0?(0,D.jsx)(CJ,{blok:e.trigger[0],open:t,onClick:()=>r(!t)}):null});default:return(0,D.jsx)(hs,{blok:e})}},$m=e=>{let{blok:t,className:r,open:o,setOpen:i}=e,l=(0,h5.mi)({design:t.design}),{flexClasses:s,basisClasses:d}=(0,wq.k)({flexProps:{flex:l.item_flex,basis:l.item_basis},type:"item"}),c=(0,F.cn)("sb-flex-group-item",[s].flat(),[d].flat(),r);return(0,D.jsx)(wK.B,{className:c,children:(0,D.jsx)(mT,{children:$f(t,o,i)})},t._uid)};$m.displayName="CollapsibleFlexGroupSBItem";let $h=e=>{let{blok:t,open:r,setOpen:o}=e,{content:i,design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l},C8),c=(0,h5.qm)(d),u=gn({bpHide:d.visibility,originalDisplayProperty:"flex"}),p=(0,h7.N)(null==d?void 0:d.spacing),f=(0,hr.t0)(null==c?void 0:c.text_color),m=!!(f.light||f.dark),h=m?{"--sb-collapsible-flex-text-color-light":f.light,"--sb-collapsible-flex-text-color-dark":f.dark,"--color-system-text-default":"var(--sb-collapsible-flex-text-color)"}:{},{alignClasses:g,justifyClasses:v,directionClasses:y,wrapClasses:b,gapClasses:x}=$p({flexProps:{direction:null==d?void 0:d.direction,justify:null==d?void 0:d.justify,align:null==d?void 0:d.align,wrap:null==d?void 0:d.wrap,gap:null==d?void 0:d.gap},type:"group"}),w=(0,F.cn)("sb-collapsible-flex-group",p,u,[g,v,y,b,x].flat(),m?"[--sb-collapsible-flex-text-color:var(--sb-collapsible-flex-text-color-light)] dark:[--sb-collapsible-flex-text-color:var(--sb-collapsible-flex-text-color-dark)]":"",s);return(0,D.jsx)(wW.k,{className:w,style:h,...hl(t),children:i&&(null==i?void 0:i.map(e=>(0,D.jsx)($m,{className:"sb-collapsible-flex-group-item",blok:e,open:r,setOpen:o},e._uid)))})};$h.displayName="CollapsibleFlexGroupSB";let $g=(e,t,r)=>{let{design:o}=e,i=(0,h5.mi)({design:o},C6),l=(0,h7.N)(null==i?void 0:i.spacing);switch(e.component){case"sb-collapsible-content":return(0,I.createElement)(mD,{...hl(e),key:e._uid},(0,D.jsx)("div",{className:l,children:e.content.length>0?e.content.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)):null}));case"sb-collapsible-trigger":return(0,I.createElement)(mA,{...hl(e),asChild:!0,key:e._uid},e.trigger.length>0?(0,D.jsx)(CJ,{blok:e.trigger[0],open:t,onClick:()=>r(!t)}):null);case"sb-collapsible-flex-group":return(0,I.createElement)($h,{...hl(e),blok:e,key:e._uid,open:t,setOpen:r});default:return null}},$v=e=>{let{blok:t,...r}=e,{content:o,design:i}=t,[l,s]=(0,I.useState)(!1),d=(0,h5.mi)({design:i}),c=(0,h7.N)(null==d?void 0:d.spacing),u=gn({bpHide:d.visibility}),p=(0,F.cn)("sb-collapsible",c,u);return o.length>1?(0,D.jsx)(mT,{className:p,open:l,...r,...hl(t),children:o.map(e=>$g(e,l,s))}):(0,D.jsxs)(ym,{intent:"attention",...hl(t),children:[(0,D.jsx)(CK,{children:(0,D.jsx)(aL.x,{variant:"uiLabelBold",children:"Add the required blocks"})}),(0,D.jsx)(yh,{children:(0,D.jsx)(aL.x,{variant:"uiLabel",children:"Please add Collapsible Content, and either Collapsible Trigger or Collapsible Flex Layout"})})]})};$v.displayName="CollapsibleSB";let $y=(0,B.c6)({slots:{root:"pointer-events-none absolute left-0 top-0 isolate flex h-full w-full flex-row flex-nowrap",inner:"visible relative isolate min-w-0 max-w-full flex-auto flex-shrink-0 flex-grow-0 opacity-100 [&>*]:h-full [&>*]:w-full"},variants:{layer:{top:{root:"z-10",inner:"z-10"},middle:{root:"",inner:""},bottom:{root:"-z-10",inner:"-z-10"}},hide:{true:{root:"hidden"},false:""},rotation:{0:{inner:"rotate-0"},15:{inner:"rotate-[15deg]"},30:{inner:"rotate-[30deg]"},45:{inner:"rotate-[45deg]"},60:{inner:"rotate-[60deg]"},75:{inner:"rotate-[75deg]"},90:{inner:"rotate-[90deg]"}},interactive:{true:{root:"pointer-events-auto"},false:{root:"pointer-events-none"}}}}),$b={start:"flex-start",center:"center",end:"flex-end"},$x=(e,t=0)=>{if(!(typeof e>"u"))return Array.isArray(e)?{s:$b[e[t]]}:Object.entries(e).reduce((e,[r,o])=>({...e,[r]:o?$b[o[t]]:void 0}),{})},$w=(0,I.forwardRef)((e,t)=>
43{let{className:r,align:o,themeConfig:i,rotation:l=0,interactive:s=!1,...d}=e,c=(0,B.tv)(i?(0,B.RH)($y,i):$y),{children:u,width:p,height:f,top:m,right:h,bottom:g,left:v,layer:y,hide:b}=e,{root:x,inner:w}=c({layer:y,hide:b,rotation:l,interactive:s}),{alignClasses:k,justifyClasses:_}=(0,wq.k)({flexProps:{justify:o&&$x(o,0),align:o&&$x(o,1)},type:"group"}),C=(0,F.cn)("ef-position-layer-wrapper",x(),o?[k,_]:"",r),$=(0,F.cn)("ef-position-layer",w());return(0,D.jsx)("div",{className:C,ref:t,children:(0,D.jsx)("div",{className:$,...d,style:{width:p,height:f,top:m,right:h,bottom:g,left:v},children:u})})});$w.displayName="PositionLayer";let $k={width:{type:"custom",field_type:"backpack-size",units:["vh","px","%"],default_value:{s:{unit:"px"}}},height:{type:"custom",field_type:"backpack-size",units:["vh","px","%"],default_value:{s:{unit:"px"}}},align:{type:"custom",field_type:"backpack-position-align",default_value:{}},layer:{display_name:"Layer order",description:"Controls item overlap by moving content forward or backward in the layer stack",type:"option",options:[{name:"Top",value:"top"},{name:"Middle",value:"middle"},{name:"Bottom",value:"bottom"}],default_value:{}},rotation:{type:"option",options:[{name:"0\xb0",value:"0"},{name:"15\xb0",value:"15"},{name:"30\xb0",value:"30"},{name:"45\xb0",value:"45"},{name:"60\xb0",value:"60"},{name:"75\xb0",value:"75"},{name:"90\xb0",value:"90"}],default_value:{}},interactive:{display_name:"Disabled",description:"Disable interactive elements within block.âDisable interactive elements within block",type:"boolean",default_value:{}}},$_=e=>e?Object.entries(e).reduce((e,[t,r])=>({...e,[t]:null==r?void 0:r.align}),{}):{},$C=e=>{var t,r,o,i,l,s,d,c,u,p;let{blok:f}=e,{content:m,design:h,custom_classname:g}=f,v=(0,h5.mi)({design:h},$k),y=(0,h5.qm)(v),b=gn({bpHide:v.visibility,originalDisplayProperty:"flex"}),x=(0,F.cn)("sb-position-layer",b,g);return(0,D.jsx)($w,{className:x,width:null!=(t=null==y?void 0:y.width)&&t.value?`${null==(r=null==y?void 0:y.width)?void 0:r.value}${null==(o=null==y?void 0:y.width)?void 0:o.unit}`:"auto",height:null!=(i=null==y?void 0:y.height)&&i.value?`${null==(l=null==y?void 0:y.height)?void 0:l.value}${null==(s=null==y?void 0:y.height)?void 0:s.unit}`:"auto",align:$_(v.align),top:null==(d=null==y?void 0:y.align)?void 0:d.top,right:null==(c=null==y?void 0:y.align)?void 0:c.right,bottom:null==(u=null==y?void 0:y.align)?void 0:u.bottom,left:null==(p=null==y?void 0:y.align)?void 0:p.left,layer:null==y?void 0:y.layer,rotation:null!=y&&y.rotation?parseInt(y.rotation):void 0,interactive:null==y?void 0:y.interactive,...hl(f),children:(null==m?void 0:m.length)>0&&m.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};$C.displayName="PositionLayerSB";let $$={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}}},$S=e=>{let{blok:t,...r}=e,{content:o,design:i}=t,l=(0,h5.mi)({design:i},$$),s=(0,h7.N)(null==l?void 0:l.spacing),d=(0,F.cn)("sb-collapsible-content",s);return(0,D.jsx)(mD,{...hl(t),...r,children:(0,D.jsx)("div",{className:d,children:o.length>0?o.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)):null})})};$S.displayName="CollapsibleContentSB";let $E=e=>{let{blok:t,...r}=e,o=(0,F.cn)("sb-collapsible-trigger"),[i,l]=(0,I.useState)(!1);return(0,D.jsx)(mA,{...hl(t),className:o,...r,children:t.trigger.length>0?(0,D.jsx)(CJ,{blok:t.trigger[0],onClick:()=>l(!i),open:i}):null})};$E.displayName="CollapsibleTriggerSB",ig.Bn,ig.Bn;let $j=[{name:"1\xd7 16:9",value:"16/9"},{name:"2\xd7 16:9",value:"16/9 - 16/9"},{name:"2\xd7 1:1",value:"1/1 - 1/1"},{name:"2\xd7 9:16â4:3",value:"9/16 - 4/3"},{name:"3\xd7 3:4â4:3â16:9",value:"4/3 - 3/4 - 16/9"},{name:"3\xd7 4:3",value:"4/3 - 4/3 - 4/3"},{name:"3\xd7 1:1",value:"1/1 - 1/1 - 1/1"},{name:"3\xd7 9:16â3:4â3:4",value:"9/16 - 3/4 - 3/4"},{name:"5\xd7 2:3â3:4",value:"2/3 - 3/4 - 3/4 - 3/4 - 3/4"}],$N={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},auto_play_videos:{type:"boolean",display_name:"Autoplay videos",description:"Plays automatically the videos inside the fullscreen gallery",default_value:{s:!0}},layout:{type:"option",display_name:"Layout",options:{s:[{name:"Stacked",value:"natural"},{name:"1\xd7 1:1",value:"1/1"},{name:"1\xd7 16:9",value:"16/9"},{name:"1\xd7 3:4",value:"3/4"},{name:"2\xd7 1:1",value:"1/1 - 1/1"},{name:"2\xd7 3:4",value:"3/4 - 3/4"},{name:"2\xd7 3:4â1:1",value:"3/4 - 1/1"},{name:"3\xd7 1:1",value:"1/1 - 1/1 - 1/1"},{name:"3\xd7 4:3",value:"4/3 - 4/3 - 4/3"},{name:"3\xd7 1:1â3:4â3:4",value:"1/1 - 3/4 - 3/4"},{name:"3\xd7 1:1â3:4â1:1",value:"1/1 - 3/4 - 1/1"},{name:"3\xd7 9:16â3:4â3:4",value:"9/16 - 3/4 - 3/4"}],m:$j,l:$j},default_value:{s:"natural",l:"16/9"}}
43,assets_radius:{display_name:"Media border radius",description:"Border radius of the masonry media tiles",type:"option",options:[{value:"none",name:"0px",secondaryText:"zero"},{value:"xxs",name:"4px",secondaryText:"XXS"},{value:"xs",name:"8px",secondaryText:"XS"},{value:"s",name:"16px",secondaryText:"S"},{value:"m",name:"24px",secondaryText:"M"},{value:"l",name:"32px",secondaryText:"L"},{value:"full",name:"Round",secondaryText:"Full"}],default_value:{s:"xxs"}}},$T=h_(yD.gap,"default_value",{s:"s"}),$P={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...$N,...hv,gap:$T,...hO,...hD};ig.Bn,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([$P.collapsible_size,$P.collapsible_layout,$P.collapsible_component,$P.collapsible_appearance,$P.collapsible_text,$P.collapsible_effects,$P.collapsible_code_overrides]),JSON.stringify($P.spacing),JSON.stringify($P.gap),JSON.stringify($P.assets_radius),JSON.stringify($P.auto_play_videos),...hy.design.options,...hR.design.options,...hM.design.options];let $A=(0,oG.cn)(!1),$O=(0,oG.cn)("0/0"),$R=(0,oG.cn)([]),$D=(0,oG.cn)({}),$M=(0,oG.cn)({className:void 0}),$L=(0,oG.cn)({}),$I=(0,oG.cn)({className:void 0}),$F=(0,B.c6)({slots:{root:"gap-6",groupsContainer:"flex flex-col",modal:"bg-system-background-inverse [&>.ef-modal-content]:mx-0"},variants:{interactive:{true:{root:"relative flex flex-col"}}}}),$B=(0,B.c6)({slots:{root:"flex flex-col md:h-auto",mediaWrapper:"relative grid h-fit w-full [&>.ef-gallery-media-caption]:hidden"},variants:{layout:{layout_2:{root:"flex-row flex-nowrap",mediaWrapper:"grow basis-0 md:h-auto md:w-0 md:flex-grow-[--group-media-grow]"},layout_3:{root:"relative grid",mediaWrapper:"first:col-span-2 first:row-start-1 first:object-cover md:h-full"},layout_5:{root:"relative grid"},stacked:{root:"flex flex-col"}},ratio:{"4/3 - 3/4 - 16/9":{root:"md:grid-cols-gallery-3-4",mediaWrapper:"md:first:col-start-2 md:first:row-span-2 md:first:row-start-1 md:[&:nth-child(2)]:col-start-1 md:[&:nth-child(2)]:row-start-1"},"4/3 - 4/3 - 4/3":{root:"md:grid-cols-gallery-4-3",mediaWrapper:"md:first:col-span-1 md:first:col-start-1 md:first:row-span-2"},"1/1 - 1/1 - 1/1":{root:"md:grid-cols-gallery-1-1",mediaWrapper:"md:first:col-span-1 md:first:col-start-1 md:first:row-span-2"},"9/16 - 3/4 - 3/4":{root:"grid-cols-gallery-9-16",mediaWrapper:"first:col-span-1 first:col-start-1 first:row-span-2 first:h-full"},"2/3 - 3/4 - 3/4 - 3/4 - 3/4":{root:"grid-cols-gallery-2-3-mobile md:grid-cols-gallery-2-3",mediaWrapper:"first:col-start-1 first:row-span-2 first:h-full [&:nth-child(n+4)]:hidden md:[&:nth-child(n+4)]:grid"}},radius:{none:{root:"[--image-border-radius:var(--border-radius-none)]"},xxs:{root:"[--image-border-radius:var(--border-radius-xxs)]"},xs:{root:"[--image-border-radius:var(--border-radius-xs)]"},s:{root:"[--image-border-radius:var(--border-radius-s)]"},m:{root:"[--image-border-radius:var(--border-radius-m)]"},l:{root:"[--image-border-radius:var(--border-radius-l)]"},xl:{root:"[--image-border-radius:var(--border-radius-xl)]"},full:{root:"[--image-border-radius:var(--border-radius-full)]"}}}}),$V=(0,B.c6)({slots:{root:"ease-system-expressive flex h-fit w-full flex-col md:h-full",buttonMediaWrapper:"motion-safe:[&>*]:duration-system-medium motion-safe:[&>*]:ease-system-easing-expressive w-full flex-1 overflow-clip rounded-[--image-border-radius] motion-safe:[&:hover>*]:scale-105 motion-safe:[&>*]:transition-transform"},variants:{transitioning:{true:{buttonMediaWrapper:"[view-transition-name:media-transition]"}},overlay:{true:{root:"peer absolute inset-0 z-0 h-full w-full"},false:{}}}}),$z=(0,B.c6)({slots:{root:"relative",tagContainer:"top-xs pe-xs ps-xs absolute left-0 z-30 max-w-full select-none",media:"h-full w-full object-contain",image:"",video:"",mediaBox:"flex h-full w-full flex-col [--focus-ring-radius:var(--image-border-radius)]",mediaBoxInner:"relative w-full flex-1 overflow-clip rounded-[--image-border-radius]"},variants:{interactive:{true:{root:"overflow-visible",media:"pointer-events-none",image:"motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive motion-safe:transition-transform motion-safe:peer-hover:scale-105",video:"motion-safe:[&>*:not(.ef-video-overlay-controls)]:duration-system-medium motion-safe:[&>*:not(.ef-video-overlay-controls)]:ease-system-easing-expressive motion-safe:[&>*:not(.ef-video-overlay-controls)]:transition-transform motion-safe:peer-hover:[&>*:not(.ef-video-overlay-controls)]:scale-105"},false:{root:"overflow-hidden rounded-[--image-border-radius]"}},transitioning:{true:{mediaBoxInner:"[view-transition-name:media-transition]"},false:{}}}}),$H=(0,B.c6)({slots:{root:"px-6 pb-4 pt-2"}}),$U=(0,B.c6)({slots:{root:"self-center"},variants:{align:{start:{root:"self-start"},center:{root:""},end:{root:"self-end"}}}}),$Z=(0,B.c6)({slots:{root:"pb-s pt-xxl @container flex list-none flex-col items-center gap-4 [view-transition-name:modal-media]"},variants:{defaultAnimation:{true:{root:"motion-safe:animation-ease-expressive motion-safe:animate-in motion-safe:animate-from-opacity-0 motion-safe:animate-to-opacity-100 motion-safe:animate-from-scale-95 motion-safe:animate-to-scale-100 motion-safe:animation-duration-system-long"}}}}),$W=(0,B.c6)({slots:{root:"mx-auto flex h-auto flex-col md:max-w-[90%] lg:gap-4",mediaElement:"mx-auto transition-none [&_img]:mx-auto [&_img]:w-auto [&_img]:object-cover",videoElement:"mx-auto h-auto max-h-[85dvh] w-[min(100cqw,calc(85dvh*var(--video-aspect-ratio,1.7778)))] max-w-full transition-none max-md:w-screen"},variants:{orientation:{portrait:{mediaElement:"h-[85dvh] w-fit max-w-[100cqw]"},landscape:{mediaElement:"h-auto max-h-[85dvh] w-[100cqw] max-w-full max-md:w-screen"}}}}),$K=e=>{let{children:t,className:r,onOpenChange:o,hideScrollbars:i,...l}=e,[s,d]=(0,oQ.KO)($A),{className:c}=(0,oQ.Dv)($I),u=(0,F.cn)("ef-gallery-modal",c,r);return(0,D.jsx)(vz,{className:u,open:s,variant:"lightbox",onOpenChange:e=>{d(e),null==o||o(e)},hideScrollbars:i,themeConfig:{slots:{overlay:"p-0"},variants:{variant:{lightbox:{dismiss:"animate-in animate-from-opacity-0 opacity-1 relative ms-auto my-2 me-2 md:my-0 md:ms-0 md:me-0 !right-0 !top-0 md:fixed md:!right-s md:!top-s bg-components-buttons-filled-foreground"}}}},...l,children:(0,D.jsx)(o8,{children:t})})};$K.displayName="GalleryModal";let $q=e=>{let{children:t,className:r,themeConfig:o,id:i,...l}=e,{GalleryModalSlot:s}=(0,ir.F)(t,{GalleryModal:$K}),{root:d,groupsContainer:c,modal:u}=(0,B.tv)(o?(0,B.RH)($F,o):$F)({interactive:!!s}),p=(0,F.cn)("ef-gallery",d(),r);return(0,D.jsx)("div",{className:p,id:i,...l,children:(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(it.o,{atomValues:[[$D,{id:i,interactive:!!s}],[$M,{className:(0,F.cn)(c())}],[$I,{className:(0,F.cn)(u())}]],children:t})})})};$q.displayName="Gallery";let $G=e=>{let{radius:t="xs",gap:r="s",className:o,children:i,...l}=e,{gapClasses:s}=(0,wq.k)({flexProps:{gap:"string"==typeof r?{s:r}:r},type:"group"}),d=(0,F.cn)(s),{className:c}=(0,oQ.Dv)($M),u=(0,F.cn)("ef-gallery-groups-container",d,c,o);return(0,D.jsx)("div",{className:u,...l,children:(0,D.jsx)(it.o,{atomValues:[[$L,{radius:t,gapClasses:d}]],children:I.Children.map(i,(e,t)=>I.cloneElement(e,{index:t}))})})};$G.displayName="GalleryGroupsContainer";let $J=e=>{let{id:t="0/0",title:r,children:o,className:i,themeConfig:l,overlay:s=!1,onTransitioningChange:d,...c}=e,[u,p]=(0,I.useState)(!1),f=e=>{p(e),null==d||d(e)},m=(0,oQ.b9)($A),h=(0,oQ.b9)($O),{root:g,buttonMediaWrapper:v}=(0,B.tv)(l?(0,B.RH)($V,l):$V)({transitioning:u,overlay:s}),y=()=>{h(t),m(!0)},b=(0,F.cn)("ef-gallery-group-media-button",g(),i),x=(0,D.jsx)("button",{id:t,className:b,onClick:()=>
43{if(!document.startViewTransition){y();return}f(!0),document.startViewTransition(()=>{(0,eD.flushSync)(()=>{f(!1),y()})})},title:r??"Open larger gallery",...c,children:s?null:(0,D.jsx)("div",{className:(0,F.cn)(v()),children:o})});return s?x:(0,D.jsx)(e9.t,{children:x})};$J.displayName="GalleryGroupMediaButton";let $Y=e=>{let{as:t="figcaption",variant:r="uiLabel",className:o,children:i,...l}=e,{root:s}=(0,B.tv)($H)(),d=(0,F.cn)("ef-gallery-media-caption",s(),o);return(0,D.jsx)(aL.x,{className:d,as:t,variant:r,...l,children:i})};$Y.displayName="GalleryMediaCaption";let $X=e=>{let{small:t=!0,filled:r=!0,className:o,children:i,...l}=e,s=(0,F.cn)("ef-gallery-media-tag",o);return(0,D.jsx)(aM,{className:s,small:t,filled:r,...l,children:i})};$X.displayName="GalleryMediaTag";let $Q=({child:e,elementProps:t,atomValues:r})=>(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(it.o,{atomValues:r??[[ix,t],[kI,t]],children:e})}),$0=e=>{let{groupIndex:t,mediaIndex:r,aspectRatio:o,children:i,className:l,themeConfig:s,...d}=e,{id:c,interactive:u}=(0,oQ.Dv)($D),{ImageSlot:p,VideoSlot:f,GalleryMediaTagSlot:m,GalleryMediaCaptionSlot:h}=(0,ir.F)(i,{GalleryMediaTag:$X,Image:iV,Video:k5,GalleryMediaCaption:$Y}),g=(0,B.tv)(s?(0,B.RH)($z,s):$z),[v,y]=(0,I.useState)(!1),{root:b,tagContainer:x,media:w,image:k,video:_,mediaBox:C,mediaBoxInner:$}=g({interactive:u,transitioning:v}),S=(0,F.cn)("ef-gallery-media-wrapper",b(),l),E=(0,I.useMemo)(()=>p?(0,F.cn)(w(),k()):(0,F.cn)(w(),_()),[p,w,k,_]),j=(0,I.useMemo)(()=>({className:E,radius:"none",aspectRatios:o}),[E,o]),N=(0,I.useMemo)(()=>[[ix,j],[kI,j]],[j]),T=$Q({child:p??f,elementProps:j,atomValues:N}),P=(0,D.jsx)("div",{className:(0,F.cn)(C()),children:(0,D.jsxs)("div",{className:(0,F.cn)($()),children:[u?(0,D.jsx)($J,{overlay:!0,id:`${c?`${c}/`:""}${t}/${r}`,"aria-label":e["aria-label"],onTransitioningChange:y}):null,T]})}),A=u?(0,D.jsx)(e9.t,{within:!0,children:P}):P;return(0,D.jsxs)("figure",{className:S,style:o?{"--group-media-grow":`calc(${o})`}:{},...d,children:[A,m?(0,D.jsx)("span",{className:(0,F.cn)(x()),children:m}):void 0,h]})};$0.displayName="GalleryMediaWrapper";let $1=e=>{let{layout:t,groupIndex:r,layoutImgCount:o,mediaAriaLabel:i,children:l,className:s}=e,d=t&&t.split(" - ");return(0,D.jsx)(D.Fragment,{children:I.Children.map(l,(e,t)=>{if(t<o){let o=(null==d?void 0:d[t])??"4/3",{ImageSlot:l,VideoSlot:c,GalleryMediaWrapperSlot:u}=(0,ir.F)(e,{Image:iV,Video:k5,GalleryMediaWrapper:$0}),p={aspectRatio:o,groupIndex:r,mediaIndex:t,themeConfig:{slots:{root:s}}},f=u?function(e,t){if(e)return{...e,props:{...e.props,...t}}}(u,{...p}):null;return l||c?(0,D.jsx)($0,{...p,"aria-label":e.props["aria-label"]||i,children:e},r):f}})})};$1.displayName="GalleryMasonry";let $2=({layoutImgCount:e,childrenCount:t})=>e>t?(0,D.jsx)("div",{children:(0,D.jsx)(ym,{intent:"attention",children:(0,D.jsx)(yh,{children:(0,D.jsxs)(aL.x,{variant:"uiLabel",children:["Please add ",e-t," image",e-t>1?"s":""," to fill the layout"]})})})}):null,$3=e=>{let{index:t=0,layout:r,assetsAriaLabel:o,children:i,className:l,themeConfig:s,...d}=e,c=(0,oQ.b9)($R),{radius:u,gapClasses:p}=(0,oQ.Dv)($L),{interactive:f}=(0,oQ.Dv)($D),m=r.split(" - "),h=I.Children.count(i),g="natural"===r?h:m.length,v=s?(0,B.RH)($B,s):$B,{root:y,mediaWrapper:b}=(0,B.tv)(v)({layout:"natural"===r?"stacked":`layout_${g}`,radius:u,ratio:r}),x=(0,F.cn)("ef-gallery-group",p,y(),l);return(0,I.useEffect)(()=>{if(f){let e={groupIndex:t,elementsLength:h,mediaElements:I.Children.map(i,e=>e)};return c(t=>[...t,e]),()=>c(e=>e.filter(e=>e.groupIndex!=t))}},[r,f]),(0,D.jsxs)("div",{className:x,...d,children:[(0,D.jsx)($1,{className:(0,F.cn)(b()),layout:r,groupIndex:t,layoutImgCount:g,mediaAriaLabel:o,children:i}),(0,D.jsx)($2,{layoutImgCount:g,childrenCount:h})]})};$3.displayName="GalleryGroup";let $4=(e,t)=>1===e||3===e&&0===t?vM.s:vM.s/2,$6=(e,t)=>{var r;let o=null==(r=null==e?void 0:e.split(" - "))?void 0:r.length;return 1===o?vM.l:"9/16 - 4/3"===e?0===t?5:11:2===o?vM.l/2:"1/1 - 1/1 - 1/1"===e||"4/3 - 4/3 - 4/3"===e?0===t?10:6:"4/3 - 3/4 - 16/9"===e?0===t?12:4:void 0},$8=(e,t,r)=>typeof t>"u"?0:e-(Number(null==t?void 0:t[1])-Number(null==t?void 0:t[0]))-r,$9=({layout:e,index:t,parentPosition:r})=>{var o,i,l,s;let d=(0,iw.v9)(e,"l")??"s",c=null==(i=null==(o=e[d])?void 0:o.split(" - "))?void 0:i.length,u=$4(c,t),p=$6(e[d],t)??u,f=$8(vM.s,null==(l=null==r?void 0:r.s)?void 0:l.x,1===c?0:2),m=$8(vM.l,null==(s=null==r?void 0:r.l)?void 0:s.x,1===c?0:5),h=f>0?u-f:u,g=m>0?p-m:p,v={x:[0,h>0?h:1]},y={x:[0,g>0?g:1]};return{s:v,m:v,l:y,xl:y,xxl:y}},$5=(ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,ig.Bn,{...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},...$N,...hv,...hO,...hD});ig.Bn,[JSON.stringify([$5.collapsible_size,$5.collapsible_layout,$5.collapsible_component,$5.collapsible_appearance,$5.collapsible_text,$5.collapsible_effects,$5.collapsible_code_overrides]),JSON.stringify($5.layout),...hy.design.options,...hR.design.options,...hM.design.options];let $7=e=>{let{blok:t,galleryPosition:r,...o}=e,{design:i,content:l,aria_label:s}=t,d=(0,h5.mi)({design:i},$5),c=(0,h5.qm)(d),u=gn({bpHide:d.visibility}),p=(0,F.cn)("sb-gallery-group",u);return(0,D.jsx)("div",{className:p,children:(0,D.jsx)($3,{layout:(null==c?void 0:c.layout)||"16/9",assetsAriaLabel:s,...hl(t),...o,children:(null==l?void 0:l.length)>0?l.map((e,t)=>{var o,i;return(0,D.jsxs)($0,{children:["sb-gallery-image"===e.component?(0,D.jsx)(hs,{blok:e,sizes:null!=d&&d.layout?vI({position:$9({layout:null==d?void 0:d.layout,parentPosition:r,index:t})}):null,"data-slot":"Image"}):(0,D.jsx)(hs,{blok:e,"data-slot":"Video"}),null!=(o=null==e?void 0:e.image)&&o.title?(0,D.jsx)($Y,{children:null==(i=null==e?void 0:e.image)?void 0:i.title}):(0,D.jsx)(D.Fragment,{})]},e._uid)}):[]})})};$7.displayName="GalleryGroupSB";let Se=(0,I.forwardRef)((e,t)=>{var r,o,i;let{groupIndex:l,index:s,autoplayVideo:d,className:c,children:u,themeConfig:p}=e,{ImageSlot:f,VideoSlot:m,GalleryMediaCaptionSlot:h}=(0,ir.F)(null==(r=null==u?void 0:u.props)?void 0:r.children,{Image:iV,Video:k5,GalleryMediaCaption:$Y}),g=i_((null==(o=null==u?void 0:u.props)?void 0:o.src)||(null==(i=null==f?void 0:f.props)?void 0:i.src)),v=g.height/g.width,y=p?(0,B.RH)($W,p):$W,{root:b,mediaElement:x,videoElement:w}=(0,B.tv)(y)({orientation:v>1?"portrait":"landscape"}),k=(0,F.cn)("ef-gallery-fullscreen-media",b(),c),_={className:(0,F.cn)(x()),radius:"none",sizes:"100vw"};return(0,D.jsxs)("li",{ref:t,className:k,id:`${l}/${s}`,children:[(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(it.o,{atomValues:[[ix,_],[kI,{..._,className:(0,F.cn)(w()),light:!d,autoplay:d}]],children:f??m??u})}),h]},`${l}/${s}`)});Se.displayName="GalleryFullscreenMedia";let St=e=>{let{autoplayVideos:t=!0,className:r,themeConfig:o,onMediaOpenChange:i}=e,l=(0,I.useRef)([]),s=(0,oQ.Dv)($O),d=(0,oQ.Dv)($R),c=o?(0,B.RH)($Z,o):$Z,{root:u}=(0,B.tv)(c)({defaultAnimation:!document.startViewTransition}),p=(0,F.cn)("ef-gallery-modal-content",u(),r);return(0,I.useEffect)(()=>{var e;let t=null==(e=l.current)?void 0:e.find(e=>(null==e?void 0:e.id)===s),r=null==t?void 0:t.firstElementChild,o=null==t?void 0:t.querySelector("[src]");null==i||i({id:null==t?void 0:t.id,src:null==o?void 0:o.src}),r&&(r.style.viewTransitionName="media-transition"),null==t||t.scrollIntoView({block:"center"});let d=requestAnimationFrame(()=>null==t?void 0:t.scrollIntoView({block:"center"}));return()=>cancelAnimationFrame(d)},[]),(0,D.jsx)("ul",{className:p,children:null==d?void 0:d.sort((e,t)=>e.groupIndex-t.groupIndex).map(({mediaElements:e,groupIndex:r})=>e.map((e,o)=>(0,D.jsx)(Se,{ref:e=>e?l.current.push(e):void 0,groupIndex:r,index:o,autoplayVideo:t,children:e},o)))})};St.displayName="GalleryModalContent";let Sn={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},item_align:{type:"custom",field_type:"backpack-toggle",display_name:"Align Horizontal",options:[{value:"start",name:"Start",icon:`${ig.GT}/justify-start.svg`},{value:"center",name:"Center",icon:`${ig.GT}/justify-center.svg`},{value:"end",name:"End",icon:`${ig.GT}/justify-end.svg`}],default_value:{s:"center"}},show_icon:{type:"boolean",display_name:"Show Image Icon",default_value:{s:!1}},variant:{display_name:"Button variant",type:"option",options:[{name:"Filled",value:"filled"},{name:"Outlined",value:"outlined"},{name:"Ghost",value:"ghost"},{name:"Text",value:"text"}],default_value:{s:"outlined"},exclude_empty_option:!0},size:{type:"option",options:[{name:"Small",value:"small"},{name:"Regular",value:"regular"}],default_value:{s:"regular"}},shape:{type:"option",options:[{name:"Round",value:"round"},{name:"Square",value:"square"}],default_value:{}},bg_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},Sr={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},...Sn,...bM,...hv,...hO,...hD};yO.text("content",void 0,"content"),[JSON.stringify([Sr.collapsible_size,Sr.collapsible_layout,Sr.collapsible_component,Sr.collapsible_appearance,Sr.collapsible_text,Sr.collapsible_effects,Sr.collapsible_code_overrides]),JSON.stringify(Sr.spacing),JSON.stringify(Sr.item_align),JSON.stringify(Sr.show_icon),JSON.stringify(Sr.variant),JSON.stringify(Sr.size),JSON.stringify(Sr.shape),JSON.stringify(Sr.bg_color),JSON.stringify(Sr.color),...hy.design.options,...hR.design.options,...hM.design.options];let Sa=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M160,88a16,16,0,1,1,16,16A16,16,0,0,1,160,88Zm76-32V160a20,20,0,0,1-20,20H204v20a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V88A20,20,0,0,1,40,68H60V56A20,20,0,0,1,80,36H216A20,20,0,0,1,236,56ZM180,180H80a20,20,0,0,1-20-20V92H44V196H180Zm-21.66-24L124,121.66,89.66,156ZM212,60H84v67.72l25.86-25.86a20,20,0,0,1,28.28,0L192.28,156H212Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,56v82.06l-23.72-23.72a8,8,0,0,0-11.31,0L163.31,140,113.66,90.34a8,8,0,0,0-11.32,0L64,128.69V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"}),I.createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM172,72a12,12,0,1,1-12,12A12,12,0,0,1,172,72Zm12,128H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V120.69l30.34-30.35a8,8,0,0,1,11.32,0L163.31,140,189,114.34a8,8,0,0,1,11.31,0L216,130.07V168Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,42H72A14,14,0,0,0,58,56V74H40A14,14,0,0,0,26,88V200a14,14,0,0,0,14,14H184a14,14,0,0,0,14-14V182h18a14,14,0,0,0,14-14V56A14,14,0,0,0,216,42ZM70,56a2,2,0,0,1,2-2H216a2,2,0,0,1,2,2v67.57L204.53,110.1a14,14,0,0,0-19.8,0l-21.42,21.41L117.9,86.1a14,14,0,0,0-19.8,0L70,114.2ZM186,200a2,2,0,0,1-2,2H40a2,2,0,0,1-2-2V88a2,2,0,0,1,2-2H58v82a14,14,0,0,0,14,14H186Zm30-30H72a2,2,0,0,1-2-2V131.17l36.58-36.58a2,2,0,0,1,2.83,0l49.66,49.66a6,6,0,0,0,8.49,0l25.65-25.66a2,2,0,0,1,2.83,0l22,22V168A2,2,0,0,1,216,170ZM162,84a10,10,0,1,1,10,10A10,10,0,0,1,162,84Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,56H216v62.75l-10.07-10.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L72,109.37ZM184,200H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V132l36-36,49.66,49.66a8,8,0,0,0,11.31,0L194.63,120,216,141.38V168ZM160,84a12,12,0,1,1,12,12A12,12,0,0,1,160,84Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,44H72A12,12,0,0,0,60,56V76H40A12,12,0,0,0,28,88V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12V180h20a12,12,0,0,0,12-12V56A12,12,0,0,0,216,44ZM68,56a4,4,0,0,1,4-4H216a4,4,0,0,1,4,4v72.4l-16.89-16.89a12,12,0,0,0-17,0l-22.83,22.83L116.49,87.51a12,12,0,0,0-17,0L68,119ZM188,200a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V88a4,4,0,0,1,4-4H60v84a12,12,0,0,0,12,12H188Zm28-28H72a4,4,0,0,1-4-4V130.34l37.17-37.17a4,4,0,0,1,5.66,0l49.66,49.66a4,4,0,0,0,5.65,0l25.66-25.66a4,4,0,0,1,5.66,0L220,139.71V168A4,4,0,0,1,216,172ZM164,84a8,8,0,1,1,8,8A8,8,0,0,1,164,84Z"}))]]);var So=Object.defineProperty,Si=Object.defineProperties,Sl=Object.getOwnPropertyDescriptors,Ss=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,Sc=Object.prototype.propertyIsEnumerable,Su=(e,t,r)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sp=(e,t)=>{for(var r in t||(t={}))Sd.call(t,r)&&Su(e,r,t[r]);if(Ss)for(var r of Ss(t))Sc.call(t,r)&&Su(e,r,t[r]);return e},Sf=(e,t)=>
43Si(e,Sl(t));let Sm=(0,I.forwardRef)((e,t)=>I.createElement(iz.Z,Sf(Sp({ref:t},e),{weights:Sa})));Sm.displayName="Images";let Sh=e=>{let{showIcon:t,align:r="center",variant:o="secondary",size:i,className:l,children:s,onPress:d,...c}=e,u=(0,oQ.Dv)($R),p=(0,oQ.b9)($A),f=(0,oQ.b9)($O),m=u.reduce((e,t)=>e+t.elementsLength,0),h=s?`${s} (${m})`:m,{root:g}=(0,mP.tv)($U)({align:r}),v=(0,F.cn)("ef-gallery-label",g(),l);return(0,D.jsxs)(e7.Button,{className:(0,F.cn)(v,"mono"),variant:o,size:i,onPress:e=>{f("0/0"),p(!0),null==d||d(e)},...c,as:"button",children:[t?(0,D.jsx)(Sm,{weight:"bold"}):void 0,h]})};Sh.displayName="GalleryFullscreenButton";let Sg=e=>{let{blok:t}=e,{content:r,design:o}=t,i=(0,h5.mi)({design:o},Sr),l=(0,h5.qm)(i),s=(0,hr.t0)(null==l?void 0:l.bg_color),d=(0,hr.t0)(null==l?void 0:l.color),c=!!(s.light||s.dark),u=!!(d.light||d.dark),p=c?{"--sb-gallery-label-bg-color-light":s.light,"--sb-gallery-label-bg-color-dark":s.dark,"--color-components-buttons-filled-background":"var(--sb-gallery-label-bg-color)","--color-components-buttons-outlined-background":"var(--sb-gallery-label-bg-color)","--color-components-buttons-ghost-enabled-background":"var(--sb-gallery-label-bg-color)"}:{},f=u?{"--sb-gallery-label-text-color-light":d.light,"--sb-gallery-label-text-color-dark":d.dark,"--color-components-buttons-filled-foreground":"var(--sb-gallery-label-text-color)","--color-components-buttons-outlined-foreground":"var(--sb-gallery-label-text-color)","--color-components-buttons-ghost-enabled-foreground":"var(--sb-gallery-label-text-color)"}:{},m={...p,...f},h=(0,h7.N)(null==i?void 0:i.spacing),g=gn({bpHide:i.visibility,originalDisplayProperty:"flex"}),v=(0,F.cn)("sb-gallery-label",h,g,c?"[--sb-gallery-label-bg-color:var(--sb-gallery-label-bg-color-light)] dark:[--sb-gallery-label-bg-color:var(--sb-gallery-label-bg-color-dark)]":"",u?"[--sb-gallery-label-text-color:var(--sb-gallery-label-text-color-light)] dark:[--sb-gallery-label-text-color:var(--sb-gallery-label-text-color-dark)]":"");return(0,D.jsx)(Sh,{className:v,variant:null==l?void 0:l.variant,shape:null==l?void 0:l.shape,size:null==l?void 0:l.size,align:null==l?void 0:l.item_align,showIcon:null==l?void 0:l.show_icon,style:m,...hl(t),children:r})};Sg.displayName="GalleryLabelSB";let Sv=e=>{let{blok:t,...r}=e,{gallery_groups:o,interactive:i,label:l,aria_label:s,design:d,custom_classname:c}=t,u=(0,h5.mi)({design:d},$P),p=(0,h5.qm)(u),f=(0,h7.N)(null==u?void 0:u.spacing),m=gn({bpHide:u.visibility}),h=(0,F.cn)(f,m,c);return(0,D.jsx)("div",{className:h,...r,children:(0,D.jsxs)($q,{className:"sb-gallery",...hl(t),children:[(0,D.jsx)($G,{radius:null==p?void 0:p.assets_radius,gap:null==u?void 0:u.gap,children:null==o?void 0:o.map(e=>(0,D.jsx)($7,{blok:{...e,aria_label:s},galleryPosition:null==u?void 0:u.position},null==e?void 0:e._uid))}),i&&(null==l?void 0:l.length)>0&&(0,D.jsx)(Sg,{blok:l[0]}),i?(0,D.jsx)($K,{children:(0,D.jsx)(St,{autoplayVideos:null==p?void 0:p.auto_play_videos})}):void 0]})})};Sv.displayName="GallerySB";let Sy=e=>{var t;let{blok:r,aspectRatios:o,radius:i}=e,l={...r.design,fields:{...r.design.fields,aspect_ratio:{type:"option",values:o},border_radius:{type:"option",values:{s:i}}}};return(0,D.jsx)(yy,{...e,blok:{...r,design:l},asChild:!0,"data-slot":"Image",children:(0,D.jsx)(yw,{priority:null==r?void 0:r.priority,"data-slot":"Image",asChild:!0,focus:r.smart_focus?"smart":null==r?void 0:null===(t=r.image)||void 0===t?void 0:t.focus})})};Sy.displayName="GalleryImageSB";let Sb=e=>{var t,r,o;let{blok:i,...l}=e,{url:s,action:d,content:c,design:u,custom_classname:p}=i,f=(0,h5.mi)({design:u}),m=(0,h7.N)(null==f?void 0:f.spacing),h=gn({bpHide:f.visibility,originalDisplayProperty:"inline-block"}),g=(0,F.cn)("sb-social-author-button",m,h,p),v=((null==(t=null==d?void 0:d[0])?void 0:t.link.linktype)==="story"?`/${null==(r=null==d?void 0:d[0])?void 0:r.link.cached_url}`:null==(o=null==d?void 0:d[0])?void 0:o.link.url)||(null==s?void 0:s.url);return(0,D.jsx)(e7.Button,{...l,...hl(i),href:v,className:(0,F.cn)(g,"mono"),as:"a",size:"xSmall",shape:"square",themeConfig:{slots:{root:"px-xs py-xxs"}},children:c.length>0&&(null==c?void 0:c.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))})};Sb.displayName="SocialAuthorButtonSB",function(e,t){try{let r="__styleInject_SSR_MODULES",o=("function"==typeof t.styleId?t.styleId():t.styleId)??"";if(typeof document>"u"&&globalThis)globalThis[r]=globalThis[r]||[],globalThis[r].push({cssCode:e,id:o});else{if(document.getElementById(o))return;let t=document.createElement("style");t.id=o,t.appendChild(document.createTextNode(`${e}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}("._surfaceCard_1x5lw_1{position:relative;display:flex;flex-direction:column;align-content:space-between;padding:var(--spacing-spacing-m);
43box-shadow:var(--card-box-shadow);transition:all var(--motion-system-duration-medium) var(--motion-system-easing-expressive);border-radius:var(--surface-border-radius)}._surfaceCard_1x5lw_1 .ef-image{--image-border-radius: var(--surface-border-radius)}._surfaceCard_1x5lw_1._focusRing_1x5lw_14{--focus-ring-radius: var(--surface-border-radius)}._surfaceCard_1x5lw_1._hasImage_1x5lw_17{padding:0}._surfaceCard_1x5lw_1._hasImage_1x5lw_17 ._cardContent_1x5lw_20{position:absolute;left:0;bottom:0;right:0;padding:var(--spacing-spacing-m);color:var(--color-mono-white-100)}._surfaceCard_1x5lw_1._outline_1x5lw_28,._surfaceCard_1x5lw_1._outline_1x5lw_28:hover{box-shadow:inset 0 0 0 1px var(--card-outline-color)}._surfaceCard_1x5lw_1:hover{box-shadow:var(--card-box-shadow-hover)}._surfaceCard_1x5lw_1:hover img{transform:scale(1.05)}._surfaceCard_1x5lw_1:hover .ef-arrow-right{animation:_bounceChevronRight_1x5lw_1 var(--animation-duration) var(--animation-ease) forwards}._surfaceCard_1x5lw_1:hover .ef-arrow-right .ef-arrow-right-chevron__top{animation:_bounceChevronRightTop_1x5lw_1 var(--animation-duration) var(--animation-ease) forwards}._surfaceCard_1x5lw_1:hover .ef-arrow-right .ef-arrow-right-chevron__bottom{animation:_bounceChevronRightBottom_1x5lw_1 var(--animation-duration) var(--animation-ease) forwards}._surfaceCard_1x5lw_1 a:focus-visible{outline:none!important;box-shadow:none!important}._surfaceCard_1x5lw_1 ._surfaceCardLink_1x5lw_53{display:flex;flex-direction:column;flex:1;outline:none}._surfaceCard_1x5lw_1 ._cardContent_1x5lw_20{height:100%}._surfaceCard_1x5lw_1 ._cardContent_1x5lw_20:has(>.sb-flex-group){display:flex}._surfaceCard_1x5lw_1 ._arrowCTA_1x5lw_65{display:flex;justify-content:space-between;align-items:center;width:100%}._surfaceCard_1x5lw_1 .ef-image{height:100%}._surfaceCard_1x5lw_1 .ef-image img{position:relative;transition:transform var(--motion-system-duration-medium) var(--motion-system-easing-expressive);transform:scale(1)}.col:has(>.sb-surface-card){display:flex;flex-direction:column}@keyframes _bounceChevronRight_1x5lw_1{0%{transform:translateZ(0)}to{transform:translate3d(8px,0,0)}}@keyframes _bounceChevronRightTop_1x5lw_1{to{transform:rotate(7deg)}}@keyframes _bounceChevronRightBottom_1x5lw_1{to{transform:rotate(-7deg)}}.col:has(>.sb-surface-card-stretch){display:flex;flex-direction:column}.col:has(>.sb-surface-card-stretch) .sb-surface-card-stretch{flex:1}button:has(>.ef-surface-card){width:100%}",{styleId:"backpack-f97bf41d-403a-4c9b-a720-b671d557d890"});let Sx={surfaceCard:"_surfaceCard_1x5lw_1",hasImage:"_hasImage_1x5lw_17",cardContent:"_cardContent_1x5lw_20",surfaceCardLink:"_surfaceCardLink_1x5lw_53"},Sw=e=>{var t,r,o,i,l,s,d,c,u,p,f;let{blok:m,...h}=e,{card_image:g,content:v,action:y,design:b,custom_classname:x}=m,w=(0,h5.mi)({design:b}),k=(0,h5.qm)(w),_=(0,h5.mi)({design:null==(t=null==y?void 0:y[0])?void 0:t.design}),C=(0,h5.qm)(_),$=null==C?void 0:C.size,S=null==(o=null==(r=null==C?void 0:C.position)?void 0:r.align)?void 0:o.join("-"),E=null==(i=null==g?void 0:g[0])?void 0:i.design,j=(0,h5.mi)({design:E}),N=gn({bpHide:w.visibility,originalDisplayProperty:"flex"}),T=(0,hr.t0)(null==k?void 0:k.background_color),P=!!(T.light||T.dark),A={...P?{"--sb-surface-card-bg-color-light":T.light,"--sb-surface-card-bg-color-dark":T.dark,"--color-system-surface-default":"var(--sb-surface-card-bg-color)"}:{}},O=(0,F.cn)("sb-surface-card",N,(0,h7.N)(null==w?void 0:w.spacing),"fill"===k.stretch?"sb-surface-card-stretch":"",P?"[--sb-surface-card-bg-color:var(--sb-surface-card-bg-color-light)] dark:[--sb-surface-card-bg-color:var(--sb-surface-card-bg-color-dark)]":"",x),R=(e,t)=>{var r,o,i;return(0,D.jsxs)(wO,{className:O,href:e,target:t,radius:null==k?void 0:k.radius,aspectRatios:j.aspect_ratio,border:(null==k?void 0:k.shadow)==="off"?"none":(null==k?void 0:k.shadow)==="deep"?"shadow-l":"shadow-m",style:A,...h,...hl(m),children:[g&&g.length>0?(0,D.jsx)(wL,{asChild:!0,variant:"background",aspectRatios:j.aspect_ratio,alt:null==(r=g[0])?void 0:r.image.alt,src:null==(o=g[0])?void 0:o.image.filename,renderCustomImage:()=>(0,D.jsx)(hs,{"data-slot":"CardImage",blok:{...g[0],aspectRatios:j.aspect_ratio}}),...hl(g[0])},null==(i=null==g?void 0:g[0])?void 0:i._uid):void 0,(0,D.jsx)(wR,{className:(0,F.cn)((0,h7.N)(null==w?void 0:w.body_spacing)),children:(null==v?void 0:v.length)>0&&(0,D.jsx)("div",{className:(0,F.cn)("h-full w-full [&:has(.ef-flex)]:flex",g.length>0?"absolute bottom-0 left-0 right-0 p-m text-[--color-mono-white-100]":""),children:v.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})})]})},M=R(),L=null==(l=null==y?void 0:y[0])?void 0:l.link;switch(null==(s=null==y?void 0:y[0])?void 0:s.component){case"sb-modal":case"sb-drawer":return(0,D.jsx)(hs,{blok:y[0],children:M});case"sb-link-surface-card":return R("story"===L.linktype?null!=L&&L.anchor?`/${L.cached_url}#${L.anchor}`:`/${L.cached_url}`:L.url,null==(d=y[0])?void 0:d.target);case"sb-modal-surface-card":return console.warn("`sb-modal-surface-card` is deprecated. Please use `sb-modal` action instead."),(0,D.jsxs)(vz,{defaultOpen:!1,modal:!0,size:$,position:S,className:Sx.surfaceCardModal,children:[(0,D.jsx)(ii,{children:R()}),(0,D.jsx)(o8,{children:(null==(u=null==(c=y[0])?void 0:c.content)?void 0:u.length)>0&&(null==(f=null==(p=y[0])?void 0:p.content)?void 0:f.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))})]});default:return R()}};Sw.displayName="SurfaceCardSB";let Sk=(0,B.c6)({slots:{root:"flex w-full items-center justify-between"}}),S_=g6(()=>r.e(5770).then(r.bind(r,25770)).then(e=>e.AnimatedArrowLeft)),SC=g6(()=>Promise.resolve().then(r.bind(r,1753)).then(e=>e.AnimatedArrowRight)),S$=g6(()=>Promise.resolve().then(r.bind(r,89840)).then(e=>e.AnimatedChevronRight)),SS=g6(()=>Promise.resolve().then(r.bind(r,38845)).then(e=>e.AnimatedChevronLeft)),SE=g6(()=>Promise.resolve().then(r.bind(r,49190)).then(e=>e.AnimatedChevron)),Sj=g6(()=>Promise.resolve().then(r.bind(r,61376)).then(e=>e.AnimatedExternalArrow)),SN=g6(()=>Promise.resolve().then(r.bind(r,79355)).then(e=>e.AnimatedDoubleChevronLeft)),ST=g6(()=>Promise.resolve().then(r.bind(r,59237)).then(e=>e.AnimatedDoubleChevronRight)),SP=e=>
43{let{arrow:t=!1,className:r,children:o,themeConfig:i,customIcon:l="AnimatedIconArrowRight",...s}=e,d=(0,B.tv)(i?(0,B.RH)(Sk,i):Sk),{hoverProps:c,isHovered:u}=(0,aR.X)({}),{root:p}=d(),f=(0,F.cn)("ef-surface-card-arrow-cta",p(),r);return(0,D.jsxs)("div",{className:f,...s,...c,children:[o,t?(0,D.jsx)("div",{children:I.createElement({AnimatedIconArrowLeft:S_,AnimatedIconArrowRight:SC,AnimatedIconChevronRight:S$,AnimatedIconChevronLeft:SS,AnimatedIconChevron:SE,AnimatedIconDoubleChevronLeft:SN,AnimatedIconDoubleChevronRight:ST,AnimatedExternalArrow:Sj}[l],{active:u})}):null]})};SP.displayName="SurfaceCardArrowCTA";let SA=e=>{let{blok:t,...r}=e,{content:o,animated_icon:i="AnimatedIconArrowRight",design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l}),c=(0,h5.qm)(d),u=gn({bpHide:d.visibility,originalDisplayProperty:"flex"}),p=(0,F.cn)("sb-surface-card-footer",u,(0,h7.N)(null==d?void 0:d.spacing),s),f=["AnimatedIconArrowLeft","AnimatedIconArrowRight","AnimatedIconChevronRight","AnimatedIconChevronLeft","AnimatedIconChevron","AnimatedIconDoubleChevronLeft","AnimatedIconDoubleChevronRight","AnimatedExternalArrow"].includes(i)?i:"AnimatedIconArrowRight";return(0,D.jsx)(SP,{className:p,arrow:null==c?void 0:c.arrow,customIcon:f,...r,...hl(t),children:(null==o?void 0:o.length)>0&&o.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};SA.displayName="SurfaceCardArrowCTASB";let SO=(0,B.An)({className:void 0}),SR=(0,B.An)({className:void 0,size:"large"}),SD=(0,B.An)({className:void 0}),SM=e=>{let{children:t,className:r,variant:o="outlined",...i}=e,{className:l}=(0,oQ.Dv)(SD),s=(0,F.cn)("ef-banner-button",l,r);return(0,D.jsx)(e7.Button,{variant:o,className:s,...i,children:t})};SM.displayName="BannerButton";let SL=e=>{var t;let{blok:r,...o}=e,{action:i,content:l,design:s,custom_classname:d}=r,c=(0,h5.mi)({design:s}),u=(0,h7.N)(null==c?void 0:c.spacing),p=gn({bpHide:c.visibility,originalDisplayProperty:"inline-block"}),f=(0,F.cn)("sb-banner-button",u,p,d),m=hC(null==(t=null==i?void 0:i[0])?void 0:t.link);return(0,D.jsx)(SM,{className:f,as:"a",href:m,...hl(r),...o,children:l.length>0&&(null==l?void 0:l.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))})};SL.displayName="BannerButtonSB";let SI="before:absolute before:block before:w-0 before:h-0 before:border-[8px] before:border-transparent",SF=(0,B.c6)({slots:{wrapper:"@container",root:"group relative grid h-fit auto-cols-fr grid-cols-[auto] gap-x-s gap-y-s px-s py-m @lg:flex @lg:items-center @lg:gap-y-4 @lg:p-6",bg:"absolute left-0 top-0 h-full w-full rounded-sm border border-system-stroke-mono bg-components-banner-surface motion-safe:transition-[transform] motion-safe:animation-duration-system-short motion-safe:animation-ease-system-easing-standard [&.navigable]:group-hover:scale-x-[1.02]",icon:"z-10 col-start-1 flex max-w-[32px] items-start justify-start text-system-vector-brand-on-primary",text:"col-start-2 mb-auto mt-auto text-wrap text-system-text-brand-on-primary @lg:flex-1",button:"mono-dark col-start-2 w-fit max-w-full justify-self-start dark:mono-light"},variants:{position:{inline:"",top:{bg:"rounded-b-none rounded-t-lg [&.navigable]:group-hover:scale-100"}},arrowPosition:{"top-left":{bg:`${SI} before:-top-4 before:left-[10%] before:border-b-components-banner-surface `},"top-center":{bg:`${SI} before:-top-4 before:left-[50%] before:translate-x-[-8px] before:border-b-components-banner-surface`},"top-right":{bg:`${SI} before:-top-4 before:right-[10%] before:border-b-components-banner-surface`},right:{bg:`${SI} before:-right-4 before:top-[50%] before:translate-y-[-8px] before:border-l-components-banner-surface`},"bottom-right":{bg:`${SI} before:-bottom-4 before:right-[10%] before:border-t-components-banner-surface`},"bottom-center":{bg:`${SI} before:-bottom-4 before:left-[50%] before:translate-x-[-8px] before:border-t-components-banner-surface`},"bottom-left":{bg:`${SI} before:-bottom-4 before:left-[10%] before:border-t-components-banner-surface`},left:{bg:`${SI} before:-left-4 before:top-[50%] before:translate-y-[-8px] before:border-r-components-banner-surface`}}}}),SB=(0,I.forwardRef)((e,t)=>{var r,o;let{children:i,className:l,themeConfig:s,position:d="inline",titleSize:c="large",arrowPosition:u,renderCustomLink:p,href:f,...m}=e,h=null==(o=null==(r=null==I?void 0:I.Children)?void 0:r.toArray(i))?void 0:o.some(e=>{var t;return(null==I?void 0:I.isValidElement(e))&&(null==e?void 0:e.type)===SM&&(null==(t=null==e?void 0:e.props)?void 0:t.as)==="a"});f&&h&&console.warn("[Banner] A Banner cannot be navigable (have href) when it contains a link button.");let g=h?void 0:f,{wrapper:v,root:y,bg:b,text:x,button:w,icon:k}=(0,B.tv)(s?(0,B.RH)(SF,s):SF)({position:d,arrowPosition:u}),_=[[SO,{className:k()}],[SR,{className:x(),size:c}],[SD,{className:w()}]],C=(0,F.cn)("ef-banner",y(),l),$=e=>{"function"==typeof t?t(e):t&&(t.current=e)};return g?(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("div",{className:(0,F.cn)(v()),children:(0,D.jsxs)(p??"a",{href:f,target:"_blank",rel:"noreferrer",className:C,ref:$,...m,children:[(0,D.jsx)("div",{className:(0,F.cn)(b(),"navigable")}),(0,D.jsx)(it.o,{atomValues:_,children:i})]})})}):(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("div",{className:(0,F.cn)(v()),children:(0,D.jsxs)("div",{ref:$,className:C,...m,children:[(0,D.jsx)("div",{className:(0,F.cn)(b())}),(0,D.jsx)(it.o,{atomValues:_,children:i})]})})})});SB.displayName="Banner";let SV=e=>{let{children:t,className:r,...o}=e,{className:i}=(0,oQ.Dv)(SO),l=(0,F.cn)("ef-banner-icon",i,r);return(0,D.jsx)(aB.a,{...o,iconSize:"l",className:l,children:t})};SV.displayName="BannerIcon";let Sz=e=>{let{children:t,className:r,...o}=e,{className:i,size:l}=(0,oQ.Dv)(SR),s=(0,F.cn)("ef-banner-text",i,r);return(0,D.jsx)(aL.x,{...o,variant:{small:"header6",large:"header5"}[l],className:s,children:t})};Sz.displayName="BannerText";
43let SH=[{preset:{name:"Default (Section)",preset:{_uid:"84fbddb7-9daa-4f23-a201-15166f0a4d14",icon:{plugin:"backpack-asset-selector",version:"1.1.0",selectedIcon:{typeName:"seal-percent",data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M228.75%2C100.05c-3.52-3.67-7.15-7.46-8.34-10.33-1.06-2.56-1.14-7.83-1.21-12.47-.15-10-.34-22.44-9.18-31.27s-21.27-9-31.27-9.18c-4.64-.07-9.9-.15-12.47-1.21-2.87-1.19-6.66-4.82-10.33-8.34C148.87%2C20.46%2C140.05%2C12%2C128%2C12s-20.87%2C8.46-27.95%2C15.25c-3.67%2C3.52-7.46%2C7.15-10.33%2C8.34-2.56%2C1.06-7.83%2C1.14-12.47%2C1.21C67.25%2C37%2C54.81%2C37.14%2C46%2C46S37%2C67.25%2C36.8%2C77.25c-.07%2C4.64-.15%2C9.91-1.21%2C12.47-1.19%2C2.87-4.82%2C6.66-8.34%2C10.33C20.46%2C107.13%2C12%2C116%2C12%2C128S20.46%2C148.87%2C27.25%2C156c3.52%2C3.67%2C7.15%2C7.46%2C8.34%2C10.33%2C1.06%2C2.56%2C1.14%2C7.83%2C1.21%2C12.47.15%2C10%2C.34%2C22.44%2C9.18%2C31.27s21.27%2C9%2C31.27%2C9.18c4.64.07%2C9.9.15%2C12.47%2C1.21%2C2.87%2C1.19%2C6.66%2C4.82%2C10.33%2C8.34C107.13%2C235.54%2C116%2C244%2C128%2C244s20.87-8.46%2C27.95-15.25c3.67-3.52%2C7.46-7.15%2C10.33-8.34%2C2.56-1.06%2C7.83-1.14%2C12.47-1.21%2C10-.15%2C22.44-.34%2C31.27-9.18s9-21.27%2C9.18-31.27c.07-4.64.15-9.91%2C1.21-12.47%2C1.19-2.87%2C4.82-6.66%2C8.34-10.33C235.54%2C148.87%2C244%2C140.05%2C244%2C128S235.54%2C107.13%2C228.75%2C100.05Z%22%2F%3E%3C%2Fsvg%3E",subAssetType:"bold"}},link:{id:"",url:"",linktype:"url",fieldtype:"multilink",cached_url:""},button:[{_uid:"dd9b0c37-d69a-4377-a2f3-78b149dca722",action:[{_uid:"72be53c3-3424-4789-8e1b-7bbaff6d1773",link:{id:"",url:"",linktype:"url",fieldtype:"multilink",cached_url:""},component:"sb-link-button"}],design:"",content:[{_uid:"dd320465-a579-474a-874c-8a4e0e3be32c",text:"Learn more",design:"",component:"sb-text-button"}],component:"sb-banner-button",aria_label:"",custom_classname:""}],design:{plugin:"backpack-breakpoints",_uid:"875d279a-412f-4c0d-8c95-0ceb7ea0025b",fields:{position:{type:"custom",field_type:"backpack-layout",values:{s:{x:[1,5]}}},variant:{type:"option",values:{s:"default"}}}},component:"sb-banner",bannerText:"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",custom_classname:""},image:`${ig.Bn}/Banner/storyblok/sb-banner-default.webp`}}],SU={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},type:{required:!1,display_name:"Banner position",type:"option",options:[{value:"inline",name:"Inline"},{value:"top",name:"Top"}],exclude_empty_option:!0,default_value:{s:"inline"}},arrowPosition:{required:!1,display_name:"Arrow position",type:"option",options:[{value:"none",name:"None"},{value:"left",name:"Left",icon:`${ig.GT}/arrow-left.svg`},{value:"top-left",name:"Top left",icon:`${ig.GT}/arrow-up-left.svg`},{value:"bottom-left",name:"Bottom left",icon:`${ig.GT}/arrow-down-left.svg`},{value:"right",name:"Right",icon:`${ig.GT}/arrow-right.svg`},{value:"top-right",name:"Top right",icon:`${ig.GT}/arrow-up-right.svg`},{value:"bottom-right",name:"Bottom right",icon:`${ig.GT}/arrow-down-right.svg`},{value:"top-center",name:"Top center",icon:`${ig.GT}/arrow-up.svg`},{value:"bottom-center",name:"Bottom center",icon:`${ig.GT}/arrow-down.svg`}],exclude_empty_option:!0,default_value:{s:"none"}},background_color:{display_name:"Background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hu,icon_color:{display_name:"Icon color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}}},SZ={"sb-section":hw,"sb-flex-group":hx},SW={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["variant","type","arrowPosition"],default_value:{}},...SU,...hv,...hO,...hD};ig.Bn,yO.text("bannerText",void 0,"content"),JSON.stringify(SZ),[JSON.stringify(SZ),JSON.stringify([SW.collapsible_size,SW.collapsible_layout,SW.collapsible_component,SW.collapsible_appearance,SW.collapsible_text,SW.collapsible_effects,SW.collapsible_code_overrides]),JSON.stringify(SW.spacing),JSON.stringify(SW.type),JSON.stringify(SW.arrowPosition),JSON.stringify(SW.background_color),JSON.stringify(SW.text_color),JSON.stringify(SW.icon_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-banner",SH);let SK=e=>{var t;let{blok:r,...o}=e,{design:i,icon:l,bannerText:s,button:d,link:c,custom_classname:u}=r,p=(0,h5.mi)({design:i},SW),f=(0,h5.qm)(p),m=(0,h7.N)(null==p?void 0:p.spacing),h=gn({bpHide:p.visibility}),g=(0,hr.t0)(null==f?void 0:f.background_color),v=(0,hr.t0)(null==f?void 0:f.text_color),y=(0,hr.t0)(null==f?void 0:f.icon_color),b=!!(g.light||g.dark),x=!!(v.light||v.dark),w=!!(y.light||y.dark),k=(0,F.cn)("sb-banner",m,h,b?"[--sb-banner-bg-color:var(--sb-banner-bg-color-light)] dark:[--sb-banner-bg-color:var(--sb-banner-bg-color-dark)]":"",u),_=b?{"--sb-banner-bg-color-light":g.light,"--sb-banner-bg-color-dark":g.dark,"--color-components-banner-surface":"var(--sb-banner-bg-color)"}:{},C=x?{"--sb-banner-text-color-light":v.light,"--sb-banner-text-color-dark":v.dark,"--color-system-text-brand-on-primary":"var(--sb-banner-text-color)"}:{},$=w?{"--sb-banner-icon-color-light":y.light,"--sb-banner-icon-color-dark":y.dark,"--color-system-vector-brand-on-primary":"var(--sb-banner-icon-color)"}:{},S=hC(c);return(0,D.jsxs)(SB,{style:_,className:k,position:null==f?void 0:f.type,href:S,arrowPosition:null==f?void 0:f.arrowPosition,...o,...hl(r),children:[(0,D.jsx)(SV,{style:$,className:w?"[--sb-banner-icon-color:var(--sb-banner-icon-color-light)] dark:[--sb-banner-icon-color:var(--sb-banner-icon-color-dark)]":void 0,children:(0,D.jsx)(b4,{icon:(null==(t=null==l?void 0:l.selectedIcon)?void 0:t.data)||""})}),(0,D.jsx)(Sz,{style:C,className:x?"[--sb-banner-text-color:var(--sb-banner-text-color-light)] dark:[--sb-banner-text-color:var(--sb-banner-text-color-dark)]":void 0,children:s}),!S&&d[0]&&(0,D.jsx)(SL,{blok:d[0]})]})};SK.displayName="BannerSB";var Sq=((y=Sq||{}).Horizontal="Horizontal",y.MicroButton="MicroButton",y.MicroCombo="MicroCombo",y.MicroReviewCount="MicroReviewCount",y.MicroStar="MicroStar",y.MicroTrustScore="MicroTrustScore",y.Mini="Mini",y.Starter="Starter",y.ReviewCollector="ReviewCollector",y.Carousel="C
43arousel",y.DropDown="DropDown",y.Grid="Grid",y.List="List",y.ListFiltered="ListFiltered",y.MiniCarousel="MiniCarousel",y.PopUp="PopUp",y.Quote="Quote",y.Slider="Slider",y.ProductMini="ProductMini",y.ProductMiniMultiSource="ProductMiniMultiSource",y.ProductReviews="ProductReviews",y.ProductReviewsCarousel="ProductReviewsCarousel",y.ProductReviewsMultiSource="ProductReviewsMultiSource",y.ProductReviewsMultiSourceSEO="ProductReviewsMultiSourceSEO",y.ProductReviewsSEO="ProductReviewsSEO",y);let SG={[Sq.Horizontal]:"5406e65db0d04a09e042d5fc",[Sq.MicroButton]:"5419b757fa0340045cd0c938",[Sq.MicroCombo]:"5419b6ffb0d04a076446a9af",[Sq.MicroReviewCount]:"5419b6a8b0d04a076446a9ad",[Sq.MicroStar]:"5419b732fbfb950b10de65e5",[Sq.MicroTrustScore]:"5419b637fa0340045cd0c936",[Sq.Mini]:"53aa8807dec7e10d38f59f32",[Sq.Starter]:"5613c9cde69ddc09340c6beb",[Sq.ReviewCollector]:"56278e9abfbbba0bdcd568bc",[Sq.Carousel]:"53aa8912dec7e10d38f59f36",[Sq.DropDown]:"5418052cfbfb950d88702476",[Sq.Grid]:"539adbd6dec7e10e686debee",[Sq.List]:"539ad60defb9600b94d7df2c",[Sq.ListFiltered]:"539ad998dec7e10e686debe0",[Sq.MiniCarousel]:"539ad0ffdec7e10e686debd7",[Sq.PopUp]:"5418015fb0d04a0c9cf721f2",[Sq.Quote]:"54d0e1d8764ea9078c79e6ee",[Sq.Slider]:"54ad5defc6454f065c28af8b",[Sq.ProductMini]:"54d39695764ea907c0f34825",[Sq.ProductMiniMultiSource]:"577258fb31f02306e4e3aaf9",[Sq.ProductReviews]:"544a426205dc0a09088833c6",[Sq.ProductReviewsCarousel]:"60f537b5b0f1639de1fe048c",[Sq.ProductReviewsMultiSource]:"57177697fdb1180308e3815f",[Sq.ProductReviewsMultiSourceSEO]:"5763bccae0a06d08e809ecbb",[Sq.ProductReviewsSEO]:"5717796816f630043868e2e8"},SJ=(0,B.c6)({slots:{root:"h-full w-full",container:"h-full w-full"}}),SY=(0,I.forwardRef)((e,t)=>{let{widgetType:r=Sq.Carousel,businessUnitId:o,sku:i,productName:l,templateId:s,locale:d="en-US",stars:c="1,2,3,4,5",reviewLanguages:u="en",styleWidth:p="100%",styleHeight:f="300px",theme:m="light",tags:h="",themeConfig:g,className:v,...y}=e,b=(0,B.tv)(g?(0,B.RH)(SJ,g):SJ),x=s||SG[r],{root:w,container:k}=b({}),_=(0,F.cn)("trustpilot-widget-root",w(),v);return(0,D.jsx)("div",{className:_,children:(0,D.jsx)("div",{ref:t,className:(0,F.cn)(k(),"trustpilot-widget"),"data-template-id":x,"data-businessunit-id":o,"data-style-height":f,"data-style-width":p,"data-theme":m,"data-stars":c,"data-review-languages":u,"data-locale":d,"data-tags":h,"data-fullwidth":!0,...i&&{"data-sku":i},...l&&{"data-name":l},...y})})});SY.displayName="TrustpilotWidget";let SX={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},widget_type:{required:!1,display_name:"Widget type",type:"option",options:[...Object.values(Sq).map(e=>({name:e,value:e}))],exclude_empty_option:!0,default_value:{s:"Carousel"}},style_width:{display_name:"Width",type:"text",description:"Width of the widget (CSS value)",default_value:{s:"100%"}},style_height:{display_name:"Height",type:"text",description:"Height of the widget (CSS value)",default_value:{s:"300px"}}},SQ={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...SX,...hv,...hO,...hD};[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([SQ.collapsible_size,SQ.collapsible_layout,SQ.collapsible_component,SQ.collapsible_appearance,SQ.collapsible_text,SQ.collapsible_effects,SQ.collapsible_code_overrides]),JSON.stringify(SQ.spacing),JSON.stringify(SQ.widget_type),JSON.stringify(SQ.style_width),JSON.stringify(SQ.style_height),...hy.design.options,...hR.design.options,...hM.design.options];let S0=e=>{let{blok:t,...r}=e,{design:o,business_unit_id:i,template_id:l,locale:s,stars:d,review_languages:c,tags:u,custom_classname:p,sku:f,product_name:m}=t,h=(0,h5.mi)({design:o},SQ),g=(0,h5.qm)(h),v=null==g?void 0:g.widget_type,y=["ProductMini","ProductReviews","ProductReviewsCarousel","ProductReviewsGallery","ProductReviewsSEO","ProductReviewsMultiSource","ProductReviewsMultiSourceSEO","ProductMiniMultiSource","ProductQA"].includes(v),b=["ProductReviewsSEO","ProductReviewsMultiSourceSEO"].includes(v);y&&!f&&console.warn("TrustpilotWidget: SKU is required for product-specific widgets"),b&&!m&&console.warn("TrustpilotWidget: Product name is required for SEO-optimized widgets");let x=(0,h7.N)(null==h?void 0:h.spacing),w=gn({bpHide:h.visibility}),k=(0,F.cn)("sb-trustpilot",x,w,p);return(0,D.jsx)(SY,{className:k,businessUnitId:i,widgetType:v,templateId:l,locale:s,stars:d,reviewLanguages:c,styleWidth:null==g?void 0:g.style_width,styleHeight:null==g?void 0:g.style_height,tags:u,sku:f,productName:m,...r,...hl(t)})};S0.displayName="TrustpilotWidgetSB";let S1=(0,B.c6)({slots:{root:"mt-xs hidden"},variants:{valid:{true:{root:"peer-[.valid.touched]:block peer-[.valid.touched]:text-system-text-success-default"}
43,false:{root:"peer-[.invalid.touched]:block peer-[.invalid.touched]:text-system-text-warning-default"}},touched:{true:{}}}}),S2=(0,I.forwardRef)((e,t)=>{let{children:r,valid:o,touched:i,className:l,themeConfig:s,...d}=e,{root:c}=(0,B.tv)(s?(0,B.RH)(S1,s):S1)({valid:o,touched:i}),u=(0,F.cn)(c(),l);return(0,D.jsx)(aL.x,{ref:t,variant:"uiLabelSmallBold",className:u,...d,as:"span",children:r})});S2.displayName="FormValidationMessage";var S3=e=>e instanceof Date,S4=e=>null==e;let S6=e=>"object"==typeof e;"u">typeof window&&window.HTMLElement;let S8=I.createContext(null),S9=()=>I.useContext(S8);var S5=r(78218),S7=r(86575);let Ee=(0,I.forwardRef)((e,t)=>{let{children:r,valid:o,touched:i,required:l,label:s,className:d,themeConfig:c,...u}=e,{markValidation:p}=(0,B.tv)(S7.ge)({valid:o,touched:i}),f=(0,B.tv)(c?(0,B.RH)(S7.xk,c):S7.xk)(),m=(0,F.cn)("ef-form-fieldset",p(),d);return(0,D.jsxs)("fieldset",{ref:t,className:m,...u,children:[s&&(0,D.jsx)(S5.l,{as:"legend",required:l,themeConfig:{slots:{formLabelRequiredSign:f.formLabelRequiredSign(),formLabelWrapper:f.formLabelWrapper(),formLabelDescription:f.formLabelDescription()}},children:s}),r]})});
43Ee.displayName="FormFieldset";let Et={name:"",component_group_name:"Forms",is_root:!1,is_nestable:!0,icon:"block-@",color:"green",schema:{}},En={validation_rules:{type:"custom",field_type:"backpack-form-validation-rules",options:[{name:"backpackVersion",value:bR}],default_value:{}},success_validation_message:{type:"text",translatable:!0},error_validation_message:{type:"text",translatable:!0},section_validation:{type:"section",display_name:"Validation",keys:["validation_rules","success_validation_message","error_validation_message"]},section_legacy:{type:"section",display_name:"Legacy",keys:["required","min_length","max_length"]}},Er={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...CX,...CY,...CQ,...hD,...wG,...yD,...C0,...hO},Ea={...Er,item_basis:h_(Er.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(Er.item_flex,"default_value",{s:"auto"})};JSON.stringify([Er.collapsible_size,Er.collapsible_layout,Er.collapsible_component,Er.collapsible_appearance,Er.collapsible_text,Er.collapsible_effects,Er.collapsible_code_overrides]),JSON.stringify(Ea.direction),JSON.stringify(Ea.gap),JSON.stringify(Ea.justify),JSON.stringify(Ea.align),JSON.stringify(Ea.wrap),JSON.stringify(Ea.item_flex),JSON.stringify(Ea.item_basis);let Eo=e=>{let{blok:t}=e,{error_validation_message:r,success_validation_message:o,label:i,content:l,design:s,custom_classname:d}=t,{formState:{errors:c,dirtyFields:u,isSubmitted:p}}=S9(),f=(0,h5.mi)({design:s},Ea),{flexClasses:m,basisClasses:h}=(0,wq.k)({flexProps:{flex:f.item_flex,basis:f.item_basis},type:"item"}),g=(0,F.cn)("sb-form-fieldset-flex-item",[m].flat(),[h].flat()),{alignClasses:v,justifyClasses:y,directionClasses:b,wrapClasses:x,gapClasses:w}=$p({flexProps:{direction:null==f?void 0:f.direction,justify:null==f?void 0:f.justify,align:null==f?void 0:f.align,wrap:null==f?void 0:f.wrap,gap:null==f?void 0:f.gap},type:"group"}),k=(0,F.cn)("sb-form-fieldset-container",[v,y,b,x,w].flat(),d),_=(0,F.cn)("sb-form-fieldset",d),C=null==l?void 0:l.map(e=>null==e?void 0:e.field_name.selected),$=null==C?void 0:C.every(e=>!c[e]),S=null==C?void 0:C.every(e=>u[e]);return(0,D.jsx)(wK.B,{className:g,children:(0,D.jsxs)(Ee,{label:i,className:_,valid:$,...hl(t),children:[(0,D.jsx)(wW.k,{className:k,children:null==l?void 0:l.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))}),S||p?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(S2,{valid:!1,children:r}),(0,D.jsx)(S2,{valid:!0,children:o})]}):null]})})};Eo.displayName="FormFieldsetSB";var Ei=r(65410);let El=(0,B.c6)({slots:{root:"flex flex-col [&+.ef-form-validation]:mt-xs"},variants:{inline:{true:{root:"-ms-m flex-row flex-wrap [&+.ef-form-validation]:ps-0 [&>*]:ms-m"}},tile:{true:{root:"grid grid-cols-[repeat(auto-fill,_minmax(300px,_1fr))] gap-m"}},stack:{true:{}}},compoundVariants:[{tile:!0,stack:!0,class:{root:"grid-cols-[repeat(auto-fill,_minmax(156px,_1fr))]"}}]}),Es=(0,I.forwardRef)((e,t)=>{let{className:r,children:o,inline:i,tile:l,stack:s,label:d,valid:c,touched:u,required:p,themeConfig:f,description:m,...h}=e,{root:g}=(0,B.tv)(f?(0,B.RH)(El,f):El)({inline:i,tile:l,stack:s}),{markValidation:v}=(0,B.tv)(S7.ge)({valid:c,touched:u}),y=(0,F.cn)("ef-form-group",g(),v(),r);return(0,D.jsx)(Ei.P.Provider,{value:{required:"u">typeof p&&p,valid:c},children:(0,D.jsxs)("div",{ref:t,className:y,...h,children:[d&&(0,D.jsx)(S5.l,{description:m,children:d}),o]})})});Es.displayName="FormGroup";let Ed=e=>{let{blok:t}=e,{error_validation_message:r,success_validation_message:o,label:i,stack:l,inline:s,tile:d,content:c}=t,{formState:{errors:u,dirtyFields:p,isSubmitted:f}}=S9(),m=(0,F.cn)("sb-form-group"),h=null==c?void 0:c.map(e=>e.content[0].name),g=null==h?void 0:h.every(e=>!u[e]),v=null==h?void 0:h.every(e=>p[e]);return(0,D.jsxs)(Es,{label:i,className:m,valid:g,stack:l,inline:s,tile:d,...hl(t),children:[null==c?void 0:c.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)),v&&f?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(S2,{valid:!1,children:r}),(0,D.jsx)(S2,{valid:!0,children:o})]}):null]})};Ed.displayName="FormGroupSB";var Ec=r(83454);let Eu={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},...hD,...hO},Ep={...Eu,item_basis:h_(Eu.item_basis,"default_value",{s:{unit:"fra",value:"0"}})};Ec.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([Eu.collapsible_size,Eu.collapsible_layout,Eu.collapsible_component,Eu.collapsible_appearance,Eu.collapsible_text,Eu.collapsible_effects,Eu.collapsible_code_overrides]),JSON.stringify(Ep.item_flex),JSON.stringify(Ep.item_basis);var Ef=r(42768),Em=r(66780);let Eh=(0,r(57707).O4)("formDataAtom",{}),Eg=(0,oG.cn)("");(Nq=N0||(N0={})).assertEqual=e=>e,Nq.assertIs=function(e){},Nq.assertNever=function(e){throw Error()},Nq.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},Nq.getValidEnumValues=e=>{let t=Nq.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let o of t)r[o]=e[o];return Nq.objectValues(r)},Nq.objectValues=e=>Nq.objectKeys(e).map(function(t){return e[t]}),Nq.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},Nq.find=(e,t)=>{for(let r of e)if(t(r))return r},Nq.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,Nq.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},Nq.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(N1||(N1={})).mergeShapes=(e,t)=>({...e,...t});let Ev=N0.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ey=e=>{switch(typeof e){case"undefined":return Ev.undefined;case"string":return Ev.string;case"number":return isNaN(e)?Ev.nan:Ev.number;case"boolean":return Ev.boolean;case"function":return Ev.function;case"bigint":return Ev.bigint;case"symbol":return Ev.symbol;case"object":return Array.isArray(e)?Ev.array:null===e?Ev.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?Ev.promise:"u">typeof Map&&e instanceof Map?Ev.map:"u">typeof Set&&e instanceof Set?Ev.set:"u">typeof Date&&e instanceof Date?Ev.date:Ev.object;default:return Ev.unknown}}
vendor: 4,127 bytes, line 43
43,Eb=N0.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Ex extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},r={_errors:[]},o=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(o);else if("invalid_return_type"===i.code)o(i.returnTypeError);else if("invalid_arguments"===i.code)o(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,o=0;for(;o<i.path.length;){let r=i.path[o];o===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],o++}}};return o(this),r}toString(){return this.message}get message(){return JSON.stringify(this.issues,N0.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let o of this.issues)o.path.length>0?(t[o.path[0]]=t[o.path[0]]||[],t[o.path[0]].push(e(o))):r.push(e(o));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}Ex.create=e=>new Ex(e);let Ew=(e,t)=>{let r;switch(e.code){case Eb.invalid_type:r=e.received===Ev.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case Eb.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,N0.jsonStringifyReplacer)}`;break;case Eb.unrecognized_keys:r=`Unrecognized key(s) in object: ${N0.joinValues(e.keys,", ")}`;break;case Eb.invalid_union:r="Invalid input";break;case Eb.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${N0.joinValues(e.options)}`;break;case Eb.invalid_enum_value:r=`Invalid enum value. Expected ${N0.joinValues(e.options)}, received '${e.received}'`;break;case Eb.invalid_arguments:r="Invalid function arguments";break;case Eb.invalid_return_type:r="Invalid function return type";break;case Eb.invalid_date:r="Invalid date";break;case Eb.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:N0.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case Eb.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case Eb.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case Eb.custom:r="Invalid input";break;
43case Eb.invalid_intersection_types:r="Intersection results could not be merged";break;case Eb.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case Eb.not_finite:r="Number must be finite";break;default:r=t.defaultError,N0.assertNever(e)}return{message:r}},Ek=Ew;function E_(){return Ek}let EC=e=>{let{data:t,path:r,errorMaps:o,issueData:i}=e,l=[...r,...i.path||[]],s={...i,path:l},d="";for(let e of o.filter(e=>!!e).slice().reverse())d=e(s,{data:t,defaultError:d}).message;return{...i,path:l,message:i.message||d}};function E$(e,t){let r=EC({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,E_(),Ew].filter(e=>!!e)});e.common.issues.push(r)}class ES{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let o of t){if("aborted"===o.status)return EE;"dirty"===o.status&&e.dirty(),r.push(o.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t)r.push({key:await e.key,value:await e.value});return ES.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let o of t){let{key:t,value:i}=o;if("aborted"===t.status||"aborted"===i.status)return EE;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&("u">typeof i.value||o.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let EE=Object.freeze({status:"aborted"}),Ej=e=>({status:"dirty",value:e}),EN=e=>({status:"valid",value:e}),ET=e=>"aborted"===e.status,EP=e=>"dirty"===e.status,EA=e=>"valid"===e.status,EO=e=>"u">typeof Promise&&e instanceof Promise;(NG=N2||(N2={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},NG.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class ER{constructor(e,t,r,o){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let ED=(e,t)=>{if(EA(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new Ex(e.common.issues);return this._error=t,this._error}}};function EM(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:o,description:i}=e;if(t&&(r||o))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:typeof t.data>"u"?{message:o??t.defaultError}:{message:r??t.defaultError},description:i}}class EL{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Ey(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Ey(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ES,ctx:{common:e.parent.common,data:e.data,parsedType:Ey(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(EO(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let o={common:{issues:[],async:null!==(r=null==t?void 0:t.async)&&void 0!==r&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ey(e)},i=this._parseSync({data:e,path:o.path,parent:o});return ED(o,i)}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ey(e)},o=this._parse({data:e,path:r.path,parent:r});return ED(r,await (EO(o)?o:Promise.resolve(o)))}refine(e,t){let r=e=>"string"==typeof t||typeof t>"u"?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,o)=>{let i=e(t),l=()=>
43o.addIssue({code:Eb.custom,...r(t)});return"u">typeof Promise&&i instanceof Promise?i.then(e=>!!e||(l(),!1)):!!i||(l(),!1)})}refinement(e,t){return this._refinement((r,o)=>!!e(r)||(o.addIssue("function"==typeof t?t(r,o):t),!1))}_refinement(e){return new ju({schema:this,typeName:N3.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return jp.create(this,this._def)}nullable(){return jf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return E4.create(this,this._def)}promise(){return jc.create(this,this._def)}or(e){return E8.create([this,e],this._def)}and(e){return E7.create(this,e,this._def)}transform(e){return new ju({...EM(this._def),schema:this,typeName:N3.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new jm({...EM(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:N3.ZodDefault})}brand(){return new jy({typeName:N3.ZodBranded,type:this,...EM(this._def)})}catch(e){return new jh({...EM(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:N3.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return jb.create(this,e)}readonly(){return jx.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let EI=/^c[^\s-]{8,}$/i,EF=/^[a-z][a-z0-9]*$/,EB=/^[0-9A-HJKMNP-TV-Z]{26}$/,EV=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Ez=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,EH=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,EU=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,EZ=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");class EW extends EL{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Ev.string){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.string,received:t.parsedType}),EE}let r=new ES;for(let l of this._def.checks)if("min"===l.kind)e.data.length<l.value&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),r.dirty());else if("max"===l.kind)e.data.length>l.value&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),r.dirty());else if("length"===l.kind){let o=e.data.length>l.value,i=e.data.length<l.value;(o||i)&&(t=this._getOrReturnCtx(e,t),o?E$(t,{code:Eb.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):i&&E$(t,{code:Eb.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),r.dirty())}else if("email"===l.kind)Ez.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"email",code:Eb.invalid_string,message:l.message}),r.dirty());else if("emoji"===l.kind)c||(c=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),c.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"emoji",code:Eb.invalid_string,message:l.message}),r.dirty());else if("uuid"===l.kind)EV.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:Eb.invalid_string,message:l.message}),r.dirty());else if("cuid"===l.kind)EI.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:Eb.invali
43d_string,message:l.message}),r.dirty());else if("cuid2"===l.kind)EF.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"cuid2",code:Eb.invalid_string,message:l.message}),r.dirty());else if("ulid"===l.kind)EB.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"ulid",code:Eb.invalid_string,message:l.message}),r.dirty());else if("url"===l.kind)try{new URL(e.data)}catch{E$(t=this._getOrReturnCtx(e,t),{validation:"url",code:Eb.invalid_string,message:l.message}),r.dirty()}else{var o,i;"regex"===l.kind?(l.regex.lastIndex=0,l.regex.test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{validation:"regex",code:Eb.invalid_string,message:l.message}),r.dirty())):"trim"===l.kind?e.data=e.data.trim():"includes"===l.kind?e.data.includes(l.value,l.position)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),r.dirty()):"toLowerCase"===l.kind?e.data=e.data.toLowerCase():"toUpperCase"===l.kind?e.data=e.data.toUpperCase():"startsWith"===l.kind?e.data.startsWith(l.value)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.invalid_string,validation:{startsWith:l.value},message:l.message}),r.dirty()):"endsWith"===l.kind?e.data.endsWith(l.value)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.invalid_string,validation:{endsWith:l.value},message:l.message}),r.dirty()):"datetime"===l.kind?EZ(l).test(e.data)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.invalid_string,validation:"datetime",message:l.message}),r.dirty()):"ip"===l.kind?(o=e.data,("v4"===(i=l.version)||!i)&&EH.test(o)||("v6"===i||!i)&&EU.test(o)||(E$(t=this._getOrReturnCtx(e,t),{validation:"ip",code:Eb.invalid_string,message:l.message}),r.dirty())):N0.assertNever(l)}return{status:r.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:Eb.invalid_string,...N2.errToObj(r)})}_addCheck(e){return new EW({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...N2.errToObj(e)})}url(e){return this._addCheck({kind:"url",...N2.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...N2.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...N2.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...N2.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...N2.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...N2.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...N2.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(null==e?void 0:e.precision)>"u"?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...N2.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...N2.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...N2.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...N2.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...N2.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...N2.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...N2.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...N2.errToObj(t)})}nonempty(e){return this.min(1,N2.errToObj(e))}trim(){return new EW({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new EW({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new EW({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}EW.create=e=>{var t;return new EW({checks:[],typeName:N3.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...EM(e)})};
43class EK extends EL{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Ev.number){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.number,received:t.parsedType}),EE}let r=new ES;for(let o of this._def.checks)"int"===o.kind?N0.isInteger(e.data)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.invalid_type,expected:"integer",received:"float",message:o.message}),r.dirty()):"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):"multipleOf"===o.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,i=r>o?r:o;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,o.value)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):"finite"===o.kind?Number.isFinite(e.data)||(E$(t=this._getOrReturnCtx(e,t),{code:Eb.not_finite,message:o.message}),r.dirty()):N0.assertNever(o);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,N2.toString(t))}gt(e,t){return this.setLimit("min",e,!1,N2.toString(t))}lte(e,t){return this.setLimit("max",e,!0,N2.toString(t))}lt(e,t){return this.setLimit("max",e,!1,N2.toString(t))}setLimit(e,t,r,o){return new EK({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:N2.toString(o)}]})}_addCheck(e){return new EK({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:N2.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:N2.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:N2.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:N2.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:N2.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:N2.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:N2.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:N2.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:N2.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&N0.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks){if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value)}return Number.isFinite(t)&&Number.isFinite(e)}}EK.create=e=>new EK({checks:[],typeName:N3.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...EM(e)});class Eq extends EL{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==Ev.bigint){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.bigint,received:t.parsedType}),EE}let r=new ES;for(let o of this._def.checks)"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):N0.assertNever(o);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,N2.toString(t))}gt(e,t){return this.setLimit("min",e,!1,N2.toString(t))}lte(e,t){return this.setLimit("max",e,!0,N2.toString(t))}lt(e,t){return this.setLimit("max",e,!1,N2.toString(t))}setLimit(e,t,r,o){return new Eq({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:N2.toString(o)}]})}_addCheck(e){return new Eq({...this._def,checks:[...this._def.checks,e]})}
43positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:N2.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:N2.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:N2.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:N2.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:N2.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}Eq.create=e=>{var t;return new Eq({checks:[],typeName:N3.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...EM(e)})};class EG extends EL{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Ev.boolean){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.boolean,received:t.parsedType}),EE}return EN(e.data)}}EG.create=e=>new EG({typeName:N3.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...EM(e)});class EJ extends EL{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Ev.date){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.date,received:t.parsedType}),EE}if(isNaN(e.data.getTime()))return E$(this._getOrReturnCtx(e),{code:Eb.invalid_date}),EE;let r=new ES;for(let o of this._def.checks)"min"===o.kind?e.data.getTime()<o.value&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),r.dirty()):"max"===o.kind?e.data.getTime()>o.value&&(E$(t=this._getOrReturnCtx(e,t),{code:Eb.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),r.dirty()):N0.assertNever(o);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new EJ({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:N2.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:N2.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}EJ.create=e=>new EJ({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:N3.ZodDate,...EM(e)});class EY extends EL{_parse(e){if(this._getType(e)!==Ev.symbol){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.symbol,received:t.parsedType}),EE}return EN(e.data)}}EY.create=e=>new EY({typeName:N3.ZodSymbol,...EM(e)});class EX extends EL{_parse(e){if(this._getType(e)!==Ev.undefined){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.undefined,received:t.parsedType}),EE}return EN(e.data)}}EX.create=e=>new EX({typeName:N3.ZodUndefined,...EM(e)});class EQ extends EL{_parse(e){if(this._getType(e)!==Ev.null){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.null,received:t.parsedType}),EE}return EN(e.data)}}EQ.create=e=>new EQ({typeName:N3.ZodNull,...EM(e)});class E0 extends EL{constructor(){super(...arguments),this._any=!0}_parse(e){return EN(e.data)}}E0.create=e=>new E0({typeName:N3.ZodAny,...EM(e)});class E1 extends EL{constructor(){super(...arguments),this._unknown=!0}_parse(e){return EN(e.data)}}E1.create=e=>new E1({typeName:N3.ZodUnknown,...EM(e)});class E2 extends EL{_parse(e){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.never,received:t.parsedType}),EE}}E2.create=e=>new E2({typeName:N3.ZodNever,...EM(e)});class E3 extends EL{_parse(e){if(this._getType(e)!==Ev.undefined){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.void,received:t.parsedType}),EE}return EN(e.data)}}E3.create=e=>new E3({typeName:N3.ZodVoid,...EM(e)});class E4 extends EL{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),o=this._def;
43if(t.parsedType!==Ev.array)return E$(t,{code:Eb.invalid_type,expected:Ev.array,received:t.parsedType}),EE;if(null!==o.exactLength){let e=t.data.length>o.exactLength.value,i=t.data.length<o.exactLength.value;(e||i)&&(E$(t,{code:e?Eb.too_big:Eb.too_small,minimum:i?o.exactLength.value:void 0,maximum:e?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(null!==o.minLength&&t.data.length<o.minLength.value&&(E$(t,{code:Eb.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),null!==o.maxLength&&t.data.length>o.maxLength.value&&(E$(t,{code:Eb.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>o.type._parseAsync(new ER(t,e,t.path,r)))).then(e=>ES.mergeArray(r,e));let i=[...t.data].map((e,r)=>o.type._parseSync(new ER(t,e,t.path,r)));return ES.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new E4({...this._def,minLength:{value:e,message:N2.toString(t)}})}max(e,t){return new E4({...this._def,maxLength:{value:e,message:N2.toString(t)}})}length(e,t){return new E4({...this._def,exactLength:{value:e,message:N2.toString(t)}})}nonempty(e){return this.min(1,e)}}E4.create=(e,t)=>new E4({type:e,minLength:null,maxLength:null,exactLength:null,typeName:N3.ZodArray,...EM(t)});class E6 extends EL{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=N0.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==Ev.object){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.object,received:t.parsedType}),EE}let{status:t,ctx:r}=this._processInputParams(e),{shape:o,keys:i}=this._getCached(),l=[];if(!(this._def.catchall instanceof E2&&"strip"===this._def.unknownKeys))for(let e in r.data)i.includes(e)||l.push(e);let s=[];for(let e of i){let t=o[e],i=r.data[e];s.push({key:{status:"valid",value:e},value:t._parse(new ER(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof E2){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of l)s.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)l.length>0&&(E$(r,{code:Eb.unrecognized_keys,keys:l}),t.dirty());else if("strip"!==e)throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of l){let o=r.data[t];s.push({key:{status:"valid",value:t},value:e._parse(new ER(r,o,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let r=await t.key;e.push({key:r,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>ES.mergeObjectSync(t,e)):ES.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(e){return N2.errToObj,new E6({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var o,i,l,s;let d=null!==(l=null===(i=(o=this._def).errorMap)||void 0===i?void 0:i.call(o,t,r).message)&&void 0!==l?l:r.defaultError;return"unrecognized_keys"===t.code?{message:null!==(s=N2.errToObj(e).message)&&void 0!==s?s:d}:{message:d}}}:{}})}strip(){return new E6({...this._def,unknownKeys:"strip"})}passthrough(){return new E6({...this._def,unknownKeys:"passthrough"})}extend(e){return new E6({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new E6({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:N3.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new E6({...this._def,catchall:e})}pick(e){let t={};return N0.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new E6({...this._def,shape:()=>t})}omit(e){let t={};return N0.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new E6({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(!(t instanceof E6))return t instanceof E4?new E4({...t._def,type:e(t.element)}):t instanceof jp?jp.create(e(t.unwrap())):t instanceof jf?jf.create(e(t.unwrap())):t instanceof je?je.create(t.items.map(t=>e(t))):t;{let r={};for(let o in t.shape){let i=t.shape[o];r[o]=jp.create(e(i))}return new E6({...t._def,shape:()=>r})}}(this)}partial(e){let t={};return N0.objectKeys(this.shape).forEach(r=>{let o=this.shape[r];e&&!e[r]?t[r]=o:t[r]=o.optional()}),new E6({...this._def,shape:()=>t})}required(e){let t={};return N0.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof jp;)e=e._def.innerType;t[r]=e}}),new E6({...this._def,shape:()=>t})}keyof(){return jl(N0.objectKeys(this.shape))}}E6.create=(e,t)=>
43new E6({shape:()=>e,unknownKeys:"strip",catchall:E2.create(),typeName:N3.ZodObject,...EM(t)}),E6.strictCreate=(e,t)=>new E6({shape:()=>e,unknownKeys:"strict",catchall:E2.create(),typeName:N3.ZodObject,...EM(t)}),E6.lazycreate=(e,t)=>new E6({shape:e,unknownKeys:"strip",catchall:E2.create(),typeName:N3.ZodObject,...EM(t)});class E8 extends EL{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new Ex(e.ctx.common.issues));return E$(t,{code:Eb.invalid_union,unionErrors:r}),EE});{let e;let o=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},l=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===l.status)return l;"dirty"!==l.status||e||(e={result:l,ctx:r}),r.common.issues.length&&o.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=o.map(e=>new Ex(e));return E$(t,{code:Eb.invalid_union,unionErrors:i}),EE}}get options(){return this._def.options}}E8.create=(e,t)=>new E8({options:e,typeName:N3.ZodUnion,...EM(t)});let E9=e=>e instanceof jo?E9(e.schema):e instanceof ju?E9(e.innerType()):e instanceof ji?[e.value]:e instanceof js?e.options:e instanceof jd?Object.keys(e.enum):e instanceof jm?E9(e._def.innerType):e instanceof EX?[void 0]:e instanceof EQ?[null]:null;class E5 extends EL{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==Ev.object)return E$(t,{code:Eb.invalid_type,expected:Ev.object,received:t.parsedType}),EE;let r=this.discriminator,o=t.data[r],i=this.optionsMap.get(o);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(E$(t,{code:Eb.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),EE)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let o=new Map;for(let r of t){let t=E9(r.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(o.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);o.set(i,r)}}return new E5({typeName:N3.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:o,...EM(r)})}}class E7 extends EL{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),o=(e,o)=>{if(ET(e)||ET(o))return EE;let i=function e(t,r){let o=Ey(t),i=Ey(r);if(t===r)return{valid:!0,data:t};if(o===Ev.object&&i===Ev.object){let o=N0.objectKeys(r),i=N0.objectKeys(t).filter(e=>-1!==o.indexOf(e)),l={...t,...r};for(let o of i){let i=e(t[o],r[o]);if(!i.valid)return{valid:!1};l[o]=i.data}return{valid:!0,data:l}}if(o!==Ev.array||i!==Ev.array)return o===Ev.date&&i===Ev.date&&+t==+r?{valid:!0,data:t}:{valid:!1};{if(t.length!==r.length)return{valid:!1};let o=[];for(let i=0;i<t.length;i++){let l=e(t[i],r[i]);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}}(e.value,o.value);return i.valid?((EP(e)||EP(o))&&t.dirty(),{status:t.value,value:i.data}):(E$(r,{code:Eb.invalid_intersection_types}),EE)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>o(e,t)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}E7.create=(e,t,r)=>new E7({left:e,right:t,typeName:N3.ZodIntersection,...EM(r)});class je extends EL{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==Ev.array)return E$(r,{code:Eb.invalid_type,expected:Ev.array,received:r.parsedType}),EE;if(r.data.length<this._def.items.length)return E$(r,{code:Eb.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),EE;!this._def.rest&&r.data.length>this._def.items.length&&(E$(r,{code:Eb.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let o=[...r.data].map((e,t)=>{let o=this._def.items[t]||this._def.rest;return o?o._parse(new ER(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(o).then(e=>ES.mergeArray(t,e)):ES.mergeArray(t,o)}get items(){return this._def.items}rest(e){return new je({...this._def,rest:e})}}je.create=(e,t)=>
43{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new je({items:e,typeName:N3.ZodTuple,rest:null,...EM(t)})};class jt extends EL{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==Ev.object)return E$(r,{code:Eb.invalid_type,expected:Ev.object,received:r.parsedType}),EE;let o=[],i=this._def.keyType,l=this._def.valueType;for(let e in r.data)o.push({key:i._parse(new ER(r,e,r.path,e)),value:l._parse(new ER(r,r.data[e],r.path,e))});return r.common.async?ES.mergeObjectAsync(t,o):ES.mergeObjectSync(t,o)}get element(){return this._def.valueType}static create(e,t,r){return new jt(t instanceof EL?{keyType:e,valueType:t,typeName:N3.ZodRecord,...EM(r)}:{keyType:EW.create(),valueType:e,typeName:N3.ZodRecord,...EM(t)})}}class jn extends EL{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==Ev.map)return E$(r,{code:Eb.invalid_type,expected:Ev.map,received:r.parsedType}),EE;let o=this._def.keyType,i=this._def.valueType,l=[...r.data.entries()].map(([e,t],l)=>({key:o._parse(new ER(r,e,r.path,[l,"key"])),value:i._parse(new ER(r,t,r.path,[l,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of l){let o=await r.key,i=await r.value;if("aborted"===o.status||"aborted"===i.status)return EE;("dirty"===o.status||"dirty"===i.status)&&t.dirty(),e.set(o.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of l){let o=r.key,i=r.value;if("aborted"===o.status||"aborted"===i.status)return EE;("dirty"===o.status||"dirty"===i.status)&&t.dirty(),e.set(o.value,i.value)}return{status:t.value,value:e}}}}jn.create=(e,t,r)=>new jn({valueType:t,keyType:e,typeName:N3.ZodMap,...EM(r)});class jr extends EL{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==Ev.set)return E$(r,{code:Eb.invalid_type,expected:Ev.set,received:r.parsedType}),EE;let o=this._def;null!==o.minSize&&r.data.size<o.minSize.value&&(E$(r,{code:Eb.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),t.dirty()),null!==o.maxSize&&r.data.size>o.maxSize.value&&(E$(r,{code:Eb.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());let i=this._def.valueType;function l(e){let r=new Set;for(let o of e){if("aborted"===o.status)return EE;"dirty"===o.status&&t.dirty(),r.add(o.value)}return{status:t.value,value:r}}let s=[...r.data.values()].map((e,t)=>i._parse(new ER(r,e,r.path,t)));return r.common.async?Promise.all(s).then(e=>l(e)):l(s)}min(e,t){return new jr({...this._def,minSize:{value:e,message:N2.toString(t)}})}max(e,t){return new jr({...this._def,maxSize:{value:e,message:N2.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}jr.create=(e,t)=>new jr({valueType:e,minSize:null,maxSize:null,typeName:N3.ZodSet,...EM(t)});class ja extends EL{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==Ev.function)return E$(t,{code:Eb.invalid_type,expected:Ev.function,received:t.parsedType}),EE;function r(e,r){return EC({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,E_(),Ew].filter(e=>!!e),issueData:{code:Eb.invalid_arguments,argumentsError:r}})}function o(e,r){return EC({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,E_(),Ew].filter(e=>!!e),issueData:{code:Eb.invalid_return_type,returnTypeError:r}})}let i={errorMap:t.common.contextualErrorMap},l=t.data;if(this._def.returns instanceof jc){let e=this;return EN(async function(...t){let s=new Ex([]),d=await e._def.args.parseAsync(t,i).catch(e=>{throw s.addIssue(r(t,e)),s}),c=await Reflect.apply(l,this,d);return await e._def.returns._def.type.parseAsync(c,i).catch(e=>{throw s.addIssue(o(c,e)),s})})}{let e=this;return EN(function(...t){let s=e._def.args.safeParse(t,i);if(!s.success)throw new Ex([r(t,s.error)]);let d=Reflect.apply(l,this,s.data),c=e._def.returns.safeParse(d,i);if(!c.success)throw new Ex([o(d,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ja({...this._def,args:je.create(e).rest(E1.create())})}returns(e){return new ja({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ja({args:e||je.create([]).rest(E1.create()),returns:t||E1.create(),typeName:N3.ZodFunction,...EM(r)})}}
43class jo extends EL{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}jo.create=(e,t)=>new jo({getter:e,typeName:N3.ZodLazy,...EM(t)});class ji extends EL{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return E$(t,{received:t.data,code:Eb.invalid_literal,expected:this._def.value}),EE}return{status:"valid",value:e.data}}get value(){return this._def.value}}function jl(e,t){return new js({values:e,typeName:N3.ZodEnum,...EM(t)})}ji.create=(e,t)=>new ji({value:e,typeName:N3.ZodLiteral,...EM(t)});class js extends EL{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return E$(t,{expected:N0.joinValues(r),received:t.parsedType,code:Eb.invalid_type}),EE}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return E$(t,{received:t.data,code:Eb.invalid_enum_value,options:r}),EE}return EN(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return js.create(e)}exclude(e){return js.create(this.options.filter(t=>!e.includes(t)))}}js.create=jl;class jd extends EL{_parse(e){let t=N0.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==Ev.string&&r.parsedType!==Ev.number){let e=N0.objectValues(t);return E$(r,{expected:N0.joinValues(e),received:r.parsedType,code:Eb.invalid_type}),EE}if(-1===t.indexOf(e.data)){let e=N0.objectValues(t);return E$(r,{received:r.data,code:Eb.invalid_enum_value,options:e}),EE}return EN(e.data)}get enum(){return this._def.values}}jd.create=(e,t)=>new jd({values:e,typeName:N3.ZodNativeEnum,...EM(t)});class jc extends EL{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==Ev.promise&&!1===t.common.async?(E$(t,{code:Eb.invalid_type,expected:Ev.promise,received:t.parsedType}),EE):EN((t.parsedType===Ev.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}jc.create=(e,t)=>new jc({type:e,typeName:N3.ZodPromise,...EM(t)});class ju extends EL{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===N3.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),o=this._def.effect||null,i={addIssue:e=>{E$(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===o.type){let e=o.transform(r.data,i);return r.common.issues.length?{status:"dirty",value:r.data}:r.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:r.path,parent:r})):this._def.schema._parseSync({data:e,path:r.path,parent:r})}if("refinement"===o.type){let e=e=>{let t=o.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?EE:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===o.status?EE:("dirty"===o.status&&t.dirty(),e(o.value),{status:t.value,value:o.value})}}if("transform"===o.type){if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>EA(e)?Promise.resolve(o.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!EA(e))return e;let l=o.transform(e.value,i);if(l instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}}N0.assertNever(o)}}ju.create=(e,t,r)=>new ju({schema:e,typeName:N3.ZodEffects,effect:t,...EM(r)}),ju.createWithPreprocess=(e,t,r)=>new ju({schema:t,effect:{type:"preprocess",transform:e},typeName:N3.ZodEffects,...EM(r)});
43class jp extends EL{_parse(e){return this._getType(e)===Ev.undefined?EN(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}jp.create=(e,t)=>new jp({innerType:e,typeName:N3.ZodOptional,...EM(t)});class jf extends EL{_parse(e){return this._getType(e)===Ev.null?EN(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}jf.create=(e,t)=>new jf({innerType:e,typeName:N3.ZodNullable,...EM(t)});class jm extends EL{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===Ev.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}jm.create=(e,t)=>new jm({innerType:e,typeName:N3.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...EM(t)});class jh extends EL{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return EO(o)?o.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new Ex(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===o.status?o.value:this._def.catchValue({get error(){return new Ex(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}jh.create=(e,t)=>new jh({innerType:e,typeName:N3.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...EM(t)});class jg extends EL{_parse(e){if(this._getType(e)!==Ev.nan){let t=this._getOrReturnCtx(e);return E$(t,{code:Eb.invalid_type,expected:Ev.nan,received:t.parsedType}),EE}return{status:"valid",value:e.data}}}jg.create=e=>new jg({typeName:N3.ZodNaN,...EM(e)});let jv=Symbol("zod_brand");class jy extends EL{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class jb extends EL{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?EE:"dirty"===e.status?(t.dirty(),Ej(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?EE:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new jb({in:e,out:t,typeName:N3.ZodPipeline})}}class jx extends EL{_parse(e){let t=this._def.innerType._parse(e);return EA(t)&&(t.value=Object.freeze(t.value)),t}}jx.create=(e,t)=>new jx({innerType:e,typeName:N3.ZodReadonly,...EM(t)});let jw=(e,t={},r)=>e?E0.create().superRefine((o,i)=>{var l,s;if(!e(o)){let e="function"==typeof t?t(o):"string"==typeof t?{message:t}:t,d=null===(s=null!==(l=e.fatal)&&void 0!==l?l:r)||void 0===s||s;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:d})}}):E0.create(),jk={object:E6.lazycreate};(NJ=N3||(N3={})).ZodString="ZodString",NJ.ZodNumber="ZodNumber",NJ.ZodNaN="ZodNaN",NJ.ZodBigInt="ZodBigInt",NJ.ZodBoolean="ZodBoolean",NJ.ZodDate="ZodDate",NJ.ZodSymbol="ZodSymbol",NJ.ZodUndefined="ZodUndefined",NJ.ZodNull="ZodNull",NJ.ZodAny="ZodAny",NJ.ZodUnknown="ZodUnknown",NJ.ZodNever="ZodNever",NJ.ZodVoid="ZodVoid",NJ.ZodArray="ZodArray",NJ.ZodObject="ZodObject",NJ.ZodUnion="ZodUnion",NJ.ZodDiscriminatedUnion="ZodDiscriminatedUnion",NJ.ZodIntersection="ZodIntersection",NJ.ZodTuple="ZodTuple",NJ.ZodRecord="ZodRecord",NJ.ZodMap="ZodMap",NJ.ZodSet="ZodSet",NJ.ZodFunction="ZodFunction",NJ.ZodLazy="ZodLazy",NJ.ZodLiteral="ZodLiteral",NJ.ZodEnum="ZodEnum",NJ.ZodEffects="ZodEffects",NJ.ZodNativeEnum="ZodNativeEnum",NJ.ZodOptional="ZodOptional",NJ.ZodNullable="ZodNullable",NJ.ZodDefault="ZodDefault",NJ.ZodCatch="ZodCatch",NJ.ZodPromise="ZodPromise",NJ.ZodBranded="ZodBranded",NJ.ZodPipeline="ZodPipeline",NJ.ZodReadonly="ZodReadonly";let j_=EW.create,jC=EK.create,j$=jg.create,jS=Eq.create,jE=EG.create,jj=EJ.create,jN=EY.create,jT=EX.create,jP=EQ.create,jA=E0.create,jO=E1.create,jR=E2.create,jD=E3.create,jM=E4.create,jL=E6.create,jI=E6.strictCreate,jF=E8.create,jB=E5.create,jV=E7.create,jz=je.create,jH=jt.create,jU=jn.create,jZ=jr.create,jW=ja.create,jK=jo.create,jq=ji.create,jG=js.create,jJ=jd.create,jY=jc.create,jX=ju.create,jQ=jp.create,j0=jf.create,j1=ju.createWithPreprocess,j2=jb.create;var j3=Object.freeze({__proto__:null,defaultErrorMap:Ew,setErrorMap:function(e){Ek=e},getErrorMap:E_,makeIssue:EC,EMPTY_PATH:[],addIssueToContext:E$,ParseStatus:ES,INVALID:EE,DIRTY:Ej,OK:EN,isAborted:ET,isDirty:EP,isValid:EA,isAsync:EO,get util(){return N0},get objectUtil(){return N1},ZodParsedType:Ev,getParsedType:Ey,ZodType:EL,ZodString:EW,ZodNumber:EK,ZodBigInt:Eq,ZodBoolean:EG,ZodDate:EJ,ZodSymbol:EY,ZodUndefined:EX,ZodNull:EQ,ZodAny:E0,ZodUnknown:E1,ZodNever:E2,ZodVoid:E3,ZodArray:E4,ZodObject:E6,ZodUnion:E8,ZodDiscriminatedUnion:E5,ZodIntersection:E
437,ZodTuple:je,ZodRecord:jt,ZodMap:jn,ZodSet:jr,ZodFunction:ja,ZodLazy:jo,ZodLiteral:ji,ZodEnum:js,ZodNativeEnum:jd,ZodPromise:jc,ZodEffects:ju,ZodTransformer:ju,ZodOptional:jp,ZodNullable:jf,ZodDefault:jm,ZodCatch:jh,ZodNaN:jg,BRAND:jv,ZodBranded:jy,ZodPipeline:jb,ZodReadonly:jx,custom:jw,Schema:EL,ZodSchema:EL,late:jk,get ZodFirstPartyTypeKind(){return N3},coerce:{string:e=>EW.create({...e,coerce:!0}),number:e=>EK.create({...e,coerce:!0}),boolean:e=>EG.create({...e,coerce:!0}),bigint:e=>Eq.create({...e,coerce:!0}),date:e=>EJ.create({...e,coerce:!0})},any:jA,array:jM,bigint:jS,boolean:jE,date:jj,discriminatedUnion:jB,effect:jX,enum:jG,function:jW,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>jw(t=>t instanceof e,t),intersection:jV,lazy:jK,literal:jq,map:jU,nan:j$,nativeEnum:jJ,never:jR,null:jP,nullable:j0,number:jC,object:jL,oboolean:()=>jE().optional(),onumber:()=>jC().optional(),optional:jQ,ostring:()=>j_().optional(),pipeline:j2,preprocess:j1,promise:jY,record:jH,set:jZ,strictObject:jI,string:j_,symbol
43:jN,transformer:jX,tuple:jz,undefined:jT,union:jF,unknown:jO,void:jD,NEVER:EE,ZodIssueCode:Eb,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:Ex});let j4=(e,t,r)=>{switch(e.rule){case"equals":return j3.object({[t]:j3.literal(e.value)});case"not-equals":return j3.object({[t]:j3.string().refine(t=>t!==e.value)});case"includes":return j3.object({[t]:j3.string().refine(t=>t.includes(e.value))});case"max-length":return j3.object({[t]:j3.string().max(e.value)});case"min-length":return j3.object({[t]:j3.string().min(e.value)});case"gt":return j3.object({[t]:j3.coerce.number().gte(e.value)});case"lt":return j3.object({[t]:j3.coerce.number().lte(e.value)});case"pattern":return j3.object({[t]:j3.string().refine(t=>t.match(e.value))});case"required":return(null==r?void 0:r.type)==="boolean"?j3.object({[t]:j3.boolean().refine(e=>!0===e,{message:"This field is required"})}):(null==r?void 0:r.type)==="number"?j3.object({[t]:j3.preprocess(e=>""===e?null:e,j3.string({invalid_type_error:"This field is required",required_error:"This field is required"})).pipe(j3.coerce.number()).refine(e=>null!==e&&!isNaN(Number(e)),{message:"This field is required"})}):j3.object({[t]:j3.string().min(1,{message:"This field is required"})});default:return j3.object({[t]:j3.any()})}},j6=(e,t)=>{var r,o;let i=[];return null==(r=null==e?void 0:e.validation)||r.conditionGroups.forEach(e=>{let r=e.conditions.map(e=>j4(e,e.fieldName,t));if("and"===e.conditionType){let e=r[0];for(let t=1;t<r.length;t++)e=e.and(r[t]);i.push(e)}else{let e=j3.union(r);i.push(e)}}),(null==(o=null==e?void 0:e.validation)?void 0:o.conditionType)==="and"?i.reduce((e,t)=>e.and(t),j3.object({})):i.length>1?j3.union(i):i[0]||j3.object({})},j8=(e,t,r)=>{try{console.log("Validating field:",r),console.log("Input value:",e),console.log("Input value type:",typeof e),console.log("Schema:",t);let o=t.parse({[r]:e});return console.log("Validation result:",o),!0}catch(e){return e instanceof j3.ZodError?(console.log("Validation error:",e.issues),e.issues[0].message):"An unexpected error occurred"}},j9=(e,t)=>{try{return e.parse(t),!0}catch(e){return j3.ZodError,!1}},j5=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\.[a-zA-Z0-9]{1,}$/;var j7=r(85013);let Ne=e=>{var t,r;let{blok:o}=e,{field_name:i,required:l,placeholder:s,type:d,floating_label:c,max_length:u,min_length:p,label:f,description:m,design:h,error_validation_message:g,success_validation_message:v,validation_rules:y}=o,[b]=(0,oQ.KO)(Eg),{formState:{errors:x,dirtyFields:w,isSubmitted:k},register:_,unregister:C,getValues:$,watch:S}=S9(),E=j6(y);(0,I.useEffect)(()=>()=>{C(i.selected)},[]);let j=(0,h5.mi)({design:h},Ep),{flexClasses:N,basisClasses:T}=(0,wq.k)({flexProps:{flex:j.item_flex,basis:j.item_basis},type:"item"}),P=(0,F.cn)("sb-form-input",[N].flat(),[T].flat()),A={required:l,...u?{maxLength:Number(u)}:{},...p?{minLength:Number(p)}:{}},O=w[i.selected]||k,R=typeof x[i.selected]>"u",M=e=>{Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:b,field_name:i.selected,value:$(i.selected)??S(i.selected),event:e}})},L=(0,j7.b3)(y);return(0,D.jsxs)(wK.B,{className:P,children:[(null==(t=null==i?void 0:i.selected)?void 0:t.length)>0?(0,D.jsx)(Ef.y,{className:P,type:d,placeholder:s,touched:O,valid:R,floatingLabel:c?f:void 0,label:c?void 0:f,description:m,required:l||L,currentValue:$(i.selected)??S(i.selected),..._(i.selected,{validate:e=>{if("email"===d&&e&&!j5.test(e))return"Please enter a valid email address";let t=j8(e,E,i.selected);if(t)return t},onChange:M,onBlur:M,...A}),...hl(o)}):null,(0,D.jsx)(S2,{valid:!1,children:g||(null==(r=x[i.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:v})]})};Ne.displayName="FormInputSB";let Nt=e=>{var t;let{blok:r}=e,{field_name:o,value:i}=r,{register:l,unregister:s,setValue:d}=S9();return(0,I.useEffect)(()=>(d(o.selected,i),()=>{s(o.selected)}),[i]),(0,D.jsx)(D.Fragment,{children:(null==(t=null==o?void 0:o.selected)?void 0:t.length)>0?(0,D.jsx)(Ef.y,{type:"hidden",hidden:!0,...l(o.selected,{value:i}),...hl(r)}):null})};Nt.displayName="FormHiddenInputSB";var Nn=r(83454);let Nr={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
43ys:[],default_value:{}},...CX,...CY,...CQ,...hD,...wG,...yD,...C0,...hO},Na={...Nr,item_basis:h_(Nr.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(Nr.item_flex,"default_value",{s:"auto"}),direction:h_(Nr.direction,"default_value",{s:"row"}),gap:h_(Nr.gap,"default_value",{s:"s"})};Nn.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([Nr.collapsible_size,Nr.collapsible_layout,Nr.collapsible_component,Nr.collapsible_appearance,Nr.collapsible_text,Nr.collapsible_effects,Nr.collapsible_code_overrides]),JSON.stringify(Nr.direction),JSON.stringify(Nr.gap),JSON.stringify(Nr.justify),JSON.stringify(Nr.align),JSON.stringify(Nr.wrap),JSON.stringify(Nr.item_flex),JSON.stringify(h_(Nr.item_basis,"default_value",{s:"0"}));var No=r(74128);let Ni=e=>{var t;let{blok:r}=e,{content:o,custom_classname:i,required:l,field_name:s,label:d,description:c,design:u,error_validation_message:p,success_validation_message:f,validation_rules:m,default_value:h}=r,[g]=(0,oQ.KO)(Eg),{setValue:v,formState:{errors:y,isSubmitted:b,dirtyFields:x},register:w,unregister:k,getValues:_}=S9(),C=j6(m);(0,I.useEffect)(()=>(s.selected&&w(s.selected,{value:h,validate:e=>j8(e,C,s.selected),required:l}),()=>{k(s.selected)}),[]);let $=(0,h5.mi)({design:u},Na),{flexClasses:S,basisClasses:E}=(0,wq.k)({flexProps:{flex:$.item_flex,basis:$.item_basis},type:"item"}),j=(0,F.cn)("sb-form-radio",[S].flat(),[E].flat(),i),{alignClasses:N,justifyClasses:T,directionClasses:P,wrapClasses:A,gapClasses:O}=$p({flexProps:{direction:null==$?void 0:$.direction,justify:null==$?void 0:$.justify,align:null==$?void 0:$.align,wrap:null==$?void 0:$.wrap,gap:null==$?void 0:$.gap},type:"group"}),R=(0,F.cn)("sb-form-radio-flex-container",[N,T,P,A,O].flat(),i),M=x[s.selected]||b,L=typeof y[s.selected]>"u",B=(0,j7.b3)(m);return s.selected?(0,D.jsxs)(wK.B,{className:j,children:[(0,D.jsx)(No.H,{onValueChange:e=>{v(s.selected,e,{shouldValidate:!0,shouldDirty:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:g,field_name:s.selected,value:e}})},touched:M,label:d,valid:L,required:l||B,description:c,value:_(s.selected),defaultValue:h,...hl(r),children:(0,D.jsx)(wW.k,{className:R,children:null==o?void 0:o.map(e=>(0,D.jsx)(hs,{blok:e,valid:M?L:void 0},e._uid))})}),(0,D.jsx)(S2,{valid:!1,children:p||(null==(t=y[s.selected])?void 0:t.message)}),(0,D.jsx)(S2,{valid:!0,children:f})]}):null};Ni.displayName="FormRadioSB";var Nl=r(83454);let Ns={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD},Nd={...Ns,item_flex:h_(Ns.item_flex,"default_value",{})},Nc={...Et,name:"sb-form-checkbox",display_name:"Form Checkbox",schema:{field_name:{type:"custom",field_type:"backpack-datasource-text-field",description:"Provide a name for the input. This will be used as the input's name attribute. Avoid using spaces and special characters.",options:[{name:"oauthToken",value:Nl.env.STORYBLOK_OAUTH_TOKEN||""}],default_value:{selected:null}},label:{type:"richtext",customize_toolbar:!0,translatable:!0,toolbar:["link",...hg],restrict_components:!0,component_whitelist:[]},description:{type:"text",translatable:!0},required:{type:"boolean",description:"DEPRECATED: please use 'validation_rules' instead"},custom_classname:{type:"text",description:"Add a custom global classname for styling in your project"},design:{type:"custom",field_type:"backpack-breakpoints-v2",options:[{name:"__collapsibles",value:JSON.stringify([Ns.collapsible_size,Ns.collapsible_layout,Ns.collapsible_component,Ns.collapsible_appearance,Ns.collapsible_text,Ns.collapsible_effects,Ns.collapsible_code_overrides])},{name:"item_flex",value:JSON.stringify(Nd.item_flex)},{name:"item_basis",value:JSON.stringify(Nd.item_basis)}]},...En,section_dev:{type:"section",display_name:"Developer",keys:["custom_classname"]},tab_content:{type:"tab",display_name:"Content",keys:["field_name","required","description","label","section_validation","section_legacy"]},tab_design:{type:"tab",display_name:"Design",keys:["design","section_dev"]}}},Nu={...Nd,...hD,item_flex:h_(Nd.item_flex,"default_value",{s:"auto"}),item_basis:h_(Nd.item_basis,"default_value",{s:{unit:"fra",value:"
430"}})};Nc.schema,JSON.stringify([Nd.collapsible_size,Nd.collapsible_layout,Nd.collapsible_component,Nd.collapsible_appearance,Nd.collapsible_text,Nd.collapsible_effects,Nd.collapsible_code_overrides]),JSON.stringify(Nu.item_flex),JSON.stringify(Nu.item_basis);var Np=r(77958),Nf=r(25099);let Nm=({value:e,zodSchema:t,fieldName:r,required:o})=>{let i=j8(e,t,r);return!0!==i?i:!o||!0===e||"This field is required"},Nh=({fieldName:e,getValues:t,setValue:r})=>{e&&void 0===t(e)&&r(e,!1,{shouldDirty:!1,shouldValidate:!1})},Ng=g6(()=>r.e(9148).then(r.bind(r,49148)),{resolveComponent:e=>e.Link}),Nv=(e,t)=>{let{href:r,linktype:o}=t;return(0,D.jsx)(Ng,{className:(0,F.cn)("ef-link"),href:hS({href:r,linktype:o}),target:"_blank",children:(0,D.jsx)(ga.u,{children:e})})},Ny=e=>(0,D.jsx)("span",{children:e}),Nb=e=>(0,D.jsx)("span",{className:"underline [.ef-link_&]:no-underline",children:e}),Nx=e=>{var t,r;let{blok:o}=e,{field_name:i,required:l,label:s,description:d,design:c,custom_classname:u,error_validation_message:p,success_validation_message:f,validation_rules:m}=o,[h]=(0,oQ.KO)(Eg),{formState:{errors:g,isSubmitted:v,dirtyFields:y},setValue:b,register:x,unregister:w,getValues:k}=S9(),_=j6(m,{type:"boolean"}),C=l||(0,j7.b3)(m);(0,I.useEffect)(()=>(Nh({fieldName:i.selected,getValues:k,setValue:b}),()=>{w(i.selected)}),[i.selected,k,b,w]);let $=(0,h5.mi)({design:c},Nd),{flexClasses:S,basisClasses:E}=(0,wq.k)({flexProps:{flex:$.item_flex,basis:$.item_basis},type:"item"}),j=(0,F.cn)("sb-form-checkbox",[S].flat(),[E].flat(),u),N=h2(s,{markResolvers:{[hJ]:Nv,[hG]:Nb},nodeResolvers:{[hz]:Ny}}),T=y[i.selected]||v,P=typeof g[i.selected]>"u";return(0,D.jsxs)(wK.B,{className:j,children:[(null==(t=null==i?void 0:i.selected)?void 0:t.length)>0?(0,D.jsx)(Nf.z,{className:j,id:i.selected,touched:T,valid:P,required:l||C,description:d,onCheckedChange:e=>{b(i.selected,e,{shouldDirty:!0,shouldValidate:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:h,field_name:i.selected,value:e}})},checked:k(i.selected),...x(i.selected,{validate:e=>Nm({value:e,zodSchema:_,fieldName:i.selected,required:C})}),...hl(o),children:N}):null,(0,D.jsx)(S2,{valid:!1,children:p||(null==(r=g[i.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:f})]})};Nx.displayName="FormCheckboxSB";var Nw=r(88151);let Nk=e=>{let{required:t,children:r,className:o,...i}=e,{required:l}=(0,oQ.Dv)(Nw._$),{className:s}=(0,oQ.Dv)(Nw._b),d=(0,F.cn)("ef-form-tile-label",s,o);return(0,D.jsxs)("label",{className:d,...i,children:[r,(l??t)&&(0,D.jsx)("abbr",{title:"required",children:" *"})]})};Nk.displayName="FormTileLabel";var N_=r(82696);let NC=e=>{let{children:t,className:r,...o}=e,{className:i}=(0,oQ.Dv)(Nw.MZ),l=(0,F.cn)("ef-form-tile-sub-label",i,r);return(0,D.jsx)("label",{className:l,...o,children:t})};NC.displayName="FormTileSubLabel";let N$=e=>{let{children:t,className:r,themeConfig:o,...i}=e,{className:l}=(0,oQ.Dv)(Nw.Si),s=(0,F.cn)("ef-form-tile-tag",l,r),d=o?(0,B.RH)(N_.u1,o):N_.u1;return(0,D.jsx)(aM,{className:s,...i,small:!0,filled:!0,themeConfig:d,children:t})};N$.displayName="FormTileTag";let NS=e=>{let{stack:t,centered:r,children:o,className:i,themeConfig:l,...s}=e,{stack:d}=(0,oQ.Dv)(Nw._$),{ImageSlot:c,IconWrapperSlot:u,FormTileTagSlot:p,FormTileLabelSlot:f,FormTileSubLabelSlot:m}=(0,ir.F)(o,{Image:iV,IconWrapper:aB.a,FormTileTag:N$,FormTileLabel:Nk,FormTileSubLabel:NC}),{root:h,content:g,tag:v,label:y,subLabel:b,imageContainer:x}=(0,B.tv)(l?(0,B.RH)(N_.Dq,l):N_.Dq)({stack:(d??t)||!!c,centered:r,hasImage:!!c}),w=(0,F.cn)("ef-form-tile-content",h(),i);return(0,D.jsxs)("div",{className:w,...s,children:[u,c?(0,D.jsx)("div",{className:(0,F.cn)(x()),children:c}):null,(0,D.jsx)("div",{className:(0,F.cn)(g()),children:(0,D.jsxs)(it.o,{atomValues:[[Nw.Si,{className:v()}],[Nw._b,{className:y()}],[Nw.MZ,{className:b()}]],children:[p,f,m]})})]})};NS.displayName="FormTileContent";let NE=e=>{var t,r;let{blok:o}=e,{field_name:i,required:l,label:s,description:d,design:c,error_validation_message:u,success_validation_message:p,custom_classname:f,validation_rules:m}=o,[h]=(0,oQ.KO)(Eg),{formState:{errors:g,isSubmitted:v,dirtyFields:y},setValue:b,register:x,unregister:w,getValues:k}=S9(),_=j6(m,{type:"boolean"}),C=l||(0,j7.b3)(m);(0,I.useEffect)(()=>(Nh({fieldName:i.selected,getValues:k,setValue:b}),()=>{w(i.selected)}),[i.selected,k,b,w]);let $=(0,h5.mi)({design:c}
43,Nu),{flexClasses:S,basisClasses:E}=(0,wq.k)({flexProps:{flex:$.item_flex,basis:$.item_basis},type:"item"}),j=(0,F.cn)("sb-form-checkbox-tile",[S].flat(),[E].flat(),f),N=h2(s,{markResolvers:{[hJ]:Nv,[hG]:Nb},nodeResolvers:{[hz]:Ny}}),T=y[i.selected]||v,P=typeof g[i.selected]>"u";return(0,D.jsxs)(wK.B,{className:j,children:[(null==(t=null==i?void 0:i.selected)?void 0:t.length)>0?(0,D.jsx)(Np.e,{touched:T,valid:P,required:l||C,description:d,onCheckedChange:e=>{b(i.selected,e,{shouldDirty:!0,shouldValidate:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:h,field_name:i.selected,value:e}})},checked:k(i.selected),...x(i.selected,{validate:e=>Nm({value:e,zodSchema:_,fieldName:i.selected,required:C})}),...hl(o),children:(0,D.jsx)(NS,{children:(0,D.jsx)(Nk,{children:N})})}):null,(0,D.jsx)(S2,{valid:!1,children:u||(null==(r=g[i.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:p})]})};NE.displayName="FormCheckboxTileSB";var Nj=r(83454);let NN={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD,...hO},NT={...NN,item_basis:h_(NN.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(NN.item_flex,"default_value",{s:"auto"})};Nj.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([NN.collapsible_size,NN.collapsible_layout,NN.collapsible_component,NN.collapsible_appearance,NN.collapsible_text,NN.collapsible_effects,NN.collapsible_code_overrides]),JSON.stringify(NT.item_flex),JSON.stringify(NT.item_basis);var NP=r(96655),NA=r(47566);let NO=(0,B.c6)({slots:{root:"relative flex h-[56px] w-full min-w-0 flex-1 select-none items-center justify-between gap-xs p-s focus-visible:border-system-stroke-focus-default focus-visible:bg-system-surface-selected-weak focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-system-stroke-focus-default data-[state=open]:border-system-stroke-default data-[state=open]:focus-visible:border-system-stroke-focus-default can-hover:hover:focus-visible:border-system-stroke-focus-default can-hover:hover:data-[state=open]:border-system-stroke-default can-hover:hover:data-[state=open]:focus-visible:border-system-stroke-focus-default forced-colors:focus-visible:[outline:auto]",selectValue:"block min-w-0 max-w-full flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-start",selectPlaceholder:"whitespace-nowrap",panel:"group z-[9999] my-2 max-h-[--radix-select-content-available-height] w-[--radix-popper-anchor-width] overflow-hidden rounded-sm bg-system-surface-default text-system-text-default shadow-dark-m-15 animate-in animate-from-opacity-0 animate-from-top-xs animation-duration-system-medium animation-ease-system-easing-expressive [&.mono]:border [&.mono]:border-system-stroke-mono [&.mono]:shadow-none",viewport:"p-2",scrollButton:"flex w-full items-center justify-center border-system-stroke-default p-xs",buttonUp:"border-b",buttonDown:"border-t",selectChevron:"relative flex-shrink-0"},variants:{hasFloatingLabel:{true:{root:"pb-xs pt-m",selectChevron:"-inset-y-2"}},loading:{true:{root:"text-system-text-weak"}},textOverflow:{ellipsisStart:{selectValue:"[direction:rtl]"},ellipsisEnd:{selectValue:""}}}}),NR=(0,B.c6)({slots:{root:"flex max-w-full items-center justify-between gap-2 rounded-xs p-2 outline-none hover:bg-system-surface-hover data-[disabled]:text-system-text-disabled-default data-[disabled]:hover:cursor-not-allowed data-[disabled]:hover:bg-transparent [&:focus-visible:not(:hover)]:shadow-[inset_0_0_0_2px_var(--color-system-stroke-selected-default)] [.dark_&:focus-visible:not(:hover)]:shadow-[inset_0_0_0_2px_var(--color-system-stroke-focus-effect-inner),inset_0_0_0_4px_var(--color-system-stroke-focus-effect-outer)] [.mono-dark_&:focus-visible:not(:hover)]:shadow-[inset_0_0_0_2px_var(--color-system-stroke-focus-effect-inner),inset_0_0_0_4px_var(--color-system-stroke-focus-effect-outer)] [.mono_&:focus-visible:not(:hover)]:shadow-[inset_0_0_0_2px_var(--color-system-stroke-focus-effect-inner),inset_0_0_0_4px_var(--color-system-stroke-focus-effect-outer)]",content:"min-w-0 max-w-full flex-1 cursor-default overflow-hidden text-ellipsis whitespace-nowrap text-start group-data-[text-overflow=ellipsisStart]:text-end group-data-[text-overflow=ellipsisStart]:[direction:rtl]",checkIcon:"text-system-stroke-selected-default"}});function ND(e,[t,r]){return Math.min(r,Math.max(t,e))}function NM(e,t,{checkForDefaultPrevented:r=!0}={}
43){return function(o){if(null==e||e(o),!1===r||!o.defaultPrevented)return null==t?void 0:t(o)}}function NL(...e){return I.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}(0,B.c6)({slots:{root:"px-2 py-1 text-start text-system-text-weak text-ui-label-small"}}),(0,B.c6)({slots:{root:"mx-2 mt-2 border-t border-system-stroke-default"}});var NI=I.createContext(void 0),NF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function NB(e){let t=I.useRef(e);return I.useEffect(()=>{t.current=e}),I.useMemo(()=>(...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[])}function NV(e,t=null==globalThis?void 0:globalThis.document){let r=NB(e);I.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}var Nz,NH,NU,NZ,NW,NK,Nq,NG,NJ,NY,NX,NQ,N0,N1,N2,N3,N4,N6="dismissableLayer.update",N8=I.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),N9=I.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:d,...c}=e,u=I.useContext(N8),[p,f]=I.useState(null),m=(null==p?void 0:p.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,h]=I.useState({}),g=NL(t,e=>f(e)),v=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),x=p?v.indexOf(p):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=x>=b,_=function(e,t=null==globalThis?void 0:globalThis.document){let r=NB(e),o=I.useRef(!1),i=I.useRef(()=>{});return I.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let o=function(){N7("dismissableLayer.pointerDownOutside",r,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...u.branches].some(e=>e.contains(t));!k||r||(null==i||i(e),null==s||s(e),e.defaultPrevented||null==d||d())},m),C=function(e,t=null==globalThis?void 0:globalThis.document){let r=NB(e),o=I.useRef(!1);return I.useEffect(()=>{let e=e=>{e.target&&!o.current&&N7("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...u.branches].some(e=>e.contains(t))||(null==l||l(e),null==s||s(e),e.defaultPrevented||null==d||d())},m);return NV(e=>{x===u.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},m),I.useEffect(()=>{if(p)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(N4=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),N5(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=N4)}},[p,m,r,u]),I.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),N5())},[p,u]),I.useEffect(()=>{let e=()=>h({});return document.addEventListener(N6,e),()=>document.removeEventListener(N6,e)},[]),(0,D.jsx)(NF.div,{...c,ref:g,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:NM(e.onFocusCapture,C.onFocusCapture),onBlurCapture:NM(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:NM(e.onPointerDownCapture,_.onPointerDownCapture)})});function N5(){let e=new CustomEvent(N6);document.dispatchEvent(e)}function N7(e,t,r,{discrete:o}){let i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}
43),o?i&&eD.flushSync(()=>i.dispatchEvent(l)):i.dispatchEvent(l)}N9.displayName="DismissableLayer",I.forwardRef((e,t)=>{let r=I.useContext(N8),o=I.useRef(null),i=NL(t,o);return I.useEffect(()=>{let e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,D.jsx)(NF.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var Te=0;function Tt(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Tn="focusScope.autoFocusOnMount",Tr="focusScope.autoFocusOnUnmount",Ta={bubbles:!1,cancelable:!0},To=I.forwardRef((e,t)=>{let{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...s}=e,[d,c]=I.useState(null),u=NB(i),p=NB(l),f=I.useRef(null),m=NL(t,e=>c(e)),h=I.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;I.useEffect(()=>{if(o){let e=function(e){if(h.paused||!d)return;let t=e.target;d.contains(t)?f.current=t:Ts(f.current,{select:!0})},t=function(e){if(h.paused||!d)return;let t=e.relatedTarget;null!==t&&(d.contains(t)||Ts(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&Ts(d)});return d&&r.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,d,h.paused]),I.useEffect(()=>{if(d){Td.add(h);let e=document.activeElement;if(!d.contains(e)){let t=new CustomEvent(Tn,Ta);d.addEventListener(Tn,u),d.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let o of e)if(Ts(o,{select:t}),document.activeElement!==r)return}(Ti(d).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&Ts(d))}return()=>{d.removeEventListener(Tn,u),setTimeout(()=>{let t=new CustomEvent(Tr,Ta);d.addEventListener(Tr,p),d.dispatchEvent(t),t.defaultPrevented||Ts(e??document.body,{select:!0}),d.removeEventListener(Tr,p),Td.remove(h)},0)}}},[d,u,p,h]);let g=I.useCallback(e=>{if(!r&&!o||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[o,l]=function(e){let t=Ti(e);return[Tl(t,e),Tl(t.reverse(),e)]}(t);o&&l?e.shiftKey||i!==l?e.shiftKey&&i===o&&(e.preventDefault(),r&&Ts(l,{select:!0})):(e.preventDefault(),r&&Ts(o,{select:!0})):i===t&&e.preventDefault()}},[r,o,h.paused]);return(0,D.jsx)(NF.div,{tabIndex:-1,...s,ref:m,onKeyDown:g})});function Ti(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Tl(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function Ts(e,{select:t=!1}={}){if(e&&e.focus){var r;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}To.displayName="FocusScope";var Td=(x=[],{add(e){let t=x[0];e!==t&&(null==t||t.pause()),(x=Tc(x,e)).unshift(e)},remove(e){var t;null==(t=(x=Tc(x,e))[0])||t.resume()}});function Tc(e,t){let r=[...e],o=r.indexOf(t);return -1!==o&&r.splice(o,1),r}var Tu=null!=globalThis&&globalThis.document?I.useLayoutEffect:()=>{},Tp=I.useId||(()=>{}),Tf=0;function Tm(e){let[t,r]=I.useState(Tp());return Tu(()=>{r(e=>e??String(Tf++))},[e]),e||(t?`radix-${t}`:"")}let Th=["top","right","bottom","left"],Tg=Math.min,Tv=Math.max,Ty=Math.round,Tb=Math.floor,Tx=e=>({x:e,y:e}),Tw={left:"right",right:"left",bottom:"top",top:"bottom"},Tk={start:"end",end:"start"};function T_(e,t){return"function"==typeof e?e(t):e}function TC(e){return e.split("-")[0]}function T$(e){return e.split("-")[1]}function TS(e){return"x"===e?"y":"x"}function TE(e){return"y"===e?"height":"width"}function Tj(e){return["top","bottom"].includes(TC(e))?"y":"x"}function TN(e){return e.replace(/start|end/g,e=>Tk[e])}function TT(e){return e.replace(/left|right|bottom|top/g,e=>Tw[e])}function TP(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}
43function TA(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function TO(e,t,r){let o,{reference:i,floating:l}=e,s=Tj(t),d=TS(Tj(t)),c=TE(d),u=TC(t),p="y"===s,f=i.x+i.width/2-l.width/2,m=i.y+i.height/2-l.height/2,h=i[c]/2-l[c]/2;switch(u){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:m};break;case"left":o={x:i.x-l.width,y:m};break;default:o={x:i.x,y:i.y}}switch(T$(t)){case"start":o[d]-=h*(r&&p?-1:1);break;case"end":o[d]+=h*(r&&p?-1:1)}return o}let TR=async(e,t,r)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:s}=r,d=l.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:f}=TO(u,o,c),m=o,h={},g=0;for(let r=0;r<d.length;r++){let{name:l,fn:v}=d[r],{x:y,y:b,data:x,reset:w}=await v({x:p,y:f,initialPlacement:o,placement:m,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});if(p=y??p,f=b??f,h={...h,[l]:{...h[l],...x}},w&&g<=50){g++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:p,y:f}=TO(u,m,c)),r=-1;continue}}return{x:p,y:f,placement:m,strategy:i,middlewareData:h}};async function TD(e,t){var r;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:s,elements:d,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=T_(t,e),g=TP(h),v=d[m?"floating"===f?"reference":"floating":f],y=TA(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(v)))||r?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(d.floating)),boundary:u,rootBoundary:p,strategy:c})),b="floating"===f?{...s.floating,x:o,y:i}:s.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d.floating)),w=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},k=TA(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:x,strategy:c}):b);return{top:(y.top-k.top+g.top)/w.y,bottom:(k.bottom-y.bottom+g.bottom)/w.y,left:(y.left-k.left+g.left)/w.x,right:(k.right-y.right+g.right)/w.x}}let TM=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:i,rects:l,platform:s,elements:d}=t,{element:c,padding:u=0}=T_(e,t)||{};if(null==c)return{};let p=TP(u),f={x:r,y:o},m=TS(Tj(i)),h=TE(m),g=await s.getDimensions(c),v="y"===m,y=v?"clientHeight":"clientWidth",b=l.reference[h]+l.reference[m]-f[m]-l.floating[h],x=f[m]-l.reference[m],w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),k=w?w[y]:0;k&&await (null==s.isElement?void 0:s.isElement(w))||(k=d.floating[y]||l.floating[h]);let _=k/2-g[h]/2-1,C=Tg(p[v?"top":"left"],_),$=Tg(p[v?"bottom":"right"],_),S=k-g[h]-$,E=k/2-g[h]/2+(b/2-x/2),j=Tv(C,Tg(E,S)),N=null!=T$(i)&&E!=j&&l.reference[h]/2-(E<C?C:$)-g[h]/2<0?E<C?C-E:S-E:0;return{[m]:f[m]-N,data:{[m]:j,centerOffset:E-j+N}}}});function TL(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function TI(e){return Th.some(t=>e[t]>=0)}async function TF(e,t){let{placement:r,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=TC(r),d=T$(r),c="y"===Tj(r),u=["left","top"].includes(s)?-1:1,p=l&&c?-1:1,f=T_(t,e),{mainAxis:m,crossAxis:h,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return d&&"number"==typeof g&&(h="end"===d?-1*g:g),c?{x:h*p,y:m*u}:{x:m*u,y:h*p}}function TB(e){return TH(e)?(e.nodeName||"").toLowerCase():"#document"}function TV(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Tz(e){var t;return null==(t=(TH(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function TH(e){return e instanceof Node||e instanceof TV(e).Node}function TU(e){return e instanceof Element||e instanceof TV(e).Element}function TZ(e){return e instanceof HTMLElement||e instanceof TV(e).HTMLElement}function TW(e){return!(typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof TV(e).ShadowRoot)}function TK(e){let{overflow:t,overflowX:r,overflowY:o,display:i}=TY(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(i)}function Tq(e){let t=TG(),r=TY(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function TG(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function TJ(e){return["html","body","#document"].includes(TB(e))}function TY(e){return TV(e).getComputedStyle(e)}function TX(e){return TU(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function TQ(e){if("html"===TB(e))return e;let t=e.assignedSlot||e.parentNode||TW(e)&&e.host||Tz(e);return TW(t)?t.host:t}function T0(e,t){var r;void 0===t&&(t=[]);let o=function e(t){let r=TQ(t);return TJ(r)?t.ownerDocument?t.ownerDocument.body:t.body:TZ(r)&&TK(r)?r:e(r)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=TV(o);
43return i?t.concat(l,l.visualViewport||[],TK(o)?o:[]):t.concat(o,T0(o))}function T1(e){let t=TY(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=TZ(e),l=i?e.offsetWidth:r,s=i?e.offsetHeight:o,d=Ty(r)!==l||Ty(o)!==s;return d&&(r=l,o=s),{width:r,height:o,$:d}}function T2(e){return TU(e)?e:e.contextElement}function T3(e){let t=T2(e);if(!TZ(t))return Tx(1);let r=t.getBoundingClientRect(),{width:o,height:i,$:l}=T1(t),s=(l?Ty(r.width):r.width)/o,d=(l?Ty(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),d&&Number.isFinite(d)||(d=1),{x:s,y:d}}let T4=Tx(0);function T6(e){let t=TV(e);return TG()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:T4}function T8(e,t,r,o){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),s=T2(e),d=Tx(1);t&&(o?TU(o)&&(d=T3(o)):d=T3(e));let c=(void 0===(i=r)&&(i=!1),o&&(!i||o===TV(s))&&i)?T6(s):Tx(0),u=(l.left+c.x)/d.x,p=(l.top+c.y)/d.y,f=l.width/d.x,m=l.height/d.y;if(s){let e=TV(s),t=o&&TU(o)?TV(o):o,r=e.frameElement;for(;r&&o&&t!==e;){let e=T3(r),t=r.getBoundingClientRect(),o=TY(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,p*=e.y,f*=e.x,m*=e.y,u+=i,p+=l,r=TV(r).frameElement}}return TA({width:f,height:m,x:u,y:p})}function T9(e){return T8(Tz(e)).left+TX(e).scrollLeft}function T5(e,t,r){let o;if("viewport"===t)o=function(e,t){let r=TV(e),o=Tz(e),i=r.visualViewport,l=o.clientWidth,s=o.clientHeight,d=0,c=0;if(i){l=i.width,s=i.height;let e=TG();(!e||e&&"fixed"===t)&&(d=i.offsetLeft,c=i.offsetTop)}return{width:l,height:s,x:d,y:c}}(e,r);else if("document"===t)o=function(e){let t=Tz(e),r=TX(e),o=e.ownerDocument.body,i=Tv(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=Tv(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+T9(e),d=-r.scrollTop;return"rtl"===TY(o).direction&&(s+=Tv(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:s,y:d}}(Tz(e));else if(TU(t))o=function(e,t){let r=T8(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,l=TZ(e)?T3(e):Tx(1),s=e.clientWidth*l.x;return{width:s,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,r);else{let r=T6(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return TA(o)}function T7(e,t){return TZ(e)&&"fixed"!==TY(e).position?t?t(e):e.offsetParent:null}function Pe(e,t){let r=TV(e);if(!TZ(e))return r;let o=T7(e,t);for(;o&&["table","td","th"].includes(TB(o))&&"static"===TY(o).position;)o=T7(o,t);return o&&("html"===TB(o)||"body"===TB(o)&&"static"===TY(o).position&&!Tq(o))?r:o||function(e){let t=TQ(e);for(;TZ(t)&&!TJ(t);){if(Tq(t))return t;t=TQ(t)}return null}(e)||r}let Pt=async function(e){let{reference:t,floating:r,strategy:o}=e,i=this.getOffsetParent||Pe,l=this.getDimensions;return{reference:function(e,t,r){let o=TZ(t),i=Tz(t),l="fixed"===r,s=T8(e,!0,l,t),d={scrollLeft:0,scrollTop:0},c=Tx(0);if(o||!o&&!l){if(("body"!==TB(t)||TK(i))&&(d=TX(t)),o){let e=T8(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=T9(i))}return{x:s.left+d.scrollLeft-c.x,y:s.top+d.scrollTop-c.y,width:s.width,height:s.height}}(t,await i(r),o),floating:{x:0,y:0,...await l(r)}}},Pn={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:o}=e,i=TZ(r),l=Tz(r);if(r===l)return t;let s={scrollLeft:0,scrollTop:0},d=Tx(1),c=Tx(0);if((i||!i&&"fixed"!==o)&&(("body"!==TB(r)||TK(l))&&(s=TX(r)),TZ(r))){let e=T8(r);d=T3(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-s.scrollLeft*d.x+c.x,y:t.y*d.y-s.scrollTop*d.y+c.y}},getDocumentElement:Tz,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===r?function(e,t){let r=t.get(e);if(r)return r;let o=T0(e).filter(e=>TU(e)&&"body"!==TB(e)),i=null,l="fixed"===TY(e).position,s=l?TQ(e):e;for(;TU(s)&&!TJ(s);){let t=TY(s),r=Tq(s);r||"fixed"!==t.position||(i=null),(l?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||TK(s)&&!r&&function e(t,r){let o=TQ(t);return!(o===r||!TU(o)||TJ(o))&&("fixed"===TY(o).position||e(o,r))}(e,s))?o=o.filter(e=>e!==s):i=t,s=TQ(s)}return t.set(e,o),o}(t,this._c):[].concat(r),o],s=l[0],d=l.reduce((e,r)=>{let o=T5(t,r,i);return e.top=Tv(o.top,e.top),e.right=Tg(o.right,e.right),e.bottom=Tg(o.bottom,e.bottom),e.left=Tv(o.left,e.left),e},T5(t,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},getOffsetParent:Pe,getElementRects:Pt,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return T1(e)},getScale:T3,isElement:TU,isRTL:function(e){return"rtl"===TY(e).direction}},Pr=(e,t,r)=>{let o=new Map,i={platform:Pn,...r},l={...i.platform,_c:o};return TR(e,t,{...i,platform:l})},Pa=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:o}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?TM({element:r.current,padding:o}).fn(t):{}:r?TM({element:r,padding:o}).fn(t):{}}});var Po="u">typeof document?I.useLayoutEffect:I.useEffect;function Pi(e,t){let r,o,i;if(e===t)return!0;
43if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(o=r;0!=o--;)if(!Pi(e[o],t[o]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=r;0!=o--;)if(!({}).hasOwnProperty.call(t,i[o]))return!1;for(o=r;0!=o--;){let r=i[o];if(!("_owner"===r&&e.$$typeof)&&!Pi(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Pl(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ps(e,t){let r=Pl(e);return Math.round(t*r)/r}function Pd(e){let t=I.useRef(e);return Po(()=>{t.current=e}),t}var Pc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Pu=I.forwardRef((e,t)=>{let{children:r,width:o=10,height:i=5,...l}=e;return(0,D.jsx)(Pc.svg,{...l,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,D.jsx)("polygon",{points:"0,0 30,0 15,10"})})});function Pp(...e){return I.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}Pu.displayName="Arrow";var Pf=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Pm="Popper",[Ph,Pg]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>I.createContext(e));return function(r){let o=(null==r?void 0:r[e])||t;return I.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let i=I.createContext(o),l=r.length;function s(t){let{scope:r,children:o,...s}=t,d=(null==r?void 0:r[e][l])||i,c=I.useMemo(()=>s,Object.values(s));return(0,D.jsx)(d.Provider,{value:c,children:o})}return r=[...r,o],s.displayName=t+"Provider",[s,function(r,s){let d=(null==s?void 0:s[e][l])||i,c=I.useContext(d);if(c)return c;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return I.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}(Pm),[Pv,Py]=Ph(Pm),Pb=e=>{let{__scopePopper:t,children:r}=e,[o,i]=I.useState(null);return(0,D.jsx)(Pv,{scope:t,anchor:o,onAnchorChange:i,children:r})};Pb.displayName=Pm;var Px="PopperAnchor",Pw=I.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,l=Py(Px,r),s=I.useRef(null),d=Pp(t,s);return I.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||s.current)}),o?null:(0,D.jsx)(Pf.div,{...i,ref:d})});Pw.displayName=Px;var Pk="PopperContent",[P_,PC]=Ph(Pk),P$=I.forwardRef((e,t)=>{var r,o,i,l,s,d,c,u,p,f,m,h;let{__scopePopper:g,side:v="bottom",sideOffset:y=0,align:b="center",alignOffset:x=0,arrowPadding:w=0,avoidCollisions:k=!0,collisionBoundary:_=[],collisionPadding:C=0,sticky:$="partial",hideWhenDetached:S=!1,updatePositionStrategy:E="optimized",onPlaced:j,...N}=e,T=Py(Pk,g),[P,A]=I.useState(null),O=Pp(t,e=>A(e)),[R,M]=I.useState(null),L=function(e){let[t,r]=I.useState(void 0);return Tu(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let o,i;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;r({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(R),F=(null==L?void 0:L.width)??0,B=(null==L?void 0:L.height)??0,V="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},z=Array.isArray(_)?_:[_],H=z.length>0,U={padding:V,boundary:z.filter(PN),altBoundary:H},{refs:Z,floatingStyles:W,placement:K,isPositioned:q,middlewareData:G}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:s}={},transform:d=!0,whileElementsMounted:c,open:u}
43=e,[p,f]=I.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=I.useState(o);Pi(m,o)||h(o);let[g,v]=I.useState(null),[y,b]=I.useState(null),x=I.useCallback(e=>{e!=C.current&&(C.current=e,v(e))},[v]),w=I.useCallback(e=>{e!==$.current&&($.current=e,b(e))},[b]),k=l||g,_=s||y,C=I.useRef(null),$=I.useRef(null),S=I.useRef(p),E=Pd(c),j=Pd(i),N=I.useCallback(()=>{if(!C.current||!$.current)return;let e={placement:t,strategy:r,middleware:m};j.current&&(e.platform=j.current),Pr(C.current,$.current,e).then(e=>{let t={...e,isPositioned:!0};T.current&&!Pi(S.current,t)&&(S.current=t,eD.flushSync(()=>{f(t)}))})},[m,t,r,j]);Po(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let T=I.useRef(!1);Po(()=>(T.current=!0,()=>{T.current=!1}),[]),Po(()=>{if(k&&(C.current=k),_&&($.current=_),k&&_){if(E.current)return E.current(k,_,N);N()}},[k,_,N,E]);let P=I.useMemo(()=>({reference:C,floating:$,setReference:x,setFloating:w}),[x,w]),A=I.useMemo(()=>({reference:k,floating:_}),[k,_]),O=I.useMemo(()=>{let e={position:r,left:0,top:0};if(!A.floating)return e;let t=Ps(A.floating,p.x),o=Ps(A.floating,p.y);return d?{...e,transform:"translate("+t+"px, "+o+"px)",...Pl(A.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:o}},[r,d,A.floating,p.x,p.y]);return I.useMemo(()=>({...p,update:N,refs:P,elements:A,floatingStyles:O}),[p,N,P,A,O])}({strategy:"fixed",placement:v+("center"!==b?"-"+b:""),whileElementsMounted:(...e)=>(function(e,t,r,o){void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,u=T2(e),p=i||l?[...u?T0(u):[],...T0(t)]:[];p.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),l&&e.addEventListener("resize",r)});let f=u&&d?function(e,t){let r=null,o,i=Tz(e);function l(){clearTimeout(o),r&&r.disconnect(),r=null}return function s(d,c){void 0===d&&(d=!1),void 0===c&&(c=1),l();let{left:u,top:p,width:f,height:m}=e.getBoundingClientRect();if(d||t(),!f||!m)return;let h=Tb(p),g={rootMargin:-h+"px "+-Tb(i.clientWidth-(u+f))+"px "+-Tb(i.clientHeight-(p+m))+"px "+-Tb(u)+"px",threshold:Tv(0,Tg(1,c))||1},v=!0;function y(e){let t=e[0].intersectionRatio;if(t!==c){if(!v)return s();t?s(!1,t):o=setTimeout(()=>{s(!1,1e-7)},100)}v=!1}try{r=new IntersectionObserver(y,{...g,root:i.ownerDocument})}catch{r=new IntersectionObserver(y,g)}r.observe(e)}(!0),l}(u,r):null,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[o]=e;o&&o.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{h&&h.observe(t)})),r()}),u&&!c&&h.observe(u),h.observe(t));let g,v=c?T8(e):null;return c&&function t(){let o=T8(e);v&&(o.x!==v.x||o.y!==v.y||o.width!==v.width||o.height!==v.height)&&r(),v=o,g=requestAnimationFrame(t)}(),r(),()=>{p.forEach(e=>{i&&e.removeEventListener("scroll",r),l&&e.removeEventListener("resize",r)}),f&&f(),h&&h.disconnect(),h=null,c&&cancelAnimationFrame(g)}})(...e,{animationFrame:"always"===E}),elements:{reference:T.anchor},middleware:[{name:"offset",options:c={mainAxis:y+B,alignmentAxis:x},async fn(e){let{x:t,y:r}=e,o=await TF(e,c);return{x:t+o.x,y:r+o.y,data:o}}},k&&{name:"shift",options:p={mainAxis:!0,crossAxis:!1,limiter:"partial"===$?(void 0===u&&(u={}),{options:u,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:s=0,mainAxis:d=!0,crossAxis:c=!0}=T_(u,e),p={x:t,y:r},f=Tj(o),m=TS(f),h=p[m],g=p[f],v=T_(s,e),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(d){let e="y"===m?"height":"width",t=i.reference[m]-i.floating[e]+y.mainAxis,r=i.reference[m]+i.reference[e]-y.mainAxis;h<t?h=t:h>r&&(h=r)}if(c){var b,x;let e="y"===m?"width":"height",t=["top","left"].includes(TC(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(b=l.offset)?void 0:b[f])||0)+(t?0:y.crossAxis),s=i.reference[f]+i.reference[e]+(t?0:(null==(x=l.offset)?void 0:x[f])||0)-(t?y.crossAxis:0);g<r?g=r:g>s&&(g=s)}return{[m]:h,[f]:g}}}):void 0,...U},async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...d}=T_(p,e),c={x:t,y:r},u=await TD(e,d),f=Tj(TC(o)),m=TS(f),h=c[m],g=c[f];if(i){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=h+u[e],o=h-u[t];h=Tv(r,Tg(h,o))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+u[e],o=g-u[t];g=Tv(r,Tg(g,o))}let v=s.fn({...e,[m]:h,[f]:g});return{...v,data:{x:v.x-t,y:v.y-r}}}},k&&{name:"flip",options:f={...U},async fn(e){var t,r,o,i;let{placement:l,middlewareData:s,rects:d,initialPlacement:c,platform:u,elements:p}=e,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...x}=T_(f,e),w=TC(l),k=TC(c)===c,_=await (null==u.isRTL?void 0:u.isRTL(p.floating)),C=g||(k||!b?[TT(c)]:function(e){let t=TT(e);return[TN(e),t,TN(t)]}(c));g||"none"===y||C.push(...function(e,t,r,o){let i=T$(e),l=function(e,t,r){let o=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":return r?t?i:o:t?o:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(TC(e),"start"===r,o);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(TN)))),l}(c,b,y,_));let $=[c,...C],S=await TD(e,x),E=[],j=(null==(t=s.flip)?void 0:t.overflows)||[];if(m&&E.push(S[w]),h){let e=function(e,t,r){void 0===r&&(r=!1);let o=T$(e),i=TS(Tj(e)),l=TE(i),s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=TT(s)),[s,TT(s)]}(l,d,_);E.push(S[e[0]],S[e[1]])}if(j=[...j,{placement:l,overflows:E}],!E.every(e=>e<=0)){let e=((null==(r=s.flip)?void 0:r.index)||0)+1,t=$[e];if(t)return{data:{index:e,overflows:j},reset:{placement:t}};let d=null==(o=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>
43e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!d)switch(v){case"bestFit":{let e=null==(i=j.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(d=e);break}case"initialPlacement":d=c}if(l!==d)return{reset:{placement:d}}}return{}}},{name:"size",options:m={...U,apply:({elements:e,rects:t,availableWidth:r,availableHeight:o})=>{let{width:i,height:l}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${o}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${l}px`)}},async fn(e){let t,r;let{placement:o,rects:i,platform:l,elements:s}=e,{apply:d=()=>{},...c}=T_(m,e),u=await TD(e,c),p=TC(o),f=T$(o),h="y"===Tj(o),{width:g,height:v}=i.floating;"top"===p||"bottom"===p?(t=p,r=f===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(r=p,t="end"===f?"top":"bottom");let y=v-u[t],b=g-u[r],x=!e.middlewareData.shift,w=y,k=b;if(h){let e=g-u.left-u.right;k=f||x?Tg(b,e):e}else{let e=v-u.top-u.bottom;w=f||x?Tg(y,e):e}if(x&&!f){let e=Tv(u.left,0),t=Tv(u.right,0),r=Tv(u.top,0),o=Tv(u.bottom,0);h?k=g-2*(0!==e||0!==t?e+t:Tv(u.left,u.right)):w=v-2*(0!==r||0!==o?r+o:Tv(u.top,u.bottom))}await d({...e,availableWidth:k,availableHeight:w});let _=await l.getDimensions(s.floating);return g!==_.width||v!==_.height?{reset:{rects:!0}}:{}}},R&&Pa({element:R,padding:w}),PT({arrowWidth:F,arrowHeight:B}),S&&{name:"hide",options:h={strategy:"referenceHidden",...U},async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=T_(h,e);switch(r){case"referenceHidden":{let r=TL(await TD(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:TI(r)}}}case"escaped":{let r=TL(await TD(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:TI(r)}}}default:return{}}}}]}),[J,Y]=PP(K),X=NB(j);Tu(()=>{q&&(null==X||X())},[q,X]);let Q=null==(r=G.arrow)?void 0:r.x,ee=null==(o=G.arrow)?void 0:o.y,et=(null==(i=G.arrow)?void 0:i.centerOffset)!==0,[en,er]=I.useState();return Tu(()=>{P&&er(window.getComputedStyle(P).zIndex)},[P]),(0,D.jsx)("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:q?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[null==(l=G.transformOrigin)?void 0:l.x,null==(s=G.transformOrigin)?void 0:s.y].join(" "),...(null==(d=G.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,D.jsx)(P_,{scope:g,placedSide:J,onArrowChange:M,arrowX:Q,arrowY:ee,shouldHideArrow:et,children:(0,D.jsx)(Pf.div,{"data-side":J,"data-align":Y,...N,ref:O,style:{...N.style,animation:q?void 0:"none"}})})})});P$.displayName=Pk;var PS="PopperArrow",PE={top:"bottom",right:"left",bottom:"top",left:"right"},Pj=I.forwardRef(function(e,t){let{__scopePopper:r,...o}=e,i=PC(PS,r),l=PE[i.placedSide];return(0,D.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,D.jsx)(Pu,{...o,ref:t,style:{...o.style,display:"block"}})})});function PN(e){return null!==e}Pj.displayName=PS;var PT=e=>({name:"transformOrigin",options:e,fn(t){var r,o,i;let{placement:l,rects:s,middlewareData:d}=t,c=(null==(r=d.arrow)?void 0:r.centerOffset)!==0,u=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,m]=PP(l),h={start:"0%",center:"50%",end:"100%"}[m],g=((null==(o=d.arrow)?void 0:o.x)??0)+u/2,v=((null==(i=d.arrow)?void 0:i.y)??0)+p/2,y="",b="";return"bottom"===f?(y=c?h:`${g}px`,b=`${-p}px`):"top"===f?(y=c?h:`${g}px`,b=`${s.floating.height+p}px`):"right"===f?(y=`${-p}px`,b=c?h:`${v}px`):"left"===f&&(y=`${s.floating.width+p}px`,b=c?h:`${v}px`),{data:{x:y,y:b}}}});function PP(e){let[t,r="center"]=e.split("-");return[t,r]}var PA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
43{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),PO=I.forwardRef((e,t)=>{var r;let{container:o,...i}=e,[l,s]=I.useState(!1);Tu(()=>s(!0),[]);let d=o||l&&(null==(r=null==globalThis?void 0:globalThis.document)?void 0:r.body);return d?eD.createPortal((0,D.jsx)(PA.div,{...i,ref:t}),d):null});function PR({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let r=I.useState(e),[o]=r,i=I.useRef(o),l=NB(t);return I.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),r}({defaultProp:t,onChange:r}),l=void 0!==e,s=l?e:o,d=NB(r);return[s,I.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&d(r)}else i(t)},[l,e,i,d])]}PO.displayName="Portal";var PD=I.forwardRef((e,t)=>(0,D.jsx)(NF.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));PD.displayName="VisuallyHidden";var PM=r(19090),PL=r(14407),PI=(0,r(46579)._)(),PF=r(44410),PB=function(){},PV=I.forwardRef(function(e,t){var r=I.useRef(null),o=I.useState({onScrollCapture:PB,onWheelCapture:PB,onTouchMoveCapture:PB}),i=o[0],l=o[1],s=e.forwardProps,d=e.children,c=e.className,u=e.removeScrollBar,p=e.enabled,f=e.shards,m=e.sideCar,h=e.noIsolation,g=e.inert,v=e.allowPinchZoom,y=e.as,b=e.gapMode,x=(0,go._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=(0,PF.q)([r,t]),k=(0,go.pi)((0,go.pi)({},x),i);return I.createElement(I.Fragment,null,p&&I.createElement(m,{sideCar:PI,removeScrollBar:u,shards:f,noIsolation:h,inert:g,setCallbacks:l,allowPinchZoom:!!v,lockRef:r,gapMode:b}),s?I.cloneElement(I.Children.only(d),(0,go.pi)((0,go.pi)({},k),{ref:w})):I.createElement(void 0===y?"div":y,(0,go.pi)({},k,{className:c,ref:w}),d))});PV.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},PV.classNames={fullWidth:PL.zi,zeroRight:PL.pF};var Pz=r(74689),PH=r(91780),PU=!1;if("u">typeof window)try{var PZ=Object.defineProperty({},"passive",{get:function(){return PU=!0,!0}});window.addEventListener("test",PZ,PZ),window.removeEventListener("test",PZ,PZ)}catch{PU=!1}var PW=!!PU&&{passive:!1},PK=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},Pq=function(e,t){var r=t.ownerDocument,o=t;do{if("u">typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),PG(e,o)){var i=PJ(e,o);if(i[1]>i[2])return!0}o=o.parentNode}while(o&&o!==r.body);return!1},PG=function(e,t){return"v"===e?PK(t,"overflowY"):PK(t,"overflowX")},PJ=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},PY=function(e,t,r,o,i){var l,s=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),d=r.target,c=t.contains(d),u=!1,p=s*o>0,f=0,m=0;do{var h=PJ(e,d),g=h[0],v=h[1]-h[2]-s*g;(g||v)&&PG(e,d)&&(f+=v,m+=g),d instanceof ShadowRoot?d=d.host:d=d.parentNode}while(!c&&d!==document.body||c&&(t.contains(d)||t===d));return(p&&1>Math.abs(f)||!p&&1>Math.abs(m))&&(u=!0),u},PX=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},PQ=function(e){return[e.deltaX,e.deltaY]},P0=function(e){return e&&"current"in e?e.current:e},P1=0,P2=[];let P3=(0,r(2038).L)(PI,function(e){var t=I.useRef([]),r=I.useRef([0,0]),o=I.useRef(),i=I.useState(P
431++)[0],l=I.useState(PH.W)[0],s=I.useRef(e);I.useEffect(function(){s.current=e},[e]),I.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,go.ev)([e.lockRef.current],(e.shards||[]).map(P0),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var d=I.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,l=PX(e),d=r.current,c="deltaX"in e?e.deltaX:d[0]-l[0],u="deltaY"in e?e.deltaY:d[1]-l[1],p=e.target,f=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===p.type)return!1;var m=Pq(f,p);if(!m)return!0;if(m?i=f:(i="v"===f?"h":"v",m=Pq(f,p)),!m)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=i),!i)return!0;var h=o.current||i;return PY(h,t,e,"h"===h?c:u)},[]),c=I.useCallback(function(e){if(!(!P2.length||P2[P2.length-1]!==l)){var r="deltaY"in e?PQ(e):PX(e),o=t.current.filter(function(t){var o;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(o=t.delta)[0]===r[0]&&o[1]===r[1]})[0];if(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var i=(s.current.shards||[]).map(P0).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?d(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=I.useCallback(function(e,r,o,i){var l={name:e,delta:r,target:o,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(o)};t.current.push(l),setTimeout(function(){t.current=t.current.filter(function(e){return e!==l})},1)},[]),p=I.useCallback(function(e){r.current=PX(e),o.current=void 0},[]),f=I.useCallback(function(t){u(t.type,PQ(t),t.target,d(t,e.lockRef.current))},[]),m=I.useCallback(function(t){u(t.type,PX(t),t.target,d(t,e.lockRef.current))},[]);I.useEffect(function(){return P2.push(l),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",c,PW),document.addEventListener("touchmove",c,PW),document.addEventListener("touchstart",p,PW),function(){P2=P2.filter(function(e){return e!==l}),document.removeEventListener("wheel",c,PW),document.removeEventListener("touchmove",c,PW),document.removeEventListener("touchstart",p,PW)}},[]);var h=e.removeScrollBar,g=e.inert;return I.createElement(I.Fragment,null,g?I.createElement(l,{styles:` 44 .block-interactivity-`.concat(i,` {pointer-events: none;} 45 .allow-interactivity-`).concat(i,` {pointer-events: all;} 46`)}):null,h?I.createElement(Pz.jp,{gapMode:e.gapMode}):null)});var P4=I.forwardRef(function(e,t){return I.createElement(PV,(0,go.pi)({},e,{ref:t,sideCar:P3}))});P4.classNames=PV.classNames;var P6=[" ","Enter","ArrowUp","ArrowDown"],P8=[" ","Enter"],P9="Select",[P5,P7,Ae]=function(e){let t=e+"CollectionProvider",[r,o]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>I.createContext(e));return function(r){let o=(null==r?void 0:r[e])||t;return I.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let i=I.createContext(o),l=r.length;function s(t){let{scope:r,children:o,...s}=t,d=(null==r?void 0:r[e][l])||i,c=I.useMemo(()=>s,Object.values(s));return(0,D.jsx)(d.Provider,{value:c,children:o})}return r=[...r,o],s.displayName=t+"Provider",[s,function(r,s){let d=(null==s?void 0:s[e][l])||i,c=I.useContext(d);if(c)return c;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return I.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}(t),[i,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,o=I.useRef(null),l=I.useRef(new Map).current;return(0,D.jsx)(i,{scope:t,itemMap:l,collectionRef:o,children:r})};s.displayName=t;let d=e+"CollectionSlot",c=I.forwardRef((e,t)=>
46{let{scope:r,children:o}=e,i=NL(t,l(d,r).collectionRef);return(0,D.jsx)(ik.g,{ref:i,children:o})});c.displayName=d;let u=e+"CollectionItemSlot",p="data-radix-collection-item",f=I.forwardRef((e,t)=>{let{scope:r,children:o,...i}=e,s=I.useRef(null),d=NL(t,s),c=l(u,r);return I.useEffect(()=>(c.itemMap.set(s,{ref:s,...i}),()=>void c.itemMap.delete(s))),(0,D.jsx)(ik.g,{[p]:"",ref:d,children:o})});return f.displayName=u,[{Provider:s,Slot:c,ItemSlot:f},function(t){let r=l(e+"CollectionConsumer",t);return I.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},o]}(P9),[At]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>I.createContext(e));return function(r){let o=(null==r?void 0:r[e])||t;return I.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let i=I.createContext(o),l=r.length;r=[...r,o];let s=t=>{var r;let{scope:o,children:s,...d}=t,c=(null==(r=null==o?void 0:o[e])?void 0:r[l])||i,u=I.useMemo(()=>d,Object.values(d));return(0,D.jsx)(c.Provider,{value:u,children:s})};return s.displayName=t+"Provider",[s,function(r,s){var d;let c=(null==(d=null==s?void 0:s[e])?void 0:d[l])||i,u=I.useContext(c);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return I.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}(P9,[Ae,Pg]),An=Pg(),[Ar,Aa]=At(P9),[Ao,Ai]=At(P9),Al=e=>{let{__scopeSelect:t,children:r,open:o,defaultOpen:i,onOpenChange:l,value:s,defaultValue:d,onValueChange:c,dir:u,name:p,autoComplete:f,disabled:m,required:h,form:g}=e,v=An(t),[y,b]=I.useState(null),[x,w]=I.useState(null),[k,_]=I.useState(!1),C=function(e){let t=I.useContext(NI);return e||t||"ltr"}(u),[$=!1,S]=PR({prop:o,defaultProp:i,onChange:l}),[E,j]=PR({prop:s,defaultProp:d,onChange:c}),N=I.useRef(null),T=!y||g||!!y.closest("form"),[P,A]=I.useState(new Set),O=Array.from(P).map(e=>e.props.value).join(";");return(0,D.jsx)(Pb,{...v,children:(0,D.jsxs)(Ar,{required:h,scope:t,trigger:y,onTriggerChange:b,valueNode:x,onValueNodeChange:w,valueNodeHasChildren:k,onValueNodeHasChildrenChange:_,contentId:Tm(),value:E,onValueChange:j,open:$,onOpenChange:S,dir:C,triggerPointerDownPosRef:N,disabled:m,children:[(0,D.jsx)(P5.Provider,{scope:t,children:(0,D.jsx)(Ao,{scope:e.__scopeSelect,onNativeOptionAdd:I.useCallback(e=>{A(t=>new Set(t).add(e))},[]),onNativeOptionRemove:I.useCallback(e=>{A(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),T?(0,D.jsxs)(AH,{"aria-hidden":!0,required:h,tabIndex:-1,name:p,autoComplete:f,value:E,onChange:e=>j(e.target.value),disabled:m,form:g,children:[void 0===E?(0,D.jsx)("option",{value:""}):null,Array.from(P)]},O):null]})})};Al.displayName=P9;var As="SelectTrigger",Ad=I.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:o=!1,...i}=e,l=An(r),s=Aa(As,r),d=s.disabled||o,c=NL(t,s.onTriggerChange),u=P7(r),p=I.useRef("touch"),[f,m,h]=AU(e=>{let t=u().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),o=AZ(t,e,r);void 0!==o&&s.onValueChange(o.value)}),g=e=>{d||(s.onOpenChange(!0),h()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,D.jsx)(Pw,{asChild:!0,...l,children:(0,D.jsx)(NF.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":Az(s.value)?"":void 0,...i,ref:c,onClick:NM(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&g(e)}),onPointerDown:NM(i.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:NM(i.onKeyDown,e=>{let t=""!==f.current;
46e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),!(t&&" "===e.key)&&P6.includes(e.key)&&(g(),e.preventDefault())})})})});Ad.displayName=As;var Ac="SelectValue",Au=I.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:i,children:l,placeholder:s="",...d}=e,c=Aa(Ac,r),{onValueNodeHasChildrenChange:u}=c,p=void 0!==l,f=NL(t,c.onValueNodeChange);return Tu(()=>{u(p)},[u,p]),(0,D.jsx)(NF.span,{...d,ref:f,style:{pointerEvents:"none"},children:Az(c.value)?(0,D.jsx)(D.Fragment,{children:s}):l})});Au.displayName=Ac,I.forwardRef((e,t)=>{let{__scopeSelect:r,children:o,...i}=e;return(0,D.jsx)(NF.span,{"aria-hidden":!0,...i,ref:t,children:o||"â¼"})}).displayName="SelectIcon";var Ap=e=>(0,D.jsx)(PO,{asChild:!0,...e});Ap.displayName="SelectPortal";var Af="SelectContent",Am=I.forwardRef((e,t)=>{let r=Aa(Af,e.__scopeSelect),[o,i]=I.useState();return(Tu(()=>{i(new DocumentFragment)},[]),r.open)?(0,D.jsx)(Av,{...e,ref:t}):o?eD.createPortal((0,D.jsx)(Ah,{scope:e.__scopeSelect,children:(0,D.jsx)(P5.Slot,{scope:e.__scopeSelect,children:(0,D.jsx)("div",{children:e.children})})}),o):null});Am.displayName=Af;var[Ah,Ag]=At(Af),Av=I.forwardRef((e,t)=>{let{__scopeSelect:r,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:s,side:d,sideOffset:c,align:u,alignOffset:p,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:g,hideWhenDetached:v,avoidCollisions:y,...b}=e,x=Aa(Af,r),[w,k]=I.useState(null),[_,C]=I.useState(null),$=NL(t,e=>k(e)),[S,E]=I.useState(null),[j,N]=I.useState(null),T=P7(r),[P,A]=I.useState(!1),O=I.useRef(!1);I.useEffect(()=>{if(w)return(0,PM.R)(w)},[w]),I.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Tt()),document.body.insertAdjacentElement("beforeend",e[1]??Tt()),Te++,()=>{1===Te&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Te--}},[]);let R=I.useCallback(e=>{let[t,...r]=T().map(e=>e.ref.current),[o]=r.slice(-1),i=document.activeElement;for(let r of e)if(r===i||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&_&&(_.scrollTop=0),r===o&&_&&(_.scrollTop=_.scrollHeight),null==r||r.focus(),document.activeElement!==i))return},[T,_]),M=I.useCallback(()=>R([S,w]),[R,S,w]);I.useEffect(()=>{P&&M()},[P,M]);let{onOpenChange:L,triggerPointerDownPosRef:F}=x;I.useEffect(()=>{if(w){let e={x:0,y:0},t=t=>{var r,o;e={x:Math.abs(Math.round(t.pageX)-((null==(r=F.current)?void 0:r.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(o=F.current)?void 0:o.y)??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():w.contains(r.target)||L(!1),document.removeEventListener("pointermove",t),F.current=null};return null!==F.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[w,L,F]),I.useEffect(()=>{let e=()=>L(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[L]);let[B,V]=AU(e=>{let t=T().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),o=AZ(t,e,r);o&&setTimeout(()=>o.ref.current.focus())}),z=I.useCallback((e,t,r)=>{let o=!O.current&&!r;(void 0!==x.value&&x.value===t||o)&&(E(e),o&&(O.current=!0))},[x.value]),H=I.useCallback(()=>null==w?void 0:w.focus(),[w]),U=I.useCallback((e,t,r)=>{let o=!O.current&&!r;(void 0!==x.value&&x.value===t||o)&&N(e)},[x.value]),Z="popper"===o?Ab:Ay,W=Z===Ab?{side:d,sideOffset:c,align:u,alignOffset:p,arrowPadding:f,collisionBoundary:m,collisionPadding:h,sticky:g,hideWhenDetached:v,avoidCollisions:y}:{};return(0,D.jsx)(Ah,{scope:r,content:w,viewport:_,onViewportChange:C,itemRefCallback:z,selectedItem:S,onItemLeave:H,itemTextRefCallback:U,focusSelectedItem:M,selectedItemText:j,position:o,isPositioned:P,searchRef:B,children:(0,D.jsx)(P4,{as:ik.g,allowPinchZoom:!0,children:(0,D.jsx)(To,{asChild:!0,trapped:x.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:NM(i,e=>{var t;
46null==(t=x.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,D.jsx)(N9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:(0,D.jsx)(Z,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:e=>e.preventDefault(),...b,...W,onPlaced:()=>A(!0),ref:$,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:NM(b.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||V(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=T().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,o=t.indexOf(r);t=t.slice(o+1)}setTimeout(()=>R(t)),e.preventDefault()}})})})})})})});Av.displayName="SelectContentImpl";var Ay=I.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:o,...i}=e,l=Aa(Af,r),s=Ag(Af,r),[d,c]=I.useState(null),[u,p]=I.useState(null),f=NL(t,e=>p(e)),m=P7(r),h=I.useRef(!1),g=I.useRef(!0),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:x}=s,w=I.useCallback(()=>{if(l.trigger&&l.valueNode&&d&&u&&v&&y&&b){let e=l.trigger.getBoundingClientRect(),t=u.getBoundingClientRect(),r=l.valueNode.getBoundingClientRect(),i=b.getBoundingClientRect();if("rtl"!==l.dir){let o=i.left-t.left,l=r.left-o,s=e.left-l,c=e.width+s,u=Math.max(c,t.width),p=ND(l,[10,Math.max(10,window.innerWidth-10-u)]);d.style.minWidth=c+"px",d.style.left=p+"px"}else{let o=t.right-i.right,l=window.innerWidth-r.right-o,s=window.innerWidth-e.right-l,c=e.width+s,u=Math.max(c,t.width),p=ND(l,[10,Math.max(10,window.innerWidth-10-u)]);d.style.minWidth=c+"px",d.style.right=p+"px"}let s=m(),c=window.innerHeight-20,p=v.scrollHeight,f=window.getComputedStyle(u),g=parseInt(f.borderTopWidth,10),x=parseInt(f.paddingTop,10),w=parseInt(f.borderBottomWidth,10),k=g+x+p+parseInt(f.paddingBottom,10)+w,_=Math.min(5*y.offsetHeight,k),C=window.getComputedStyle(v),$=parseInt(C.paddingTop,10),S=parseInt(C.paddingBottom,10),E=e.top+e.height/2-10,j=y.offsetHeight/2,N=g+x+(y.offsetTop+j);if(N<=E){let e=s.length>0&&y===s[s.length-1].ref.current;d.style.bottom="0px";let t=u.clientHeight-v.offsetTop-v.offsetHeight;d.style.height=N+Math.max(c-E,j+(e?S:0)+t+w)+"px"}else{let e=s.length>0&&y===s[0].ref.current;d.style.top="0px";let t=Math.max(E,g+v.offsetTop+(e?$:0)+j)+(k-N);d.style.height=t+"px",v.scrollTop=N-E+v.offsetTop}d.style.margin="10px 0",d.style.minHeight=_+"px",d.style.maxHeight=c+"px",null==o||o(),requestAnimationFrame(()=>h.current=!0)}},[m,l.trigger,l.valueNode,d,u,v,y,b,l.dir,o]);Tu(()=>w(),[w]);let[k,_]=I.useState();Tu(()=>{u&&_(window.getComputedStyle(u).zIndex)},[u]);let C=I.useCallback(e=>{e&&!0===g.current&&(w(),null==x||x(),g.current=!1)},[w,x]);return(0,D.jsx)(Ax,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:h,onScrollButtonChange:C,children:(0,D.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,D.jsx)(NF.div,{...i,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Ay.displayName="SelectItemAlignedPosition";var Ab=I.forwardRef((e,t)=>{let{__scopeSelect:r,align:o="start",collisionPadding:i=10,...l}=e,s=An(r);return(0,D.jsx)(P$,{...s,...l,ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ab.displayName="SelectPopperPosition";var[Ax,Aw]=At(Af,{}),Ak="SelectViewport",A_=I.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:o,...i}=e,l=Ag(Ak,r),s=Aw(Ak,r),d=NL(t,l.onViewportChange),c=I.useRef(0);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,D.jsx)(P5.Slot,{scope:r,children:(0,D.jsx)(NF.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:NM(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:o}=s;
46if(null!=o&&o.current&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let o=window.innerHeight-20,i=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(i<o){let l=i+e,s=Math.min(o,l),d=l-s;r.style.height=s+"px","0px"===r.style.bottom&&(t.scrollTop=d>0?d:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});A_.displayName=Ak;var AC="SelectGroup",[A$,AS]=At(AC);I.forwardRef((e,t)=>{let{__scopeSelect:r,...o}=e,i=Tm();return(0,D.jsx)(A$,{scope:r,id:i,children:(0,D.jsx)(NF.div,{role:"group","aria-labelledby":i,...o,ref:t})})}).displayName=AC;var AE="SelectLabel";I.forwardRef((e,t)=>{let{__scopeSelect:r,...o}=e,i=AS(AE,r);return(0,D.jsx)(NF.div,{id:i.id,...o,ref:t})}).displayName=AE;var Aj="SelectItem",[AN,AT]=At(Aj),AP=I.forwardRef((e,t)=>{let{__scopeSelect:r,value:o,disabled:i=!1,textValue:l,...s}=e,d=Aa(Aj,r),c=Ag(Aj,r),u=d.value===o,[p,f]=I.useState(l??""),[m,h]=I.useState(!1),g=NL(t,e=>{var t;return null==(t=c.itemRefCallback)?void 0:t.call(c,e,o,i)}),v=Tm(),y=I.useRef("touch"),b=()=>{i||(d.onValueChange(o),d.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,D.jsx)(AN,{scope:r,value:o,disabled:i,textId:v,isSelected:u,onItemTextChange:I.useCallback(e=>{f(t=>t||((null==e?void 0:e.textContent)??"").trim())},[]),children:(0,D.jsx)(P5.ItemSlot,{scope:r,value:o,disabled:i,textValue:p,children:(0,D.jsx)(NF.div,{role:"option","aria-labelledby":v,"data-highlighted":m?"":void 0,"aria-selected":u&&m,"data-state":u?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:g,onFocus:NM(s.onFocus,()=>h(!0)),onBlur:NM(s.onBlur,()=>h(!1)),onClick:NM(s.onClick,()=>{"mouse"!==y.current&&b()}),onPointerUp:NM(s.onPointerUp,()=>{"mouse"===y.current&&b()}),onPointerDown:NM(s.onPointerDown,e=>{y.current=e.pointerType}),onPointerMove:NM(s.onPointerMove,e=>{var t;y.current=e.pointerType,i?null==(t=c.onItemLeave)||t.call(c):"mouse"===y.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:NM(s.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=c.onItemLeave)||t.call(c))}),onKeyDown:NM(s.onKeyDown,e=>{var t;(null==(t=c.searchRef)?void 0:t.current)!==""&&" "===e.key||(P8.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});AP.displayName=Aj;var AA="SelectItemText",AO=I.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:i,...l}=e,s=Aa(AA,r),d=Ag(AA,r),c=AT(AA,r),u=Ai(AA,r),[p,f]=I.useState(null),m=NL(t,e=>f(e),c.onItemTextChange,e=>{var t;return null==(t=d.itemTextRefCallback)?void 0:t.call(d,e,c.value,c.disabled)}),h=null==p?void 0:p.textContent,g=I.useMemo(()=>(0,D.jsx)("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:v,onNativeOptionRemove:y}=u;return Tu(()=>(v(g),()=>y(g)),[v,y,g]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(NF.span,{id:c.textId,...l,ref:m}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?eD.createPortal(l.children,s.valueNode):null]})});AO.displayName=AA;var AR="SelectItemIndicator",AD=I.forwardRef((e,t)=>{let{__scopeSelect:r,...o}=e;return AT(AR,r).isSelected?(0,D.jsx)(NF.span,{"aria-hidden":!0,...o,ref:t}):null});AD.displayName=AR;var AM="SelectScrollUpButton",AL=I.forwardRef((e,t)=>{let r=Ag(AM,e.__scopeSelect),o=Aw(AM,e.__scopeSelect),[i,l]=I.useState(!1),s=NL(t,o.onScrollButtonChange);return Tu(()=>{if(r.viewport&&r.isPositioned){let e=function(){l(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,D.jsx)(AB,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});AL.displayName=AM;var AI="SelectScrollDownButton",AF=I.forwardRef((e,t)=>{let r=Ag(AI,e.__scopeSelect),o=Aw(AI,e.__scopeSelect),[i,l]=I.useState(!1),s=NL(t,o.onScrollButtonChange);return Tu(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,D.jsx)(AB,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});AF.displayName=AI;var AB=I.forwardRef((e,t)=>
46{let{__scopeSelect:r,onAutoScroll:o,...i}=e,l=Ag("SelectScrollButton",r),s=I.useRef(null),d=P7(r),c=I.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return I.useEffect(()=>()=>c(),[c]),Tu(()=>{var e;let t=d().find(e=>e.ref.current===document.activeElement);null==(e=null==t?void 0:t.ref.current)||e.scrollIntoView({block:"nearest"})},[d]),(0,D.jsx)(NF.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:NM(i.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:NM(i.onPointerMove,()=>{var e;null==(e=l.onItemLeave)||e.call(l),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:NM(i.onPointerLeave,()=>{c()})})});I.forwardRef((e,t)=>{let{__scopeSelect:r,...o}=e;return(0,D.jsx)(NF.div,{"aria-hidden":!0,...o,ref:t})}).displayName="SelectSeparator";var AV="SelectArrow";function Az(e){return""===e||void 0===e}I.forwardRef((e,t)=>{let{__scopeSelect:r,...o}=e,i=An(r),l=Aa(AV,r),s=Ag(AV,r);return l.open&&"popper"===s.position?(0,D.jsx)(Pj,{...i,...o,ref:t}):null}).displayName=AV;var AH=I.forwardRef((e,t)=>{let{value:r,...o}=e,i=I.useRef(null),l=NL(t,i),s=function(e){let t=I.useRef({value:e,previous:e});return I.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(r);return I.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==r&&t){let o=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(o)}},[s,r]),(0,D.jsx)(PD,{asChild:!0,children:(0,D.jsx)("select",{...o,ref:l,defaultValue:r})})});function AU(e){let t=NB(e),r=I.useRef(""),o=I.useRef(0),i=I.useCallback(e=>{let i=r.current+e;t(i),function e(t){r.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),l=I.useCallback(()=>{r.current="",window.clearTimeout(o.current)},[]);return I.useEffect(()=>()=>window.clearTimeout(o.current),[]),[r,i,l]}function AZ(e,t,r){var o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(o=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(o+r)%e.length]));1===i.length&&(l=l.filter(e=>e!==r));let s=l.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==r?s:void 0}AH.displayName="BubbleSelect";var AW=r(37720);let AK=(0,I.forwardRef)((e,t)=>{let{className:r,panelClassName:o,disabled:i,loading:l,id:s,onFocus:d,onBlur:c,valid:u,children:p,placeholder:f,textOverflow:m="ellipsisEnd",floatingLabel:h,required:g,onValueChange:v,onOpenChange:y,defaultValue:b,value:x,dir:w,position:k="popper",currentValue:_,selectValueChildren:C,themeConfig:$,label:S,...E}=e,j=(0,ie.s0)(),N=(0,ie.pP)(j),[T,P]=(0,I.useState)(!1),[A,O]=(0,I.useState)(void 0),{labelClassName:R,inputOnFocus:M,inputOnBlur:L}=(0,NA.O)({onFocus:d,onBlur:c,value:_||A||x,placeholder:f});(0,I.useEffect)(()=>{v&&b&&v(b,!1)},[b]);let{root:V}=(0,B.tv)(AW.v)({intent:void 0===u?"default":u?"valid":"invalid",interaction:"link",radius:"xs"}),{root:z,selectValue:H,selectPlaceholder:U,panel:Z,viewport:W,scrollButton:K,buttonUp:q,buttonDown:G,selectChevron:J}=(0,B.tv)($?(0,B.RH)(NO,$):NO)({hasFloatingLabel:!!h,loading:l,textOverflow:m}),Y=(0,F.cn)("ef-select-tag",V(),z(),r);return(0,D.jsxs)(Al,{value:x,defaultValue:b,onValueChange:e=>{"u">typeof v&&v(e,!0),O(e)},onOpenChange:e=>{e?Em.x.emit("form_select_input_open",{name:"form_select_input_open",payload:{state:e}}):Em.x.emit("form_select_input_close",{name:"form_select_input_close",payload:{state:e}}),P(e),y&&y(e)},...E,children:[(0,D.jsx)(Ad,{className:Y,id:s,dir:w,onFocus:M,onBlur:L,disabled:i,ref:t,"aria-label":e["aria-label"]||_||f||S,children:(0,D.jsxs)(D.Fragment,{children:[h?(0,NA.T)(s,R,h,0,g):null,(0,D.jsx)("span",{className:(0,F.cn)(H()),children:(0,D.jsx)(Au,{placeholder:(0,D.jsx)("span",{className:(0,F.cn)(U()),children:f}),children:C})}),(0,D.jsx)(rL.AnimatedChevron,{active:T,className:(0,F.cn)(J())})]})}),(0,D.jsx)(Ap,{children:(0,D.jsxs)(Am,{dir:w,className:(0,F.cn)("ef-input-select-panel",Z(),N,o||""),position:k,"data-text-overflow":m,children:[(0,D.jsx)(AL,{className:(0,F.cn)(K(),q()),children:(0,D.jsx)(vv,{weight:"bold"})}),(0,D.jsx)(A_,{className:(0,F.cn)(W()),children:p}),(0,D.jsx)(AF,{className:(0,F.cn)(K(),G()),children:(0,D.jsx)(vi.p,{weight:"bold"})})]})})]})});AK.displayName="SelectTag";var Aq=r(95537);let AG=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d,c,u,p,f,m;let{valid:h,touched:g,label:v,floatingLabel:y,required:b,description:x,loading:w=!1,disabled:k=w,themeConfig:_,className:C,...$}=e,{isValidAndTouched:S,isInvalidAndTouched:E}=(0,j7.jH)(g,h),j=(0,I.useRef)(),[N,T]=(0,I.useState)(!1);(0,I.useEffect)(()=>{j.current=document.body,T(!0)},[]);let{markValidation:P}=(0,B.tv)(S7.ge)({valid:h,touched:g}),{iconInvalid:A,iconValid:O,loadingIndicator:R}=(0,B.tv)(_?(0,B.RH)(S7.xk,_):S7.xk)({hasFloatingLabel:!!y,validationIconOffset:"xl"}),M=(0,F.cn)("ef-input-select min-w-0",C),L=(0,F.cn)(A(),P()),V=(0,F.cn)(O(),P());return N?(0,D.jsxs)(NP.W,{className:M,valid:h,touched:g,description:x,label:v,required:b,themeConfig:_?{..._,slots:{formField:null==(r=_.slots)?void 0:r.formField,formFieldContainer:null==(o=_.slots)?void 0:o.fieldContainer,formLabelDescription:null==(i=_.slots)?void 0:i.formLabelDescription,formLabelRequiredSign:null==(l=_.slots)?void 0:l.formLabelRequiredSign,formLabelWrapper:null==(s=_.slots)?void 0:s.formLabelWrapper}}:void 0,children:[S?(0,D.jsx)(vX.f,{weight:"fill",className:V}):null,E?(0,D.jsx)(yu.Q,{weight:"fill",className:L}):null,w?(0,D.jsx)(Aq.T,{className:(0,F.cn)(R())}):null,(0,D.jsx)(AK,{ref:t,valid:g?h:void 0,floatingLabel:y,required:b,label:v||y,loading:w,disabled:k,themeConfig:_?{..._,slots:{root:null==(d=_.slots)?void 0:d.root,selectValue:null==(c=_.slots)?void 0:c.selectValue,panel:null==(u=_.slots)?void 0:u.panel,scrollButton:null==(p=_.slots)?void 0:p.scrollButton,buttonUp:null==(f=_.slots)?void 0:f.buttonUp,buttonDown:null==(m=_.slots)?void 0:m.buttonDown}}:void 0,...$})]}):null});AG.displayName="FormSelect";var AJ=r(38898);let AY=(0,I.forwardRef)((e,t)=>{let{children:r,value:o,disabled:i,className:l,themeConfig:s,...d}=e,{root:c,content:u,checkIcon:p}=(0,B.tv)(s?(0,B.RH)(NR,s):NR)(),f=(0,F.cn)("ef-option",c(),l);return(0,D.jsxs)(AP,{value:o,className:f,disabled:i,ref:t,...d,children:[(0,D.jsx)(AO,{asChild:!0,children:(0,D.jsx)("span",{className:(0,F.cn)(u()),children:r})}),(0,D.jsx)(AD,{className:(0,F.cn)(p()),children:(0,D.jsx)(AJ.J,{weight:"bold",width:24,height:24})})]})});AY.displayName="Option";let AX=(0,B.c6)({slots:{root:"inline-flex w-full flex-grow-0 transition-all duration-system-short",hiddenInput:"-h-px absolute -m-px w-px overflow-hidden whitespace-nowrap border-0 p-0 [clip:rect(0,0,0,0)]",countryCodeSelect:"group max-h-[56px] min-w-[80px] cursor-pointer justify-center gap-xs rounded-e-none text-system-text-weak hover:z-10 focus:z-10",countryCodeSelectPanel:"w-auto",countryCodeOption:"flex flex-row items-center gap-s",countryCodeOptionText:"flex gap-xs group-[.ef-select-tag]:hidden",countryText:"inline-block",countryCodeText:"text-system-text-weak",textContainer:"relative w-full",textInput:"-ms-px h-[56px]",textInputTag:"max-h-[56px] ps-s",countryCodePlaceholder:"pointer-events-none absolute left-0 top-0 flex h-full select-none items-center py-s ps-s text-system-text-weak"},variants:{withCountrySelector:{true:{textInputTag:"rounded-s-none"}},hasFlags:{true:{textInputTag:"ps-[--country-code-width]"},false:{countryText:"",countryCodeText:"inline-block"}},hasFloatingLabel:{true:{}},valid:{false:{countryCodeSelect:"!border-e-0"}}},compoundSlots:[{slots:["countryText","countryCodeText"],class:"min-w-[26px] select-none items-center pe-0"}
46]}),AQ=[{name:"Abkhazia",isoCountryCode:"QN",callingCode:"995",imgSrc:""},{name:"Afghanistan",isoCountryCode:"AF",callingCode:"93",imgSrc:""},{name:"Albania",isoCountryCode:"AL",callingCode:"355",imgSrc:""},{name:"Algeria",isoCountryCode:"DZ",callingCode:"213",imgSrc:""},{name:"American Samoa",isoCountryCode:"AS",callingCode:"1",imgSrc:""},{name:"Andorra",isoCountryCode:"AD",callingCode:"376",imgSrc:""},{name:"Angola",isoCountryCode:"AO",callingCode:"244",imgSrc:""},{name:"Anguilla",isoCountryCode:"AI",callingCode:"1",imgSrc:""},{name:"Antarctica",isoCountryCode:"AQ",callingCode:"672",imgSrc:""},{name:"Antigua & Barbuda",isoCountryCode:"AG",callingCode:"1268",imgSrc:""},{name:"Argentina",isoCountryCode:"AR",callingCode:"54",imgSrc:""},{name:"Armenia",isoCountryCode:"AM",callingCode:"374",imgSrc:""},{name:"Aruba",isoCountryCode:"AW",callingCode:"297",imgSrc:""},{name:"Australia",isoCountryCode:"AU",callingCode:"61",imgSrc:""},{name:"Austria",isoCountryCode:"AT",callingCode:"43",imgSrc:""},{name:"Azerbaijan",isoCountryCode:"AZ",callingCode:"994",imgSrc:""},{name:"Bahamas",isoCountryCode:"BS",callingCode:"1",imgSrc:""},{name:"Bahrain",isoCountryCode:"BH",callingCode:"973",imgSrc:""},{name:"Bangladesh",isoCountryCode:"BD",callingCode:"880",imgSrc:""},{name:"Barbados",isoCountryCode:"BB",callingCode:"1",imgSrc:""},{name:"Belarus",isoCountryCode:"BY",callingCode:"375",imgSrc:""},{name:"Belgium",isoCountryCode:"BE",callingCode:"32",imgSrc:""},{name:"Belize",isoCountryCode:"BZ",callingCode:"501",imgSrc:""},{name:"Benin",isoCountryCode:"BJ",callingCode:"229",imgSrc:""},{name:"Bermuda",isoCountryCode:"BM",callingCode:"1",imgSrc:""},{name:"Bhutan",isoCountryCode:"BT",callingCode:"975",imgSrc:""},{name:"Bolivia",isoCountryCode:"BO",callingCode:"591",imgSrc:""},{name:"Bosnia Herzegovina",isoCountryCode:"BA",callingCode:"387",imgSrc:""},{name:"Botswana",isoCountryCode:"BW",callingCode:"267",imgSrc:""},{name:"Brazil",isoCountryCode:"BR",callingCode:"55",imgSrc:""},{name:"Brunei",isoCountryCode:"BU",callingCode:"673",imgSrc:""},{name:"Bulgaria",isoCountryCode:"BG",callingCode:"359",imgSrc:""},{name:"Burkina Faso",isoCountryCode:"BK",callingCode:"226",imgSrc:""},{name:"Burundi",isoCountryCode:"BI",callingCode:"257",imgSrc:""},{name:"Cambodia",isoCountryCode:"KH",callingCode:"855",imgSrc:""},{name:"Cameroon",isoCountryCode:"CM",callingCode:"237",imgSrc:""},{name:"Canada",isoCountryCode:"CA",callingCode:"1",imgSrc:""},{name:"Cape Verde",isoCountryCode:"CV",callingCode:"238",imgSrc:""},{name:"Cayman Islands",isoCountryCode:"KY",callingCode:"1",imgSrc:""},{name:"Cent. African Rep.",isoCountryCode:"CP",callingCode:"236",imgSrc:""},{name:"Chad",isoCountryCode:"TD",callingCode:"235",imgSrc:""},{name:"Chile",isoCountryCode:"CL",callingCode:"56",imgSrc:""},{name:"China",isoCountryCode:"CN",callingCode:"86",imgSrc:""},{name:"Christmas Island",isoCountryCode:"CX",callingCode:"61",imgSrc:""},{name:"Cocos Islands",isoCountryCode:"CC",callingCode:"61",imgSrc:""},{name:"Colombia",isoCountryCode:"CO",callingCode:"57",imgSrc:""},{name:"Comoros",isoCountryCode:"KM",callingCode:"269",imgSrc:""},{name:"Congo",isoCountryCode:"CG",callingCode:"242",imgSrc:""},{name:"Cook Islands",isoCountryCode:"CK",callingCode:"682",imgSrc:""},{name:"Costa Rica",isoCountryCode:"CR",callingCode:"506",imgSrc:""},{name:"Cote D'ivoire",isoCountryCode:"CI",callingCode:"225",imgSrc:""},{name:"Croatia",isoCountryCode:"HR",callingCode:"385",imgSrc:""},{name:"Cuba",isoCountryCode:"CU",callingCode:"53",imgSrc:""},{name:"Curacao",isoCountryCode:"CW",callingCode:"599",imgSrc:""},{name:"Cyprus",isoCountryCode:"CY",callingCode:"357",imgSrc:""},{name:"Czech Republic",isoCountryCode:"CZ",callingCode:"420",imgSrc:""},{name:"Denmark",isoCountryCode:"DK",callingCode:"45",imgSrc:""},{name:"Djibouti",isoCountryCode:"DJ",callingCode:"253",imgSrc:""},{name:"Dominica",isoCountryCode:"DM",callingCode:"1",imgSrc:""},{name:"Dominican Republic",isoCountryCode:"DO",callingCode:"1",imgSrc:""},{name:"DR Congo",isoCountryCode:"CD",callingCode:"243",imgSrc:""},{name:"East Timor",isoCountryCode:"TP",callingCode:"670",imgSrc:""},{name:"Ecuador",isoCountryCode:"EC",callingCode:"593",imgSrc:""},{name:"Egypt",isoCountryCode:"EG",callingCode:"20",imgSrc:""},{name:"El Salvador",isoCountryCode:"SV",callingCode:"503",imgSrc:""},{name:"Equatorial Guinea",isoCountryCode:"GQ",callingCode:"240",imgSrc:""},{name:"Eritrea",isoCountryCode:"ER",callingCode:"291",imgSrc:""},{name:"Estonia",isoCountryCode:"EE",callingCode:"372",imgSrc:""},{name:"Ethiopia",isoCountryCode:"ET",callingCode:"251",imgSrc:""},{name:"Falkland Islands",isoCountryCode:"FK",callingCode:"500",imgSrc:""},{name:"Faroe Islands",isoCountryCode:"FO",callingCode:"298",imgSrc:""},{name:"Fiji",isoCountryCode:"FJ",callingCode:"679",imgSrc:""},{name:"Finland",isoCountryCode:"FI",callingCode:"358",imgSrc:""},{name:"France",isoCountryCode:"FR",callingCode:"33",imgSrc:""},{name:"French Guiana",isoCountryCode:"GF",callingCode:"594",imgSrc:""},{name:"French Polynesia",isoCountryCode:"PF",callingCode:"689",imgSrc:""},{name:"Gabon",isoCountryCode:"GA",callingCode:"241",imgSrc:""}
46,{name:"Gambia",isoCountryCode:"GM",callingCode:"220",imgSrc:""},{name:"Georgia",isoCountryCode:"GE",callingCode:"995",imgSrc:""},{name:"Germany",isoCountryCode:"DE",callingCode:"49",imgSrc:""},{name:"Ghana",isoCountryCode:"GH",callingCode:"233",imgSrc:""},{name:"Gibraltar",isoCountryCode:"GI",callingCode:"350",imgSrc:""},{name:"Greece",isoCountryCode:"GR",callingCode:"30",imgSrc:""},{name:"Greenland",isoCountryCode:"GL",callingCode:"299",imgSrc:""},{name:"Grenada",isoCountryCode:"GD",callingCode:"1",imgSrc:""},{name:"Guadeloupe",isoCountryCode:"GP",callingCode:"590",imgSrc:""},{name:"Guam",isoCountryCode:"GU",callingCode:"1",imgSrc:""},{name:"Guatemala",isoCountryCode:"GT",callingCode:"502",imgSrc:""},{name:"Guinea",isoCountryCode:"GN",callingCode:"224",imgSrc:""},{name:"Guinea Bissau",isoCountryCode:"GW",callingCode:"245",imgSrc:""},{name:"Guyana",isoCountryCode:"GY",callingCode:"592",imgSrc:""},{name:"Haiti",isoCountryCode:"HT",callingCode:"509",imgSrc:""},{name:"Honduras",isoCountryCode:"HN",callingCode:"504",imgSrc:""},{name:"Hong Kong",isoCountryCode:"HK",callingCode:"852",imgSrc:""},{name:"Hungary",isoCountryCode:"HU",callingCode:"36",imgSrc:""},{name:"Iceland",isoCountryCode:"IS",callingCode:"354",imgSrc:""},{name:"India",isoCountryCode:"IN",callingCode:"91",imgSrc:""},{name:"Indonesia",isoCountryCode:"ID",callingCode:"62",imgSrc:""},{name:"Iran",isoCountryCode:"IR",callingCode:"98",imgSrc:""},{name:"Iraq",isoCountryCode:"IQ",callingCode:"964",imgSrc:""},{name:"Ireland",isoCountryCode:"IE",callingCode:"353",imgSrc:""},{name:"Israel",isoCountryCode:"IL",callingCode:"972",imgSrc:""},{name:"Italy",isoCountryCode:"IT",callingCode:"39",imgSrc:""},{name:"Jamaica",isoCountryCode:"JM",callingCode:"1",imgSrc:""},{name:"Japan",isoCountryCode:"JP",callingCode:"81",imgSrc:""},{name:"Jordan",isoCountryCode:"JO",callingCode:"962",imgSrc:""},{name:"Kazakhstan",isoCountryCode:"KZ",callingCode:"7",imgSrc:""},{name:"Kenya",isoCountryCode:"KE",callingCode:"254",imgSrc:""},{name:"Kiribati",isoCountryCode:"KI",callingCode:"686",imgSrc:""},{name:"Korea",isoCountryCode:"KR",callingCode:"82",imgSrc:""},{name:"Kosovo",isoCountryCode:"QM",callingCode:"383",imgSrc:""},{name:"Kuwait",isoCountryCode:"KW",callingCode:"965",imgSrc:""},{name:"Kyrgyzstan",isoCountryCode:"KG",callingCode:"996",imgSrc:""},{name:"Laos",isoCountryCode:"LA",callingCode:"856",imgSrc:""},{name:"Latvia",isoCountryCode:"LV",callingCode:"371",imgSrc:""},{name:"Lebanon",isoCountryCode:"LB",callingCode:"961",imgSrc:""},{name:"Lesotho",isoCountryCode:"LS",callingCode:"266",imgSrc:""},{name:"Liberia",isoCountryCode:"LR",callingCode:"231",imgSrc:""},{name:"Libya",isoCountryCode:"LY",callingCode:"218",imgSrc:""},{name:"Liechtenstein",isoCountryCode:"LI",callingCode:"423",imgSrc:""},{name:"Lithuania",isoCountryCode:"LT",callingCode:"370",imgSrc:""},{name:"Luxembourg",isoCountryCode:"LU",callingCode:"352",imgSrc:""},{name:"Macau",isoCountryCode:"MO",callingCode:"853",imgSrc:""},{name:"Macedonia",isoCountryCode:"MK",callingCode:"389",imgSrc:""},{name:"Madagascar",isoCountryCode:"MG",callingCode:"261",imgSrc:""},{name:"Malawi",isoCountryCode:"MW",callingCode:"265",imgSrc:""},{name:"Malaysia",isoCountryCode:"MY",callingCode:"60",imgSrc:""},{name:"Maldives",isoCountryCode:"MV",callingCode:"960",imgSrc:""},{name:"Mali",isoCountryCode:"ML",callingCode:"223",imgSrc:""},{name:"Malta",isoCountryCode:"MT",callingCode:"356",imgSrc:""},{name:"Marshall Islands",isoCountryCode:"MH",callingCode:"692",imgSrc:""},{name:"Martinique",isoCountryCode:"MQ",callingCode:"596",imgSrc:""},{name:"Mauritania",isoCountryCode:"MR",callingCode:"222",imgSrc:""},{name:"Mauritius",isoCountryCode:"MU",callingCode:"230",imgSrc:""},{name:"Mayotte",isoCountryCode:"YT",callingCode:"262",imgSrc:""},{name:"Mexico",isoCountryCode:"MX",callingCode:"52",imgSrc:""},{name:"Micronesia",isoCountryCode:"FM",callingCode:"691",imgSrc:""},{name:"Moldova",isoCountryCode:"MD",callingCode:"373",imgSrc:""},{name:"Monaco",isoCountryCode:"MC",callingCode:"377",imgSrc:""},{name:"Mongolia",isoCountryCode:"MN",callingCode:"976",imgSrc:""},{name:"Montenegro",isoCountryCode:"ME",callingCode:"382",imgSrc:""},{name:"Morocco",isoCountryCode:"MA",callingCode:"212",imgSrc:""},{name:"Mozambique",isoCountryCode:"MZ",callingCode:"258",imgSrc:""},{name:"Myanmar",isoCountryCode:"MM",callingCode:"95",imgSrc:""},{name:"Nagorno Republic",isoCountryCode:"QO",callingCode:"374",imgSrc:""},{name:"Namibia",isoCountryCode:"NA",callingCode:"264",imgSrc:""},{name:"Nauru",isoCountryCode:"NR",callingCode:"674",imgSrc:""},{name:"Nepal",isoCountryCode:"NP",callingCode:"977",imgSrc:""},{name:"Netherlands",isoCountryCode:"NL",callingCode:"31",imgSrc:""},{name:"New Caledonia",isoCountryCode:"NC",callingCode:"687",imgSrc:""},{name:"New Zealand",isoCountryCode:"NZ",callingCode:"64",imgSrc:""},{name:"Nicaragua",isoCountryCode:"NI",callingCode:"505",imgSrc:""},{name:"Niger",isoCountryCode:"NE",callingCode:"227",imgSrc:""}
46,{name:"Nigeria",isoCountryCode:"NG",callingCode:"234",imgSrc:""},{name:"Niue",isoCountryCode:"NU",callingCode:"683",imgSrc:""},{name:"Norfolk Island",isoCountryCode:"NF",callingCode:"672",imgSrc:""},{name:"Northern Cyprus",isoCountryCode:"QP",callingCode:"90392",imgSrc:""},{name:"Norway",isoCountryCode:"NO",callingCode:"47",imgSrc:""},{name:"Oman",isoCountryCode:"OM",callingCode:"968",imgSrc:""},{name:"Pakistan",isoCountryCode:"PK",callingCode:"92",imgSrc:""},{name:"Palau",isoCountryCode:"PW",callingCode:"680",imgSrc:""},{name:"Palestine",isoCountryCode:"PS",callingCode:"970",imgSrc:""},{name:"Panama",isoCountryCode:"PA",callingCode:"507",imgSrc:""},{name:"Papua New Guinea",isoCountryCode:"PG",callingCode:"675",imgSrc:""},{name:"Paraguay",isoCountryCode:"PY",callingCode:"595",imgSrc:""},{name:"Peru",isoCountryCode:"PE",callingCode:"51",imgSrc:""},{name:"Philippines",isoCountryCode:"PH",callingCode:"63",imgSrc:""},{name:"Poland",isoCountryCode:"PL",callingCode:"48",imgSrc:""},{name:"Portugal",isoCountryCode:"PT",callingCode:"351",imgSrc:""},{name:"Puerto Rico",isoCountryCode:"PR",callingCode:"1",imgSrc:""},{name:"Qatar",isoCountryCode:"QA",callingCode:"974",imgSrc:""},{name:"Reunion",isoCountryCode:"RE",callingCode:"262",imgSrc:""},{name:"Romania",isoCountryCode:"RO",callingCode:"40",imgSrc:""},{name:"Russia",isoCountryCode:"RU",callingCode:"7",imgSrc:""},{name:"Rwanda",isoCountryCode:"RW",callingCode:"250",imgSrc:""},{name:"Sahrawi Arab Democratic Republic",isoCountryCode:"QR",callingCode:"212",imgSrc:""},{name:"Saint Kitts",isoCountryCode:"KN",callingCode:"1869",imgSrc:""},{name:"Saint Lucia",isoCountryCode:"LC",callingCode:"1",imgSrc:""},{name:"Saint Martin",isoCountryCode:"MF",callingCode:"590",imgSrc:""},{name:"Saint Vincent",isoCountryCode:"VC",callingCode:"1784",imgSrc:""},{name:"Samoa",isoCountryCode:"WS",callingCode:"685",imgSrc:""},{name:"San Marino",isoCountryCode:"SM",callingCode:"378",imgSrc:""},{name:"Sao Tome",isoCountryCode:"ST",callingCode:"239",imgSrc:""},{name:"Saudi Arabia",isoCountryCode:"SA",callingCode:"966",imgSrc:""},{name:"Senegal",isoCountryCode:"SN",callingCode:"221",imgSrc:""},{name:"Serbia",isoCountryCode:"RS",callingCode:"381",imgSrc:""},{name:"Seychelles",isoCountryCode:"SC",callingCode:"248",imgSrc:""},{name:"Sierra Leone",isoCountryCode:"SL",callingCode:"232",imgSrc:""},{name:"Singapore",isoCountryCode:"SG",callingCode:"65",imgSrc:""},{name:"Slovakia",isoCountryCode:"SK",callingCode:"421",imgSrc:""},{name:"Slovenia",isoCountryCode:"SI",callingCode:"386",imgSrc:""},{name:"Solomon Islands",isoCountryCode:"SB",callingCode:"677",imgSrc:""},{name:"Somalia",isoCountryCode:"SO",callingCode:"252",imgSrc:""},{name:"Somaliland",isoCountryCode:"QS",callingCode:"252",imgSrc:""},{name:"South Africa",isoCountryCode:"ZA",callingCode:"27",imgSrc:""},{name:"South Ossetia",isoCountryCode:"QT",callingCode:"7",imgSrc:""},{name:"Spain",isoCountryCode:"ES",callingCode:"34",imgSrc:""},{name:"Sri Lanka",isoCountryCode:"LK",callingCode:"94",imgSrc:""},{name:"St. Helena",isoCountryCode:"SH",callingCode:"290",imgSrc:""},{name:"St. Pierre",isoCountryCode:"PM",callingCode:"508",imgSrc:""},{name:"Sudan",isoCountryCode:"SD",callingCode:"249",imgSrc:""},{name:"Suriname",isoCountryCode:"SR",callingCode:"597",imgSrc:""},{name:"Svalbard",isoCountryCode:"SJ",callingCode:"47",imgSrc:""},{name:"Swaziland",isoCountryCode:"SZ",callingCode:"268",imgSrc:""},{name:"Sweden",isoCountryCode:"SE",callingCode:"46",imgSrc:""},{name:"Switzerland",isoCountryCode:"CH",callingCode:"41",imgSrc:""},{name:"Syria",isoCountryCode:"SY",callingCode:"963",imgSrc:""},{name:"Taiwan",isoCountryCode:"TW",callingCode:"886",imgSrc:""},{name:"Tajikistan",isoCountryCode:"TJ",callingCode:"992",imgSrc:""},{name:"Tanzania",isoCountryCode:"TZ",callingCode:"255",imgSrc:""},{name:"Thailand",isoCountryCode:"TH",callingCode:"66",imgSrc:""},{name:"Togo",isoCountryCode:"TG",callingCode:"228",imgSrc:""},{name:"Tokelau",isoCountryCode:"TK",callingCode:"690",imgSrc:""},{name:"Tonga",isoCountryCode:"TO",callingCode:"676",imgSrc:""},{name:"Transnistria",isoCountryCode:"QU",callingCode:"373",imgSrc:""},{name:"Trinidad and Tobago",isoCountryCode:"TT",callingCode:"1",
46imgSrc:""},{name:"Tunisia",isoCountryCode:"TN",callingCode:"216",imgSrc:""},{name:"Turkey",isoCountryCode:"TR",callingCode:"90",imgSrc:""},{name:"Turkmenistan",isoCountryCode:"TM",callingCode:"993",imgSrc:""},{name:"Tuvalu",isoCountryCode:"TV",callingCode:"688",imgSrc:""},{name:"Uganda",isoCountryCode:"UG",callingCode:"256",imgSrc:""},{name:"Ukraine",isoCountryCode:"UA",callingCode:"380",imgSrc:""},{name:"United Arab Emirates",isoCountryCode:"AE",callingCode:"971",imgSrc:""},{name:"United Kingdom",isoCountryCode:"GB",callingCode:"44",imgSrc:""},{name:"United States",isoCountryCode:"US",callingCode:"1",imgSrc:""},{name:"Uruguay",isoCountryCode:"UY",callingCode:"598",imgSrc:""},{name:"Uzbekistan",isoCountryCode:"UZ",callingCode:"998",imgSrc:""},{name:"Vanuatu",isoCountryCode:"VU",callingCode:"678",imgSrc:""},{name:"Vatican",isoCountryCode:"VA",callingCode:"379",imgSrc:""},{name:"Venezuela",isoCountryCode:"VE",callingCode:"58",imgSrc:""},{name:"Vietnam",isoCountryCode:"VN",callingCode:"84",imgSrc:""},{name:"Virgin Islands (UK)",isoCountryCode:"VG",callingCode:"1284",imgSrc:""},{name:"Virgin Islands (US)",isoCountryCode:"VI",callingCode:"1",imgSrc:""},{name:"Western Sahara",isoCountryCode:"EH",callingCode:"212",imgSrc:""},{name:"Yemen",isoCountryCode:"YE",callingCode:"967",imgSrc:""},{name:"Zambia",isoCountryCode:"ZM",callingCode:"260",imgSrc:""},{name:"Zimbabwe",isoCountryCode:"ZW",callingCode:"263",imgSrc:""}],A0=/\d/,A1=e=>e.replace(/\D/g,""),A2=(e,t)=>{if(0===t)return 0;let r=0;for(let o=0;o<e.length;o++)if(A0.test(e[o])&&++r===t)return o+1;return e.length},A3=null,A4={name:"Poland",callingCode:"48",isoCountryCode:"PL",imgSrc:""},A6=(e,t)=>e.isoCountryCode.toLowerCase()===t.toLowerCase(),A8=(e,t)=>e.find(e=>A6(e,t)),A9=(e,t)=>{var r;return null==(r=e.find(e=>A6(e,t)))?void 0:r.callingCode},A5=(0,I.forwardRef)((e,t)=>{var o,i;let{className:l,countries:s=AQ,defaultCountry:d,noDefaultCountry:c=!1,placeholder:u,floatingLabel:p,value:f,name:m,id:h,disabled:g=!1,onValueChange:v,loading:y,countryValue:b,isoCountryValue:x,onBlur:w,onFocus:k,valid:_,touched:C,required:$,themeConfig:S,formatted:E=!1,flags:j,...N}=e,T=d??(c?void 0:A4),P=(0,I.useRef)(null),A=(0,I.useRef)(null),O=(0,I.useRef)(null),R=(0,I.useRef)(null);(0,I.useImperativeHandle)(t,()=>({textInputRef:P,countrySelectorRef:A,finalInputRef:O}));let{format:M,getExamplePlaceholder:L,ready:V}=function(e=!0){let[t,o]=(0,I.useState)(null);return(0,I.useEffect)(()=>{if(!e)return;let t=!1;return(A3||(A3=Promise.all([r.e(387).then(r.bind(r,70387)),r.e(7805).then(r.bind(r,17805))]).then(([e,t])=>({AsYouType:e.AsYouType,getExampleNumber:e.getExampleNumber,examples:t.default}))),A3).then(e=>{t||o(e)}).catch(()=>{}),()=>{t=!0}},[e]),{format:(0,I.useCallback)((e,r)=>{if(!t||!r||!e)return e;try{return new t.AsYouType(r.toUpperCase()).input(e)}catch{return e}},[t]),getExamplePlaceholder:(0,I.useCallback)(e=>{if(!(!t||!e))try{let r=t.getExampleNumber(e.toUpperCase(),t.examples);return(null==r?void 0:r.formatNational())??void 0}catch{return}},[t]),ready:null!==t}}(E),z=(()=>{if(x||null!=T&&T.isoCountryCode){let e=A8(s,x??(null==T?void 0:T.isoCountryCode));if(e)return e}return T??(c?void 0:s[0])})(),[H,U]=(0,I.useState)(()=>{let e=b??(null==z?void 0:z.callingCode);return null!=e?Number(e):void 0}),[Z,W]=(0,I.useState)(x??(null==z?void 0:z.isoCountryCode)??(c?"":null==(o=s[0])?void 0:o.isoCountryCode)),[K,q]=(0,I.useState)(f??"");(0,I.useEffect)(()=>{if(null!=T&&T.isoCountryCode){let e=A8(s,T.isoCountryCode),t=T.callingCode??(null==e?void 0:e.callingCode);t&&(U(Number(t)),W(T.isoCountryCode))}},[T,s]),(0,I.useEffect)(()=>{if(f){let e=f||"";q(E&&V?M(e,Z):e)}b&&U(Number(b)),x&&W(x)},[f,b,x,E,V,M,Z]),(0,I.useEffect)(()=>{if(E&&V&&K){let e=M(A1(K),Z);e!==K&&q(e)}},[V,Z,E,M,K]),(0,I.useLayoutEffect)(()=>{if(null!==R.current&&P.current){let e=R.current;P.current.setSelectionRange(e,e),R.current=null}});let G=(e,t,r)=>{if(!v)return;let o=A9(s,e)??H,i=!!e&&null!=o&&!Number.isNaN(Number(o));v({code:i?o:void 0,full:i&&""!==t?`+${o}${t}`:"",value:t,isoCountryCode:e||void 0},r)},{root:J,hiddenInput:Y,countryCodeSelect:X,countryCodeSelectPanel:Q,countryCodeOption:ee,countryCodeOptionText:et,countryText:en,countryCodeText:er,textContainer:ea,textInput:eo,textInputTag:ei}=(0,B.tv)(S?(0,B.RH)(AX,S):AX)({hasFloatingLabel:!!p,withCountrySelector:(null==s?void 0:s.length)>0,valid:_}),el=(0,F.cn)(J(),l),es=u??(E&&V?L(Z):void 0),ed=E?A1(K):K,ec=H&&K?`+${H}${ed}`:"";return(0,D.jsxs)("div",{className:el,dir:"ltr",children:[(0,D.jsx)("input",{ref:O,className:(0,F.cn)(Y()),name:m,"aria-hidden":!0,type:"text",readOnly:!0,tabIndex:-1,value:ec,...N}),s.length>0?(0,D.jsx)(AG,{className:(0,F.cn)(X()),ref:A,defaultValue:x??(null==T?void 0:T.isoCountryCode)??(c||null==(i=s[0])?void 0:i.isoCountryCode),dir:"ltr",onValueChange:(e,t=!1)=>{U(Number(A9(s,e))),W(e);let r=E?A1(K):K;G(e,f??r,t)},onBlur:w,onFocus:k,value:Z,disabled:g,loading:y,panelClassName:(0,F.cn)(Q()),selectValueChildren:Z?`+${H}`:void 0,"aria-label":e["aria-label"]||Z||"Country code",themeConfig:{slots:{root:X(),iconValid:"!hidden",iconInvalid:"!hidden"}},valid:_,touched:C,children:s.map(e=>(0,D.jsx)(AY,{id:e.isoCountryCode,value:e.isoCountryCode??"",themeConfig:{slots:{content:ee()}},children:(0,D.jsxs)("div",{className:(0,F.cn)(et()),children:[(0,D.jsx)("span",{className:(0,F.cn)(en()),children:e.name}),(0,D.jsxs)("span",{className:(0,F.cn)(er()),children:["+",e.callingCode]})]})},e.isoCountryCode))}):null,(0,D.jsx)("div",{className:ea(),children:(0,D.jsx)(Ef.y,{type:"tel",disabled:g,placeholderOffset:17,ref:P,placeholder:es,floatingLabel:p,id:h,required:$,value:K,currentValue:K,onBlur:w,onFocus:k,valid:_,touched:C,onChange:e=>{e.stopPropagation();let t=e.target,r=t.value;if(E){let e=t.selectionStart??r.length,o=A1(r.slice(0,e)).length,i=A1(r),l=M(i,Z);q(l),R.current=A2(l,o),G(Z,i,!0)}else q(r),G(Z,r,!0)}
46,themeConfig:{slots:{formField:eo(),inputTag:ei()}}})})]})});A5.displayName="FormPhoneInputTag";let A7=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d,c,u,p,f,m;let{className:h,valid:g=!0,touched:v,label:y,id:b,required:x,description:w,loading:k=!1,disabled:_=k,themeConfig:C,flags:$,...S}=e,{isValidAndTouched:E,isInvalidAndTouched:j}=(0,j7.jH)(v,g),{markValidation:N}=(0,mP.tv)(S7.ge)({valid:g,touched:v}),{iconValid:T,iconInvalid:P,inputTag:A,loadingIndicator:O}=(0,mP.tv)(C?(0,B.RH)(S7.xk,C):S7.xk)({valid:g}),R=(0,F.cn)("ef-form-phone-input",h),M=(0,F.cn)(P(),N()),L=(0,F.cn)(T(),N());return(0,D.jsxs)(NP.W,{dir:"ltr",className:R,valid:g,touched:v,description:w,label:y,required:x,id:b,themeConfig:C?{slots:{formField:null==(r=C.slots)?void 0:r.formField,formFieldContainer:null==(o=C.slots)?void 0:o.fieldContainer,formLabelDescription:null==(i=C.slots)?void 0:i.formLabelDescription,formLabelRequiredSign:null==(l=C.slots)?void 0:l.formLabelRequiredSign,formLabelWrapper:null==(s=C.slots)?void 0:s.formLabelWrapper}}:void 0,children:[E?(0,D.jsx)(vX.f,{weight:"fill",className:L}):null,j?(0,D.jsx)(yu.Q,{weight:"fill",className:M}):null,k?(0,D.jsx)(Aq.T,{className:(0,F.cn)(O())}):null,(0,D.jsx)("div",{className:(0,F.cn)("w-full"),children:(0,D.jsx)(A5,{ref:t,themeConfig:(0,B.RH)({slots:{textInputTag:A(),countryText:null==(d=null==C?void 0:C.slots)?void 0:d.countryText,countryCodeText:null==(c=null==C?void 0:C.slots)?void 0:c.countryCodeText,textContainer:null==(u=null==C?void 0:C.slots)?void 0:u.textContainer,countryCodeSelect:null==(p=null==C?void 0:C.slots)?void 0:p.countryCodeSelect,countryCodeSelectPanel:null==(f=null==C?void 0:C.slots)?void 0:f.countryCodeSelectPanel,countryCodeOption:null==(m=null==C?void 0:C.slots)?void 0:m.countryCodeOption}},C||{}),valid:g,touched:v,required:x,disabled:_,id:b,...S})})]})});function Oe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)e[o]=r[o]}return e}A7.displayName="FormPhoneInput";var Ot=function e(t,r){function o(e,o,i){if(!(typeof document>"u")){"number"==typeof(i=Oe({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in i)i[s]&&(l+="; "+s,!0!==i[s]&&(l+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+l}}return Object.create({set:o,get:function(e){if(!(typeof document>"u"||arguments.length&&!e)){for(var r=document.cookie?document.cookie.split("; "):[],o={},i=0;i<r.length;i++){var l=r[i].split("="),s=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(o[d]=t.read(s,d),e===d)break}catch{}}return e?o[e]:o}},remove:function(e,t){o(e,"",Oe({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,Oe({},this.attributes,t))},withConverter:function(t){return e(Oe({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let On=e=>{var t,r,o,i,l,s,d,c,u;let{blok:p}=e,{field_name:f,required:m,placeholder:h,floating_label:g,label:v,description:y,custom_countries:b,countries:x,design:w,custom_country_code_from_cookie
46:k,custom_country_code:_,error_validation_message:C,success_validation_message:$,validation_rules:S,return_value:E="simple"}=p,[j]=(0,oQ.KO)(Eg),[N]=(0,oQ.KO)(Eh),T=S9(),[P,A]=(0,I.useState)(A4),{formState:{errors:O,dirtyFields:R,isSubmitted:M},setValue:L,register:B,unregister:V}=T,z=b&&x&&(null==(t=null==x?void 0:x.options)?void 0:t.length)>0,H=j6(S);(0,I.useEffect)(()=>()=>{V(f.selected)},[]),(0,I.useEffect)(()=>{var e;let t=null==(e=null==N?void 0:N[j])?void 0:e[f.selected];t&&L(f.selected,"simple"===E?t.full:t)},[j,f.selected]),(0,I.useEffect)(()=>{A((()=>{let e=Ot.get(k),t=z?x.options:AQ;return e?t.find(t=>A6(t,e))??t[0]:_?t.find(e=>A6(e,_))??t[0]:P})())},[]);let U=(0,h5.mi)({design:w},NT),{flexClasses:Z,basisClasses:W}=(0,wq.k)({flexProps:{flex:U.item_flex,basis:U.item_basis},type:"item"}),K=(0,F.cn)("sb-form-phone-input",[Z].flat(),[W].flat()),q=R[f.selected]||M,G=typeof O[f.selected]>"u",J=(0,j7.b3)(S);return(0,D.jsxs)(wK.B,{className:K,children:[(null==(r=null==f?void 0:f.selected)?void 0:r.length)>0?(0,D.jsx)(A7,{countries:z?x.options:AQ,defaultCountry:P,className:K,placeholder:h,touched:q,valid:G,floatingLabel:g?v:void 0,label:g?void 0:v,isoCountryValue:null==(i=null==(o=null==N?void 0:N[j])?void 0:o[f.selected])?void 0:i.isoCountryCode,countryValue:null==(s=null==(l=null==N?void 0:N[j])?void 0:l[f.selected])?void 0:s.code,value:null==(c=null==(d=null==N?void 0:N[j])?void 0:d[f.selected])?void 0:c.value,onValueChange:(e,t=!0)=>{L(f.selected,e,{shouldDirty:t,shouldTouch:t,shouldValidate:t}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:j,field_name:f.selected,value:{...e,return_value:{type:E,valueKey:"full"}}}})},required:m||J,description:y,...B(f.selected,{validate:e=>j8(e.value,H,f.selected),required:m}),...hl(p)}):null,(0,D.jsx)(S2,{valid:!1,children:C||(null==(u=O[f.selected])?void 0:u.message)}),(0,D.jsx)(S2,{valid:!0,children:$})]})};On.displayName="FormPhoneInputSB";var Or=r(83454);let Oa={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD,...hO},Oo={...Oa,item_flex:h_(Oa.item_flex,"default_value",{s:"auto"}),item_basis:h_(Oa.item_basis,"default_value",{s:{unit:"fra",value:"0"}})};Or.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([Oa.collapsible_size,Oa.collapsible_layout,Oa.collapsible_component,Oa.collapsible_appearance,Oa.collapsible_text,Oa.collapsible_effects,Oa.collapsible_code_overrides]),JSON.stringify(Oo.item_flex),JSON.stringify(Oo.item_basis);let Oi=(0,I.forwardRef)(({className:e,placeholder:t,onFocus:r,onBlur:o,floatingLabel:i,required:l,id:s,value:d,currentValue:c,...u},p)=>{if(!i)return(0,D.jsx)("textarea",{ref:p,className:e,placeholder:t,onFocus:r,onBlur:o,value:d,id:s,...u});let{labelClassName:f,inputOnFocus:m,inputOnBlur:h}=(0,NA.O)({onFocus:r,onBlur:o,value:c||d,placeholder:t,shimmed:!0});return(0,D.jsxs)(D.Fragment,{children:[(0,NA.T)(s,f,i,0,l),(0,D.jsx)("textarea",{ref:p,placeholder:t,className:e,onFocus:m,onBlur:h,value:d,id:s,...u},`textarea-with-floating-label_${s}`)]})});Oi.displayName="FormTextareaTag";var Ol=r(72123);let Os=(0,I.forwardRef)(({className:e,valid:t,floatingLabel:r,touched:o,label:i,required:l=!1,description:s,currentValue:d,id:c,themeConfig:u,...p},f)=>{var m,h,g,v,y;let{isValidAndTouched:b,isInvalidAndTouched:x}=(0,j7.jH)(o,t),{markValidation:w}=(0,B.tv)(S7.ge)({valid:t,touched:o}),{iconInvalid:k,iconValid:_,inputTag:C}=(0,B.tv)(u?(0,B.RH)(S7.xk,u):S7.xk)({hasFloatingLabel:!!r,type:"textarea"}),$=(0,F.cn)("ef-form-textarea",e),S=(0,F.cn)(k(),w()),E=(0,F.cn)(_(),w());return(0,D.jsxs)(NP.W,{className:$,valid:t,touched:o,description:s,label:i,required:l,id:c,themeConfig:u?{slots:{formField:null==(m=u.slots)?void 0:m.field,formFieldContainer:null==(h=u.slots)?void 0:h.fieldContainer,formLabelDescription:null==(g=u.slots)?void 0:g.formLabelDescription,formLabelRequiredSign:null==(v=u.slots)?void 0:v.formLabelRequiredSign,formLabelWrapper:null==(y=u.slots)?void 0:y.formLabelWrapper}}:void 0,children:[b&&(0,D.jsx)(vX.f,{weight:"fill",className:E}),x&&(0,D.jsx)(yu.Q,{weight:"fill",className:S}
46),(0,D.jsx)(Ol.O,{className:(0,F.cn)(C()),intent:x?"invalid":b?"valid":"default",interaction:"input",renderCustomComponent:e=>(0,D.jsx)(Oi,{ref:f,floatingLabel:r,currentValue:d,required:l,id:c,...p,...e})})]})});Os.displayName="FormTextarea";let Od=e=>{var t,r;let{blok:o}=e,{label:i,description:l,floating_label:s,field_name:d,required:c,placeholder:u,max_length:p,min_length:f,design:m,custom_classname:h,error_validation_message:g,success_validation_message:v,validation_rules:y}=o,b=S9(),[x]=(0,oQ.KO)(Eg),{formState:{errors:w,dirtyFields:k,isSubmitted:_},register:C,unregister:$,getValues:S,watch:E}=b,j=j6(y);(0,I.useEffect)(()=>()=>{$(d.selected)},[]);let N=(0,h5.mi)({design:m},Oo),{flexClasses:T,basisClasses:P}=(0,wq.k)({flexProps:{flex:N.item_flex,basis:N.item_basis},type:"item"}),A=(0,F.cn)("sb-form-textarea",[T].flat(),[P].flat(),h),O={required:c,...p?{maxLength:Number(p)}:{},...f?{minLength:Number(f)}:{}},R=k[d.selected]||_,M=typeof w[d.selected]>"u",L=e=>{Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:x,field_name:d.selected,value:S(d.selected)??E(d.selected),event:e}})},B=(0,j7.b3)(y);return(0,D.jsxs)(wK.B,{className:A,children:[(null==(t=null==d?void 0:d.selected)?void 0:t.length)>0?(0,D.jsx)(Os,{className:A,placeholder:u,touched:R,valid:M,floatingLabel:s?i:void 0,label:s?void 0:i,required:c||B,description:l,currentValue:S(d.selected)??E(d.selected),...C(d.selected,{validate:e=>j8(e,j,d.selected),...O,onBlur:L,onChange:L}),...hl(o)}):null,(0,D.jsx)(S2,{valid:!1,children:g||(null==(r=w[d.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:v})]})};Od.displayName="FormTextareaSB";var Oc=r(83454);let Ou={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD,...hO},Op={...Ou,item_flex:h_(Ou.item_flex,"default_value",{})};Oc.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([Ou.collapsible_size,Ou.collapsible_layout,Ou.collapsible_component,Ou.collapsible_appearance,Ou.collapsible_text,Ou.collapsible_effects,Ou.collapsible_code_overrides]),JSON.stringify(Op.item_flex),JSON.stringify(Op.item_basis);var Of=r(63890);let Om=(0,B.c6)({slots:{root:"group relative isolate flex cursor-pointer items-center gap-s rounded-full disabled:cursor-not-allowed",thumbWrapper:(0,Of.W)("flex h-l w-[56px] translate-x-0 items-center rounded-full border border-system-stroke-default bg-system-surface-default transition-all duration-system-short ease-system-easing-expressive group-hover:border-system-stroke-hover","group-data-[state=checked]:border-system-stroke-selected-on-weak group-data-[state=checked]:bg-system-surface-selected-weak group-data-[state=checked]:ring-1 group-data-[state=checked]:ring-system-stroke-selected-on-weak group-hover:group-data-[state=checked]:ring-0 group-hover:group-data-[state=unchecked]:ring-0","group-disabled:border-system-stroke-disabled group-disabled:bg-system-surface-disabled-weak group-disabled:group-data-[state=checked]:border-system-stroke-disabled group-disabled:group-data-[state=checked]:bg-system-surface-disabled-weak group-disabled:group-data-[state=checked]:ring-0","group-data-[valid=false]:border-system-stroke-warning-on-weak group-data-[valid=false]:bg-system-surface-warning-weak group-data-[valid=false]:ring-1 group-data-[valid=false]:ring-system-stroke-warning-on-weak group-data-[valid=false]:group-hover:border-system-stroke-hover"),thumb:(0,Of.W)("block h-m w-m translate-x-[4px] rounded-full bg-system-stroke-default transition-all duration-system-short ease-system-easing-expressive group-hover:bg-system-stroke-hover","group-disabled:bg-system-vector-disabled-default group-data-[state=checked]:translate-x-[26px] group-data-[valid=false]:group-data-[state=checked]:translate-x-[26px] group-data-[valid=false]:translate-x-[3px] group-data-[state=checked]:bg-system-stroke-selected-on-weak group-data-[valid=false]:bg-system-stroke-warning-on-weak group-disabled:group-data-[state=checked]:bg-system-vector-disabled-default"),label:"cursor-pointer text-system-text-default text-ui-label-large group-disabled:cursor-not-allowed group-disabled:text-system-text-disabled-default",labelRequired:"no-underline"}});
46var Oh=r(92482),Og=r(43525),Ov=r(53234),Oy=r(15224),Ob=r(90815),Ox=r(26967),Ow=r(21563);let Ok="Switch",[O_]=(0,Ov.b)(Ok),[OC,O$]=O_(Ok),OS=(0,I.forwardRef)((e,t)=>{let{__scopeSwitch:r,name:o,checked:i,defaultChecked:l,required:s,disabled:d,value:c="on",onCheckedChange:u,...p}=e,[f,m]=(0,I.useState)(null),h=(0,Og.e)(t,e=>m(e)),g=(0,I.useRef)(!1),v=!f||!!f.closest("form"),[y=!1,b]=(0,Oy.T)({prop:i,defaultProp:l,onChange:u});return(0,I.createElement)(OC,{scope:r,checked:y,disabled:d},(0,I.createElement)(Ow.W.button,(0,gO.Z)({type:"button",role:"switch","aria-checked":y,"aria-required":s,"data-state":ON(y),"data-disabled":d?"":void 0,disabled:d,value:c},p,{ref:h,onClick:(0,Oh.M)(e.onClick,e=>{b(e=>!e),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})),v&&(0,I.createElement)(Oj,{control:f,bubbles:!g.current,name:o,value:c,checked:y,required:s,disabled:d,style:{transform:"translateX(-100%)"}}))}),OE=(0,I.forwardRef)((e,t)=>{let{__scopeSwitch:r,...o}=e,i=O$("SwitchThumb",r);return(0,I.createElement)(Ow.W.span,(0,gO.Z)({"data-state":ON(i.checked),"data-disabled":i.disabled?"":void 0},o,{ref:t}))}),Oj=e=>{let{control:t,checked:r,bubbles:o=!0,...i}=e,l=(0,I.useRef)(null),s=(0,Ob.D)(r),d=(0,Ox.t)(t);return(0,I.useEffect)(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(s!==r&&t){let i=new Event("click",{bubbles:o});t.call(e,r),e.dispatchEvent(i)}},[s,r,o]),(0,I.createElement)("input",(0,gO.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:r},i,{tabIndex:-1,ref:l,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function ON(e){return e?"checked":"unchecked"}let OT=(0,I.forwardRef)((e,t)=>{var r,o;let{valid:i=!0,touched:l,description:s,className:d,required:c,themeConfig:u,...p}=e,{root:f,label:m,labelRequired:h}=(0,B.tv)(u?(0,B.RH)(Om,u):Om)(),g=(0,F.cn)("ef-switch",f(),d);return(0,D.jsx)(NP.W,{valid:i,touched:l,description:s,required:c,children:(0,D.jsx)(e9.t,{children:(0,D.jsxs)(OS,{tabIndex:e.tabIndex??0,ref:t,className:g,"data-valid":i,"aria-label":e.children?String(e.children):"",...p,children:[(0,D.jsx)(OP,{themeConfig:{...u,slots:{thumbWrapper:null==(r=null==u?void 0:u.slots)?void 0:r.thumbWrapper,thumb:null==(o=null==u?void 0:u.slots)?void 0:o.thumb}}}),(0,D.jsxs)("label",{htmlFor:e.id,className:(0,F.cn)(m()),children:[e.children," ",c&&(0,D.jsx)("abbr",{className:(0,F.cn)(h()),title:"required",children:"*"})]})]})})})});OT.displayName="FormSwitch";let OP=(0,I.forwardRef)((e,t)=>{let{themeConfig:r,className:o,...i}=e,{thumbWrapper:l,thumb:s}=(0,B.tv)(r?(0,B.RH)(Om,r):Om)(),d=(0,F.cn)("ef-switch-thumb",l(),o);return(0,D.jsx)("div",{className:d,children:(0,D.jsx)(OE,{ref:t,...i,className:(0,F.cn)(s())})})});OP.displayName="FormSwitchThumb";let OA=e=>{var t,r;let{blok:o}=e,{field_name:i,required:l,label:s,design:d,error_validation_message:c,success_validation_message:u,custom_classname:p,validation_rules:f}=o,[m]=(0,oQ.KO)(Eg),{setValue:h,formState:{errors:g,isSubmitted:v,dirtyFields:y},register:b,unregister:x,getValues:w,watch:k}=S9(),_=j6(f,{type:"boolean"}),C=l||(0,j7.b3)(f);(0,I.useEffect)(()=>(Nh({fieldName:i.selected,getValues:w,setValue:h}),()=>{x(i.selected)}),[i.selected,w,h,x]);let $=(0,h5.mi)({design:d},Op),{flexClasses:S,basisClasses:E}=(0,wq.k)({flexProps:{flex:$.item_flex,basis:$.item_basis},type:"item"}),j=(0,F.cn)("sb-form-switch",[S].flat(),[E].flat(),p),N=y[i.selected]||v,T=typeof g[i.selected]>"u";return(0,D.jsxs)(wK.B,{className:j,children:[(null==(t=null==i?void 0:i.selected)?void 0:t.length)>0?(0,D.jsx)(OT,{className:j,touched:N,valid:T,required:l||C,onCheckedChange:e=>{h(i.selected,e,{shouldDirty:!0,shouldValidate:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:m,field_name:i.selected,value:e}})},checked:w(i.selected)??k(i.selected),...b(i.selected,{validate:e=>Nm({value:e,zodSchema:_,fieldName:i.selected,required:C})}),...hl(o),children:s}):null,(0,D.jsx)(S2,{valid:!1,children:c||(null==(r=g[i.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:u})]})};OA.displayName="FormSwitchSB";var OO=r(83454);let OR={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
46ys:[],default_value:{}},...hD,...hO},OD={...OR,item_basis:h_(OR.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(OR.item_flex,"default_value",{s:"auto"})};OO.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([OR.collapsible_size,OR.collapsible_layout,OR.collapsible_component,OR.collapsible_appearance,OR.collapsible_text,OR.collapsible_effects,OR.collapsible_code_overrides]),JSON.stringify(OD.item_flex),JSON.stringify(OD.item_basis),En.section_legacy,[...En.section_legacy.keys];let OM=e=>{var t,r,o;let{blok:i}=e,{field_name:l,required:s,placeholder:d,floating_label:c,options:u,custom_options:p,label:f,description:m,custom_classname:h,custom_default_value:g,design:v,error_validation_message:y,success_validation_message:b,validation_rules:x}=i,[w]=(0,oQ.KO)(Eg),{setValue:k,formState:{errors:_,dirtyFields:C,isSubmitted:$},register:S,unregister:E,getValues:j,watch:N}=S9(),T=j6(x);(0,I.useEffect)(()=>()=>{E(l.selected)},[]),(0,I.useEffect)(()=>{g&&k(l.selected,g)},[g]);let P=(0,h5.mi)({design:v},OD),{flexClasses:A,basisClasses:O}=(0,wq.k)({flexProps:{flex:P.item_flex,basis:P.item_basis},type:"item"}),R=(0,F.cn)("sb-form-select min-w-0",[A].flat(),[O].flat(),h),M=p&&(null==(t=null==p?void 0:p.options)?void 0:t.length)>0?p.options:u,L=C[l.selected]||$,B=typeof _[l.selected]>"u",V=(0,j7.b3)(x);return(0,D.jsxs)(wK.B,{className:R,children:[(null==(r=null==l?void 0:l.selected)?void 0:r.length)>0?(0,D.jsx)(AG,{placeholder:d,touched:L,valid:B,floatingLabel:c?f:void 0,label:c?void 0:f,required:s||V,description:m,onValueChange:e=>{k(l.selected,e,{shouldValidate:!0,shouldDirty:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:w,field_name:l.selected,value:e}})},currentValue:j(l.selected)??(N(l.selected)||g),value:j(l.selected)??(N(l.selected)||g),...S(l.selected,{validate:e=>j8(e,T,l.selected),required:s}),...hl(i),children:null==M?void 0:M.map(e=>e.value&&e.name?(0,D.jsx)(AY,{value:e.value,children:e.name},`${e.value}-${e.name}`):null)}):null,(0,D.jsx)(S2,{valid:!1,children:y||(null==(o=_[l.selected])?void 0:o.message)}),(0,D.jsx)(S2,{valid:!0,children:b})]})};OM.displayName="FormSelectSB";let OL=(0,I.createContext)({testValue:"test",formConditions:{},setFormConditions:()=>{}}),OI={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...CX,...CY,...CQ,...wG,...hP,...yD,...C0,...hO,...hD},OF={...OI,direction:h_(OI.direction,"default_value",{s:"row"}),gap:h_(OI.gap,"default_value",{s:"s"}),align:h_(OI.align,"default_value",{})};[...C3.schema.content.component_whitelist],[JSON.stringify([OI.collapsible_size,OI.collapsible_layout,OI.collapsible_component,OI.collapsible_appearance,OI.collapsible_text,OI.collapsible_effects,OI.collapsible_code_overrides]),JSON.stringify(OF.spacing),JSON.stringify(OF.direction),JSON.stringify(OF.gap),JSON.stringify(OF.justify),JSON.stringify(OF.align),JSON.stringify(OF.wrap),...hR.design.options,...hM.design.options];let OB=e=>{var t;return Array.from(new Set(null==(t=null==e?void 0:e.validation)?void 0:t.conditionGroups.flatMap(e=>e.conditions.map(e=>e.fieldName))))},OV=["sb-form-hidden-input","sb-form-hidden-checkbox"],Oz=e=>e.component&&OV.includes(e.component),OH=e=>{let{setFormConditions:t}=(0,I.useContext)(OL),{blok:r}=e,{content:o,design:i,conditions:l,custom_classname:s}=r,{getValues:d}=S9(),c=(0,h5.mi)({design:i},OF),u=(0,h7.N)(null==c?void 0:c.spacing),p=(0,I.useMemo)(()=>l.flatMap(e=>"sb-conditional-render-rules"===e.component?OB(e.conditional_render_rules):[]),[l]),f=(0,I.useRef)(new Map),m=e=>{let t=JSON.stringify(e.conditional_render_rules),r=`${e._uid}:${t}`;return f.current.has(r)||f.current.set(r,j6(e.conditional_render_rules)),f.current.get(r)},h=(0,I.useMemo)(()=>_M(e=>{t(t=>({...t,...e}))},300),[t]),g=p.map(e=>`${e}:${JSON.stringify(d(e))}`).join("|");(0,I.useEffect)(()=>{if(!l||(null==l?void 0:l.length)<=0||!p||(null==p?void 0:p.length)===0)return;let e={};return l.forEach(t=>{var r,o;if("sb-conditional-render-rules"===t.component){let i=j9(m(t),d()),l=null==(o=null==(r=t.conditional_render_rules)?void 0:r.conclusion)?void 0:o.componentToShow;l&&(e[l]=i)}}),Object.keys(e).length>0&&h(e),()=>{h.cancel()}},[g,l,h]);let{alignClasses:v,justifyClasses:y,directionClasses:b,wrapClasses:x,gapClasses:w}=$p({flexProps:{direction:null==c?void 0:c.direction,justify:null==c?void 0:c.justify,align:null==c?void 0:c.align,wrap:null==c?void 0:c.wrap,gap:null==c?void 0:c.gap},type:"group"}),k=(0,F.cn)("sb-form-row",u,[v,y,b,x,w].flat(),s);return(0,D.jsx)(wW.k,{className:k,...hl(r),children:null==o?void 0:o.map(e=>(0,D.jsx)(hs,{blok:e,className:Oz(e)?"hidden":void 0},e._uid))})};OH.displayName="FormRowSB";let OU={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
46ys:[],default_value:{}},...hD,...hO},OZ={...OU,item_flex:h_(OU.item_flex,"default_value",{})},OW={...Et,name:"sb-form-radio-item",display_name:"Form Radio Item",schema:{label:{type:"text",translatable:!0},value:{type:"text",translatable:!0},design:{type:"custom",field_type:"backpack-breakpoints-v2",options:[{name:"__collapsibles",value:JSON.stringify([OU.collapsible_size,OU.collapsible_layout,OU.collapsible_component,OU.collapsible_appearance,OU.collapsible_text,OU.collapsible_effects,OU.collapsible_code_overrides])},{name:"item_flex",value:JSON.stringify(OZ.item_flex)},{name:"item_basis",value:JSON.stringify(OZ.item_basis)}]},tab_content:{type:"tab",display_name:"Content",keys:["label","value"]},tab_design:{type:"tab",display_name:"Design",keys:["design"]}}},OK={...OZ,...hD,item_flex:h_(OZ.item_flex,"default_value",{s:"auto"}),item_basis:h_(OZ.item_basis,"default_value",{s:{unit:"fra",value:"0"}})};OW.schema,JSON.stringify([OZ.collapsible_size,OZ.collapsible_layout,OZ.collapsible_component,OZ.collapsible_appearance,OZ.collapsible_text,OZ.collapsible_effects,OZ.collapsible_code_overrides]),JSON.stringify(OK.item_flex),JSON.stringify(OK.item_basis);var Oq=r(98681),OG=r(21072);let OJ=(0,I.forwardRef)((e,t)=>{let{valid:r=!0,stack:o=!1,radius:i="xs",required:l,disabled:s,showIndicator:d=!0,tabIndex:c=0,className:u,children:p,dir:f="ltr",themeConfig:m,...h}=e,g=void 0!==e.valid,{root:v,indicator:y,indicatorWrapper:b}=(0,B.tv)(m?(0,B.RH)(N_.vf,m):N_.vf)({type:"radio",stack:o,radius:i,valid:g?r:"undefined"}),{root:x}=(0,B.tv)(AW.v)({radius:i,disabled:s,interaction:"link",intent:"default"}),w=(0,F.cn)("ef-radio",v(),u),{item:k,itemIndicator:_,innerIndicator:C}=(0,B.tv)(OG.E)();return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(e9.t,{within:!0,children:(0,D.jsx)(Oq.ck,{tabIndex:c??0,ref:t,className:(0,F.cn)("ef-form-surface","ef-form-tile",x(),w),"data-valid":g?r:void 0,"data-disabled":!!s||void 0,disabled:s,dir:f,...h,children:(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(it.o,{atomValues:[[Nw._$,{stack:o,required:l}]],children:p}),d?(0,D.jsx)("div",{className:(0,F.cn)(k(),b()),children:(0,D.jsx)(Oq.z$,{className:(0,F.cn)(_(),y()),children:(0,D.jsx)("span",{className:(0,F.cn)(C())})})}):null]})})})})});OJ.displayName="FormRadioTile";let OY=e=>{let{blok:t,valid:r}=e,{value:o,label:i,design:l}=t,s=(0,h5.mi)({design:l},OK),{flexClasses:d,basisClasses:c}=(0,wq.k)({flexProps:{flex:s.item_flex,basis:s.item_basis},type:"item"}),u=(0,F.cn)("sb-form-radio-item",[d].flat(),[c].flat());return(0,D.jsx)(wK.B,{className:u,children:(0,D.jsx)(OJ,{value:o,valid:r,...hl(t),children:(0,D.jsx)(NS,{children:(0,D.jsx)(Nk,{children:i})})})})};OY.displayName="FormRadioItemTileSB";var OX=r(54795);let OQ=e=>{let{blok:t,valid:r}=e,{value:o,label:i,design:l}=t,s=(0,h5.mi)({design:l},OZ),{flexClasses:d,basisClasses:c}=(0,wq.k)({flexProps:{flex:s.item_flex,basis:s.item_basis},type:"item"}),u=(0,F.cn)("sb-form-radio-item",[d].flat(),[c].flat());return(0,D.jsx)(wK.B,{className:u,children:(0,D.jsx)(OX.w,{value:o,valid:r,...hl(t),children:i})})};OQ.displayName="FormRadioItemSB";var O0=r(83454);let O1={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD,...hO},O2={...O1,item_basis:h_(O1.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(O1.item_flex,"default_value",{s:"auto"})};O0.env.STORYBLOK_OAUTH_TOKEN,JSON.stringify([O1.collapsible_size,O1.collapsible_layout,O1.collapsible_component,O1.collapsible_appearance,O1.collapsible_text,O1.collapsible_effects,O1.collapsible_code_overrides]),JSON.stringify(O2.item_flex),JSON.stringify(O2.item_basis);let O3=(0,B.c6)({slots:{root:"h-[56px] w-full min-w-[320px] flex-1 border-none p-0 ring-1 ring-inset ring-system-stroke-default transition-all duration-system-short ease-system-easing-standard",segmentsWrapper:"flex h-full gap-xxs",segmentDivider:"pointer-events-none flex flex-none items-center",comboBoxRoot:"group/segment",comboBoxInput:"focus:border-system-stroke-focus focus:ring-system-stroke-focus group-hover:ring-system-stroke-focus w-full border-transparent bg-transparent text-center first:border hover:border-transparent focus:ring-inset focus:placeholder:text-transparent",comboBoxInputTag:"text-center"},variants:{disabled:{true:{root:"cursor-not-allowed ring-system-stroke-disabled",segmentDivider:"text-system-text-disabled-default",comboBoxInput:"border-none disabled:bg-transparent"}}}});var O4=r(31359);let O6=(0,B.c6)({slots:{root:"flex h-[56px] flex-1",input:"peer isolate h-full w-full flex-1 p-s",button:"flex h-full items-center rounded-e-sm border border-s-0 border-solid border-system-stroke-default bg-system-surface-default px-s text-system-text-default transition-colors duration-system-short hover:z-10 hover:-ms-px hover:border-s hover:border-system-stroke-hover hover:bg-system-surface-hover peer-disabled:cursor-not-allowed peer-disabled:border-system-stroke-disabled peer-disabled:bg-system-surface-disabled-weak peer-disabled:text-system-text-disabled-default peer-disabled:hover:border-system-stroke-disabled",popover:"z-[9999] mt-2 overflow-auto rounded-sm bg-system-surface-default p-2 shadow-dark-m-15 animate-in animate-from-opacity-0 animate-from-top-xs animation-duration-system-medium animation-ease-system-easing-expressive",listItem:"flex h-[40px] items-center justify-between rounded-xs p-2 text-system-text-default hover:bg-system-surface-hover",listItemCheck:"text-system-vector-selected-on-weak"},variants:{showChevronButton:{true:{input:"rounded-e-none"},false:{button:"hidden"}},hasFloatingLabel:{true:{input:"pb-xs pt-m"}},loading:{true:{input:"text-system-text-weak"}}}}),O8=new WeakMap;function O9(e,t){let r=O8.get(e);if(!r)throw Error("Unknown list");return`${r.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}var O5=r(54039),O7=r(28506);class Re{getItemRect(e){let t=this.ref.current;if(!t)return null;let r=null!=e?_8(this.ref,e):null;if(!r)return null;let o=t.getBoundingClientRect(),i=r.getBoundingClientRect();return{x:i.left-o.left+t.scrollLeft,y:i.top-o.top+t.scrollTop,width:i.width,height:i.height}}getContentSize(){var e,t;let r=this.ref.current;return{width:null!==(e=null==r?void 0:r.scrollWidth)&&void 0!==e?e:0,height:null!==(t=null==r?void 0:r.scrollHeight)&&void 0!==t?t:0}}getVisibleRect(){var e,t,r,o;let i=this.ref.current;return{x:null!==(e=null==i?void 0:i.scrollLeft)&&void 0!==e?e:0,y:null!==(t=null==i?void 0:i.scrollTop)&&void 0!==t?t:0,width:null!==(r=null==i?void 0:i.offsetWidth)&&void 0!==r?r:0,height:null!==(o=null==i?void 0:i.offsetHeight)&&void 0!==o?o:0}}constructor(e){this.ref=e}}var Rt=r(45660);class Rn{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null===(t=e.props)||void 0===t?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let r=e;for(;null!=r;){let e=this.collection.getItem(r);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return r;r=t(r)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,r){let o=e,i=this.layoutDelegate.getItemRect(o);if(!i||null==o)return null;let l=i;
46do{if(null==(o=t(o)))break;i=this.layoutDelegate.getItemRect(o)}while(i&&r(l,i)&&null!=o);return o}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!(0,Rt.a)(t))return this.getFirstKey();let o=e;if("horizontal"===this.orientation){let e=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>e&&null!=o;)r=null==(o=this.getKeyAbove(o))?null:this.layoutDelegate.getItemRect(o)}else{let e=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>e&&null!=o;)r=null==(o=this.getKeyAbove(o))?null:this.layoutDelegate.getItemRect(o)}return o??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(t&&!(0,Rt.a)(t))return this.getLastKey();let o=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<e&&null!=o;)r=null==(o=this.getKeyBelow(o))?null:this.layoutDelegate.getItemRect(o)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<e&&null!=o;)r=null==(o=this.getKeyBelow(o))?null:this.layoutDelegate.getItemRect(o)}return o??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let r=this.collection,o=t||this.getFirstKey();for(;null!=o;){let t=r.getItem(o);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return o;o=this.getNextKey(o)}return null}constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new Re(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Re(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}var Rr=r(94852),Ra=r(76346);let Ro=new WeakMap;function Ri(e){let t=Ro.get(e);if(null!=t)return t;let r=0,o=t=>{for(let i of t)"section"===i.type?o(Cw(i,e)):r++};return o(e),Ro.set(e,r),r}let Rl=(0,B.An)({itemClasses:void 0,checkClasses:void 0}),Rs=e=>{let{item:t,state:r,className:o,...i}=e,l=(0,I.useRef)(null),{optionProps:s,isSelected:d,isFocusVisible:c}=function(e,t,r){var o,i,l,s,d,c,u,p;let{key:f}=e,m=O8.get(t),h=null!==(l=e.isDisabled)&&void 0!==l?l:t.selectionManager.isDisabled(f),g=null!==(s=e.isSelected)&&void 0!==s?s:t.selectionManager.isSelected(f),v=null!==(d=e.shouldSelectOnPressUp)&&void 0!==d?d:null==m?void 0:m.shouldSelectOnPressUp,y=null!==(c=e.shouldFocusOnHover)&&void 0!==c?c:null==m?void 0:m.shouldFocusOnHover,b=null!==(u=e.shouldUseVirtualFocus)&&void 0!==u?u:null==m?void 0:m.shouldUseVirtualFocus,x=null!==(p=e.isVirtualized)&&void 0!==p?p:null==m?void 0:m.isVirtualized,w=(0,_3.mp)(),k=(0,_3.mp)(),_={role:"option","aria-disabled":h||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?g:void 0};(0,_4.V5)()&&(0,_4.Pf)()||(_["aria-label"]=e["aria-label"],_["aria-labelledby"]=w,_["aria-describedby"]=k);let C=t.collection.getItem(f);if(x){let e=Number(null==C?void 0:C.index);_["aria-posinset"]=Number.isNaN(e)?void 0:e+1,_["aria-setsize"]=Ri(t.collection)}let $=null!=m&&m.onAction?()=>{var e;return null==m||null===(e=m.onAction)||void 0===e?void 0:e.call(m,f)}:void 0,S=O9(t,f),{itemProps:E,isPressed:j,isFocused:N,hasAction:T,allowsSelection:P}=Cs({selectionManager:t.selectionManager,key:f,ref:r,shouldSelectOnPressUp:v,allowsDifferentPressOrigin:v&&y,isVirtualized:x,shouldUseVirtualFocus:b,isDisabled:h,onAction:$||!(null==C||null===(o=C.props)||void 0===o)&&o.onAction?(0,Ra.t)(null==C||null===(i=C.props)||void 0===i?void 0:i.onAction,$):void 0,linkBehavior:null==m?void 0:m.linkBehavior,id:S}),{hoverProps:A}=(0,aR.X)({isDisabled:h||!y,onHoverStart(){(0,CM.E)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(f))}}),O=(0,_0.z)(null==C?void 0:C.props);delete O.id;let R=(0,_1.eY)(null==C?void 0:C.props);return{optionProps:{..._,...(0,wN.d)(O,E,A,R),id:S},labelProps:{id:w},descriptionProps:{id:k},isFocused:N,isFocusVisible:N&&t.selectionManager.isFocused&&(0,CM.E)(),isSelected:g,isDisabled:h,isPressed:j,allowsSelection:P,hasAction:T}}
46({key:t.key},r,l),{itemClasses:u,checkClasses:p}=(0,oQ.Dv)(Rl),f=(0,F.cn)("ef-combo-box-list-item",u,o);return(0,D.jsxs)("li",{...s,ref:l,className:(0,F.cn)(f,c?"rounded-xs shadow-[0_0_0_2px_var(--color-brand-primary)_inset]":""),...i,children:[t.rendered,d&&(0,D.jsx)(aB.a,{className:(0,F.cn)(p),size:"m",children:(0,D.jsx)(AJ.J,{weight:"bold"})})]})};Rs.displayName="ComboBoxListItem";let Rd=e=>{let{listBoxRef:t,state:r,className:o}=e,{listBoxProps:i}=function(e,t,r){let o=(0,_0.z)(e,{labelable:!0}),i=e.selectionBehavior||"toggle",l=e.linkBehavior||("replace"===i?"action":"override");"toggle"===i&&"action"===l&&(l="override");let{listProps:s}=function(e){let{selectionManager:t,collection:r,disabledKeys:o,ref:i,keyboardDelegate:l,layoutDelegate:s}=e,d=(0,Rr.X)({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,u=(0,I.useMemo)(()=>l||new Rn({collection:r,disabledKeys:o,disabledBehavior:c,ref:i,collator:d,layoutDelegate:s}),[l,s,r,o,i,d,c]),{collectionProps:p}=CL({...e,ref:i,selectionManager:t,keyboardDelegate:u});return{listProps:p}}({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:l}),{focusWithinProps:d}=(0,O5.L)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=(0,_3.Me)(e.id);O8.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:l});let{labelProps:u,fieldProps:p}=(0,O7.N)({...e,id:c,labelElementType:"span"});return{labelProps:u,listBoxProps:(0,wN.d)(o,d,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,wN.d)(p,s)})}}(e,r,t);return(0,D.jsx)("ul",{...i,ref:t,className:o,children:[...r.collection].map(e=>(0,D.jsx)(Rs,{item:e,state:r},e.key))})};Rd.displayName="ComboBoxListBox";var Rc=r(8390),Ru=r(52451),Rp=r(26319);let Rf=e=>{let{children:t,state:r,className:o,...i}=e,{popoverProps:l}=(0,Ru.S)(e,r),s=(0,F.cn)("ef-combo-box-popover",o);return(0,D.jsx)(Rp.aV,{...i,children:(0,D.jsxs)("div",{...l,ref:e.popoverRef,className:s,style:{...l.style,width:null==e?void 0:e.width},children:[t,(0,D.jsx)(Rc.U,{onDismiss:r.close})]})})};Rf.displayName="ComboBoxPopover";var Rm=r(55189),Rh=r(54245),Rg=r(64106),Rv=r(47717),Ry={};Ry={"ar-AE":{buttonLabel:"عرض اÙÙ
ÙØªØ±ØØ§Øª",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Ø®ÙØ§Ø±`,other:()=>`${t.number(e.optionCount)} Ø®ÙØ§Ø±Ø§Øª`})} Ù
ØªØ§ØØ©.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`اÙÙ
جÙ
ÙØ¹Ø© اÙÙ
Ø¯Ø®ÙØ© ${e.groupTitle}, Ù
ع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Ø®ÙØ§Ø±`,other:()=>`${t.number(e.groupCount)} Ø®ÙØ§Ø±Ø§Øª`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", Ù
ØØ¯Ø¯",other:""},e.isSelected)}`,listboxLabel:"Ù
ÙØªØ±ØØ§Øª",selectedAnnouncement:e=>`${e.optionText}Ø Ù
ØØ¯Ø¯`},"bg-BG":{buttonLabel:"Ðокажи пÑедложениÑ",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опÑиÑ`,other:()=>`${t.number(e.optionCount)} опÑии`})} на Ñазположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`ÐÑведена гÑÑпа ${e.groupTitle}, Ñ ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опÑиÑ`,other:()=>`${t.number(e.groupCount)} опÑии`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избÑани",other:""},e.isSelected)}`,listboxLabel:"ÐÑедложениÑ",selectedAnnouncement:e=>`${e.optionText}, избÑани`},"cs-CZ":{buttonLabel:"Zobrazit doporuÄen\xed",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-\xed`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina â${e.groupTitle}â ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možnost\xed`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybr\xe1no)",other:""},e.isSelected)}`,listboxLabel:"N\xe1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybr\xe1no`},"da-DK":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>
46`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xe6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xe6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"de-DE":{buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xfcgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgew\xe4hlt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xe4hlt`},"el-GR":{buttonLabel:"Î Ïοβολή ÏÏοÏάÏεÏν",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} εÏιλογή`,other:()=>`${t.number(e.optionCount)} εÏιλογÎÏ `})} διαθÎÏιμεÏ.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`ÎιÏαγμÎνη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} εÏιλογή`,other:()=>`${t.number(e.groupCount)} εÏιλογÎÏ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", εÏιλεγμÎνο",other:""},e.isSelected)}`,listboxLabel:"Î ÏοÏάÏειÏ",selectedAnnouncement:e=>`${e.optionText}, εÏιλÎÏθηκε`},"en-US":{focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"},"es-ES":{buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xf3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xf3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`},"et-EE":{buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud r\xfchm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`},"fi-FI":{buttonLabel:"N\xe4yt\xe4 ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xe4\xe4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`},"fr-FR":{buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>
46`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", s\xe9lectionn\xe9(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xe9lectionn\xe9`},"he-IL":{buttonLabel:"××¦× ×צע×ת",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`×פשר×ת ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} ×פשר×××ת`})} ×××¦× ××××.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`× ×× ×¡ ××§×××¦× ${e.groupTitle}, ×¢× ${t.plural(e.groupCount,{one:()=>`×פשר×ת ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} ×פשר×××ת`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", × ××ר",other:""},e.isSelected)}`,listboxLabel:"×צע×ת",selectedAnnouncement:e=>`${e.optionText}, × ××ר`},"hr-HR":{buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno joÅ¡: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`},"hu-HU":{buttonLabel:"Javaslatok megjelen\xedt\xe9se",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetÅs\xe9g`,other:()=>`${t.number(e.optionCount)} lehetÅs\xe9g`})} \xe1ll rendelkez\xe9sre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Bel\xe9pett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetÅs\xe9get`,other:()=>`${t.number(e.groupCount)} lehetÅs\xe9get`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijel\xf6lve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijel\xf6lve`},"it-IT":{buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`},"ja-JP":{buttonLabel:"åè£ã表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} åã®ãªãã·ã§ã³`,other:()=>`${t.number(e.optionCount)} åã®ãªãã·ã§ã³`})}ãå©ç¨ã§ãã¾ãã`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`å
¥åãããã°ã«ã¼ã ${e.groupTitle}ã${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} åã®ãªãã·ã§ã³`,other:()=>`${t.number(e.groupCount)} åã®ãªãã·ã§ã³`})}ãå«ãã`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"ã鏿æ¸ã¿",other:""},e.isSelected)}`,listboxLabel:"åè£",selectedAnnouncement:e=>`${e.optionText}ã鏿æ¸ã¿`},"ko-KR":{buttonLabel:"ì ì ì¬í íì",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}ê° ìµì
`,other:()=>`${t.number(e.optionCount)}ê° ìµì
`})}ì ì¬ì©í ì ììµëë¤.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`ì
ë ¥í 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}ê° ìµì
`,other:()=>`${t.number(e.groupCount)}ê° ìµì
`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ì íë¨",other:""},e.isSelected)}`,listboxLabel:"ì ì",selectedAnnouncement:e=>`${e.optionText}, ì íë¨`},"lt-LT":{buttonLabel:"Rodyti pasiÅ«lymus",countAnnouncement:(e,t)=>
46`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ä®vesta grupÄ ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"PasiÅ«lymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"RÄdÄ«t ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`IevadÄ«ta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijÄm`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasÄ«ta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasÄ«ta`},"nb-NO":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"nl-NL":{buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`},"pl-PL":{buttonLabel:"WyÅwietlaj sugestie",countAnnouncement:(e,t)=>`dostÄpna/dostÄpne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`DoÅÄ
czono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcjÄ
`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`},"pt-BR":{buttonLabel:"Mostrar sugest\xf5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xf5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"pt-PT":{buttonLabel:"Apresentar sugest\xf5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xf5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"ro-RO":{buttonLabel:"AfiÈare sugestii",countAnnouncement:(e,t)=>
46`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opÈiune`,other:()=>`${t.number(e.optionCount)} opÈiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opÈiune`,other:()=>`${t.number(e.groupCount)} opÈiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"ÐоказаÑÑ Ð¿ÑедложениÑ",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} паÑамеÑÑ`,other:()=>`${t.number(e.optionCount)} паÑамеÑÑов`})} доÑÑÑпно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`ÐÐ²ÐµÐ´ÐµÐ½Ð½Ð°Ñ Ð³ÑÑппа ${e.groupTitle}, Ñ ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} паÑамеÑÑом`,other:()=>`${t.number(e.groupCount)} паÑамеÑÑами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вÑбÑаннÑми",other:""},e.isSelected)}`,listboxLabel:"ÐÑедложениÑ",selectedAnnouncement:e=>`${e.optionText}, вÑбÑано`},"sk-SK":{buttonLabel:"ZobraziÅ¥ n\xe1vrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosÅ¥`,other:()=>`${t.number(e.optionCount)} možnosti/-\xed`})} k dispoz\xedcii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosÅ¥ou`,other:()=>`${t.number(e.groupCount)} možnosÅ¥ami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybrat\xe9",other:""},e.isSelected)}`,listboxLabel:"N\xe1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybrat\xe9`},"sl-SI":{buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`},"sr-SP":{buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno joÅ¡: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`},"sv-SE":{buttonLabel:"Visa f\xf6rslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xe4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"F\xf6rslag",selectedAnnouncement:e=>`${e.optionText}, valda`},"tr-TR":{buttonLabel:"\xd6nerileri g\xf6ster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} se\xe7enek`,other:()=>`${t.number(e.optionCount)} se\xe7enekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} se\xe7enek`,other:()=>`${t.number(e.groupCount)} se\xe7enekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", se\xe7ildi",other:""},e.isSelected)}`,listboxLabel:"\xd6neriler",selectedAnnouncement:e=>`${e.optionText}, se\xe7ildi`},"uk-UA":{buttonLabel:"ÐоказаÑи пÑопозиÑÑÑ",countAnnouncement:(e,t)=>
46`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} паÑамеÑÑ`,other:()=>`${t.number(e.optionCount)} паÑамеÑÑи(-Ñв)`})} доÑÑÑпно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ðведена гÑÑпа ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} паÑамеÑÑ`,other:()=>`${t.number(e.groupCount)} паÑамеÑÑи(-Ñв)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибÑано",other:""},e.isSelected)}`,listboxLabel:"ÐÑопозиÑÑÑ",selectedAnnouncement:e=>`${e.optionText}, вибÑано`},"zh-CN":{buttonLabel:"æ¾ç¤ºå»ºè®®",countAnnouncement:(e,t)=>`æ ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个é项`,other:()=>`${t.number(e.optionCount)} 个é项`})}å¯ç¨ã`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`è¿å
¥äº ${e.groupTitle} ç»ï¼å
¶ä¸æ ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个é项`,other:()=>`${t.number(e.groupCount)} 个é项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已鿩",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已鿩`},"zh-TW":{buttonLabel:"顯示建è°",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} é¸é
`,other:()=>`${t.number(e.optionCount)} é¸é
`})} å¯ç¨ã`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸å
¥çç¾¤çµ ${e.groupTitle}, æ ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} é¸é
`,other:()=>`${t.number(e.groupCount)} é¸é
`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", å·²é¸å",other:""},e.isSelected)}`,listboxLabel:"建è°",selectedAnnouncement:e=>`${e.optionText}, å·²é¸å`}};var Rb=r(44759),Rx=r(72870),Rw=r(95346),Rk=r(73849),R_={};R_={"ar-AE":{longPressMessage:"اضغط Ù
Ø·ÙÙØ§Ù أ٠اضغط عÙÙ Alt + Ø§ÙØ³ÙÙ
ÙØ£Ø³ÙÙ ÙÙØªØ اÙÙØ§Ø¦Ù
Ø©"},"bg-BG":{longPressMessage:"ÐаÑиÑнеÑе пÑодÑлжиÑелно или наÑиÑнеÑе Alt+ ÑÑÑелка надолÑ, за да оÑвоÑиÑе менÑÑо"},"cs-CZ":{longPressMessage:"Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + Å¡ipka dolů otevÅete nab\xeddku"},"da-DK":{longPressMessage:"Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen"},"de-DE":{longPressMessage:"Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen"},"el-GR":{longPressMessage:"ΠιÎÏÏε ÏαÏαÏεÏαμÎνα ή ÏαÏήÏÏε Alt + κάÏÏ Î²ÎÎ»Î¿Ï Î³Î¹Î± να ανοίξεÏε Ïο μενοÏ"},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa"},"et-EE":{longPressMessage:"Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool"},"fi-FI":{longPressMessage:"Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli"},"fr-FR":{longPressMessage:"Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu."},"he-IL":{longPressMessage:"×××¥ ××××¦× ×ר××× ×× ×קש Alt + ArrowDown ××× ×פת×× ×ת ×תפר××"},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz"},"it-IT":{longPressMessage:"Premere a lungo o premere Alt + Freccia gi\xf9 per aprire il menu"},"ja-JP":{longPressMessage:"é·æ¼ãã¾ã㯠Alt+ä¸ç¢å°ãã¼ã§ã¡ãã¥ã¼ãéã"},"ko-KR":{longPressMessage:"ê¸¸ê² ë르거ë Alt + ìë쪽 íì´í를 ëë¬ ë©ë´ ì´ê¸°"},"lt-LT":{longPressMessage:"NorÄdami atidaryti meniu, nuspaudÄ palaikykite arba paspauskite âAlt + ArrowDownâ."},"lv-LV":{longPressMessage:"Lai atvÄrtu izvÄlni, turiet nospiestu vai nospiediet taustiÅu kombinÄciju Alt + lejupvÄrstÄ bultiÅa"},"nb-NO":{longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen"},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:"NaciÅnij i przytrzymaj lub naciÅnij klawisze Alt + StrzaÅka w d\xf3Å, aby otworzyÄ menu"},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:"ApÄsaÈi lung sau apÄsaÈi pe Alt + sÄgeatÄ \xeen jos pentru a deschide meniul"},"ru-RU":{longPressMessage:"ÐажмиÑе и ÑдеÑживайÑе или нажмиÑе Alt + СÑÑелка вниз, ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ Ð¼ÐµÐ½Ñ"},"sk-SK":{longPressMessage:"Ponuku otvor\xedte dlh\xfdm stlaÄen\xedm alebo stlaÄen\xedm kl\xe1vesu Alt + kl\xe1vesu so Å¡\xedpkou nadol"},"sl-SI":{longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puÅ¡Äica navzdol"},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:"H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn"},"tr-TR":{longPressMessage:"Men\xfcy\xfc a\xe7mak i\xe7in uzun basın veya Alt + AÅaÄı Ok tuÅuna basın"},"uk-UA":{longPressMessage:"Ðовго або звиÑайно наÑиÑнÑÑÑ ÐºÐ¾Ð¼Ð±ÑнаÑÑÑ ÐºÐ»Ð°Ð²ÑÑ Alt Ñ ÑÑÑÑлка вниз, Ñоб вÑдкÑиÑи менÑ"},"zh-CN":{longPressMessage:"é¿æææ Alt + å䏿¹åé®ä»¥æå¼èå"},"zh-TW":{longPressMessage:"é·æææ Alt+åä¸éµä»¥éååè½è¡¨"}};var RC=r(21181),R$=r(19887),RS=r(90539),RE=r(53702);let Rj=e=>{let{inputValue:t,loading:r,showChevronButton:o=!0,floatingLabel:i,placeholder:l,disabled:s,triggerRef:d,required:c,valid:u,onOpenChange:p,id:f,shouldCreateNewOption:m,createNewOption:h,className:g,themeConfig:v,defaultInputValue:y,allowsCustomValue:b,renderCustomIcon:x,currentValue:w,onStateChange:k}=e,[_,C]=(0,I.useState)(null),[$,S]=(0,I.useState)(!1),{contains:E}=(0,Rh.L)({sensitivity:"base"}),{breakpoint:j}=(0,ib.G)(),N=(0,ib.w)({currentBp:j,bp:"s",range:"only"}),T=(0,I.useRef)(null),P=(0,I.useRef)(null),A=(0,I.useRef)(null),O=(0,I.useRef)(null),R=(0,I.useRef)(null),M=N?R:P,L=(0,I.useRef)(k);(0,I.useEffect)(()=>{L.current=k},[k]);let V=function(e){var t,r,o,i,l,s,d;let{defaultFilter:c,menuTrigger:u="input",allowsEmptyCollection:p=!1,allowsCustomValue:f,shouldCloseOnBlur:m=!0}=e,[h,g]=(0,I.useState)(!1),[v,y]=(0,I.useState)(!1),[b,x]=(0,I.useState)(null),{collection:w,selectionManager:k,selectedKey:_,setSelectedKey:C,selectedItem:$,disabledKeys:S}=Cj({...e,onSelectionChange:t=>{e.onSelectionChange&&e.onSelectionChange(t),t===_&&(z(),F())},items:null!==(r=e.items)&&void 0!==r?r:e.defaultItems}),E=e.defaultInputValue;null==E&&(E=null==_?"":null!==(i=null===(o=w.getItem(_))||void 0===o?void 0:o.textValue)&&void 0!==i?i:"");let[j,N]=(0,Cb.z)(e.inputValue,E,e.onInputChange),T=(0,I.useMemo)(()=>null==e.items&&c?new Cv(function e(t,r,o,i){let l=[];for(let s of r)if("section"===s.type&&s.hasChildNodes){let r=e(t,Cw(s,t),o,i);[...r].some(e=>"item"===e.type)&&l.push({...s,childNodes:r})}else"item"===s.type&&i(s.textValue,o)?l.push({...s}):"item"!==s.type&&l.push({...s});return l}(w,w,j,c)):w,[w,j,c,e.items]),[P,A]=(0,I.useState)(T),O=(0,I.useRef)("focus"),R=(0,Rv.d)({...e,onOpenChange:t=>{e.onOpenChange&&e.onOpenChange(t,t?O.current:void 0),k.setFocused(t),t||k.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),D=(t=null,r)=>{let o="manual"===r||"focus"===r&&"focus"===u;(p||T.size>0||o&&w.size>0||e.items)&&(o&&!R.isOpen&&void 0===e.items&&g(!0),O.current=r,x(t),R.open())},M=(0,I.useCallback)(()=>{A(h?w:T)},[h,w,T]),L=(0,I.useCallback)((e=null)=>{R.isOpen&&M(),x(e),R.toggle()},[R,M]),F=(0,I.useCallback)(()=>{R.isOpen&&(M(),R.close())},[R,M]),[B,V]=(0,I.useState)(j),z=()=>{var e,t;let r=null!=_&&null!==(t=null===(e=w.getItem(_))||void 0===e?void 0:e.textValue)&&void 0!==t?t:"";V(r),N(r)},H=(0,I.useRef)(null!==(s=null!==(l=e.selectedKey)&&void 0!==l?l:e.defaultSelectedKey)&&void 0!==s?s:null),U=(0,I.useRef)(null!=_&&null!==(d=null===(t=w.getItem(_))||void 0===t?void 0:t.textValue)&&void 0!==d?d:"");(0,I.useEffect)(()=>{var t,r;v&&(T.size>0||p)&&!R.isOpen&&j!==B&&"manual"!==u&&D(null,"input"),h||p||!R.isOpen||0!==T.size||F(),null!=_&&_!==
46H.current&&F(),j!==B&&(k.setFocusedKey(null),g(!1),""===j&&(void 0===e.inputValue||void 0===e.selectedKey)&&C(null)),_!==H.current&&(void 0===e.inputValue||void 0===e.selectedKey)?z():B!==j&&V(j);let o=null!=_&&null!==(r=null===(t=w.getItem(_))||void 0===t?void 0:t.textValue)&&void 0!==r?r:"";v||null==_||void 0!==e.inputValue||_!==H.current||U.current===o||(V(o),N(o)),H.current=_,U.current=o});let Z=(0,Rg.Q3)({...e,value:(0,I.useMemo)(()=>({inputValue:j,selectedKey:_}),[j,_])}),W=()=>{H.current=null,C(null),F()},K=()=>{if(void 0!==e.selectedKey&&void 0!==e.inputValue){var t,r,o;null===(t=e.onSelectionChange)||void 0===t||t.call(e,_),V(null!=_&&null!==(o=null===(r=w.getItem(_))||void 0===r?void 0:r.textValue)&&void 0!==o?o:""),F()}else z(),F()},q=()=>{if(f){var e,t;j===(null!=_&&null!==(t=null===(e=w.getItem(_))||void 0===e?void 0:e.textValue)&&void 0!==t?t:"")?K():W()}else K()},G=(0,I.useRef)(j),J=(0,I.useMemo)(()=>R.isOpen?h?w:T:P,[R.isOpen,w,T,h,P]);return{...Z,...R,focusStrategy:b,toggle:(t=null,r)=>{let o="manual"===r||"focus"===r&&"focus"===u;(p||T.size>0||o&&w.size>0||e.items||R.isOpen)&&(o&&!R.isOpen&&void 0===e.items&&g(!0),R.isOpen||(O.current=r),L(t))},open:D,close:q,selectionManager:k,selectedKey:_,setSelectedKey:C,disabledKeys:S,isFocused:v,setFocused:t=>
46{t?(G.current=j,"focus"!==u||e.isReadOnly||D(null,"focus")):(m&&q(),j!==G.current&&Z.commitValidation()),y(t)},selectedItem:$,collection:J,inputValue:j,setInputValue:N,commit:()=>{R.isOpen&&null!=k.focusedKey?_===k.focusedKey?K():C(k.focusedKey):q()},revert:()=>{f&&null==_?W():K()}}}({...e,defaultFilter:E,onOpenChange(e,t){var r,o;(null==p||p(e,t),e)?C((null!=d&&d.current?null==(r=d.current)?void 0:r.getBoundingClientRect().width:null==(o=M.current)?void 0:o.getBoundingClientRect().width)??null):C(null)}});(0,I.useEffect)(()=>{y&&!b&&V.setSelectedKey(y)},[y,b,V]),(0,I.useEffect)(()=>{L.current&&L.current(V)},[V.inputValue,V.selectedKey,V.isOpen]);let{buttonProps:z,inputProps:H,listBoxProps:U}=function(e,t){var r,o,i;let{buttonRef:l,popoverRef:s,inputRef:d,listBoxRef:c,keyboardDelegate:u,layoutDelegate:p,shouldFocusWrap:f,isReadOnly:m,isDisabled:h}=e,g=(0,I.useRef)(null);l=l??g;let v=(0,Rk.q)((i=Ry)&&i.__esModule?i.default:i,"@react-aria/combobox"),{menuTriggerProps:y,menuProps:b}=function(e,t,r){var o;let{type:i="menu",isDisabled:l,trigger:s="press"}=e,d=(0,_3.Me)(),{triggerProps:c,overlayProps:u}=(0,RC.I)({type:i},t,r),{longPressProps:p}=Cn({isDisabled:l||"longPress"!==s,accessibilityDescription:(0,Rk.q)((o=R_)&&o.__esModule?o.default:o,"@react-aria/menu").format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete c.onPress,{menuTriggerProps:{...c,..."press"===s?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||l||((0,_7.A)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||l||t.toggle()}}:p,id:d,onKeyDown:e=>{if(!l&&!("longPress"===s&&!e.altKey)&&r&&r.current)switch(e.key){case"Enter":case" ":if("longPress"===s)return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...u,"aria-labelledby":d,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({type:"listbox",isDisabled:h||m},t,l);O8.set(t,{id:b.id});let{collection:x}=t,{disabledKeys:w}=t.selectionManager,k=(0,I.useMemo)(()=>u||new Rn({collection:x,disabledKeys:w,ref:c,layoutDelegate:p}),[u,p,x,w,c]),{collectionProps:_}=CL({selectionManager:t.selectionManager,keyboardDelegate:k,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:f,ref:d,isVirtualized:!0}),C=(0,_1.tv)(),{isInvalid:$,validationErrors:S,validationDetails:E}=t.displayValidation,{labelProps:j,inputProps:N,descriptionProps:T,errorMessageProps:P}=function(e,t){let{inputElementType:r="input",isDisabled:o=!1,isRequired:i=!1,isReadOnly:l=!1,type:s="text",validationBehavior:d="aria"}=e,[c,u]=(0,Cb.z)(e.value,e.defaultValue||"",e.onChange),{focusableProps:p}=(0,_2.kc)(e,t),f=(0,Rg.Q3)({...e,value:c}),{isInvalid:m,validationErrors:h,validationDetails:g}=f.displayValidation,{labelProps:v,fieldProps:y,descriptionProps:b,errorMessageProps:x}=(0,RS.U)({...e,isInvalid:m,errorMessage:e.errorMessage||h}),w=(0,_0.z)(e,{labelable:!0}),k={type:s,pattern:e.pattern};return(0,R$.y)(t,c,u),(0,RE.Q)(e,f,t),(0,I.useEffect)(()=>{if(t.current instanceof(0,_5.kR)(t.current).HTMLTextAreaElement){let e=t.current;Object.defineProperty(e,"defaultValue",{get:()=>e.value,set:()=>{},configurable:!0})}},[t]),{labelProps:v,inputProps:(0,wN.d)(w,"input"===r?k:void 0,{disabled:o,readOnly:l,required:i&&"native"===d,"aria-required":i&&"aria"===d||void 0,"aria-invalid":m||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:c,onChange:e=>u(e.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(I.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...p,...y}),descriptionProps:b,errorMessageProps:x,isInvalid:m,validationErrors:h,validationDetail
46s:g}}({...e,onChange:t.setInputValue,onKeyDown:m?e.onKeyDown:(0,Ra.t)(t.isOpen&&_.onKeyDown,r=>{if(!r.nativeEvent.isComposing)switch(r.key){case"Enter":case"Tab":if(t.isOpen&&"Enter"===r.key&&r.preventDefault(),t.isOpen&&c.current&&null!=t.selectionManager.focusedKey&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let e=c.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if("Enter"===r.key&&e instanceof HTMLAnchorElement){let o=t.collection.getItem(t.selectionManager.focusedKey);o&&C.open(e,r,o.props.href,o.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(null!==t.selectedKey||""===t.inputValue||e.allowsCustomValue)&&r.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null)}},e.onKeyDown),onBlur:r=>{var o;let i=(null==l?void 0:l.current)&&l.current===r.relatedTarget,d=null===(o=s.current)||void 0===o?void 0:o.contains(r.relatedTarget);i||d||(e.onBlur&&e.onBlur(r),t.setFocused(!1))},value:t.inputValue,onFocus:r=>{t.isFocused||(e.onFocus&&e.onFocus(r),t.setFocused(!0))},autoComplete:"off",validate:void 0,[Rg.tL]:t},d),A=(0,Cp.b)({id:y.id,"aria-label":v.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||j.id}),O=(0,Cp.b)({id:b.id,"aria-label":v.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||j.id}),R=(0,I.useRef)(0),D=null!=t.selectionManager.focusedKey&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,M=null!==(r=null==D?void 0:D.parentKey)&&void 0!==r?r:null,L=null!==(o=t.selectionManager.focusedKey)&&void 0!==o?o:null,F=(0,I.useRef)(M),B=(0,I.useRef)(L);(0,I.useEffect)(()=>{if((0,_4.ad)()&&null!=D&&null!=L&&L!==B.current){var e;let r=t.selectionManager.isSelected(L),o=null!=M?t.collection.getItem(M):null,i=(null==o?void 0:o["aria-label"])||("string"==typeof(null==o?void 0:o.rendered)?o.rendered:"")||"",l=v.format("focusAnnouncement",{isGroupChange:null!==(e=o&&M!==F.current)&&void 0!==e&&e,groupTitle:i,groupCount:o?[...Cw(o,t.collection)].length:0,optionText:D["aria-label"]||D.textValue||"",isSelected:r});(0,Rb.x)(l)}F.current=M,B.current=L});let V=Ri(t.collection),z=(0,I.useRef)(V),H=(0,I.useRef)(t.isOpen);(0,I.useEffect)(()=>{let e=t.isOpen!==H.current&&(null==t.selectionManager.focusedKey||(0,_4.ad)());if(t.isOpen&&(e||V!==z.current)){let e=v.format("countAnnouncement",{optionCount:V});(0,Rb.x)(e)}z.current=V,H.current=t.isOpen});let U=(0,I.useRef)(t.selectedKey);return(0,I.useEffect)(()=>{if((0,_4.ad)()&&t.isFocused&&t.selectedItem&&t.selectedKey!==U.current){let e=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",r=v.format("selectedAnnouncement",{optionText:e});(0,Rb.x)(r)}U.current=t.selectedKey}),(0,I.useEffect)(()=>{if(t.isOpen)return(0,Rx.R)([d.current,s.current].filter(e=>null!=e))},[t.isOpen,d,s]),(0,Rw.r)(()=>{!D&&d.current&&(0,Co.vY)((0,_5.r3)(d.current))===d.current&&Cl(d.current,null)},[D]),{labelProps:j,buttonProps:{...y,...A,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:e=>{if("touch"===e.pointerType){var r;null===(r=d.current)||void 0===r||r.focus(),t.toggle(null,"manual")}},onPressStart:e=>{if("touch"!==e.pointerType){var r;null===(r=d.current)||void 0===r||r.focus(),t.toggle("keyboard"===e.pointerType||"virtual"===e.pointerType?"first":null,"manual")}},isDisabled:h||m},inputProps:(0,wN.d)(N,{role:"combobox","aria-expanded":y["aria-expanded"],"aria-controls":t.isOpen?b.id:void 0,"aria-autocomplete":"list","aria-activedescendant":D?O9(t,D.key):void 0,onTouchEnd:e=>{var r,o;if(h||m)return;if(e.timeStamp-R.current<500){e.preventDefault(),null===(r=d.current)||void 0===r||r.focus();return}let i=e.target.getBoundingClientRect(),l=e.changedTouches[0],s=Math.ceil(i.left+.5*i.width),c=Math.ceil(i.top+.5*i.height);l.clientX===s&&l.clientY===c&&(e.preventDefault(),null===(o=d.current)||void 0===o||o.focus(),t.toggle(null,"manual"),R.current=e.timeStamp)},autoCorrect:"off",spellCheck:"false"}),listBoxProps:(0,wN.d)(b,O,{autoFocus:t.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:T,errorMessageProps:P,isInvalid:$,validationErrors:S,validationDetail
46s:E}}({...e,inputRef:P,buttonRef:T,listBoxRef:A,popoverRef:O},V),{buttonProps:Z}=(0,vU.U)({...z,isDisabled:s},T),W=()=>{t&&(!m||m(t))&&null!=h&&h(t)},{root:K}=(0,B.tv)(AW.v)({intent:$?"focused":"boolean"==typeof u?u?"valid":"invalid":"default",interaction:"input",radius:"xs"}),{root:q,input:G,button:J,popover:Y,listItem:X,listItemCheck:Q}=(0,B.tv)(v?(0,B.RH)(O6,v):O6)({loading:r,showChevronButton:o,hasFloatingLabel:!!i}),ee=[[Rl,{itemClasses:X(),checkClasses:Q()}]],et=(0,F.cn)("ef-combo-box",q(),g),en=x??rL.AnimatedChevron;return(0,D.jsxs)("div",{className:et,ref:R,children:[(0,D.jsx)(Rm.i,{...(0,wN.d)({onBlur:()=>{W(),S(!1)},onFocus:()=>{S(!0)},onKeyDown(e){"Enter"===e.key&&W()}},H),className:(0,F.cn)(K(),G()),ref:P,type:"text",floatingLabel:i,placeholder:l,disabled:s,required:c,id:f,currentValue:w}),(0,D.jsx)("button",{...Z,ref:T,className:(0,F.cn)(J()),children:(0,D.jsx)("span",{"aria-hidden":"true",children:(0,D.jsx)(en,{active:V.isOpen})})}),V.isOpen&&(0,D.jsx)(Rf,{className:(0,F.cn)(Y()),state:V,triggerRef:d??P,popoverRef:O,width:_??void 0,isNonModal:!0,placement:"bottom start",children:(0,D.jsx)(it.o,{atomValues:ee,children:(0,D.jsx)(Rd,{...U,listBoxRef:A,state:V})})})]})};Rj.displayName="ComboBox";let RN=e=>{let{value:t,defaultPronouns:r,advancedPronouns:o,disableCustomPronouns:i,triggerRef:l,onChange:s,disabled:d,...c}=e,u=r.map(e=>({id:e,name:e})),p=[...u,...o.map(e=>({id:e,name:e}))],[f,m]=(0,I.useState)(()=>{if(!i&&t&&!p.map(e=>e.id).includes(t))return{inputValue:t,items:[{id:t,name:t},...u]};let e=u.map(e=>e.id);return{inputValue:t||"",items:p.filter(r=>e.includes(r.id)||r.id===t)}}),h=[...f.items,...p].filter((e,t,r)=>t===r.findIndex(t=>t.id===e.id&&t.name===e.name)),g=e=>{e&&f.items.map(e=>e.id).includes(e)&&(s(e),m(t=>({inputValue:e,items:t.items})))},v=e=>{""===e&&s(null),m({inputValue:e,items:""===e?u:h.filter(t=>t.name.toLowerCase().includes(e.toLowerCase()))})};return(0,I.useEffect)(()=>{t&&v(t)},[t]),(0,D.jsx)(Rj,{onOpenChange:(e,o)=>{let i=h.filter(e=>r.includes(e.id)||e.id===t);"manual"===o&&e&&m(e=>({inputValue:e.inputValue,items:i}))},items:f.items,triggerRef:l,inputValue:f.inputValue,onInputChange:v,selectedKey:t,onSelectionChange:e=>g(e),showChevronButton:!1,disabled:d,menuTrigger:"focus",placeholder:"...",...c,createNewOption:e=>{m(t=>({...t,items:[{id:e,name:e},...t.items]})),s(e)},shouldCreateNewOption:e=>i?(m(e=>({...e,inputValue:""})),!1):!f.items.map(e=>e.id).includes(e),children:e=>(0,D.jsx)(CH,{children:e.name},e.id)})};RN.displayName="FormPronounsSegment";let RT=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d;let{value:c,valid:u,touched:p,description:f,label:m,required:h,defaultOptions:g,disableCustomPronouns:v=!1,disabled:y,onValueChange:b,className:x,themeConfig:w}=e,[k,_]=(0,I.useState)({value:c}),C=(0,I.useRef)(null),$=e=>t=>{let r={value:{...k.value,[e]:t},full:Object.entries({...k.value,[e]:t}).filter(([e,t])=>!isNaN(Number(e))&&!!t).map(([,e])=>e).join("/")};_(r),b(r)},S=e=>null==g?void 0:g[e],{inputTag:E}=(0,B.tv)(S7.xk)(),{root:j,segmentsWrapper:N,segmentDivider:T,comboBoxRoot:P,comboBoxInput:A,comboBoxInputTag:O}=(0,B.tv)(w?(0,B.RH)(O3,w):O3)({disabled:y}),R=(0,F.cn)("ef-pronouns",j(),x),M={triggerRef:C,themeConfig:w?{slots:{input:(0,F.cn)(E(),A()),root:null==(r=w.slots)?void 0:r.comboBoxRoot,button:null==(o=w.slots)?void 0:o.button,popover:null==(i=w.slots)?void 0:i.popover}}:{slots:{root:(0,F.cn)(P()),input:(0,F.cn)(E(),A()),inputTag:(0,F.cn)(O())}},disableCustomPronouns:v,disabled:y};return(0,D.jsx)(NP.W,{valid:u,touched:p,description:f,label:m,required:h,disabled:y,children:(0,D.jsx)(Ol.O,{className:R,disabled:y,interaction:"input",children:(0,D.jsxs)("div",{className:(0,F.cn)(N()),ref:(0,O4.l)(C,t),children:[(0,D.jsx)(RN,{value:null==(l=null==k?void 0:k.value)?void 0:l["0"],onChange:$(0),defaultPronouns:S(0)??["He","She","They"],advancedPronouns:["Xe","Zie"],"aria-label":"Pronoun 1",...M}),(0,D.jsx)("div",{className:(0,F.cn)(T()),children:"/"}),(0,D.jsx)(RN,{value:null==(s=null==k?void 0:k.value)?void 0:s["1"],onChange:$(1),defaultPronouns:S(1)??["Him","Her","Them"],advancedPronouns:["Xem","Zir"],"aria-label":"Pronoun 2",...M}),(0,D.jsx)("div",{className:(0,F.cn)(T()),children:"/"}),(0,D.jsx)(RN,{value:null==(d=null==k?void 0:k.value)?void 0:d["2"],onChange:$(2),defaultPronouns:S(2)??["His","Hers","Theirs"],advancedPronouns:["Xirs","Zirs"],"aria-label":"Pronoun 3",...M})]})})})});RT.displayName="FormPronouns";let RP=e=>{var t,r,o,i;let{blok:l}=e,{field_name:s,label:d,description:c,design:u,error_validation_message:p,success_validation_message:f,validation_rules:m}=l,[h]=(0,oQ.KO)(Eg),[g]=(0,oQ.KO)(Eh),{formState:{errors:v,dirtyFields:y,isSubmitted:b},setValue:x,register:w,unregister:k}=S9(),_=j6(m);(0,I.useEffect)(()=>(w(null==s?void 0:s.selected,{}),()=>{k(s.selected)}),[]);let C=(0,h5.mi)({design:u}
46,O2),{flexClasses:$,basisClasses:S}=(0,wq.k)({flexProps:{flex:C.item_flex,basis:C.item_basis},type:"item"}),E=(0,F.cn)("sb-form-input",[$].flat(),[S].flat()),j=y[s.selected]||b,N=typeof v[s.selected]>"u";return(0,D.jsxs)(wK.B,{className:E,children:[(null==(t=null==s?void 0:s.selected)?void 0:t.length)>0?(0,D.jsx)(RT,{label:d,description:c,touched:j,valid:N,value:(null==(o=null==(r=null==g?void 0:g[h])?void 0:r[s.selected])?void 0:o.value)??{0:"",1:"",2:""},onValueChange:e=>{x(s.selected,e,{shouldValidate:!0,shouldDirty:!0,shouldTouch:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:h,field_name:s.selected,value:{...e,return_value:{type:"simple",valueKey:"full"}}}})},...w(s.selected,{validate:e=>j8(e,_,s.selected)}),...hl(l)}):null,(0,D.jsx)(S2,{valid:!1,children:p||(null==(i=v[s.selected])?void 0:i.message)}),(0,D.jsx)(S2,{valid:!0,children:f})]})};RP.displayName="FormPronounsSB";let RA=[{preset:{name:"Default",preset:{_uid:"3927d691-45ae-4429-8071-c9f78290439e",action:[{_uid:"dfda3116-5b8d-40f4-845a-39e6cc1170c6",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:"",target:""},component:"sb-link-button"}],design:"",content:[{_uid:"b14a5c14-8fb1-43d7-b179-bd8a68631aac",text:"Primary",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",custom_classname:""},created_at:"2023-10-19T11:28:57.841Z",updated_at:"2023-10-19T11:28:57.841Z",image:`${ig.Bn}/Button/storyblok/sb-button-default.webp`,color:"",description:"Primary Button"}},{preset:{name:"Copy Link Button",preset:{_uid:"9cbbb874-b151-4d32-965d-bc589b73a867",action:[{_uid:"1a03d5b7-744a-4988-a5ce-6dd464f1fa96",link:{id:"",url:"www.ef.com",linktype:"url",fieldtype:"multilink",cached_url:"www.ef.com"},component:"sb-copy-button",toast_text:"Link copied",toast_error_text:"Copy failed"}],design:{_uid:"6a530dbf-1261-43f9-b970-7c29585c81ce",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{}},theme:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"secondary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"03106339-f711-4b63-88d9-e619359c5319",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M117.18%2C188.74a12%2C12%2C0%2C0%2C1%2C0%2C17l-5.12%2C5.12A58.26%2C58.26%2C0%2C0%2C1%2C70.6%2C228h0A58.62%2C58.62%2C0%2C0%2C1%2C29.14%2C127.92L63.89%2C93.17a58.64%2C58.64%2C0%2C0%2C1%2C98.56%2C28.11%2C12%2C12%2C0%2C1%2C1-23.37%2C5.44%2C34.65%2C34.65%2C0%2C0%2C0-58.22-16.58L46.11%2C144.89A34.62%2C34.62%2C0%2C0%2C0%2C70.57%2C204h0a34.41%2C34.41%2C0%2C0%2C0%2C24.49-10.14l5.11-5.12A12%2C12%2C0%2C0%2C1%2C117.18%2C188.74ZM226.83%2C45.17a58.65%2C58.65%2C0%2C0%2C0-82.93%2C0l-5.11%2C5.11a12%2C12%2C0%2C0%2C0%2C17%2C17l5.12-5.12a34.63%2C34.63%2C0%2C1%2C1%2C49%2C49L175.1%2C145.86A34.39%2C34.39%2C0%2C0%2C1%2C150.61%2C156h0a34.63%2C34.63%2C0%2C0%2C1-33.69-26.72%2C12%2C12%2C0%2C0%2C0-23.38%2C5.44A58.64%2C58.64%2C0%2C0%2C0%2C150.56%2C180h.05a58.28%2C58.28%2C0%2C0%2C0%2C41.47-17.17l34.75-34.75a58.62%2C58.62%2C0%2C0%2C0%2C0-82.91Z%22%2F%3E%3C%2Fsvg%3E",typeName:"link",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"},{_uid:"b323f32b-f589-4390-b1d5-3f4a80520b13",text:"Copy link",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",aria_labelledby:"",custom_classname:""},color:"",image:`${ig.Bn}/Button/storyblok/sb-copy-button.webp`,description:"With copy link to clipboard action"}},{preset:{name:"Social Sharing Button",preset:{_uid:"04a9d14e-bcc8-47bd-a7df-70c46f736896",action:[{_uid:"774ab1e9-1189-4fed-9cce-eb144724dc09",link:{id:"",url:"",linktype:"story",fieldtype:"multilink",cached_url:""},design:{_uid:"aa1d9089-a096-4ece-b4a8-1d26e9c050a5",title:"Backpack Breakpoints plugin",fields:{size:{type:"option",values:{s:"m"}},variant:{type:"option",values:{s:"content"}},position:{type:"custom",values:{},field_type:"backpack-align"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"a9f38b18-08dd-4a8b-95ef-37bdd2f21132",design:{_uid:"25b6ca45-b33b-4125-a6c1-810b20805d2f",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{}
46,field_type:"backpack-spacing"},variant:{type:"option",values:{s:"eyebrow"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Share",type:"text"}]}]},component:"sb-text",custom_classname:""},{as:"h2",_uid:"294f2957-971b-455b-8eec-29593d7d7e51",design:{_uid:"42e3b44d-901f-4534-b7c0-56c51c56758e",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"header4"}},animated:{type:"boolean",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:"This is a title",component:"sb-headline",custom_classname:""},{_uid:"2b103663-c170-40f9-a409-9db778d617b9",design:{_uid:"f7373eb3-16ca-48b4-b96c-1b2e320d4725",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"uiLabelLarge"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"This is a subtitle",type:"text"}]}]},component:"sb-text",custom_classname:""},{_uid:"c4a8914c-e7aa-4397-91f5-f2db7533311e",design:{_uid:"f7373eb3-16ca-48b4-b96c-1b2e320d4725",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mt:"l",pt:"xs"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"uiLabel"}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"Link to share",type:"text"}]}]},component:"sb-text",custom_classname:""},{_uid:"d83c885d-15a2-41c2-b025-b93ac7dcacd1",design:{_uid:"53cc245e-d05c-4c3b-930c-99ee1dfeaab2",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mt:"xxs"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"outline"}},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},clip_content:{type:"custom",values:{},field_type:"backpack-toggle"},border_radius:{type:"option",values:{s:"xs"}},outline_color:{type:"custom",values:{},field_type:"backpack-color-picker"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"0cc0d709-9a5c-4d52-a55d-4fb5de4fbacc",name:"",design:{_uid:"01fd4657-974b-4381-940c-b691cbba48b9",title:"Backpack Breakpoints plugin",fields:{gap:{type:"option",values:{s:"s"}},wrap:{type:"boolean",values:{}},align:{type:"custom",values:{},field_type:"backpack-toggle"},justify:{type:"custom",values:{s:"space-between"},field_type:"backpack-toggle"},spacing:{type:"custom",values:{}
46,field_type:"backpack-spacing"},direction:{type:"custom",values:{s:"row"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},background_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"2a97975f-f046-4aed-bd18-8817d5019a0d",design:{_uid:"69f134a3-e9c3-444b-af73-99488fb60188",title:"Backpack Breakpoints plugin",fields:{spacing:{type:"custom",values:{s:{mb:"s",ml:"s",mt:"s"}},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"uiLabel"}},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},max_lines:{type:"number",values:{s:1}},view_more:{type:"boolean",values:{}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},text_align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},view_less_text:{type:"text",values:{s:"View less"}},view_more_text:{type:"text",values:{s:"View more"}},link_text_color:{type:"custom",values:{},field_type:"backpack-color-picker"},link_text_hover_color:{type:"custom",values:{},field_type:"backpack-color-picker"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:{type:"doc",content:[{type:"paragraph",content:[{text:"https://impact.ef.com/stories/ecobana-hult-prize-winner/",type:"text",marks:[{type:"textStyle",attrs:{color:""}}]}]}]},component:"sb-body-text-flex-group",custom_classname:""},{_uid:"9ccd5d63-2cc6-46d1-91da-a161f5a7af97",design:{_uid:"26d01d5d-4e20-4e1b-83c1-9391472a1cd3",title:"Backpack Breakpoints plugin",fields:{color:{type:"custom",values:{},field_type:"backpack-color-picker"},width:{type:"number",values:{s:100}},spacing:{type:"custom",values:{s:{mb:"m"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},thickness:{type:"number",values:{s:1}},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},orientation:{type:"option",values:{s:"vertical"}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-divider-flex-group",custom_classname:""},{_uid:"4dbf2b2f-9b58-4819-a65a-9ae544b7dad1",design:{_uid:"8d32976b-da16-419d-ad08-e624e484309d",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"start"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{s:{pr:"s"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"shrink"},field_type:"backpack-toggle"},item_basis:{type:"option",values:{}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"33f4c2ee-9f20-4368-8e23-38c0490a73c4",action:[{_uid:"38216ddf-3692-4f4b-a8eb-8c4578dd208c",link:{id:"",url:"https://impact.ef.com/stories/ecobana-hult-prize-winner/",linktype:"url",fieldtype:"multilink",cached_url:"https://impact.ef.com/stories/ecobana-hult-prize-winner/"},component:"sb-copy-button",toast_text:"Link copied",toast_error_text:"Copy failed"}],design:{_uid:"6a530dbf-1261-43f9-b970-7c29585c81ce",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"small"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"square"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"ed4d1184-3fd1-42b9-bf78-fd3821536c8a",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C28H88A12%2C12%2C0%2C0%2C0%2C76%2C40V76H40A12%2C12%2C0%2C0%2C0%2C28%2C88V216a12%2C12%2C0%2C0%2C0%2C12%2C12H168a12%2C12%2C0%2C0%2C0%2C12-12V180h36a12%2C12%2C0%2C0%2C0%2C12-12V40A12%2C12%2C0%2C0%2C0%2C216%2C28ZM156%2C204H52V100H156Zm48-48H180V88a12
46%2C12%2C0%2C0%2C0-12-12H100V52H204Z%22%2F%3E%3C%2Fsvg%3E",typeName:"copy",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"},{_uid:"302d5d2e-d9b9-4886-8300-d81713110712",text:"Copy link",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",aria_labelledby:"",custom_classname:""}],component:"sb-button-group-flex-group",custom_classname:""}],component:"sb-flex-group",custom_classname:""}],component:"sb-surface",custom_classname:""},{_uid:"e96b542c-9ccb-41fb-9d41-16999ce45a6a",design:{_uid:"2a5e548d-06d2-4474-8708-c65fbd4e7c02",title:"Backpack Breakpoints plugin",fields:{align:{type:"custom",values:{s:"center"},field_type:"backpack-toggle"},layout:{type:"option",values:{}},spacing:{type:"custom",values:{s:{mt:"l",pt:"xs"}},field_type:"backpack-spacing"},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},buttons:[{_uid:"92082f09-ee10-46bc-8493-5c9616794676",action:[{_uid:"1f76469b-a6f0-4d93-8b58-84a1a8ed5f45",link:{id:"",url:"[email protected]",email:"[email protected]",linktype:"email",fieldtype:"multilink",cached_url:"[email protected]"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"7bebd490-4993-4e31-83e9-fabeb7b71cec",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C44H32A12%2C12%2C0%2C0%2C0%2C20%2C56V192a20%2C20%2C0%2C0%2C0%2C20%2C20H216a20%2C20%2C0%2C0%2C0%2C20-20V56A12%2C12%2C0%2C0%2C0%2C224%2C44ZM193.15%2C68%2C128%2C127.72%2C62.85%2C68ZM44%2C188V83.28l75.89%2C69.57
46a12%2C12%2C0%2C0%2C0%2C16.22%2C0L212%2C83.28V188Z%22%2F%3E%3C%2Fsvg%3E",typeName:"envelope-simple",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share via e-mail",aria_labelledby:"",custom_classname:""},{_uid:"a8664216-cf0b-43e5-b43d-2e7cc37ca0a9",action:[{_uid:"e01b6e7a-6db2-48ca-92f5-8fcc5a6dc8be",link:{id:"",url:"https://www.facebook.com/sharer/sharer.php?u=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.facebook.com/sharer/sharer.php?u=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"1fb559cb-fb15-4a8d-9f32-de71ccdbe5a1",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EFacebook%3C%2Ftitle%3E%3Cpath%20d%3D%22M9.101%2023.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085%201.848-5.978%205.858-5.978.401%200%20.955.042%201.468.103a8.68%208.68%200%200%201%201.141.195v3.325a8.623%208.623%200%200%200-.653-.036%2026.805%2026.805%200%200%200-.733-.009c-.707%200-1.259.096-1.675.309a1.686%201.686%200%200%200-.679.622c-.258.42-.374.995-.374%201.752v1.297h3.919l-.386%202.103-.287%201.564h-3.246v8.245C19.396%2023.238%2024%2018.179%2024%2012.044c0-6.627-5.373-12-12-12s-12%205.373-12%2012c0%205.628%203.874%2010.35%209.101%2011.647Z%22%2F%3E%3C%2Fsvg%3E",typeName:"Facebook",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Facebook",aria_labelledby:"",custom_classname:""},{_uid:"21732eb7-8ac7-4c89-83db-7b86b822358a",action:[{_uid:"e6bb6fa3-5e96-4eec-b540-9f133551db0a",link:{id:"",url:"whatsapp://send?text=YourEncodedTextAndOrLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"whatsapp://send?text=YourEncodedTextAndOrLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"151ea57d-3094-468c-bee9-1315d8cfbc61",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EWhatsApp%3C%2Ftitle%3E%3Cpath%20d%3D%22M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.
46198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413Z%22%2F%3E%3C%2Fsvg%3E",typeName:"WhatsApp",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on Whatsapp",aria_labelledby:"",custom_classname:""},{_uid:"7c66e829-ca74-4146-acc7-46a9269b92ec",action:[{_uid:"1a2d4a55-a956-4c2b-9885-e3d7c75278e9",link:{id:"",url:"https://x.com/intent/post?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://x.com/intent/post?url=YourLink"},component:"sb-link-button"}],design:{_uid:"75b57df8-6e59-48bd-95e4-6c4447e3ad7d",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c3e93648-1e41-4ea5-8535-94943ba1d158",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20role%3D%22img%22%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EX%3C%2Ftitle%3E%3Cpath%20d%3D%22M18.901%201.153h3.68l-8.04%209.19L24%2022.846h-7.406l-5.8-7.584-6.638%207.584H.474l8.6-9.83L0%201.154h7.594l5.243%206.932ZM17.61%2020.644h2.039L6.486%203.24H4.298Z%22%2F%3E%3C%2Fsvg%3E",typeName:"X",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on X",aria_labelledby:"",custom_classname:""},{_uid:"8b01e720-fad5-4f30-8291-98db7158e478",action:[{_uid:"c1c9240d-8089-4bff-954e-a4da1feda25a",link:{id:"",url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink",target:"_blank",linktype:"url",fieldtype:"multilink",cached_url:"https://www.linkedin.com/sharing/share-offsite/?url=YourLink"},component:"sb-link-button"}],design:{_uid:"0ca322e4-364d-41d2-879d-7dcf5c662715",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{s:!0}},theme:{type:"option",values:{s:"dark"}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{s:"round"}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"link"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"9f66aad1-022e-49b8-a950-9bb7aee5eb29",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C24H40A16%2C16%2C0%2C0%2C0%2C24%2C40V216a16%2C16%2C0%2C0%2C0%2C16%2C16H216a16%2C16%2C0%2C0%2C0%2C16-16V40A16%2C16%2C0%2C0%2C0%2C216%2C24ZM96%2C176a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C16%2C0ZM88%2C96a12%2C12%2C0%2C1%2C1%2C12-12A12%2C12%2C0%2C0%2C1%2C88%2C96Zm96%2C80a8%2C8%2C0%2C0%2C1-16%2C0V140a20%2C20%2C0%2C0%2C0-40%2C0v36a8%2C8%2C0%2C0%2C1-16%2C0V112a8%2C8%2C0%2C0%2C1%2C15.79-1.78A36%2C36%2C0%2C0%2C1%2C184%2C140Z%22%2F%3E%3C%2Fsvg%3E",typeName:"linkedin",subAssetType:"brands",mainAssetType:"icons"}},design:"",component:"sb-icon-button"}],component:"sb-button",aria_label:"Share on LinkedIn",aria_labelledby:"",custom_classname:""}],component:"sb-button-group",custom_classname:""}],component:"sb-social-sharing-button",allow_third_party_interactions:!1}
46],design:{_uid:"6a530dbf-1261-43f9-b970-7c29585c81ce",title:"Backpack Breakpoints plugin",fields:{mono:{type:"boolean",values:{}},theme:{type:"option",values:{}},size:{type:"option",values:{s:"regular"}},color:{type:"custom",values:{},field_type:"backpack-color-picker"},shape:{type:"option",values:{}},spacing:{type:"custom",values:{},field_type:"backpack-spacing"},variant:{type:"option",values:{s:"secondary"}},bg_color:{type:"custom",values:{},field_type:"backpack-color-picker"},disabled:{type:"boolean",values:{s:!1}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},content:[{_uid:"c651065f-76dc-47ca-92e8-7008aea384e0",icon:{plugin:"backpack-asset-selector",version:"1.4.1",selectedIcon:{data:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M176%2C156a43.78%2C43.78%2C0%2C0%2C0-29.09%2C11L106.1%2C140.8a44.07%2C44.07%2C0%2C0%2C0%2C0-25.6L146.91%2C89a43.83%2C43.83%2C0%2C1%2C0-13-20.17L93.09%2C95a44%2C44%2C0%2C1%2C0%2C0%2C65.94L133.9%2C187.2A44%2C44%2C0%2C1%2C0%2C176%2C156Zm0-120a20%2C20%2C0%2C1%2C1-20%2C20A20%2C20%2C0%2C0%2C1%2C176%2C36ZM64%2C148a20%2C20%2C0%2C1%2C1%2C20-20A20%2C20%2C0%2C0%2C1%2C64%2C148Zm112%2C72a20%2C20%2C0%2C1%2C1%2C20-20A20%2C20%2C0%2C0%2C1%2C176%2C220Z%22%2F%3E%3C%2Fsvg%3E",typeName:"share-network",subAssetType:"bold",mainAssetType:"icons"}},design:"",component:"sb-icon-button"},{_uid:"f883de01-c6e8-4976-b48b-993fbc82e5b8",text:"Share",design:"",component:"sb-text-button"}],component:"sb-button",aria_label:"",aria_labelledby:"",custom_classname:""},image:`${ig.Bn}/Button/storyblok/sb-social-sharing-button.webp`,color:"",description:""}}],RO={...hb,collapsible_size:{...hb.collapsible_size,keys:(hb.collapsible_size.keys??[]).filter(e=>"size"!==e)},collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["variant","disabled","size","shape"],default_value:{}},...Cq,...hv},RR={name:"sb-button",display_name:"Button",component_group_name:"Components",is_root:!1,is_nestable:!0,image:`${ig.Bn}/Button/storyblok/sb-button-default.webp`,...hd,preview_tmpl:'{{@each(it.content) => value, index}}{{@if(value.text)}}<span class="font-bold">{{value.text}}</span>{{#else}}{{@if(value.icon.selectedIcon)}}<span class="font-bold">{{value.icon.selectedIcon.typeName}}</span>{{/if}}{{/if}}{{@if(index !== it.content.length - 1)}}<span class="font-light"> | </span>{{/if}}{{/each}}',schema:{action:{required:!0,translatable:!1,type:"bloks",maximum:1,restrict_components:!0,component_whitelist:["sb-link-button","sb-submit-button","sb-copy-button","sb-social-sharing-button","sb-drawer","sb-modal"]},content:{required:!0,translatable:!1,type:"bloks",restrict_components:!0,component_whitelist:["sb-text-button","sb-icon-button"]},aria_label:{type:"text",translatable:!0,required:!1,description:"Accessible description, e.g. `Open`, `Close`, `Next`",display_name:"Aria-label"},aria_labelledby:{type:"text",translatable:!0,required:!1,description:"IDs of elements that label this element, improving accessibility by providing a description for screen readers.",display_name:"Aria-labelledby"},design:{type:"custom",field_type:"backpack-breakpoints-v2",display_name:"Design",options:[{name:"__collapsibles",value:JSON.stringify([RO.collapsible_layout,RO.collapsible_component,RO.collapsible_appearance,RO.collapsible_text,RO.collapsible_effects,RO.collapsible_code_overrides])},{name:"spacing",value:JSON.stringify(RO.spacing)},{name:"variant",value:JSON.stringify(RO.variant)},{name:"size",value:JSON.stringify(RO.size)},{name:"shape",value:JSON.stringify(RO.shape)},{name:"bg_color",value:JSON.stringify(RO.bg_color)},{name:"color",value:JSON.stringify(RO.color)},{name:"disabled",value:JSON.stringify(RO.disabled)},{name:"mono",value:JSON.stringify(RO.mono)},{name:"theme",value:JSON.stringify(RO.theme)},...hy.design.options]},custom_classname:{type:"text",description:"Add a custom global classname for styling in y
46our project"},section_dev:{type:"section",display_name:"Developer",keys:["custom_classname"]},tab_content:{type:"tab",display_name:"Content",keys:["action","content","aria_label","aria_labelledby"]},tab_design:{type:"tab",display_name:"Design",keys:["design","section_dev"]}},all_presets:hE("sb-button",RA)},RD={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...hD,...hO},RM={...RD,item_basis:h_(RD.item_basis,"default_value",{s:{unit:"fra",value:"0"}}),item_flex:h_(RD.item_flex,"default_value",{s:"auto"})};RR.schema,[JSON.stringify([RD.collapsible_size,RD.collapsible_layout,RD.collapsible_component,RD.collapsible_appearance,RD.collapsible_text,RD.collapsible_effects,RD.collapsible_code_overrides]),...RR.schema.design.options.filter(e=>"__collapsibles"!==e.name),JSON.stringify(RM.item_flex),JSON.stringify(RM.item_basis)];var RL=r(67350),RI=r(42217);let RF=({children:e,className:t,asChild:r})=>(0,D.jsx)(RI.dy.Trigger,{asChild:r,className:(0,F.cn)("ef-drawer-trigger",t),children:e});RF.displayName="DrawerTrigger";var RB=r(74613),RV=r(69302),Rz=r(89108);let RH=e=>{var t;let{content:r,action:o,design:i,custom_classname:l}=e,s=(0,h5.mi)({design:i},RO),d=(0,h5.qm)(s),c=(0,ie.s0)(),u=(0,h5.mi)({design:null==(t=o[0])?void 0:t.design}),p=(0,h5.qm)(u),f=(0,h7.N)(null==s?void 0:s.spacing),m=yP({bpMono:null==s?void 0:s.mono,bpTheme:null==s?void 0:s.theme}),h=gn({bpHide:s.visibility,originalDisplayProperty:"inline-block"}),g=(0,hr.t0)(null==d?void 0:d.bg_color),v=(0,hr.t0)(null==d?void 0:d.color),y=!!(g.light||g.dark),b=!!(v.light||v.dark),x=(null==d?void 0:d.theme)??(null==c?void 0:c.theme)??"light",w=(0,hr.Gz)(g,x),k=(0,hr.Gz)(v,x);return{bpCurrentDesign:d,bpCurrentActionDesign:p,classes:(0,F.cn)("sb-button",f,m,h,l),overrideStyle:(0,I.useMemo)(()=>{let e=y?{"--sb-button-bg-color-light":g.light,"--sb-button-bg-color-dark":g.dark,"--sb-button-bg-color":w,"--color-components-buttons-filled-background":"var(--sb-button-bg-color)","--color-components-buttons-outlined-background":"var(--sb-button-bg-color)","--color-components-buttons-ghost-enabled-background":"var(--sb-button-bg-color)"}:{},t=b?{"--sb-button-text-color-light":v.light,"--sb-button-text-color-dark":v.dark,"--sb-button-text-color":k,"--color-components-buttons-filled-foreground":"var(--sb-button-text-color)","--color-components-buttons-outlined-foreground":"var(--sb-button-text-color)","--color-components-buttons-ghost-enabled-foreground":"var(--sb-button-text-color)"}:{};return{...e,...t}},[g.dark,g.light,y,b,w,k,v.dark,v.light]),content:r,action:o}},RU=(0,I.forwardRef)(({blok:e,...t},r)=>{var o,i,l,s,d,c,u,p;let{bpCurrentDesign:f,classes:m,overrideStyle:h,content:g,action:v}=RH(e);return(0,D.jsxs)(RL.d,{title:(null==(o=v[0])?void 0:o.drawerTitle)!==""?null==(i=v[0])?void 0:i.drawerTitle:void 0,subtitle:(null==(l=v[0])?void 0:l.drawerSubtitle)!==""?null==(s=v[0])?void 0:s.drawerSubtitle:void 0,children:[(0,D.jsx)(RF,{asChild:!0,children:(0,D.jsx)(e7.Button,{...hl(e),as:"button",variant:null==f?void 0:f.variant,shape:null==f?void 0:f.shape,size:null==f?void 0:f.size,disabled:null==f?void 0:f.disabled,className:m,style:h,"aria-label":null==e?void 0:e.aria_label,"aria-labelledby":null==e?void 0:e.aria_labelledby,ref:r,...t,children:g.length>0&&(null==g?void 0:g.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})}),(0,D.jsxs)(RV.x,{children:[(0,D.jsx)(RB.O,{}),(0,D.jsx)(Rz.s,{children:(null==(c=null==(d=v[0])?void 0:d.content)?void 0:c.length)>0&&(null==(p=null==(u=v[0])?void 0:u.content)?void 0:p.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})]})]})});RU.displayName="DrawerButtonSB";let RZ=(0,I.forwardRef)(({blok:e,...t},r)=>{var o,i,l,s,d;let{bpCurrentDesign:c,classes:u,overrideStyle:p,content:f,action:m}=RH(e);return(0,D.jsx)(e7.Button,{...hl(e),as:"a",href:hC(null==(o=m[0])?void 0:o.link),variant:null==c?void 0:c.variant,shape:null==c?void 0:c.shape,size:null==c?void 0:c.size,disabled:null==c?void 0:c.disabled,className:u,style:p,"aria-label":null==e?void 0:e.aria_label,"aria-labelledby":null==e?void 0:e.aria_labelledby,target:null==(l=null==(i=m[0])?void 0:i.link)?void 0:l.target,rel:(null==(d=null==(s=m[0])?void 0:s.link)?void 0:d.target)==="_blank"?"noopener noreferrer":void 0,ref:r,...t,children:f.length>0&&(null==f?void 0:f.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})});RZ.displayName="LinkButtonSB";let RW=(0,I.forwardRef)(({blok:e,...t},r)=>{var o,i,l,s,d,c,u;let{bpCurrentDesign:p,bpCurrentActionDesign:f,classes:m,overrideStyle:h,content:g,action:v}=RH(e);return(0,D.jsxs)(vz,{modal:!0,size:null==f?void 0:f.size,position:null==(i=null==(o=null==f?void 0:f.position)?void 0:o.align)?void 0:i.join("-"),variant:null==f?void 0:f.variant,allowThirdPartyInteractions:null==(l=v[0])?void 0:l.allow_third_party_interactions,children:[(0,D.jsx)(ii,{asChild:!0,children:(0,D.jsx)(e7.Button,{...hl(e),as:"button",variant:null==p?void 0:p.variant,shape:null==p?void 0:p.shape,size:null==p?void 0:p.size,disabled:null==p?void 0:p.disabled,className:m,style:h,"aria-label":null==e?void 0:e.aria_label,"aria-labelledby":null==e?void 0:e.aria_labelledby,ref:r,...t,children:g.length>0&&(null==g?void 0:g.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})}),(0,D.jsx)(o8,{children:(null==(d=null==(s=v[0])?void 0:s.content)?void 0:d.length)>0&&(null==(u=null==(c=v[0])?void 0:c.content)?void 0:u.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})]})});function RK(e,t,{checkForDefaultPrevented:r=!0}={}
46){return function(o){if(null==e||e(o),!1===r||!o.defaultPrevented)return null==t?void 0:t(o)}}function Rq(...e){return I.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}function RG(e,t=[]){let r=[],o=()=>{let t=r.map(e=>I.createContext(e));return function(r){let o=(null==r?void 0:r[e])||t;return I.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let i=I.createContext(o),l=r.length;function s(t){let{scope:r,children:o,...s}=t,d=(null==r?void 0:r[e][l])||i,c=I.useMemo(()=>s,Object.values(s));return(0,D.jsx)(d.Provider,{value:c,children:o})}return r=[...r,o],s.displayName=t+"Provider",[s,function(r,s){let d=(null==s?void 0:s[e][l])||i,c=I.useContext(d);if(c)return c;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return I.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}function RJ(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(null==e||e(o),!1===r||!o.defaultPrevented)return null==t?void 0:t(o)}}RW.displayName="ModalButtonSB";var RY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function RX(...e){return I.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}var RQ,R0="dismissableLayer.update",R1=I.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R2=I.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:d,...c}=e,u=I.useContext(R1),[p,f]=I.useState(null),m=(null==p?void 0:p.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,h]=I.useState({}),g=RX(t,e=>f(e)),v=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),x=p?v.indexOf(p):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=x>=b,_=function(e,t=null==globalThis?void 0:globalThis.document){let r=NB(e),o=I.useRef(!1),i=I.useRef(()=>{});return I.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let o=function(){R6("dismissableLayer.pointerDownOutside",r,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...u.branches].some(e=>e.contains(t));!k||r||(null==i||i(e),null==s||s(e),e.defaultPrevented||null==d||d())},m),C=function(e,t=null==globalThis?void 0:globalThis.document){let r=NB(e),o=I.useRef(!1);return I.useEffect(()=>{let e=e=>{e.target&&!o.current&&R6("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...u.branches].some(e=>e.contains(t))||(null==l||l(e),null==s||s(e),e.defaultPrevented||null==d||d())},m);return NV(e=>{x===u.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},m),I.useEffect(()=>{if(p)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(RQ=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(p)),u.layers.add(p),R4(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=RQ)}},[p,m,r,u]),I.useEffect(()=>()=>{p&&(u.layers.delete(p),u.layersWithOutsidePointerEventsDisabled.delete(p),R4())},[p,u]),I.useEffect(()=>{let e=()=>h({});return document.addEventListener(R0,e),()=>document.removeEventListener(R0,e)},[]),(0,D.jsx)(RY.div,{...c,ref:g,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:RJ(e.onFocusCapture,C.onFocusCapture),onBlurCapture:RJ(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:RJ(e.onPointerDownCapture,_.onPointerDownCapture)})});R2.displayName="DismissableLayer";var R3=I.forwardRef((e,t)=>
46{let r=I.useContext(R1),o=I.useRef(null),i=RX(t,o);return I.useEffect(()=>{let e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,D.jsx)(RY.div,{...e,ref:i})});function R4(){let e=new CustomEvent(R0);document.dispatchEvent(e)}function R6(e,t,r,{discrete:o}){let i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?i&&eD.flushSync(()=>i.dispatchEvent(l)):i.dispatchEvent(l)}R3.displayName="DismissableLayerBranch";var R8=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=I.forwardRef((e,r)=>{let{asChild:o,...i}=e,l=o?ik.g:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,D.jsx)(l,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),R9=I.forwardRef((e,t)=>{var r;let{container:o,...i}=e,[l,s]=I.useState(!1);Tu(()=>s(!0),[]);let d=o||l&&(null==(r=null==globalThis?void 0:globalThis.document)?void 0:r.body);return d?eD.createPortal((0,D.jsx)(R8.div,{...i,ref:t}),d):null});R9.displayName="Portal";var R5=e=>{var t,r;let o,i;let{present:l,children:s}=e,d=function(e){var t,r;let[o,i]=I.useState(),l=I.useRef({}),s=I.useRef(e),d=I.useRef("none"),[c,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},I.useReducer((e,t)=>r[e][t]??e,t));return I.useEffect(()=>{let e=R7(l.current);d.current="mounted"===c?e:"none"},[c]),Tu(()=>{let t=l.current,r=s.current;if(r!==e){let o=d.current,i=R7(t);e?u("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):u(r&&o!==i?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,u]),Tu(()=>{if(o){let e=e=>{let t=R7(l.current).includes(e.animationName);e.target===o&&t&&eD.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===o&&(d.current=R7(l.current))};return o.addEventListener("animationstart",t),o.addEventListener("animationcancel",e),o.addEventListener("animationend",e),()=>{o.removeEventListener("animationstart",t),o.removeEventListener("animationcancel",e),o.removeEventListener("animationend",e)}}u("ANIMATION_END")},[o,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:I.useCallback(e=>{e&&(l.current=getComputedStyle(e)),i(e)},[])}}(l),c="function"==typeof s?s({present:d.isPresent}):I.Children.only(s),u=Rq(d.ref,(o=null==(t=Object.getOwnPropertyDescriptor(c.props,"ref"))?void 0:t.get)&&"isReactWarning"in o&&o.isReactWarning?c.ref:(o=null==(r=Object.getOwnPropertyDescriptor(c,"ref"))?void 0:r.get)&&"isReactWarning"in o&&o.isReactWarning?c.props.ref:c.props.ref||c.ref);return"function"==typeof s||d.isPresent?I.cloneElement(c,{ref:u}):null};function R7(e){return(null==e?void 0:e.animationName)||"none"}R5.displayName="Presence";var De=I.forwardRef((e,t)=>(0,D.jsx)(R8.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));De.displayName="VisuallyHidden";var Dt="ToastProvider",[Dn,Dr,Da]=function(e){let t=e+"CollectionProvider",[r,o]=RG(t),[i,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,o=I.useRef(null),l=I.useRef(new Map).current;return(0,D.jsx)(i,{scope:t,itemMap:l,collectionRef:o,children:r})};s.displayName=t;let d=e+"CollectionSlot",c=I.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=Rq(t,l(d,r).collectionRef);return(0,D.jsx)(ik.g,{ref:i,children:o})});c.displayName=d;let u=e+"CollectionItemSlot",p="data-radix-collection-item",f=I.forwardRef((e,t)=>{let{scope:r,children:o,...i}=e,s=I.useRef(null),d=Rq(t,s),c=l(u,r);return I.useEffect(()=>(c.itemMap.set(s,{ref:s,...i}),()=>void c.itemMap.delete(s))),(0,D.jsx)(ik.g,{[p]:"",ref:d,children:o})});return f.displayName=u,[{Provider:s,Slot:c,ItemSlot:f},function(t){let r=l(e+"CollectionConsumer",t);return I.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},o]}("Toast"),[Do]=RG("Toast",[Da]),[Di,Dl]=Do(Dt),Ds=e=>{let{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:i="right",swipeThreshold:l=50,children:s}=e,[d,c]=I.useState(null),[u,p]=I.useState(0),f=I.useRef(!1),m=I.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Dt}\`. Expected non-empty \`string\`.`),(0,D.jsx)(Dn.Provider,{scope:t,children:(0,D.jsx)(Di,{scope:t,label:r,duration:o,swipeDirection:i,swipeThreshold:l,toastCount:u,viewport:d,onViewportChange:c,onToastAdd:I.useCallback(()=>p(e=>e+1),[]),onToastRemove:I.useCallback(()=>p(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:s})})};Ds.displayName=Dt;var Dd="ToastViewport",Dc=["F8"],Du="toast.viewportPause",Dp="toast.viewportResume",Df=I.forwardRef((e,t)=>
46{let{__scopeToast:r,hotkey:o=Dc,label:i="Notifications ({hotkey})",...l}=e,s=Dl(Dd,r),d=Dr(r),c=I.useRef(null),u=I.useRef(null),p=I.useRef(null),f=I.useRef(null),m=Rq(t,f,s.onViewportChange),h=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=s.toastCount>0;I.useEffect(()=>{let e=e=>{var t;o.every(t=>e[t]||e.code===t)&&(null==(t=f.current)||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),I.useEffect(()=>{let e=c.current,t=f.current;if(g&&e&&t){let r=()=>{if(!s.isClosePausedRef.current){let e=new CustomEvent(Du);t.dispatchEvent(e),s.isClosePausedRef.current=!0}},o=()=>{if(s.isClosePausedRef.current){let e=new CustomEvent(Dp);t.dispatchEvent(e),s.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||o()},l=()=>{e.contains(document.activeElement)||o()};return e.addEventListener("focusin",r),e.addEventListener("focusout",i),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",l),window.addEventListener("blur",r),window.addEventListener("focus",o),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",l),window.removeEventListener("blur",r),window.removeEventListener("focus",o)}}},[g,s.isClosePausedRef]);let v=I.useCallback(({tabbingDirection:e})=>{let t=d().map(t=>{let r=t.ref.current,o=[r,...function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===e?o:o.reverse()});return("forwards"===e?t.reverse():t).flat()},[d]);return I.useEffect(()=>{let e=f.current;if(e){let t=t=>{var r,o,i;let l=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!l){let l=document.activeElement,s=t.shiftKey;if(t.target===e&&s){null==(r=u.current)||r.focus();return}let d=v({tabbingDirection:s?"backwards":"forwards"}),c=d.findIndex(e=>e===l);DP(d.slice(c+1))?t.preventDefault():s?null==(o=u.current)||o.focus():null==(i=p.current)||i.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[d,v]),(0,D.jsxs)(R3,{ref:c,role:"region","aria-label":i.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&(0,D.jsx)(Dh,{ref:u,onFocusFromOutsideViewport:()=>{DP(v({tabbingDirection:"forwards"}))}}),(0,D.jsx)(Dn.Slot,{scope:r,children:(0,D.jsx)(R8.ol,{tabIndex:-1,...l,ref:m})}),g&&(0,D.jsx)(Dh,{ref:p,onFocusFromOutsideViewport:()=>{DP(v({tabbingDirection:"backwards"}))}})]})});Df.displayName=Dd;var Dm="ToastFocusProxy",Dh=I.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:o,...i}=e,l=Dl(Dm,r);return(0,D.jsx)(De,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;null!=(t=l.viewport)&&t.contains(r)||o()}})});Dh.displayName=Dm;var Dg="Toast",Dv=I.forwardRef((e,t)=>{let{forceMount:r,open:o,defaultOpen:i,onOpenChange:l,...s}=e,[d=!0,c]=function({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let r=I.useState(e),[o]=r,i=I.useRef(o),l=NB(t);return I.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),r}({defaultProp:t,onChange:r}),l=void 0!==e,s=l?e:o,d=NB(r);return[s,I.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&d(r)}else i(t)},[l,e,i,d])]}({prop:o,defaultProp:i,onChange:l});return(0,D.jsx)(R5,{present:r||d,children:(0,D.jsx)(Dx,{open:d,...s,ref:t,onClose:()=>c(!1),onPause:NB(e.onPause),onResume:NB(e.onResume),onSwipeStart:RK(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:RK(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${r}px`)}),onSwipeCancel:RK(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:RK(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${t}px`),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${r}px`),c(!1)})})})});Dv.displayName=Dg;var[Dy,Db]=Do(Dg,{onClose(){}}),Dx=I.forwardRef((e,t)=>
46{let{__scopeToast:r,type:o="foreground",duration:i,open:l,onClose:s,onEscapeKeyDown:d,onPause:c,onResume:u,onSwipeStart:p,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:h,...g}=e,v=Dl(Dg,r),[y,b]=I.useState(null),x=Rq(t,e=>b(e)),w=I.useRef(null),k=I.useRef(null),_=i||v.duration,C=I.useRef(0),$=I.useRef(_),S=I.useRef(0),{onToastAdd:E,onToastRemove:j}=v,N=NB(()=>{var e;(null==y?void 0:y.contains(document.activeElement))&&(null==(e=v.viewport)||e.focus()),s()}),T=I.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(S.current),C.current=new Date().getTime(),S.current=window.setTimeout(N,e))},[N]);I.useEffect(()=>{let e=v.viewport;if(e){let t=()=>{T($.current),null==u||u()},r=()=>{let e=new Date().getTime()-C.current;$.current=$.current-e,window.clearTimeout(S.current),null==c||c()};return e.addEventListener(Du,r),e.addEventListener(Dp,t),()=>{e.removeEventListener(Du,r),e.removeEventListener(Dp,t)}}},[v.viewport,_,c,u,T]),I.useEffect(()=>{l&&!v.isClosePausedRef.current&&T(_)},[l,_,v.isClosePausedRef,T]),I.useEffect(()=>(E(),()=>j()),[E,j]);let P=I.useMemo(()=>y?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),t.nodeType===t.ELEMENT_NODE){let o=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!o){if(i){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}}),r}(y):null,[y]);return v.viewport?(0,D.jsxs)(D.Fragment,{children:[P&&(0,D.jsx)(Dw,{__scopeToast:r,role:"status","aria-live":"foreground"===o?"assertive":"polite","aria-atomic":!0,children:P}),(0,D.jsx)(Dy,{scope:r,onClose:N,children:eD.createPortal((0,D.jsx)(Dn.ItemSlot,{scope:r,children:(0,D.jsx)(R2,{asChild:!0,onEscapeKeyDown:RK(d,()=>{v.isFocusedToastEscapeKeyDownRef.current||N(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,D.jsx)(R8.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":v.swipeDirection,...g,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:RK(e.onKeyDown,e=>{"Escape"===e.key&&(null==d||d(e.nativeEvent),e.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,N()))}),onPointerDown:RK(e.onPointerDown,e=>{0===e.button&&(w.current={x:e.clientX,y:e.clientY})}),onPointerMove:RK(e.onPointerMove,e=>{if(!w.current)return;let t=e.clientX-w.current.x,r=e.clientY-w.current.y,o=!!k.current,i=["left","right"].includes(v.swipeDirection),l=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,s=i?l(0,t):0,d=i?0:l(0,r),c="touch"===e.pointerType?10:2,u={x:s,y:d},m={originalEvent:e,delta:u};o?(k.current=u,DN("toast.swipeMove",f,m,{discrete:!1})):DT(u,v.swipeDirection,c)?(k.current=u,DN("toast.swipeStart",p,m,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>c||Math.abs(r)>c)&&(w.current=null)}),onPointerUp:RK(e.onPointerUp,e=>{let t=k.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),k.current=null,w.current=null,t){let r=e.currentTarget,o={originalEvent:e,delta:t};DT(t,v.swipeDirection,v.swipeThreshold)?DN("toast.swipeEnd",h,o,{discrete:!0}):DN("toast.swipeCancel",m,o,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),Dw=e=>{let{__scopeToast:t,children:r,...o}=e,i=Dl(Dg,t),[l,s]=I.useState(!1),[d,c]=I.useState(!1);return function(e=()=>{}){let t=NB(e);Tu(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>s(!0)),I.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),d?null:(0,D.jsx)(R9,{asChild:!0,children:(0,D.jsx)(De,{...o,children:l&&(0,D.jsxs)(D.Fragment,{children:[i.label," ",r]})})})},Dk=I.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,D.jsx)(R8.div,{...o,ref:t})});Dk.displayName="ToastTitle";var D_=I.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e;return(0,D.jsx)(R8.div,{...o,ref:t})});D_.displayName="ToastDescription";var DC="ToastAction",D$=I.forwardRef((e,t)=>
46{let{altText:r,...o}=e;return r.trim()?(0,D.jsx)(Dj,{altText:r,asChild:!0,children:(0,D.jsx)(DE,{...o,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${DC}\`. Expected non-empty \`string\`.`),null)});D$.displayName=DC;var DS="ToastClose",DE=I.forwardRef((e,t)=>{let{__scopeToast:r,...o}=e,i=Db(DS,r);return(0,D.jsx)(Dj,{asChild:!0,children:(0,D.jsx)(R8.button,{type:"button",...o,ref:t,onClick:RK(e.onClick,i.onClose)})})});DE.displayName=DS;var Dj=I.forwardRef((e,t)=>{let{__scopeToast:r,altText:o,...i}=e;return(0,D.jsx)(R8.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0,...i,ref:t})});function DN(e,t,r,{discrete:o}){let i=r.originalEvent.currentTarget,l=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?i&&eD.flushSync(()=>i.dispatchEvent(l)):i.dispatchEvent(l)}var DT=(e,t,r=0)=>{let o=Math.abs(e.x),i=Math.abs(e.y),l=o>i;return"left"===t||"right"===t?l&&o>r:!l&&i>r};function DP(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}let DA=(0,oG.cn)({className:void 0}),DO=(0,oG.cn)({className:void 0}),DR=(0,oG.cn)("bottom-right"),DD=({children:e,className:t})=>{let{className:r}=(0,oQ.Dv)(DO),o=(0,F.cn)("ef-toast-action",r,t);return(0,D.jsx)(D$,{className:o,altText:"Action",asChild:!0,children:e})};DD.displayName="ToastAction";let DM=({children:e,className:t})=>{let{className:r}=(0,oQ.Dv)(DA),o=(0,F.cn)("ef-toast-icon",r,t);return(0,D.jsx)(aB.a,{iconSize:"m",className:o,children:e})};DM.displayName="ToastIcon";let DL=(0,F.cn)("data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[--radix-toast-swipe-end-x] data-[swipe=move]:translate-x-[--radix-toast-swipe-move-x] motion-safe:data-[state=closed]:animate-from-left-0 motion-safe:data-[state=closed]:animate-to-right-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-from-right-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-to-right-0","rtl:motion-safe:data-[state=closed]:animate-from-right-0 rtl:motion-safe:data-[state=closed]:animate-to-left-[calc(100%+var(--viewport-padding))] rtl:motion-safe:data-[state=open]:animate-from-left-[calc(100%+var(--viewport-padding))] rtl:motion-safe:data-[state=open]:animate-to-left-0"),DI=(0,F.cn)("data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[--radix-toast-swipe-end-x] data-[swipe=move]:translate-x-[--radix-toast-swipe-move-x] motion-safe:data-[state=closed]:animate-from-right-0 motion-safe:data-[state=closed]:animate-to-left-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-from-left-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-to-left-0","rtl:motion-safe:data-[state=closed]:animate-from-left-0 rtl:motion-safe:data-[state=closed]:animate-to-right-[calc(100%+var(--viewport-padding))] rtl:motion-safe:data-[state=open]:animate-from-right-[calc(100%+var(--viewport-padding))] rtl:motion-safe:data-[state=open]:animate-to-right-0"),DF=(0,B.c6)({slots:{root:"motion-safe:data-[state=open]:animate-in motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=closed]:animation-duration-system-short motion-safe:data-[state=open]:animation-duration-system-medium motion-safe:data-[state=open]:animation-ease-system-easing-expressive flex w-full data-[swipe=cancel]:duration-200 data-[swipe=end]:duration-100 data-[swipe=cancel]:ease-out data-[swipe=end]:ease-out",surface:"bg-system-surface-default ring-system-stroke-mono w-full overflow-hidden rounded-sm p-0 ring-1",surfaceInner:"flex items-start gap-4 p-4",icon:"text-system-vector-default items-start",content:"flex flex-1 flex-col",title:"text-system-text-default",description:"text-system-text-weak",action:"[&>span]:text-ui-label",close:"text-system-vector-default -me-1.5 -mt-1.5",progressBar:"bg-system-vector-selected-on-weak motion-safe:animate-out motion-safe:animate-from-scale-[1.1,1,1] motion-safe:animate-to-scale-[-0.1,1,1] motion-safe:animation-ease-linear h-[3px] min-h-[3px] origin-left"},variants:{position:{"top-left":{root:DI},"top-center":{root:"data-[swipe=cancel]:translate-y-0 data-[swipe=end]:translate-y-[--radix-toast-swipe-end-y] data-[swipe=move]:translate-y-[--radix-toast-swipe-move-y] motion-safe:data-[state=closed]:animate-from-top-0 motion-safe:data-[state=closed]:animate-to-top-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-from-top-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-to-top-0"},"top-right":{root:DL},"bottom-left":{root:DI},"bottom-center":{root:"data-[swipe=cancel]:translate-y-0 data-[swipe=end]:translate-y-[--radix-toast-swipe-end-y] data-[swipe=move]:translate-y-[--radix-toast-swipe-move-y] motion-safe:data-[state=closed]:animate-from-top-0 motion-safe:data-[state=closed]:animate-to-bottom-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-from-bottom-[calc(100%+var(--viewport-padding))] motion-safe:data-[state=open]:animate-to-bottom-0"},"bottom-right":{root:DL}}}}),DB=(0,B.c6)({slots:{root:"fixed z-[2147483647] m-0 flex h-fit w-full max-w-[468px] list-none flex-col items-end gap-[10px] p-6 outline-none [--viewport-padding:1.5rem]"},variants:{position:{"top-left":{root:"start-0 top-0"},"top-center":{root:"left-[50%] top-0 -translate-x-[50%]"},"top-right":{root:"end-0 top-0 "},"bottom-left":{root:"bottom-0 start-0"},"bottom-center":{root:"bottom-0 left-[50%] -translate-x-[50%]"},"bottom-right":{root:"bottom-0 end-0"}}}}),DV=e=>{let{title:t,description:r,duration:o=1/0,children:i,themeConfig:l,className:s,...d}=e,{ToastIconSlot:c,ToastActionSlot:u}=(0,ir.F)(i,{ToastIcon:DM,ToastAction:DD}),[p,f]=(0,I.useState)(!1),[m]=(0,oQ.KO)(DR),{root:h,surface:g,surfaceInner:v,icon:y,content:b,title:x,description:w,action:k,close:_,progressBar:C}=(0,B.tv)(l?(0,B.RH)(DF,l):DF)({position:m}),$=(0,F.cn)("ef-toast",h(),s),S=[[DA,{className:(0,F.cn)(y())}],[DO,{className:(0,F.cn)(k())}]];return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(Dv,{className:$,duration:o,onPause:()=>f(!0),onResume:()=>f(!1),...d,children:(0,D.jsx)(wu.T,{className:(0,F.cn)(g()),variant:"shadow-m",children:(0,D.jsxs)(it.o,{atomValues:S,children:[(0,D.jsxs)("div",{className:(0,F.cn)(v()),children:[c,(0,D.jsxs)("div",{className:(0,F.cn)(b()),children:[t?(0,D.jsx)(Dk,{asChild:!0,children:(0,D.jsx)(aL.x,{as:"h6",variant:"uiLabelBold",className:(0,F.cn)(x()),children:t})}):null,(0,D.jsxs)("div",{children:[(0,D.jsx)(D_,{asChild:!0,children:(0,D.jsx)(aL.x,{variant:"uiLabel",className:(0,F.cn)(w()),children:r})}),u]})]}),(0,D.jsx)(DE,{className:(0,F.cn)(_()),"aria-label":"Close",asChild:!0,children:(0,D.jsx)(e7.Button,{variant:"link",size:"small",shape:"round","aria-label":"Close",children:(0,D.jsx)(o9.X,{weight:"bold"})})})]}),isFinite(o)?(0,D.jsx)("div",{className:(0,F.cn)(C()),style:{animationDuration:o+"ms",animationPlayState:p?"paused":"running"}}):null]})})})})};DV.displayName="Toast";var Dz=r(19457);let DH=(e,t=!1)=>
46t?({"top-left":"right","top-center":"down","top-right":"left","bottom-left":"right","bottom-center":"up","bottom-right":"left"})[e]:({"top-left":"left","top-center":"down","top-right":"right","bottom-left":"left","bottom-center":"up","bottom-right":"right"})[e]||"right",DU=e=>{let{children:t,position:r="bottom-right",themeConfig:o,className:i,...l}=e,s=(0,Dz.E)(),{root:d}=(0,B.tv)(o?(0,B.RH)(DB,o):DB)({position:r}),c=(0,F.cn)("ef-toast-container",d(),i);return(0,D.jsx)(Ds,{swipeDirection:DH(r,s),...l,children:(0,D.jsxs)(PO,{children:[(0,D.jsx)(it.o,{atomValues:[[DR,r]],children:t}),(0,D.jsx)(Df,{className:c,asChild:!0,children:(0,D.jsx)("div",{})})]})})};DU.displayName="ToastContainer";let DZ=(0,I.forwardRef)(({blok:e,...t},r)=>{var o,i;let[l,s]=(0,I.useState)(!1),[d,c]=(0,I.useState)(!0),{bpCurrentDesign:u,classes:p,overrideStyle:f,content:m,action:h}=RH(e);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(e7.Button,{as:"button",variant:null==u?void 0:u.variant,shape:null==u?void 0:u.shape,size:null==u?void 0:u.size,disabled:null==u?void 0:u.disabled,className:p,style:f,"aria-label":null==e?void 0:e.aria_label,"aria-labelledby":null==e?void 0:e.aria_labelledby,ref:r,onPress:()=>{var e,t;if(typeof navigator>"u"){console.error("Clipboard is not supported in this browser"),c(!1),s(!0);return}navigator.clipboard.writeText(null==(t=null==(e=h[0])?void 0:e.link)?void 0:t.url).then(()=>{c(!0),s(!0)}).catch(e=>{console.error(e.message),c(!1),s(!0)})},...hl(e),...t,children:m.length>0&&(null==m?void 0:m.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))}),(0,D.jsx)(DU,{children:(0,D.jsx)(DV,{open:l,description:d?null==(o=h[0])?void 0:o.toast_text:null==(i=h[0])?void 0:i.toast_error_text,duration:3e3,onOpenChange:s,"data-testid":"toast",children:(0,D.jsx)(DM,{children:d?(0,D.jsx)(vX.f,{weight:"bold"}):(0,D.jsx)(yu.Q,{weight:"fill"})})},1)})]})});DZ.displayName="CopyButtonSB";let DW=(0,I.forwardRef)(({blok:e,disabled:t,...r},o)=>{let{bpCurrentDesign:i,classes:l,overrideStyle:s,content:d}=RH(e);return(0,D.jsx)(e7.Button,{...hl(e),type:"submit",as:"button",variant:null==i?void 0:i.variant,shape:null==i?void 0:i.shape,size:null==i?void 0:i.size,disabled:(null==i?void 0:i.disabled)||t,className:l,style:{...s,width:"100%"},"aria-label":e.aria_label,"aria-labelledby":e.aria_labelledby,ref:o,...r,children:d.length>0&&(null==d?void 0:d.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))})});DW.displayName="SubmitButtonSB";let DK=(0,I.forwardRef)(({blok:e,...t},r)=>{var o;let{bpCurrentDesign:i,classes:l,overrideStyle:s,content:d,action:c}=RH(e),u=o=>(0,D.jsx)(e7.Button,{...hl(e),as:"button",variant:null==i?void 0:i.variant,shape:null==i?void 0:i.shape,size:null==i?void 0:i.size,disabled:null==i?void 0:i.disabled,className:l,style:s,"aria-label":null==e?void 0:e.aria_label,"aria-labelledby":null==e?void 0:e.aria_labelledby,ref:r,...t,...o,children:d.length>0&&(null==d?void 0:d.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))});return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(u,{className:"lg:hidden",onPress:async()=>{var e,t;if(navigator.share)try{await navigator.share({url:null==(t=null==(e=c[0])?void 0:e.link)?void 0:t.url})}catch(e){console.error("Something went wrong sharing the post",e)}}}),(0,D.jsx)("div",{className:"hidden lg:block",children:(0,D.jsx)(hs,{blok:null==(o=null==e?void 0:e.action)?void 0:o[0],children:(0,D.jsx)(u,{})})})]})});DK.displayName="SocialSharingButtonSB";let Dq={"sb-link-button":RZ,"sb-submit-button":DW,"sb-modal-button":RW,"sb-drawer-button":RU,"sb-copy-button":DZ,"sb-social-sharing-button":DK},DG=(0,I.forwardRef)((e,t)=>{var r,o,i,l,s,d,c,u,p;let{blok:f,...m}=e,h=null==(o=null==(r=null==f?void 0:f.action)?void 0:r[0])?void 0:o.component,{bpCurrentDesign:g,classes:v,overrideStyle:y,content:b}=RH(f);if("sb-modal"===h||"sb-drawer"===h)return(0,D.jsx)(hs,{blok:null==(i=null==f?void 0:f.action)?void 0:i[0],children:(0,D.jsx)(e7.Button,{...hl(f),as:"button",variant:null==g?void 0:g.variant,shape:null==g?void 0:g.shape,size:null==g?void 0:g.size,disabled:null==g?void 0:g.disabled,className:v,style:y,"aria-label":null==f?void 0:f.aria_label,"aria-labelledby":null==f?void 0:f.aria_labelledby,ref:t,...m,children:b.length>0&&(null==b?void 0:b.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})});let x=Dq[null==(s=null==(l=null==f?void 0:f.action)?void 0:l[0])?void 0:s.component];return x?((null==(c=null==(d=null==f?void 0:f.action)?void 0:d[0])?void 0:c.component)==="sb-modal-button"?console.warn("`sb-modal-button` is deprecated. Please use `sb-modal` action instead."):(null==(p=null==(u=null==f?void 0:f.action)?void 0:u[0])?void 0:p.component)==="sb-drawer-button"&&console.warn("`sb-drawer-button` is deprecated. Please use `sb-drawer` action instead."),(0,D.jsx)(x,{blok:f,...m,ref:t})):null});DG.displayName="ButtonSB";let DJ=(0,B.An)({className:void 0}),DY=(0,B.An)({className:void 0}),DX=e=>{let{children:t,className:r,text_color:o,...i}=e,{className:l}=(0,oQ.Dv)(DY),s=(0,F.cn)("ef-sticky-bar-description",l,r);return(0,D.jsx)(aL.x,{variant:"uiLabelSmall",className:s,text_color:o,...i,children:t})};DX.displayName="StickyBarDescription";let DQ=e=>{let{children:t,className:r,text_color:o,...i}=e,{className:l}=(0,oQ.Dv)(DJ),s=(0,F.cn)("ef-sticky-bar-product-name",l,r);return(0,D.jsx)(aL.x,{variant:"uiLabelBold",className:s,text_color:o,...i,children:t})};DQ.displayName="StickyBarProductName";let D0=[".ef-header-wrapper",".ef-backpack-footer","#shared-component-section"],D1=()=>Array.from(new Set(document.querySelectorAll(D0.join(", "))));(0,B.c6)({slots:{root:"z-50 border-b border-components-dividers-default bg-system-surface-default transition-transform duration-system-short ease-system-easing-standard",content:"flex w-full items-center gap-4 transition-transform duration-system-short ease-system-easing-standard",items:"px-4 py-3",activeItem:"text-system-vector-selected-default hover:text-system-vector-selected-default focus:text-system-vector-selected-default",linksRoot:"bg-transparent px-2",mobileContainer:"fixed bottom-0 left-0 right-0 z-50 flex items-center justify-center border-t border-system-stroke-mono bg-system-surface-default px-6 py-2 transition-transform duration-system-short ease-system-easing-standard lg:hidden [&:not(:has(.ef-button))]:hidden [&>:not(.ef-button)]:hidden"},variants:{behavior:{fixed:{root:"fixed left-0 right-0 top-0",content:"[&>.ef-button]:hidden lg:[&>.ef-button]:block"}
46,"in-page":{root:"sticky top-[calc(var(--ef-sticky-header-offset,0px)_+_var(--ef-sticky-nav-offset,0px)_+_var(--ef-sticky-extra-offset,0px))] [--ef-sticky-header-offset:0px] [--ef-sticky-nav-offset:0px] group-has-[[data-position=fixed][data-visible=true]]/layout:[--ef-sticky-header-offset:var(--header-height,64px)] max-lg:group-has-[[data-position]:not([data-header-hidden])]/layout:[--ef-sticky-nav-offset:var(--navigation-bar-height,66px)] lg:group-has-[[data-position=fixed]:not([data-header-hidden])_.ef-utility-bar:not([data-stick-on-scroll])]/layout:[--ef-sticky-header-offset:calc(var(--header-height,64px)_-_var(--spacing-spacing-l))]",mobileContainer:"hidden"}},contentWidth:{default:{content:"lg:mx-auto lg:max-w-[960px]"},wide:{content:"lg:mx-auto lg:max-w-[1200px]"},full:{content:"w-full"}},isVisible:{true:{root:"translate-y-0",mobileContainer:"translate-y-0"},false:{root:"-translate-y-full",mobileContainer:"translate-y-full"}},withoutBorder:{true:{root:"border-none",mobileContainer:"border-none"}}},defaultVariants:{behavior:"fixed"}});let D2=(0,B.c6)({slots:{root:"fixed left-0 right-0 z-50 gap-4 bg-system-surface-default px-6 py-2 transition-transform duration-system-short ease-system-easing-standard",content:"flex w-full items-center lg:[&:has(.ef-sticky-bar-description)>.ef-button]:ms-0 [&>.ef-button]:ms-auto",productName:"hidden lg:block",description:"flex items-center gap-2 lg:me-4 lg:ms-auto"},variants:{contentWidth:{default:{content:"lg:mx-auto lg:max-w-[960px]"},wide:{content:"lg:mx-auto lg:max-w-[1200px]"},full:{content:"w-full"}},position:{auto:{root:"bottom-0 border-t border-components-dividers-default lg:bottom-auto lg:top-0 lg:border-b lg:border-t-0"},top:{root:"top-0 border-b border-components-dividers-default"},bottom:{root:"bottom-0 border-t border-components-dividers-default"}},isVisible:{true:{root:"translate-y-0"},false:{}},withoutBorder:{true:{root:"border-none"}}},compoundVariants:[{isVisible:!1,position:"auto",class:{root:"translate-y-full lg:-translate-y-full"}},{isVisible:!1,position:"top",class:{root:"-translate-y-full"}},{isVisible:!1,position:"bottom",class:{root:"translate-y-full"}}]}),D3=(0,I.forwardRef)((e,t)=>{let{className:r,themeConfig:o,children:i,hiddenInSections:l,withoutBorder:s,position:d="auto",contentWidth:c="default",...u}=e,p=function(e,t=!0){let[r,o]=(0,I.useState)(!t),i=(0,I.useRef)(new Map),l=(0,I.useRef)(null),s=(0,I.useRef)(!1),d=(0,I.useRef)(!1),c=(0,I.useCallback)(()=>{o(s.current&&!d.current)},[]);return(0,I.useEffect)(()=>{if(!t){s.current=!0,d.current=!1,o(!0);return}if(!e){s.current=!0,c();return}let r=Array.isArray(e)?e:[e],u=Array.from(document.querySelectorAll("[id]")).filter(e=>e.id&&"section"===e.tagName.toLowerCase());if(0===u.length){s.current=!0,c();return}let p=new IntersectionObserver(e=>{for(let t of e){let e=t.target.id,o=i.current.get(e)||0,d=t.intersectionRatio;d>=.9&&o<.9&&(s.current=!r.includes(e),l.current&&clearTimeout(l.current),l.current=setTimeout(c,50)),i.current.set(e,d)}},{rootMargin:"0px",threshold:[0,.9]});return u.forEach(e=>p.observe(e)),()=>{p.disconnect(),i.current.clear(),l.current&&clearTimeout(l.current)}},[e,c,t]),(0,I.useEffect)(()=>{if(!t)return;let e=D1();if(0===e.length)return;let r=new Set,o=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting?r.add(t.target):r.delete(t.target);d.current=r.size>0,c()},{threshold:.05});return e.forEach(e=>o.observe(e)),()=>o.disconnect()},[c,t]),r}(l),{root:f,content:m,productName:h,description:g}=(0,B.tv)(o?(0,B.RH)(D2,o):D2)({isVisible:p,withoutBorder:s,position:d,contentWidth:c}),v=[[DJ,{className:h()}],[DY,{className:g()}]],y=(0,F.cn)("ef-sticky-bar-promotional",f(),r);return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("div",{ref:t,className:y,...u,children:(0,D.jsx)("div",{className:m(),children:(0,D.jsx)(it.o,{atomValues:v,children:i})})})})});D3.displayName="StickyPromoBar";let D4={without_border:{type:"boolean",default_value:{s:!1}},background_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hu},D6=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e%1==0?e:e.toFixed(t)},D8=[20,30,40,45],D9=e=>{let{blok:t}=e,{design:r,min_wage:o,min_stipend_required:i,deduction_for_weekly_lodging:l,deduction_for_weekly_meals:s,title_content:d,weekly_min_payment_label:c,meals_deduction_label:u,lodging_deduction_label:p,total_stipend_label:f,notice:m}=t,h=parseFloat(o),g=parseFloat(i),v=parseFloat(s),y=parseFloat(l),[b,x]=(0,I.useState)(D8[0]),w=(0,h5.mi)({design:r}),k=(0,h7.N)(null==w?void 0:w.spacing),_=(0,vP.W)("items-center justify-center gap-[var(--spacing-spacing-xl)] lg:justify-between lg:gap-[var(--spacing-spacing-s)]","flex-wrap [row-gap:var(--spacing-spacing-s)]","stipend-calculator",k),{breakpoint:C}=(0,ib.G)(),$="s"!==C;return(0,D.jsx)("div",{...(0,ha.LF)(t),children:(0,D.jsx)(wu.T,{radius:"m",className:(0,vP.W)(_,"w-full max-w-[32.8125rem] bg-[var(--color-system-surface-weak)] p-[var(--spacing-spacing-m)] md:p-[var(--spacing-spacing-xl)]"),children:(0,D.jsxs)(wW.k,{gap:"xl",direction:"column",children:[(0,D.jsx)(D5,{selectedHoursPerWeek:b,setSelectedHoursPerWeek:x,title:d,isMdOrLarger:$}),(0,D.jsx)(D7,{deductionForWeeklyLodging:y,deductionForWeeklyMeals:v,minStipendRequired:g,minWage:h,selectedHoursPerWeek:b,texting:{weeklyMinPaymentLabel:c,mealsDeductionLabel:u,lodgingDeductionLabel:p,totalStipendLabel:f,notice:m},isMdOrLarger:$})]})})})},D5=e=>{let{title:t,selectedHoursPerWeek:r,setSelectedHoursPerWeek:o,isMdOrLarger:i}=e;return(0,D.jsxs)(wW.k,{direction:"column",gap:"m",children:[(0,D.jsx)(D.Fragment,{children:t&&t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(wW.k,{direction:"column",gap:"m",children:(0,D.jsx)(wW.k,{gap:i?"s":"xxs",justify:"space-between",className:(0,vP.W)("[row-gap:var(--spacing-spacing-s)]","stipend-calculator"),wrap:!i,children:D8.map(e=>(0,D.jsxs)(e7.Button,{className:(0,F.cn)("mono","md:w-full"),onPress:()=>o(e),value:String(e),"data-selected":r===e,size:"small",shape:"square",variant:r===e?"primary":"secondary",children:[e,"h"]},e))})})]})},D7=e=>{let{texting:{weeklyMinPaymentLabel:t,mealsDeductionLabel:r,lodgingDeductionLabel:o,totalStipendLabel:i,notice:l},deductionForWeeklyLodging:s,deductionForWeeklyMeals:d,minStipendRequired:c,minWage:u,selectedHoursPerWeek:p,isMdOrLarger:f}=e,{amountPerWeek:m,corrigatedAmountPerWeek:h,minTotalBasedOnHours:g}=(0,I.useMemo)(()=>{let e=p-40,t=(e>0?p-e:p)*u+(e>0?1.5*e*u:0),r=t-(s+d),o=r<c?c:null;return{minTotalBasedOnHours:t,amountPerWeek:r,corrigatedAmountPerWeek:o}},[p,c,u,s,d]);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(wW.k,{direction:"column",className:"gap-5",children:[(0,D.jsxs)(wW.k,{justify:"space-between",gap:"m",children:[t&&t.length>0?(0,D.jsx)(D.Fragment,{children:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)("span",{}),(0,D.jsxs)(aL.x,{variant:"header6",children:["$",D6(g)]})]}),(0,D.jsxs)(wW.k,{justify:"space-between",gap:"m",children:[r&&r.length>0?(0,D.jsx)(D.Fragment,{children:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)("span",{}),(0,D.jsxs)(aL.x,{variant:"header6",children:["-$",D6(d)]})]}),(0,D.jsxs)(wW.k,{justify:"space-between",gap:"m",children:[o&&o.length>0?(0,D.jsx)(D.Fragment,{children:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)("span",{}),(0,D.jsxs)(aL.x,{variant:"header6",children:["-$",D6(s)]})]}),(0,D.jsx)(i7,{color:"#E9E9E9"}),(0,D.jsxs)(wW.k,{justify:"space-between",align:f?"center":"flex-start",direction:f?"row":"column",gap:f?"m":"xs",children:[i&&i.length>0?(0,D.jsx)(D.Fragment,{children:i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)("span",{}),(0,D.jsxs)(aL.x,{variant:"header4",children:["$",D6(h||m)]})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(i7,{className:"mx-0 mb-6 mt-0 block md:hidden"}),l&&l.length>0?(0,D.jsx)(D.Fragment,{children:l.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)("span",{})]})]})};D9.displayName="StipendCalculatorSB";let Me=(0,I.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),Mt=I.forwardRef((e,t)=>
46{let{alt:r,color:o,size:i,weight:l,mirrored:s,children:d,weights:c,...u}=e,{color:p="currentColor",size:f,weight:m="regular",mirrored:h=!1,...g}=I.useContext(Me);return I.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:null!=i?i:f,height:null!=i?i:f,fill:null!=o?o:p,viewBox:"0 0 256 256",transform:s||h?"scale(-1, 1)":void 0,...g,...u},!!r&&I.createElement("title",null,r),d,c.get(null!=l?l:m))});Mt.displayName="IconBase";let Mn=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),I.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]),Mr=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:Mn}));Mr.displayName="ArrowLeftIcon";var Ma=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==Mo},Mo="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Mi(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ms(Array.isArray(e)?[]:{},e,t):e}function Ml(e,t,r){return e.concat(t).map(function(e){return Mi(e,r)})}function Ms(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ml,r.isMergeableObject=r.isMergeableObject||Ma;var o,i,l=Array.isArray(t);return l!==Array.isArray(e)?Mi(t,r):l?r.arrayMerge(e,t,r):(i={},(o=r).isMergeableObject(e)&&Object.keys(e).forEach(function(t){i[t]=Mi(e[t],o)}),Object.keys(t).forEach(function(r){o.isMergeableObject(t[r])&&e[r]?i[r]=Ms(e[r],t[r],o):i[r]=Mi(t[r],o)}),i)}Ms.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return Ms(e,r,t)},{})};var Md=Ms,Mc="object"==typeof global&&global&&global.Object===Object&&global,Mu="object"==typeof self&&self&&self.Object===Object&&self,Mp=Mc||Mu||Function("return this")(),Mf=Mp.Symbol,Mm=Object.prototype,Mh=Mm.hasOwnProperty,Mg=Mm.toString,Mv=Mf?Mf.toStringTag:void 0,My=function(e){var t=Mh.call(e,Mv),r=e[Mv];try{e[Mv]=void 0;var o=!0}catch(e){}var i=Mg.call(e);return o&&(t?e[Mv]=r:delete e[Mv]),i},Mb=Object.prototype.toString,Mx=Mf?Mf.toStringTag:void 0,Mw=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Mx&&Mx in Object(e)?My(e):Mb.call(e)},Mk=function(e,t){return function(r){return e(t(r))}},M_=Mk(Object.getPrototypeOf,Object),MC=function(e){return null!=e&&"object"==typeof e},M$=Object.prototype,MS=Function.prototype.toString,ME=M$.hasOwnProperty,Mj=MS.call(Object),MN=function(e){if(!MC(e)||"[object Object]"!=Mw(e))return!1;var t=M_(e);if(null===t)return!0;var r=ME.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&MS.call(r)==Mj},MT=function(e,t){return e===t||e!=e&&t!=t},MP=function(e,t){for(var r=e.length;r--;)if(MT(e[r][0],t))return r;return -1},MA=Array.prototype.splice;function MO(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}MO.prototype.clear=function(){this.__data__=[],this.size=0},MO.prototype.delete=function(e){var t=this.__data__,r=MP(t,e);return!(r<0)&&(r==t.length-1?t.pop():MA.call(t,r,1),--this.size,!0)},MO.prototype.get=function(e){var t=this.__data__,r=MP(t,e);return r<0?void 0:t[r][1]},MO.prototype.has=function(e){return MP(this.__data__,e)>-1},MO.prototype.set=function(e,t){var r=this.__data__,o=MP(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};var MR=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},MD=function(e){if(!MR(e))return!1;var t=Mw(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},MM=Mp["__core-js_shared__"],ML=(w=/[^.]+$/.exec(MM&&MM.keys&&MM.keys.IE_PROTO||""))?"Symbol(sr
46c)_1."+w:"",MI=Function.prototype.toString,MF=function(e){if(null!=e){try{return MI.call(e)}catch(e){}try{return e+""}catch(e){}}return""},MB=/^\[object .+?Constructor\]$/,MV=Object.prototype,Mz=Function.prototype.toString,MH=MV.hasOwnProperty,MU=RegExp("^"+Mz.call(MH).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),MZ=function(e,t){var r,o=null==e?void 0:e[t];return MR(r=o)&&(!ML||!(ML in r))&&(MD(r)?MU:MB).test(MF(r))?o:void 0},MW=MZ(Mp,"Map"),MK=MZ(Object,"create"),Mq=Object.prototype.hasOwnProperty,MG=Object.prototype.hasOwnProperty;function MJ(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}MJ.prototype.clear=function(){this.__data__=MK?MK(null):{},this.size=0},MJ.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},MJ.prototype.get=function(e){var t=this.__data__;if(MK){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Mq.call(t,e)?t[e]:void 0},MJ.prototype.has=function(e){var t=this.__data__;return MK?void 0!==t[e]:MG.call(t,e)},MJ.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=MK&&void 0===t?"__lodash_hash_undefined__":t,this};var MY=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},MX=function(e,t){var r=e.__data__;return MY(t)?r["string"==typeof t?"string":"hash"]:r.map};function MQ(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}function M0(e){var t=this.__data__=new MO(e);this.size=t.size}MQ.prototype.clear=function(){this.size=0,this.__data__={hash:new MJ,map:new(MW||MO),string:new MJ}},MQ.prototype.delete=function(e){var t=MX(this,e).delete(e);return this.size-=t?1:0,t},MQ.prototype.get=function(e){return MX(this,e).get(e)},MQ.prototype.has=function(e){return MX(this,e).has(e)},MQ.prototype.set=function(e,t){var r=MX(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this},M0.prototype.clear=function(){this.__data__=new MO,this.size=0},M0.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},M0.prototype.get=function(e){return this.__data__.get(e)},M0.prototype.has=function(e){return this.__data__.has(e)},M0.prototype.set=function(e,t){var r=this.__data__;if(r instanceof MO){var o=r.__data__;if(!MW||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new MQ(o)}return r.set(e,t),this.size=r.size,this};var M1=function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o&&!1!==t(e[r],r,e););return e},M2=function(){try{var e=MZ(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),M3=function(e,t,r){"__proto__"==t&&M2?M2(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},M4=Object.prototype.hasOwnProperty,M6=function(e,t,r){var o=e[t];M4.call(e,t)&&MT(o,r)&&(void 0!==r||t in e)||M3(e,t,r)},M8=function(e,t,r,o){var i=!r;r||(r={});for(var l=-1,s=t.length;++l<s;){var d=t[l],c=o?o(r[d],e[d],d,r,e):void 0;void 0===c&&(c=e[d]),i?M3(r,d,c):M6(r,d,c)}return r},M9=function(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o},M5=function(e){return MC(e)&&"[object Arguments]"==Mw(e)},M7=Object.prototype,Le=M7.hasOwnProperty,Lt=M7.propertyIsEnumerable,Ln=M5(function(){return arguments}())?M5:function(e){return MC(e)&&Le.call(e,"callee")&&!Lt.call(e,"callee")},Lr=Array.isArray,La="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lo=La&&"object"==typeof module&&module&&!module.nodeType&&module,Li=Lo&&Lo.exports===La?Mp.Buffer:void 0,Ll=(Li?Li.isBuffer:void 0)||function(){return!1},Ls=/^(?:0|[1-9]\d*)$/,Ld=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Ls.test(e))&&e>-1&&e%1==0&&e<t},Lc=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Lu={};Lu["[object Float32Array]"]=Lu["[object Float64Array]"]=Lu["[object Int8Array]"]=Lu["[object Int16Array]"]=Lu["[object Int32Array]"]=Lu["[object Uint8Array]"]=Lu["[object Uint8ClampedArray]"]=Lu["[object Uint16Array]"]=Lu["[object Uint32Array]"]=!0,Lu["[object Arguments]"]=Lu["[object Array]"]=Lu["[object ArrayBuffer]"]=Lu["[object Boolean]"]=Lu["[object DataView]"]=Lu["[object Date]"]=Lu["[object Error]"]=Lu["[object Function]"]=Lu["[object Map]"]=Lu["[object Number]"]=Lu["[object Object]"]=Lu["[object RegExp]"]=Lu["[object Set]"]=Lu["[object String]"]=Lu["[object WeakMap]"]=!1;var Lp=function(e){return function(t){return e(t)}},Lf="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lm=Lf&&"object"==typeof module&&module&&!module.nodeType&&module,Lh=Lm&&Lm.exports===Lf&&Mc.process,Lg=function(){try{var e=Lm&&Lm.require&&Lm.require("util").t
46ypes;if(e)return e;return Lh&&Lh.binding&&Lh.binding("util")}catch(e){}}(),Lv=Lg&&Lg.isTypedArray,Ly=Lv?Lp(Lv):function(e){return MC(e)&&Lc(e.length)&&!!Lu[Mw(e)]},Lb=Object.prototype.hasOwnProperty,Lx=function(e,t){var r=Lr(e),o=!r&&Ln(e),i=!r&&!o&&Ll(e),l=!r&&!o&&!i&&Ly(e),s=r||o||i||l,d=s?M9(e.length,String):[],c=d.length;for(var u in e)(t||Lb.call(e,u))&&!(s&&("length"==u||i&&("offset"==u||"parent"==u)||l&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ld(u,c)))&&d.push(u);return d},Lw=Object.prototype,Lk=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Lw)},L_=Mk(Object.keys,Object),LC=Object.prototype.hasOwnProperty,L$=function(e){if(!Lk(e))return L_(e);var t=[];for(var r in Object(e))LC.call(e,r)&&"constructor"!=r&&t.push(r);return t},LS=function(e){return null!=e&&Lc(e.length)&&!MD(e)},LE=function(e){return LS(e)?Lx(e):L$(e)},Lj=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},LN=Object.prototype.hasOwnProperty,LT=function(e){if(!MR(e))return Lj(e);var t=Lk(e),r=[];for(var o in e)"constructor"==o&&(t||!LN.call(e,o))||r.push(o);return r},LP=function(e){return LS(e)?Lx(e,!0):LT(e)},LA="object"==typeof exports&&exports&&!exports.nodeType&&exports,LO=LA&&"object"==typeof module&&module&&!module.nodeType&&module,LR=LO&&LO.exports===LA?Mp.Buffer:void 0,LD=LR?LR.allocUnsafe:void 0,LM=function(e,t){if(t)return e.slice();var r=e.length,o=LD?LD(r):new e.constructor(r);return e.copy(o),o},LL=function(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t},LI=function(e,t){for(var r=-1,o=null==e?0:e.length,i=0,l=[];++r<o;){var s=e[r];t(s,r,e)&&(l[i++]=s)}return l},LF=function(){return[]},LB=Object.prototype.propertyIsEnumerable,LV=Object.getOwnPropertySymbols,Lz=LV?function(e){return null==e?[]:LI(LV(e=Object(e)),function(t){return LB.call(e,t)})}:LF,LH=function(e,t){for(var r=-1,o=t.length,i=e.length;++r<o;)e[i+r]=t[r];return e},LU=Object.getOwnPropertySymbols?function(e){for(var t=[];e;
46)LH(t,Lz(e)),e=M_(e);return t}:LF,LZ=function(e,t,r){var o=t(e);return Lr(e)?o:LH(o,r(e))},LW=function(e){return LZ(e,LE,Lz)},LK=function(e){return LZ(e,LP,LU)},Lq=MZ(Mp,"DataView"),LG=MZ(Mp,"Promise"),LJ=MZ(Mp,"Set"),LY=MZ(Mp,"WeakMap"),LX="[object Map]",LQ="[object Promise]",L0="[object Set]",L1="[object WeakMap]",L2="[object DataView]",L3=MF(Lq),L4=MF(MW),L6=MF(LG),L8=MF(LJ),L9=MF(LY),L5=Mw;(Lq&&L5(new Lq(new ArrayBuffer(1)))!=L2||MW&&L5(new MW)!=LX||LG&&L5(LG.resolve())!=LQ||LJ&&L5(new LJ)!=L0||LY&&L5(new LY)!=L1)&&(L5=function(e){var t=Mw(e),r="[object Object]"==t?e.constructor:void 0,o=r?MF(r):"";if(o)switch(o){case L3:return L2;case L4:return LX;case L6:return LQ;case L8:return L0;case L9:return L1}return t});var L7=L5,Ie=Object.prototype.hasOwnProperty,It=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(r.index=e.index,r.input=e.input),r},In=Mp.Uint8Array,Ir=function(e){var t=new e.constructor(e.byteLength);return new In(t).set(new In(e)),t},Ia=function(e,t){var r=t?Ir(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)},Io=/\w*$/,Ii=function(e){var t=new e.constructor(e.source,Io.exec(e));return t.lastIndex=e.lastIndex,t},Il=Mf?Mf.prototype:void 0,Is=Il?Il.valueOf:void 0,Id=function(e,t){var r=t?Ir(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},Ic=function(e,t,r){var o=e.constructor;switch(t){case"[object ArrayBuffer]":return Ir(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return Ia(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Id(e,r);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return Ii(e);case"[object Symbol]":return Is?Object(Is.call(e)):{}}},Iu=Object.create,Ip=function(){function e(){}return function(t){if(!MR(t))return{};if(Iu)return Iu(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),If=Lg&&Lg.isMap,Im=If?Lp(If):function(e){return MC(e)&&"[object Map]"==L7(e)},Ih=Lg&&Lg.isSet,Ig=Ih?Lp(Ih):function(e){return MC(e)&&"[object Set]"==L7(e)},Iv="[object Arguments]",Iy="[object Function]",Ib="[object Object]",Ix={};Ix[Iv]=Ix["[object Array]"]=Ix["[object ArrayBuffer]"]=Ix["[object DataView]"]=Ix["[object Boolean]"]=Ix["[object Date]"]=Ix["[object Float32Array]"]=Ix["[object Float64Array]"]=Ix["[object Int8Array]"]=Ix["[object Int16Array]"]=Ix["[object Int32Array]"]=Ix["[object Map]"]=Ix["[object Number]"]=Ix[Ib]=Ix["[object RegExp]"]=Ix["[object Set]"]=Ix["[object String]"]=Ix["[object Symbol]"]=Ix["[object Uint8Array]"]=Ix["[object Uint8ClampedArray]"]=Ix["[object Uint16Array]"]=Ix["[object Uint32Array]"]=!0,Ix["[object Error]"]=Ix[Iy]=Ix["[object WeakMap]"]=!1;var Iw=function e(t,r,o,i,l,s){var d,c=1&r,u=2&r,p=4&r;
46if(o&&(d=l?o(t,i,l,s):o(t)),void 0!==d)return d;if(!MR(t))return t;var f=Lr(t);if(f){if(d=It(t),!c)return LL(t,d)}else{var m,h,g,v,y=L7(t),b=y==Iy||"[object GeneratorFunction]"==y;if(Ll(t))return LM(t,c);if(y==Ib||y==Iv||b&&!l){if(d=u||b?{}:"function"!=typeof t.constructor||Lk(t)?{}:Ip(M_(t)),!c)return u?(h=(m=d)&&M8(t,LP(t),m),M8(t,LU(t),h)):(v=(g=d)&&M8(t,LE(t),g),M8(t,Lz(t),v))}else{if(!Ix[y])return l?t:{};d=Ic(t,y,c)}}s||(s=new M0);var x=s.get(t);if(x)return x;s.set(t,d),Ig(t)?t.forEach(function(i){d.add(e(i,r,o,i,t,s))}):Im(t)&&t.forEach(function(i,l){d.set(l,e(i,r,o,l,t,s))});var w=p?u?LK:LW:u?LP:LE,k=f?void 0:w(t);return M1(k||t,function(i,l){k&&(i=t[l=i]),M6(d,l,e(i,r,o,l,t,s))}),d},Ik=function(e){return Iw(e,5)},I_=r(69590),IC=r.n(I_),I$=function(e,t){},IS=function(e){return Iw(e,4)},IE=function(e,t){for(var r=-1,o=null==e?0:e.length,i=Array(o);++r<o;)i[r]=t(e[r],r,e);return i},Ij=function(e){return"symbol"==typeof e||MC(e)&&"[object Symbol]"==Mw(e)};function IN(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=r.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return r.cache=l.set(i,s)||l,s};return r.cache=new(IN.Cache||MQ),r}IN.Cache=MQ;var IT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,IP=/\\(\\)?/g,IA=(_=(k=IN(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(IT,function(e,r,o,i){t.push(o?i.replace(IP,"$1"):r||e)}),t},function(e){return 500===_.size&&_.clear(),e})).cache,k),IO=1/0,IR=function(e){if("string"==typeof e||Ij(e))return e;var t=e+"";return"0"==t&&1/e==-IO?"-0":t},ID=1/0,IM=Mf?Mf.prototype:void 0,IL=IM?IM.toString:void 0,II=function e(t){if("string"==typeof t)return t;if(Lr(t))return IE(t,e)+"";if(Ij(t))return IL?IL.call(t):"";var r=t+"";return"0"==r&&1/t==-ID?"-0":r},IF=function(e){return Lr(e)?IE(e,IR):Ij(e)?[e]:LL(IA(null==e?"":II(e)))};function IB(){return(IB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function IV(e,t){if(null==e)return{};var r,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(i[r]=e[r]);return i}function Iz(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r(8679);var IH=(0,I.createContext)(void 0);IH.displayName="FormikContext";var IU=IH.Provider;function IZ(){var e=(0,I.useContext)(IH);return e||I$(!1),e}IH.Consumer;var IW=function(e){return Array.isArray(e)&&0===e.length},IK=function(e){return"function"==typeof e},Iq=function(e){return null!==e&&"object"==typeof e},IG=function(e){return"[object String]"===Object.prototype.toString.call(e)},IJ=function(e){return 0===I.Children.count(e)},IY=function(e){return Iq(e)&&IK(e.then)};function IX(e,t,r,o){void 0===o&&(o=0);for(var i=IF(t);e&&o<i.length;)e=e[i[o++]];return o===i.length||e?void 0===e?r:e:r}function IQ(e,t,r){for(var o=IS(e),i=o,l=0,s=IF(t);l<s.length-1;l++){var d=s[l],c=IX(e,s.slice(0,l+1));if(c&&(Iq(c)||Array.isArray(c)))i=i[d]=IS(c);else{var u=s[l+1];i=i[d]=String(Math.floor(Number(u)))===u&&Number(u)>=0?[]:{}}}return(0===l?e:i)[s[l]]===r?e:(void 0===r?delete i[s[l]]:i[s[l]]=r,0===l&&void 0===r&&delete o[s[l]],o)}var I0={},I1={};function I2(e){var t,r,o,i,l,s,d,c,u,p,f,m,h,g,v,y,b,x,w,k,_,C,$,S,E,j,N,T,P,A,O,R,D,M,L,F,B,V,z,H,U,Z,W,K,q,G,J,Y,X,Q,ee,et,en,er,ea,eo=(r=void 0===(t=e.validateOnChange)||t,i=void 0===(o=e.validateOnBlur)||o,s=void 0!==(l=e.validateOnMount)&&l,d=e.isInitialValid,u=void 0!==(c=e.enableReinitialize)&&c,p=e.onSubmit,f=IV(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=IB({validateOnChange:r,validateOnBlur:i,validateOnMount:s,onSubmit:p},f),h=(0,I.useRef)(m.initialValues),g=(0,I.useRef)(m.initialErrors||I0),v=(0,I.useRef)(m.initialTouched||I1),y=(0,I.useRef)(m.initialStatus),b=(0,I.useRef)(!1),x=(0,I.useRef)({}),(0,I.useEffect)(function(){return b.current=!0,function(){b.current=!1}},[]),w=(0,I.useState)(0)[1],_=(k=(0,I.useRef)({values:Ik(m.initialValues),errors:Ik(m.initialErrors)||I0,touched:Ik(m.initialTouched)||I1,status:Ik(m.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0})).current,C=(0,I.useCallback)(function(e){var t=k.current;k.current=function(e,t){switch(t.type){case"SET_VALUES":return IB({},e,{values:t.payload});case"SET_TOUCHED":return IB({},e,{touched:t.payload});case"SET_ERRORS":if(IC()(e.errors,t.payload))return e;return IB({},e,{errors:t.payload});case"SET_STATUS":return IB({},e,{status:t.payload});case"SET_ISSUBMITTING":return IB({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return IB({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return IB({},e,{values:IQ(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return IB({},e,{touched:IQ(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return IB({},e,{errors:IQ(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return IB({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return IB({},e,{touched:function e(t,r,o,i){void 0===o&&(o=new WeakMap),void 0===i&&(i={});for(var l=0,s=Object.keys(t);l<s.length;l++){var d=s[l],c=t[d];Iq(c)?o.get(c)||(o.set(c,!0),i[d]=Array.isArray(c)?[]:{},e(c,r,o,i[d])):i[d]=r}return i}(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return IB({},e,{isSubmitting:!1});default:return e}}(t,e),t!==k.current&&w(function(e){return e+1})},[]),$=(0,I.useCallback)(function(e,t){return new Promise(function(r,o){var i=m.validate(e,t);null==i?r(I0):IY(i)?i.then(function(e){r(e||I0)},function(e){o(e)}):r(i)})},[m.validate]),S=(0,I.useCallback)(function(e,t){var r,o,i=m.validationSchema,l=IK(i)?i(t):i,s=t&&l.validateAt?l.validateAt(t,e):(void 0===r&&(r=!1),o=function e(t){var r=Array.isArray(t)?[]:{};for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=String(o);!0===Array.isArray(t[i])?r[i]=t[i].map(function(t){return!0===Array.isArray(t)||MN(t)?e(t):""!==t?t:void 0}):MN(t[i])?r[i]=e(t[i]):r[i]=""!==t[i]?t[i]:void 0}return r}(e),l[r?"validateSync":"validate"](o,{abortEarly:!1,context:o}));return new Promise(function(e,t){s.then(function(){e(I0)},function(r){"ValidationError"===r.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return IQ(t,e.path,e.message);for(var r=e.inner,o=Array.isArray(r),i=0,r=o?r:r[Symbol.iterator]();;){if(o){if(i>=r.length)break;l=r[i++]}else{if((i=r.next()).done)break;l=i.value}var l,s=l;IX(t,s.path)||(t=IQ(t,s.path,s.message))}}return t}(r)):t(r)})})},[m.validationSchema]),E=(0,I.useCallback)(function(e,t){return new Promise(function(r){return r(x.current[e].validate(t))})},[]),j=(0,I.useCallback)(function(e){var t=Object.keys(x.current).filter(function(e){return IK(x.current[e].validate)});return Promise.all(t.length>0?t.map(function(t){return E(t,IX(e,t))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")]).then(function(e){return e.reduce(function(e,r,o){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(e=IQ(e,t[o],r)),e},{})})},[E]),N=(0,I.useCallback)(function(e){return Promise.all([j(e),m.validationSchema?S(e):{},m.validate?$(e):{}]).then(function(e){var t=e[0],r=e[1],o=e[2];return Md.all([t,r,o],{arrayMerge:I3})})},[m.validate,m.validationSchema,j,$,S]),T=I6(function(e){return void 0===e&&(e=_.values),C({type:"SET_ISVALIDATING",payload:!0}),N(e).then(function(e){return b.current&&(C({type:"SET_ISVALIDATING",payload:!1}),C({type:"SET_ERRORS",payload:e})),e})}),(0,I.useEffect)(function(){s&&!0===b.current&&IC()(h.current,m.initialValues)&&T(h.current)},[s,T]),P=(0,I.useCallback)(function(e){var t=e&&e.values?e.values:h.current,r=e&&e.errors?e.errors:g.current?g.current:m.initialErrors||{},o=e&&e.touched?e.touched:v.current?v.current:m.initialTouched||{},i=e&&e.status?e.status:y.current?y.current:m.initialStatus;h.current=t,g.current=r,v.current=o,y.current=i;var l=function(){C({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:r,touched:o,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(m.onReset){var s=m.onReset(_.values,Y);IY(s)?s.then(l):l()}else l()},[m.initialErrors,m.initialStatus,m.initialTouched,m.onReset]),(0,I.useEffect)(function(){!0===b.current&&!IC()(h.current,m.initialValues)&&u&&(h.current=m.initialValues,P(),s&&T(h.current))},[u,m.initialValues,P,s,T]),(0,I.useEffect)(function(){u&&!0===b.current&&!IC()(g.current,m.initialErrors)&&(g.current=m.initialErrors||I0,C({type:"SET_ERRORS",payload:m.initialErrors||I0}))},[u,m.initialErrors]),(0,I.useEffect)(function(){u&&!0===b.current&&!IC()(v.current,m.initialTouched)&&(v.current=m.initialTouched||I1,C({type:"SET_TOUCHED",payload:m.initialTouched||I1}))},[u,m.initialTouched]),(0,I.useEffect)(function(){u&&!0===b.current&&!IC()(y.current,m.initialStatus)&&(y.current=m.initialStatus,C({type:"SET_STATUS",payload:m.initialStatus}))},[u,m.initialStatus,m.initialTouched]),A=I6(function(e){if(x.current[e]&&IK(x.current[e].validate)){var t=IX(_.values,e),r=x.current[e].validate(t);return IY(r)?(C({type:"SET_ISVALIDATING",payload:!0}),r.then(function(e){return e}).then(function(t){C({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),C({type:"SET_ISVALIDATING",payload:!1})})):(C({type:"SET_FIELD_ERROR",payload:{field:e,value:r}}),Promise.resolve(r))}return m.validationSchema?(C({type:"SET_ISVALIDATING",payload:!0}),S(_.values,e).then(function(e){return e}).then(function(t){C({type:"SET_FIELD_ERROR",payload:{field:e,value:IX(t,e)}}),C({type:"SET_ISVALIDATING",payload:!1})})):Promise.resolve()}),O=(0,I.useCallback)(function(e,t){var r=t.validate;x.current[e]={validate:r}},[]),R=(0,I.useCallback)(function(e){delete x.current[e]},[]),D=I6(function(e,t){return C({type:"SET_TOUCHED",payload:e}),(void 0===t?i:t)?T(_.values):Promise.resolve()}),M=(0,I.useCallback)(function(e){C({type:"SET_ERRORS",payload:e})},[]),L=I6(function(e,t){var o=IK(e)?e(_.values):e;return C({type:"SET_VALUES",payload:o}),(void 0===t?r:t)?T(o):Promise.resolve()}),F=(0,I.useCallback)(function(e,t){C({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}
46,[]),B=I6(function(e,t,o){var i=IK(t)?t(IX(_.values,e)):t;return C({type:"SET_FIELD_VALUE",payload:{field:e,value:i}}),(void 0===o?r:o)?T(IQ(_.values,e,i)):Promise.resolve()}),V=(0,I.useCallback)(function(e,t){var r,o=t,i=e;if(!IG(e)){e.persist&&e.persist();var l=e.target?e.target:e.currentTarget,s=l.type,d=l.name,c=l.id,u=l.value,p=l.checked,f=(l.outerHTML,l.options),m=l.multiple;o=t||d||c,i=/number|range/.test(s)?isNaN(r=parseFloat(u))?"":r:/checkbox/.test(s)?function(e,t,r){if("boolean"==typeof e)return!!t;var o=[],i=!1,l=-1;if(Array.isArray(e))o=e,i=(l=e.indexOf(r))>=0;else if(!r||"true"==r||"false"==r)return!!t;return t&&r&&!i?o.concat(r):i?o.slice(0,l).concat(o.slice(l+1)):o}(IX(_.values,o),p,u):f&&m?Array.from(f).filter(function(e){return e.selected}).map(function(e){return e.value}):u}o&&B(o,i)},[B,_.values]),z=I6(function(e){if(IG(e))return function(t){return V(t,e)};V(e)}),H=I6(function(e,t,r){return void 0===t&&(t=!0),C({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===r?i:r)?T(_.values):Promise.resolve()}),U=(0,I.useCallback)(function(e,t){e.persist&&e.persist();var r=e.target,o=r.name,i=r.id;r.outerHTML,H(t||o||i,!0)},[H]),Z=I6(function(e){if(IG(e))return function(t){return U(t,e)};U(e)}),W=(0,I.useCallback)(function(e){IK(e)?C({type:"SET_FORMIK_STATE",payload:e}):C({type:"SET_FORMIK_STATE",payload:function(){return e}})},[]),K=(0,I.useCallback)(function(e){C({type:"SET_STATUS",payload:e})},[]),q=(0,I.useCallback)(function(e){C({type:"SET_ISSUBMITTING",payload:e})},[]),G=I6(function(){return C({type:"SUBMIT_ATTEMPT"}),T().then(function(e){var t,r=e instanceof Error;if(!r&&0===Object.keys(e).length){try{if(t=X(),void 0===t)return}catch(e){throw e}return Promise.resolve(t).then(function(e){return b.current&&C({type:"SUBMIT_SUCCESS"}),e}).catch(function(e){if(b.current)throw C({type:"SUBMIT_FAILURE"}),e})}if(b.current&&(C({type:"SUBMIT_FAILURE"}),r))throw e})}),J=I6(function(e){e&&e.preventDefault&&IK(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&IK(e.stopPropagation)&&e.stopPropagation(),G().catch(function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)})}),Y={resetForm:P,validateForm:T,validateField:A,setErrors:M,setFieldError:F,setFieldTouched:H,setFieldValue:B,setStatus:K,setSubmitting:q,setTouched:D,setValues:L,setFormikState:W,submitForm:G},X=I6(function(){return p(_.values,Y)}),Q=I6(function(e){e&&e.preventDefault&&IK(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&IK(e.stopPropagation)&&e.stopPropagation(),P()}),ee=(0,I.useCallback)(function(e){return{value:IX(_.values,e),error:IX(_.errors,e),touched:!!IX(_.touched,e),initialValue:IX(h.current,e),initialTouched:!!IX(v.current,e),initialError:IX(g.current,e)}},[_.errors,_.touched,_.values]),et=(0,I.useCallback)(function(e){return{setValue:function(t,r){return B(e,t,r)},setTouched:function(t,r){return H(e,t,r)},setError:function(t){return F(e,t)}}},[B,H,F]),en=(0,I.useCallback)(function(e){var t=Iq(e),r=t?e.name:e,o=IX(_.values,r),i={name:r,value:o,onChange:z,onBlur:Z};if(t){var l=e.type,s=e.value,d=e.as,c=e.multiple;"checkbox"===l?void 0===s?i.checked=!!o:(i.checked=!!(Array.isArray(o)&&~o.indexOf(s)),i.value=s):"radio"===l?(i.checked=o===s,i.value=s):"select"===d&&c&&(i.value=i.value||[],i.multiple=!0)}return i},[Z,z,_.values]),er=(0,I.useMemo)(function(){return!IC()(h.current,_.values)},[h.current,_.values]),ea=(0,I.useMemo)(function(){return void 0!==d?er?_.errors&&0===Object.keys(_.errors).length:!1!==d&&IK(d)?d(m):d:_.errors&&0===Object.keys(_.errors).length},[d,er,_.errors,m]),IB({},_,{initialValues:h.current,initialErrors:g.current,initialTouched:v.current,initialStatus:y.current,handleBlur:Z,handleChange:z,handleReset:Q,handleSubmit:J,resetForm:P,setErrors:M,setFormikState:W,setFieldTouched:H,setFieldValue:B,setFieldError:F,setStatus:K,setSubmitting:q,setTouched:D,setValues:L,submitForm:G,validateForm:T,validateField:A,isValid:ea,dirty:er,unregisterField:R,registerField:O,getFieldProps:en,getFieldMeta:ee,getFieldHelpers:et,validateOnBlur:i,validateOnChange:r,validateOnMount:s})),ei=e.component,el=e.children,es=e.render,ed=e.innerRef;return(0,I.useImperativeHandle)(ed,function(){return eo}),(0,I.createElement)(IU,{value:eo},ei?(0,I.createElement)(ei,eo):es?es(eo):el?IK(el)?el(eo):IJ(el)?null:I.Children.only(el):null)}function I3(e,t,r){var o=e.slice();return t.forEach(function(t,i){if(void 0===o[i]){var l=!1!==r.clone&&r.isMergeableObject(t);o[i]=l?Md(Array.isArray(t)?[]:{},t,r):t}else r.isMergeableObject(t)?o[i]=Md(e[i],t,r):-1===e.indexOf(t)&&o.push(t)}),o}var I4="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?I.useLayoutEffect:I.useEffect;function I6(e){var t=(0,I.useRef)(e);return I4(function(){t.current=e}),(0,I.useCallback)(function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.current.apply(void 0,r)},[])}function I8(e){var t=e.validate,r=e.name,o=e.render,i=e.children,l=e.as,s=e.component,d=e.className,c=IV(e,["validate","name","render","children","as","component","className"]),u=IV(IZ(),["validate","validationSchema"]),p=u.registerField,f=u.unregisterField;(0,I.useEffect)(function(){return p(r,{validate:t}),function(){f(r)}},[p,f,r,t]);var m=u.getFieldProps(IB({name:r},c)),h=u.getFieldMeta(r),g={field:m,form:u};if(o)return o(IB({},g,{meta:h}));if(IK(i))return i(IB({},g,{meta:h}));if(s){if("string"==typeof s){var v=c.innerRef,y=IV(c,["innerRef"]);return(0,I.createElement)(s,IB({ref:v},m,y,{className:d}),i)}return(0,I.createElement)(s,IB({field:m,form:u},c,{className:d}),i)}var b=l||"input";if("string"==typeof b){var x=c.innerRef,w=IV(c,["innerRef"]);return(0,I.createElement)(b,IB({ref:x},m,w,{className:d}),i)}return(0,I.createElement)(b,IB({},m,c,{className:d}),i)}var I9=(0,I.forwardRef)(function(e,t){var r=e.action,o=IV(e,["action"]),i=IZ(),l=i.handleReset,s=i.handleSubmit;return(0,I.createElement)("form",IB({onSubmit:s,ref:t,onReset:l,action:null!=r?r:"#"},o))});I9.displayName="Form";var I5=function(e,t,r){var o=Fn(e),i=o[t];return o.splice(t,1),o.splice(r,0,i),o},I7=function(e,t,r){var o=Fn(e),i=o[t];return o[t]=o[r],o[r]=i,o},Fe=function(e,t,r){var o=Fn(e);return o.splice(t,0,r),o},Ft=function(e,t,r){var o=Fn(e);return o[t]=r,o},Fn=function(e){if(!e)return[];if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map(function(e){return parseInt(e)}).reduce(function(e,t){return t>e?t:e},0);return Array.from(IB({},e,{length:t+1}))},Fr=function(e,t){var r="function"==typeof e?e:t;return function(e){return Array.isArray(e)||Iq(e)?r(Fn(e)):e}};(function(e){function t(t){var r;return(r=e.call(this,t)||this).updateArrayField=function(e,t,o){var i=r.props,l=i.name;(0,i.formik.setFormikState)(function(r){var i=Fr(o,e),s=Fr(t,e),d=IQ(r.values,l,e(IX(r.values,l))),c=o?i(IX(r.errors,l)):void 0,u=t?s(IX(r.touched,l)):void 0;return IW(c)&&(c=void 0),IW(u)&&(u=void 0),IB({},r,{values:d,errors:o?IQ(r.errors,l,c):r.errors,touched:t?IQ(r.touched,l,u):r.touched})})},r.push=function(e){return r.updateArrayField(function(t){return[].concat(Fn(t),[Ik(e)])},!1,!1)},r.handlePush=function(e){return function(){return r.push(e)}},r.swap=function(e,t){return r.updateArrayField(function(r){return I7(r,e,t)},!0,!0)},r.handleSwap=function(e,t){return function(){return r.swap(e,t)}},r.move=function(e,t){return r.updateArrayField(function(r){return I5(r,e,t)},!0,!0)},r.handleMove=function(e,t){return function(){return r.move(e,t)}},r.insert=function(e,t){return r.updateArrayField(function(r){return Fe(r,e,t)},function(t){return Fe(t,e,null)},function(t){return Fe(t,e,null)})},r.handleInsert=function(e,t){return function(){return r.insert(e,t)}},r.replace=function(e,t){return r.updateArrayField(function(r){return Ft(r,e,t)},!1,!1)},r.handleReplace=function(e,t){return function(){return r.replace(e,t)}},r.unshift=function(e){var t=-1;return r.updateArrayField(function(r){var o=r?[e].concat(r):[e];return t=o.length,o},function(e){return e?[null].concat(e):[null]},function(e){return e?[null].concat(e):[null]}),t},r.handleUnshift=function(e){return function(){return r.unshift(e)}},r.handleRemove=function(e){return function(){return r.remove(e)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(Iz(r)),r.pop=r.pop.bind(Iz(r)),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e;var r=t.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!IC()(IX(e.formik.values,e.name),IX(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField(function(r){var o=r?Fn(r):[];return t||(t=o[e]),IK(o.splice)&&o.splice(e,1),IK(o.every)&&o.every(function(e){return void 0===e})?[]:o},!0,!0),t},r.pop=function(){var e;return this.updateArrayField(function(t){var r=t.slice();return e||(e=r&&r.pop&&r.pop()),r},!0,!0),e},r.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,r=t.component,o=t.render,i=t.children,l=t.name,s=IV(t.formik,["validate","validationSchema"]),d=IB({},e,{form:s,name:l});return r?(0,I.createElement)(r,d):o?o(d):i?"function"==typeof i?i(d):IJ(i)?null:I.Children.only(i):null},t})(I.Component).defaultProps={validateOnChange:!0};var Fa=r(55760),Fo=r(59885),Fi=r(94633),Fl=r.n(Fi);let Fs=Object.prototype.toString,Fd=Error.prototype.toString,Fc=RegExp.prototype.toString,Fu="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",Fp=/^Symbol\((.*)\)(.*)$/;function Ff(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let r=typeof e;if("number"===r)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===r)return t?`"${e}"`:e;if("function"===r)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===r)return Fu.call(e).replace(Fp,"Symbol($1)");let o=Fs.call(e).slice(8,-1);return"Date"===o?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===o||e instanceof Error?"["+Fd.call(e)+"]":"RegExp"===o?Fc.call(e):null}function Fm(e,t){let r=Ff(e,t);return null!==r?r:JSON.stringify(e,function(e,r){let o=Ff(this[e],t);return null!==o?o:r},2)}function Fh(e){return null==e?[]:[].concat(e)}let Fg=/\$\{\s*(\w+)\s*\}/g;u=Symbol.toStringTag;
46class Fv extends Error{static formatError(e,t){let r=t.label||t.path||"this";return(r!==t.path&&(t=Object.assign({},t,{path:r})),"string"==typeof e)?e.replace(Fg,(e,r)=>Fm(t[r])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,r,o,i){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[u]="Error",this.name="ValidationError",this.value=t,this.path=r,this.type=o,this.errors=[],this.inner=[],Fh(e).forEach(e=>{if(Fv.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!i&&Error.captureStackTrace&&Error.captureStackTrace(this,Fv)}}let Fy={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:o})=>{let i=null!=o&&o!==r?` (cast from the value \`${Fm(o,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${Fm(r,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${Fm(r,!0)}\``+i}},Fb={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Fx={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Fw={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Fk={isValue:"${path} field must be ${value}"},F_={noUnknown:"${path} field has unspecified keys: ${unknown}"},FC={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},F$={notType:e=>{let{path:t,value:r,spec:o}=e,i=o.types.length;if(Array.isArray(r)){if(r.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${r.length} for value: \`${Fm(r,!0)}\``;if(r.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${r.length} for value: \`${Fm(r,!0)}\``}return Fv.formatError(Fy.notType,e)}};Object.assign(Object.create(null),{mixed:Fy,string:Fb,number:Fx,date:Fw,object:F_,array:FC,boolean:Fk,tuple:F$});let FS=e=>e&&e.__isYupSchema__;class FE{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=t,l="function"==typeof r?r:(...e)=>e.every(e=>e===r);return new FE(e,(e,t)=>{var r;let s=l(...e)?o:i;return null!=(r=null==s?void 0:s(t))?r:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let r=this.refs.map(e=>e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)),o=this.fn(r,e,t);if(void 0===o||o===e)return e;if(!FS(o))throw TypeError("conditions must return a schema object");return o.resolve(t)}}let Fj={context:"$",value:"."};class FN{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Fj.context,this.isValue=this.key[0]===Fj.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Fj.context:this.isValue?Fj.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&(0,Fa.getter)(this.path,!0),this.map=t.map}getValue(e,t,r){let o=this.isContext?r:this.isValue?e:t;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}FN.prototype.__isYupRef=!0;let FT=e=>null==e;function FP(e){function t({value:t,path:r="",options:o,originalValue:i,schema:l},s,d){let c;let{name:u,test:p,params:f,message:m,skipAbsent:h}
46=e,{parent:g,context:v,abortEarly:y=l.spec.abortEarly,disableStackTrace:b=l.spec.disableStackTrace}=o;function x(e){return FN.isRef(e)?e.getValue(t,g,v):e}function w(e={}){var o;let s=Object.assign({value:t,originalValue:i,label:l.spec.label,path:e.path||r,spec:l.spec},f,e.params);for(let e of Object.keys(s))s[e]=x(s[e]);let d=new Fv(Fv.formatError(e.message||m,s),t,s.path,e.type||u,null!=(o=e.disableStackTrace)?o:b);return d.params=s,d}let k=y?s:d,_={path:r,parent:g,type:u,from:o.from,createError:w,resolve:x,options:o,originalValue:i,schema:l},C=e=>{Fv.isError(e)?k(e):e?d(null):k(w())},$=e=>{Fv.isError(e)?k(e):s(e)};if(h&&FT(t))return C(!0);try{var S;if(c=p.call(_,t,_),"function"==typeof(null==(S=c)?void 0:S.then)){if(o.sync)throw Error(`Validation test of type: "${_.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(c).then(C,$)}}catch(e){$(e);return}C(c)}return t.OPTIONS=e,t}class FA extends Set{describe(){let e=[];for(let t of this.values())e.push(FN.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let r of this.values())t.push(e(r));return t}clone(){return new FA(this.values())}merge(e,t){let r=this.clone();return e.forEach(e=>r.add(e)),t.forEach(e=>r.delete(e)),r}}function FO(e,t=new Map){let r;if(FS(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=Array(e.length),t.set(e,r);for(let o=0;o<e.length;o++)r[o]=FO(e[o],t)}else if(e instanceof Map)for(let[o,i]of(r=new Map,t.set(e,r),e.entries()))r.set(o,FO(i,t));else if(e instanceof Set)for(let o of(r=new Set,t.set(e,r),e))r.add(FO(o,t));else if(e instanceof Object)for(let[o,i]of(r={},t.set(e,r),Object.entries(e)))r[o]=FO(i,t);else throw Error(`Unable to clone ${e}`);return r}class FR{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new FA,this._blacklist=new FA,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Fy.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},null==e?void 0:e.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=FO(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let r=e(this);return this._mutate=t,r}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),r=Object.assign({},this.spec,t.spec);return t.spec=r,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!this.spec.nullable&&null===e||!!this.spec.optional&&void 0===e:this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let r=t.conditions;(t=t.clone()).conditions=[],t=(t=r.reduce((t,r)=>r.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,r,o,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(r=e.abortE
46arly)?r:this.spec.abortEarly,recursive:null!=(o=e.recursive)?o:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let r=this.resolve(Object.assign({value:e},t)),o="ignore-optionality"===t.assert,i=r._cast(e,t);if(!1!==t.assert&&!r.isType(i)){if(o&&FT(i))return i;let l=Fm(e),s=Fm(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". 47 48attempted value: ${l} 49`+(s!==l?`result of cast: ${s}`:""))}return i}_cast(e,t){let r=void 0===e?e:this.transforms.reduce((t,r)=>r.call(this,t,e,this),e);return void 0===r&&(r=this.getDefault(t)),r}_validate(e,t={},r,o){let{path:i,originalValue:l=e,strict:s=this.spec.strict}=t,d=e;s||(d=this._cast(d,Object.assign({assert:!1},t)));let c=[];for(let e of Object.values(this.internalTests))e&&c.push(e);this.runTests({path:i,value:d,originalValue:l,options:t,tests:c},r,e=>{if(e.length)return o(e,d);this.runTests({path:i,value:d,originalValue:l,options:t,tests:this.tests},r,o)})}runTests(e,t,r){let o=!1,{tests:i,value:l,originalValue:s,path:d,options:c}=e,u=e=>{o||(o=!0,t(e,l))},p=e=>{o||(o=!0,r(e,l))},f=i.length,m=[];if(!f)return p([]);let h={value:l,originalValue:s,path:d,options:c,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(h,u,function(e){e&&(Array.isArray(e)?m.push(...e):m.push(e)),--f<=0&&p(m)})}asNestedTest({key:e,index:t,parent:r,parentPath:o,originalParent:i,options:l}){let s=null!=e?e:t;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");let d="number"==typeof s,c=r[s],u=Object.assign({},l,{strict:!0,parent:r,value:c,originalValue:i[s],key:void 0,[d?"index":"key"]:s,path:d||s.includes(".")?`${o||""}[${c?s:`"${s}"`}]`:(o?`${o}.`:"")+e});return(e,t,r)=>this.resolve(u)._validate(c,u,t,r)}validate(e,t){var r;let o=this.resolve(Object.assign({},t,{value:e})),i=null!=(r=null==t?void 0:t.disableStackTrace)?r:o.spec.disableStackTrace;return new Promise((r,l)=>o._validate(e,t,(e,t)=>{Fv.isError(e)&&(e.value=t),l(e)},(e,t)=>{e.length?l(new Fv(e,t,void 0,void 0,i)):r(t)}))}validateSync(e,t){var r;let o;let i=this.resolve(Object.assign({},t,{value:e})),l=null!=(r=null==t?void 0:t.disableStackTrace)?r:i.spec.disableStackTrace;return i._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw Fv.isError(e)&&(e.value=t),e},(t,r)=>{if(t.length)throw new Fv(t,e,void 0,void 0,l);o=r}),o}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(Fv.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(Fv.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):FO(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let r=this.clone({nullable:e});return r.internalTests.nullable=FP({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),r}optionality(e,t){let r=this.clone({optional:e});return r.internalTests.optionality=FP({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),r}optional(){return this.optionality(!0)}defined(e=Fy.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=Fy.notNull){return this.nullability(!1,e)}required(e=Fy.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=Fy.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let r=this.clone(),o=FP(t),i=t.exclusive||t.name&&!0===r.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(r.exclusiveTests[t.name]=!!t.exclusive),r.tests=r.tests.filter(e=>e.OPTIONS.name!==t.name||!i&&e.OPTIONS.test!==o.OPTIONS.test),r.tests.push(o),r}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let r=this.clone(),o=Fh(e).map(e=>new FN(e));
49return o.forEach(e=>{e.isSibling&&r.deps.push(e.key)}),r.conditions.push("function"==typeof t?new FE(o,t):FE.fromOptions(o,t)),r}typeError(e){let t=this.clone();return t.internalTests.typeError=FP({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=Fy.oneOf){let r=this.clone();return e.forEach(e=>{r._whitelist.add(e),r._blacklist.delete(e)}),r.internalTests.whiteList=FP({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,r=t.resolveAll(this.resolve);return!!r.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:r}})}}),r}notOneOf(e,t=Fy.notOneOf){let r=this.clone();return e.forEach(e=>{r._blacklist.add(e),r._whitelist.delete(e)}),r.internalTests.blacklist=FP({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,r=t.resolveAll(this.resolve);return!r.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:r}})}}),r}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:r,meta:o,optional:i,nullable:l}=t.spec;return{meta:o,label:r,optional:i,nullable:l,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(e=>({name:e.OPTIONS.name,params:e.OPTIONS.params})).filter((e,t,r)=>r.findIndex(t=>t.name===e.name)===t)}}}for(let e of(FR.prototype.__isYupSchema__=!0,["validate","validateSync"]))FR.prototype[`${e}At`]=function(t,r,o={}){let{parent:i,parentPath:l,schema:s}=function(e,t,r,o=r){let i,l,s;return t?((0,Fa.forEach)(t,(d,c,u)=>{let p=c?d.slice(1,d.length-1):d,f="tuple"===(e=e.resolve({context:o,parent:i,value:r})).type,m=u?parseInt(p,10):0;if(e.innerType||f){if(f&&!u)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(r&&m>=r.length)throw Error(`Yup.reach cannot resolve an array item at index: ${d}, in the path: ${t}. because there is no value at that index. `);i=r,r=r&&r[m],e=f?e.spec.types[m]:e.innerType}if(!u){if(!e.fields||!e.fields[p])throw Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=r,r=r&&r[p],e=e.fields[p]}l=p,s=c?"["+d+"]":"."+d}),{schema:e,parent:i,parentPath:l}):{parent:i,parentPath:t,schema:e}}(this,t,r,o.context);return s[e](i&&i[l],Object.assign({},o,{parent:i,path:t}))};for(let e of["equals","is"])FR.prototype[e]=FR.prototype.oneOf;for(let e of["not","nope"])FR.prototype[e]=FR.prototype.notOneOf;let FD=()=>!0;class FM extends FR{constructor(e){super("function"==typeof e?{type:"mixed",check:e}:Object.assign({type:"mixed",check:FD},e))}}function FL(){return new FI}FM.prototype;class FI extends FR{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation(()=>{this.transform((e,t,r)=>{if(r.spec.coerce&&!r.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e})})}isTrue(e=Fk.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>FT(e)||!0===e})}isFalse(e=Fk.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>FT(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}FL.prototype=FI.prototype;let FF=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,FB=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,FV=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Fz=e=>FT(e)||e===e.trim(),FH=({}).toString();function FU(){return new FZ}class FZ extends FR{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t,r)=>{if(!r.spec.coerce||r.isType(e)||Array.isArray(e))return e;let o=null!=e&&e.toString?e.toString():e;return o===FH?e:o})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||Fy.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=Fb.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=Fb.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=Fb.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let r,o,i=!1;return t&&("object"==typeof t?{excludeEmptyString:i=!1,message:r,name:o}=t:r=t),this.test({name:o||"matches",message:r||Fb.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&i||-1!==t.search(e)})}email(e=Fb.email){return this.matches(FF,{name:"email",message:e,excludeEmptyString:!0})}url(e=Fb.url){return this.matches(FB,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=Fb.uuid){return this.matches(FV,{name:"uuid",message:e,excludeEmptyString:!1})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=Fb.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:Fz})}lowercase(e=Fb.lowercase){return this.transform(e=>FT(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>FT(e)||e===e.toLowerCase()})}uppercase(e=Fb.uppercase){return this.transform(e=>FT(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>FT(e)||e===e.toUpperCase()})}}FU.prototype=FZ.prototype;let FW=e=>e!=+e;function FK(){return new Fq}class Fq extends FR{constructor(){super({type:"number",check:e=>(e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!FW(e))}),this.withMutation(()=>{this.transform((e,t,r)=>{if(!r.spec.coerce)return e;let o=e;if("string"==typeof o){if(""===(o=o.replace(/\s/g,"")))return NaN;o=+o}return r.isType(o)||null===o?o:parseFloat(o)})})}min(e,t=Fx.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t>=this.resolve(e)}})}max(e,t=Fx.max){return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t<=this.resolve(e)}})}lessThan(e,t=Fx.lessThan){return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test(t){return t<this.resolve(e)}})}moreThan(e,t=Fx.moreThan){return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test(t){return t>this.resolve(e)}})}positive(e=Fx.positive){return this.moreThan(0,e)}negative(e=Fx.negative){return this.lessThan(0,e)}integer(e=Fx.integer){return this.test({name:"integer",message:e,ski
49pAbsent:!0,test:e=>Number.isInteger(e)})}truncate(){return this.transform(e=>FT(e)?e:0|e)}round(e){var t;let r=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===r.indexOf(e.toLowerCase()))throw TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(t=>FT(t)?t:Math[e](t))}}FK.prototype=Fq.prototype;let FG=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function FJ(e,t=0){return Number(e)||t}let FY=new Date(""),FX=e=>"[object Date]"===Object.prototype.toString.call(e);function FQ(){return new F0}class F0 extends FR{constructor(){super({type:"date",check:e=>FX(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t,r)=>!r.spec.coerce||r.isType(e)||null===e?e:isNaN(e=function(e){let t=FG.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;let r={year:FJ(t[1]),month:FJ(t[2],1)-1,day:FJ(t[3],1),hour:FJ(t[4]),minute:FJ(t[5]),second:FJ(t[6]),millisecond:t[7]?FJ(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:FJ(t[10]),minuteOffset:FJ(t[11])};if(void 0===r.z&&void 0===r.plusMinus)return new Date(r.year,r.month,r.day,r.hour,r.minute,r.second,r.millisecond).valueOf();let o=0;return"Z"!==r.z&&void 0!==r.plusMinus&&(o=60*r.hourOffset+r.minuteOffset,"+"===r.plusMinus&&(o=0-o)),Date.UTC(r.year,r.month,r.day,r.hour,r.minute+o,r.second,r.millisecond)}(e))?F0.INVALID_DATE:new Date(e))})}prepareParam(e,t){let r;if(FN.isRef(e))r=e;else{let o=this.cast(e);if(!this._typeCheck(o))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(e,t=Fw.min){let r=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(r)}})}max(e,t=Fw.max){let r=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(r)}})}}function F1(e,t){let r=1/0;return e.some((e,o)=>{var i;if(null!=(i=t.path)&&i.includes(e))return r=o,!0}),r}function F2(e){return(t,r)=>F1(e,t)-F1(e,r)}F0.INVALID_DATE=FY,FQ.prototype=F0.prototype,FQ.INVALID_DATE=FY;let F3=(e,t,r)=>{if("string"!=typeof e)return e;let o=e;try{o=JSON.parse(e)}catch(e){}return r.isType(o)?o:e},F4=(e,t)=>{let r=[...(0,Fa.normalizePath)(t)];if(1===r.length)return r[0]in e;let o=r.pop(),i=(0,Fa.getter)((0,Fa.join)(r),!0)(e);return!!(i&&o in i)},F6=e=>"[object Object]"===Object.prototype.toString.call(e),F8=F2([]);function F9(e){return new F5(e)}class F5 extends FR{constructor(e){super({type:"object",check:e=>F6(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=F8,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var r;let o=super._cast(e,t);if(void 0===o)return this.getDefault(t);if(!this._typeCheck(o))return o;let i=this.fields,l=null!=(r=t.stripUnknown)?r:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(e=>!this._nodes.includes(e))),d={},c=Object.assign({},t,{parent:d,__validating:t.__validating||!1}),u=!1;for(let e of s){let r=i[e],s=e in o;if(r){let i;let l=o[e];c.path=(t.path?`${t.path}.`:"")+e;let s=(r=r.resolve({value:l,context:t.context,parent:d}))instanceof FR?r.spec:void 0,p=null==s?void 0:s.strict;if(null!=s&&s.strip){u=u||e in o;continue}void 0!==(i=t.__validating&&p?o[e]:r.cast(o[e],c))&&(d[e]=i)}else s&&!l&&(d[e]=o[e]);(s!==e in d||d[e]!==o[e])&&(u=!0)}return u?d:o}_validate(e,t={},r,o){let{from:i=[],originalValue:l=e,recursive:s=this.spec.recursive}=t;t.from=[{schema:this,value:l},...i],t.__validating=!0,t.originalValue=l,super._validate(e,t,r,(e,i)=>{if(!s||!F6(i)){o(e,i);return}l=l||i;let d=[];for(let e of this._nodes){let r=this.fields[e];!r||FN.isRef(r)||d.push(r.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:l}))}this.runTests({tests:d,value:i,originalValue:l,options:t},r,t=>{o(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),r=t.fields;for(let[e,t]of Object.entries(this.fields)){let o=r[e];
49r[e]=void 0===o?t:o}return t.withMutation(t=>t.setFields(r,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach(r=>{var o;let i=this.fields[r],l=e;null!=(o=l)&&o.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[r]})),t[r]=i&&"getDefault"in i?i.getDefault(l):void 0}),t}setFields(e,t){let r=this.clone();return r.fields=e,r._nodes=function(e,t=[]){let r=[],o=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function l(e,t){let l=(0,Fa.split)(e)[0];o.add(l),i.has(`${t}-${l}`)||r.push([t,l])}for(let t of Object.keys(e)){let r=e[t];o.add(t),FN.isRef(r)&&r.isSibling?l(r.path,t):FS(r)&&"deps"in r&&r.deps.forEach(e=>l(e,t))}return Fl().array(Array.from(o),r).reverse()}(e,t),r._sortErrors=F2(Object.keys(e)),t&&(r._excludedEdges=t),r}shape(e,t=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),o=[...r._excludedEdges,...t]),r.setFields(Object.assign(r.fields,e),o)})}partial(){let e={};for(let[t,r]of Object.entries(this.fields))e[t]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let r={};for(let[o,i]of Object.entries(t.fields))r[o]=e(i);return t.setFields(r)}if("array"===t.type){let r=t.optional();return r.innerType&&(r.innerType=e(r.innerType)),r}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let r of e)this.fields[r]&&(t[r]=this.fields[r]);return this.setFields(t,this._excludedEdges.filter(([t,r])=>e.includes(t)&&e.includes(r)))}omit(e){let t=[];for(let r of Object.keys(this.fields))e.includes(r)||t.push(r);return this.pick(t)}from(e,t,r){let o=(0,Fa.getter)(e,!0);return this.transform(i=>{if(!i)return i;let l=i;return F4(i,e)&&(l=Object.assign({},i),r||delete l[e],l[t]=o(i)),l})}json(){return this.transform(F3)}noUnknown(e=!0,t=F_.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){let r;if(null==t)return!0;let o=(r=Object.keys(this.schema.fields),Object.keys(t).filter(e=>-1===r.indexOf(e)));return!e||0===o.length||this.createError({params:{unknown:o.join(", ")}})}});return r.spec.noUnknown=e,r}unknown(e=!0,t=F_.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let r={};for(let o of Object.keys(t))r[e(o)]=t[o];return r})}camelCase(){return this.transformKeys(Fo.camelCase)}snakeCase(){return this.transformKeys(Fo.snakeCase)}constantCase(){return this.transformKeys(e=>(0,Fo.snakeCase)(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),r=super.describe(e);for(let[i,l]of(r.fields={},Object.entries(t.fields))){var o;let t=e;null!=(o=t)&&o.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),r.fields[i]=l.describe(t)}return r}}F9.prototype=F5.prototype;class F7 extends FR{constructor(e){super({type:"array",spec:{types:e},check:e=>Array.isArray(e)}),this.innerType=void 0,this.innerType=e}_cast(e,t){let r=super._cast(e,t);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1,i=r.map((e,r)=>{let i=this.innerType.cast(e,Object.assign({},t,{path:`${t.path||""}[${r}]`}));return i!==e&&(o=!0),i});return o?i:r}_validate(e,t={},r,o){var i;let l=this.innerType,s=null!=(i=t.recursive)?i:this.spec.recursive;null!=t.originalValue&&t.originalValue,super._validate(e,t,r,(i,d)=>{var c,u;if(!s||!l||!this._typeCheck(d)){o(i,d);return}let p=Array(d.length);for(let r=0;r<d.length;r++)p[r]=l.asNestedTest({options:t,index:r,parent:d,parentPath:t.path,originalParent:null!=(u=t.originalValue)?u:e});this.runTests({value:d,tests:p,originalValue:null!=(c=t.originalValue)?c:e,options:t},r,e=>o(e.concat(i),d))})}clone(e){let t=super.clone(e);return t.innerType=this.innerType,t}json(){return this.transform(F3)}concat(e){let t=super.concat(e);return t.innerType=this.innerType,e.innerType&&(t.innerType=t.innerType?t.innerType.concat(e.innerType):e.innerType),t}of(e){let t=this.clone();if(!FS(e))throw TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Fm(e));return t.innerType=e,t.spec=Object.assign({},t.spec,{types:e}),t}length(e,t=FC.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t){return t=t||FC.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t){return t=t||FC.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}ensure(){return this.default(()=>[]).transform((e,t)=>this._typeCheck(e)?e:null==t?[]:[].concat(t))}compact(e){let t=e?(t,r,o)=>!e(t,r,o):e=>!!e;return this.transform(e=>null!=e?e.filter(t):e)}describe(e){let t=(e?this.resolve(e):this).clone(),r=super.describe(e);if(t.innerType){var o;let i=e;null!=(o=i)&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),r.innerType=t.innerType.describe(i)}return r}}F7.prototype;class Be extends FR{constructor(e){super({type:"tuple",spec:{types:e},check(e){let t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),this.withMutation(()=>{this.typeError(F$.notType)})}_cast(e,t){let{types:r}=this.spec,o=super._cast(e,t);if(!this._typeCheck(o))return o;let i=!1,l=r.map((e,r)=>{let l=e.cast(o[r],Object.assign({},t,{path:`${t.path||""}[${r}]`}));return l!==o[r]&&(i=!0),l});return i?l:o}_validate(e,t={},r,o){let i=this.spec.types;super._validate(e,t,r,(l,s)=>{var d,c;if(!this._typeCheck(s)){o(l,s);return}let u=[];for(let[r,o]of i.entries())u[r]=o.asNestedTest({options:t,index:r,parent:s,parentPath:t.path,originalParent:null!=(c=t.originalValue)?c:e});this.runTests({value:s,tests:u,originalValue:null!=(d=t.originalValue)?d:e,options:t},r,e=>o(e.concat(l),s))})}describe(e){let t=(e?this.resolve(e):this).clone(),r=super.describe(e);return r.innerType=t.spec.types.map((t,r)=>{var o;let i=e;return null!=(o=i)&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[r]})),t.describe(i)}),r}}Be.prototype,(C=N||(N={})).ContactUs="cu",C.InfoMeeting="in",C.Ambassador="am";let Bt=(e,t,r,o)=>{if(window){var i;window.dataLayer=window.dataLayer||[];let l={event:e,formType:t,formProduct:r};o&&(l.formField=o),null==window||null===(i=window.dataLayer)||void 0===i||i.push(l)}},Bn="GTM-WV36P5HC",Br=e=>{var t;null===(t=window.dataLayer)||void 0===t||t.push({event:"pageview",page:e})};var Ba=r(4147),Bo=r(83454);let Bi=Bo.env.APP_ENV||"production";"CulturalCare/".concat(Ba.u2,"/").concat(Ba.i8," (").concat(Bi,")");let Bl=()=>window.location.href.substring(0,255),Bs=async e=>{try{let t=await fetch("https://app-public-api.culturalcare.com/account/address-check",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});return(await t.json()).isValid}catch(e){return!1}},Bd=e=>{if("undefined"==typeof document)return;let t=document.cookie.split("; ").find(t=>t.startsWith("".concat(e,"=")));return t?decodeURIComponent(t.split("=")[1]):void 0},Bc=e=>{try{var t;let r=window.sessionStorage.getItem("clickids");if(!r)return;let o=JSON.parse(r);return null!==(t=null==o?void 0:o[e])&&void 0!==t?t:void 0}catch(e){return}},Bu=()=>{let e=Bd("_ga");
49if(!e)return;let t=e.split(".");if(!(t.length<4))return"".concat(t[2],".").concat(t[3])},Bp=()=>{let e=window.ad_storage_status;return!0===e||"true"===e},Bf=()=>({googleClientId:Bu(),ga4MeasurementId:Bn,gclid:Bc("gclid"),metaClickId:Bc("fbclid"),tikTokClickId:Bc("ttclid"),snapchatClickId:Bc("ScCid"),adStorageStatus:Bp()}),Bm=async e=>(await fetch("https://app-public-api.culturalcare.com/account/updateLead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,formUrl:Bl(),recordType:"hf",...Bf()})})).json(),Bh=async e=>{try{let t=await fetch("https://app-public-api.culturalcare.com/account/updateLead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,formUrl:Bl(),recordType:"hf",...Bf()})});if(!t.ok)return Bt("form_submit_error",N.ContactUs,"HF"),!1;return await t.json(),Bt("form_success",N.ContactUs,"HF"),!0}catch(e){return Bt("form_submit_error",N.ContactUs,"HF"),!1}},Bg=async e=>{await fetch("https://app-public-api.culturalcare.com/account/updateLead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,formUrl:Bl(),recordType:"lcc",...Bf()})}).then(e=>e.ok?e.json():Promise.reject(e)).then(t=>{e&&Bt("form_success",N.ContactUs,"LCC")}).catch(t=>{e&&Bt("form_submit_error",N.ContactUs,"LCC")})},Bv=async(e,t)=>{await fetch("https://app-public-api.culturalcare.com/account/updateLead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({signedPrivacyPolicy:!0,hasChildren:!1,hasGreenCard:!1,isMarried:!1,street:"",postalCode:"",city:"",region:"",canHoldConversationInEnglish:null,hasTravelledToUSA:null,interestedInLiveInChildcare:null,hasProfessionalChildcareExperience:null,isWorking:null,isStudying:null,educationLevel:null,driversLicenseStatus:null,hasDrivingExperience:null,doYouSmoke:null,bestContactTime:null,hearAboutUs:null,formUrl:Bl(),...e,...Bf(),recordType:"ap"})}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{Bt("form_success",t,"AP")}).catch(e=>{Bt("form_submit_error",t,"AP")})},By=async e=>{await fetch(Bo.env.NEXT_PUBLIC_UPDATE_AMBASSADOR_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formUrl:Bl(),...e,recordType:"ap"})}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{Bt("form_success",N.Ambassador,"AP")}).catch(e=>{Bt("form_submit_error",N.Ambassador,"AP")})},Bb=async e=>{await fetch(Bo.env.NEXT_PUBLIC_AP_PARTNER_LEAD_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formUrl:Bl(),...e,recordType:"ap"})}).then(e=>e.ok?e.json():Promise.reject(e)).then(e=>{Bt("form_success",N.ContactUs,"AP_PARTNER")}).catch(e=>{Bt("form_submit_error",N.ContactUs,"AP_PARTNER")})},Bx=(null===(T=Bo.env.NEXT_PUBLIC_CITIES_COUNTRIES)||void 0===T?void 0:T.split(","))||[],Bw=async e=>{let t=Bx.includes(e)?"cities":"regions";try{let r=await fetch("".concat(Bo.env.NEXT_PUBLIC_FETCH_REGIONS_URL,"/").concat(e,"/").concat(t));if(!r.ok)throw Error("Failed to fetch ".concat(t));return(await r.json())[t]}catch(e){return console.error("Error fetching ".concat(t,":"),e),[]}};r(83454),new(r(60315)).ZP({accessToken:"ldgUJIIo1mvrJi1StDLosQtt"}),r(83454);var Bk={AC:"40123",AD:"312345",AE:"501234567",AF:"701234567",AG:"2684641234",AI:"2642351234",AL:"672123456",AM:"77123456",AO:"923123456",AR:"91123456789",AS:"6847331234",AT:"664123456",AU:"412345678",AW:"5601234",AX:"412345678",AZ:"401234567",BA:"61123456",BB:"2462501234",BD:"1812345678",BE:"450001234",BF:"70123456",BG:"43012345",BH:"36001234",BI:"79561234",BJ:"0195123456",BL:"690001234",BM:"4413701234",BN:"7123456",BO:"71234567",BQ:"3181234",BR:"11961234567",BS:"2423591234",BT:"17123456",BW:"71123456",BY:"294911911",BZ:"6221234",CA:"5062345678",CC:"412345678",CD:"991234567",CF:"70012345",CG:"061234567",CH:"781234567",CI:"0123456789",CK:"71234",CL:"221234567",CM:"671234567",CN:"13123456789",CO:"3211234567",CR:"83123456",CU:"51234567",CV:"9911234",CW:"95181234",CX:"412345678",CY:"96123456",CZ:"601123456",DE:"15123456789",DJ:"77831001",DK:"34412345",DM:"7672251234",DO:"8092345678",DZ:"551234567",EC:"991234567",EE:"51234567",EG:"1001234567",EH:"650123456",ER:"7123456",ES:"612345678",ET:"911234567",FI:"412345678",FJ:"7012345",FK:"51234",FM:"3501234",FO:"211234",FR:"612345678",GA:"06031234",GB:"7400123456",GD:"4734031234",GE:"555123456",GF:"694201234",GG:"7781123456",GH:"231234567",GI:"57123456",GL:"221234",GM:"3012345",GN:"601123456",GP:"690001234",GQ:"222123456",GR:"6912345678",GT:"51234567",GU:"6713001234",GW:"955012345",GY:"6091234",HK:"51234567",HN:"91234567",HR:"921234567",HT:"34101234",HU:"201234567",ID:"812345678",IE:"850123456",IL:"502345678",IM:"7924123456",IN:"8123456789",IO:"3801234",IQ:"7912345678",IR:"9123456789",IS:"6111234",IT:"3123456789",JE:"7797712345",JM:"8762101234",JO:"790123456",JP:"9012345678",KE:"712123456",KG:"700123456",KH:"91234567",KI:"72001234",KM:"3212345",KN:"8697652917",KP:"1921234567",KR:"1020000000",KW:"50012345",KY:"3453231234",KZ:"7710009998",LA:"2023123456",LB:"71123456",LC:"7582845678",LI:"660234567",LK:"712345678",LR:"770123456",LS:"50123456",LT:"61234567",LU:"628123456",LV:"21234567",LY:"912345678",MA:"650123456",MC:"612345678",MD:"62112345",ME:"60123456",MF:"690001234",MG:"321234567",MH:"2351234",MK:"72345678",ML:"65012345",MM:"92123456",MN:"88123456",MO:"66123456",MP:"6702345678",MQ:"696201234",MR:"22123456",MS:"6644923456",MT:"96961234",MU:"52512345",MV:"7712345",MW:"991234567",MX:"2221234567",MY:"123456789",MZ:"821234567",NA:"811234567",NC:"751234",NE:"93123456",NF:"381234",NG:"8021234567",NI:"81234567",NL:"612345678",NO:"40612345",NP:"9841234567",NR:"5551234",NU:"8884012",NZ:"211234567",OM:"92123456",PA:"61234567",PE:"912345678",PF:"87123456",PG:"70123456",PH:"9051234567",PK:"3012345678",PL:"512345678",PM:"551234",PR:"7872345678",PS:"599123456",PT:"912345678",PW:"6201234",PY:"961456789",QA:"33123456",RE:"692123456",RO:"712034567",RS:"601234567",RU:"9123456789",RW:"720123456",SA:"512345678",SB:"7421234",SC:"2510123",SD:"911231234",SE:"701234567",SG:"81234567",SH:"51234",SI:"31234567",SJ:"41234567",SK:"912123456",SL:"25123456",SM:"66661212",SN:"701234567",SO:"71123456",SR:"7412345",SS:"977123456",ST:"9812345",SV:"70123456",SX:"7215205678",SY:"944567890",SZ:"76123456",TA:"8999",TC:"6492311234",TD:"63012345",TG:"90112345",TH:"812345678",TJ:"917123456",TK:"7290",TL:"77212345",TM:"66123456",TN:"20123456",TO:"7715123",TR:"5012345678",TT:"8682911234",TV:"901234",TW:"912345678",TZ:"621234567",UA:"501234567",UG:"712345678",US:"2015550123",UY:"94231234",UZ:"912345678",VA:"3123456789",VC:"7844301234",VE:"4121234567",VG:"2843001234",VI:"3406421234",VN:"912345678",VU:"5912345",WF:"821234",WS:"7212345",XK:"43201234",YE:"712345678",YT:"639012345",ZA:"711234567",ZM:"955123456",ZW:"712345678"},B_={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4}
49)","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[02-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]
vendor: 7,049 bytes, line 49
49|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68])))\\d{6}|(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",[10]],["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:48[27]|7(?:55|77)|8(?:65|78)))[2-8]\\d{5}|9(?:2(?:284|3(?:02|23)|477|622|920)|3(?:4(?:46|89|92)|541))[2-7]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|1[2-7]|3[4-6]|5[3-6]|7[2-6]|8[3-68]))))\\d{6}|9(?:2(?:2(?:62|81)|320|9(?:42|83))|3(?:329|4(?:62|7[16])|5(?:43|64)|7(?:18|5[17])))[2-6]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|64)|5(?:25|37|4[47]|71)|7(?:35|72)|825))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[035-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[3-5]|8[26])|8(?:2[67]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"],["800\\d{7,8}"],["60[04579]\\d{7}",[10]],0,0,["810\\d{7}",[10]]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[["684
49(?:274|6(?:22|33|44|55|77|88|9[19]))\\d{4}"],["684(?:2(?:48|5[2468]|7[246])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463)\\d{3,10}|648[34]\\d{3,9}|(?:51|66|73)2\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-7]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:485|(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d)\\d{3,9}",[7,8,9,10,11,12,13]],["800\\d{6,10}",[9,10,11,12,13]],["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",[9,10,11,12,13]],0,0,0,0,["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",[5,6,7,8,9,10,11,12,13]],["8(?:10|2[018])\\d{6,10}|828\\d{5}",[8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[04-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[578]|1[014-8]|2[25]|3[15-8]|48|5[05]|60|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[01
4979])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|44|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|6[124-9]|7[125-9])\\d{6}"]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]],0,0,0,0,0,0,[["012\\d{7}",[10]],["01(?:2[5-9]|[4-69]\\d)\\d{6}",[10]],0,0,0,0,["81\\d{6}",[8]],0,["857[58]\\d{4}",[8]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370|864))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|[78]7)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-8])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[016-9])\\d{7}",[7,9]]]],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]],0,0,0,0,0,0,[["(?:2[12]|61)\\d{6}"],["7[02-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
49)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[18][1-9]|[24-7][2-9]))\\d{6}",[8,10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:(?:0[0-5]|1\\d|5[01]|70)\\d|2(?:[0-3]\\d|4[1-9])|3(?:00|3[0-24-9]))|9(?:101|408))\\d{6}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}",[10,11]]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][
490-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}"],["(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["800(?:14|[2-9]\\d)\\d{5}|8[024]9[01]\\d{6}|8(?:33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|[2-79]\\d\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[
490-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["96906(?:09|10)\\d\\d|(?:590(?:10[0-2]|600)|97390\\d)\\d{3}|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["(?:11(?:[124]\\d\\d|3(?:[0-79]\\d|8[0-7])|5(?:[02-9]\\d|1[0-57-9])|6(?:[02-79]\\d|1[0-57-9]|8[0-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|2[1-35-79]|3\\d|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
49))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[59]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[6-8])|5(?:2[01]|3[3-8])|901)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-6])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"],["(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-6])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8[0-589]\\d\\d)\\d{3}"],["556\\d{4}|(?:[23679]\\d|4[015]|5[0-489]|8[67])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}
49"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56]
49)|50[0-6]|77[1-57])\\d{4}"],["(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-69]|70))\\d{4}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-5]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:(?:09|24)[3-6]|44[0-35-9]|6(?:4[0-57-9]|6[0-6])|7(?:4[0-48]|6[0-5]))|5(?:25[3-7]|35[4-8]|73[0-6]|95[0-8])|6(?:26[013-8]|(?:66|78)[0-5])|70(?:7[1-8]|8[0-8])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-467]|899))\\d{4}|(?:4(?:4[0-35-9]|6[0-357-9]|7[0-35])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",[8,9]],["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}",[8,9]],["80\\d{5,7}"],["6[01459]\\d{6}|6[01]\\d{5}",[7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|5[568])\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}
49",[8,11,12]],["55(?:4(?:0[0-2]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2
49-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|180(?:0\\d{4,9}|3\\d{9})"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:[02689]0\\d|121)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[01359]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[5-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:6582(?:[0-4]\\d|95)|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[
4967])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["(?:427|7(?:[78][0-25-9]|9\\d))\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["(?:601[0-4]0|[7-9]0[1-9]\\d\\d)\\d{5}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1\\d|2[014]|[34]0)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}
49|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:00|1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",[["7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["(?:20(?:[23579]\\d|8[78])|30[24]\\d)\\d{6}|30\\d{7}",[9,10]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}
49"],["(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[024]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5\\d)\\d|6(?:[024-68]\\d|1[01]|3[7-9]|70))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|7(?:6[01]|7\\d)|88\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[26][18]|5[1568]|7[189]|81|9[128])\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]",[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-9])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|[67]\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}
49"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}"],["3[2-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[0-3]|[679]\\d|8[2-59])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|22|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",[6,7,8,9]],["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]],["80080(?:0[1-9]|2\\d)\\d{3}",[10]],0,0,0,0,0,["1333\\d{4}",[8]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[["[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}"],["92[0139]\\d{5}|(?:5[05]|6[069]|7[28]|8[0135689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[5-79]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}"],["(?:69[67]\\d\\d|7091[0-3])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[0-24-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,["219\\d{4}",[7]],["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-36-9]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["8(?:00|88)\\d{7}"],["900\\d{7}"],["500\\d{7}"],0,0,0,0,["300\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["427[01]\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-79]|6[02-4
vendor: 6,193 bytes, line 49
49]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:[579]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])\\d{6}",[10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}"],0,0,0,["700\\d{7,11}"]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[0-24-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:222|55[3-9]|666|777|8\\d\\d|999)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[["[47]\\d{3}",[4]],["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",[8]],["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]],["508\\d{6,7}|80\\d{6,8}",[8,9,10]],["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",[7,8,9,10]],["70\\d{7}",[9]],0,["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[["2[1-6]\\d{6}",[8]],["
49(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[0479]|2[37]|3[0137]|4[147]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[0147-9]\\d|[25][0-5]|33|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[4-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-48])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}
49(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["21(?:1[013-5]|2\\d|3[1-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}"],["(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}"],["80[0-5]\\d{6}",[9]],["8[129]\\d{7}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|89(?:00|88|99))\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:3[289]|4[246-8]|61|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:[14-68]\\d|2[4-68]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:1\\d|3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-
49578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[245]0\\d{6,7}|[36-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:(?:[014]\\d\\d|999)\\d|2022)\\d{3}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[136]\\d{5}",[7]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"],["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]],["800\\d{6}",[9]],["90[0136]\\d{6}",[9]],0,0,["(?:37\\d|80[578])\\d{6}",[9]],0,0,["801\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",[7,8,9,10,11,12]],["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]],["800\\d{3,9}"],["(?:78\\d|90[0169])\\d{3,7}",[6,7,8,9,10]],0,0,["7[06]\\d{4,10}"]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",[["(?:3(?:0[12]|36|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[0-8]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,0,0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["89(?:8[02-9]|9[0-6])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}
49",[8]],["81[23]\\d{5}",[8]],["(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7\\d|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:[015-8]\\d|21|90)\\d{6}"],["800\\d{6}"],["88[4689]\\d{6}
49"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|4\\d|5[2-58])\\d{4}",[6]],["(?:6[08]|7[124-7]|8[1-9])\\d{5}",[7]],["80\\d{5}",[7]],["90\\d{5}",[7]],0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[5-7]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["(?:50|9[1-9])\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[5-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:30|[69]\\d|77|8[5-7])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[0-289]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
49)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0-27-9]|2[0-27]|3[08]|40|5[05]|66|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|[27]4|[34]\\d|5[1-59]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["868800\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}
49",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[1-35-9]|7[013-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-3589])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}",[6,7,8,9,10,11,12,13]],["90[0-8]\\d{4}",[7]],0,0,["21\\d{2,3}",[4,5]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|[168]\\d\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"],["(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[246])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[013-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]],0,0,["9[23]\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",[9]],["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:50[0-2]|[67]\\d\\d)\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:[59][5-8]|7[5-9])\\d{7}"],["800\\d{6}"],0,0,0,0,0,["63\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?
49:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"],["7(?:[1278]\\d|3[1-9])\\d{6}",[9]],["80(?:[01]\\d|20|8[0-8])\\d{3}",[7]],0,0,0,0,0,["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",[10]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function BC(e,t){var r=Array.prototype.slice.call(t);return r.push(B_),e.apply(this,r)}function B$(e,t){e=e.split("-"),t=t.split("-");for(var r=e[0].split("."),o=t[0].split("."),i=0;i<3;i++){var l=Number(r[i]),s=Number(o[i]);if(l>s)return 1;if(s>l)return -1;if(!isNaN(l)&&isNaN(s))return 1;if(isNaN(l)&&!isNaN(s))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var BS={}.constructor;function BE(e){return null!=e&&e.constructor===BS}function Bj(e){return(Bj="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})(e)}function BN(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=Bj(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=Bj(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bj(t)?t:t+""}(o.key),o)}}function BP(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var BA=" ext. ",BO=/^\d+$/,BR=BP(function e(t){BN(this,e),BB(t),this.metadata=t,BU.
vendor: 6,735 bytes, line 49
49call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!this.v1&&!this.v2&&!this.v3)return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&BO.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw Error("Unknown country: ".concat(e));this.numberingPlan=new BD(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error("Unknown calling code: ".concat(t));this.numberingPlan=new BD(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var r=this.nonGeographic()[e];if(r)return r}else{var o=this.countryCallingCodes()[e];if(o&&1===o.length&&"001"===o[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),BD=BP(function e(t,r){BN(this,e),this.globalMetadataObject=r,this.metadata=t,BU.call(this,r.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new BM(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&BF(this.types(),e))return new BI(BF(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?BA:this.metadata[13]||BA}}]),BM=BP(function e(t,r){BN(this,e),this._format=t,this.metadata=r},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!this.nationalPrefixFormattingRule()&&!BL.test(this.nationalPrefixFormattingRule())}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),BL=/^\(?\$1\)?$/,BI=BP(function e(t,r){BN(this,e),this.type=t,this.metadata=r},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
49ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]);function BF(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function BB(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!BE(e)||!BE(e.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(BE(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+BV(e)+": "+e,"."))}var BV=function(e){return Bj(e)};function Bz(e,t){if((t=new BR(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error("Unknown country: ".concat(e))}function BH(e,t){return t.countries.hasOwnProperty(e)}function BU(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===B$(t,"1.2.0")?this.v2=!0:-1===B$(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function BZ(e){return new BR(e).getCountries()}function BW(){return BC(Bz,arguments)}function BK(e){return(BK="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})(e)}function Bq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function BG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function BJ(e){var t,r,o,i,l=function(e){if(Array.isArray(e))return e}(t=Array.prototype.slice.call(e))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,i,l,s,d=[],c=!0,u=!1;try{for(l=(r=r.call(e)).next;!(c=(o=l.call(r)).done)&&(d.push(o.value),4!==d.length);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return d}}(t,4)||function(e,t){if(e){if("string"==typeof e)return BG(e,4);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?BG(e,4):void 0}}(t,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=l[0],d=l[1],c=l[2],u=l[3];if("string"==typeof s)r=s;else throw TypeError("A text for parsing must be a string.");if(d&&"string"!=typeof d){if(BE(d))c?(o=d,i=c):i=d;else throw Error("Invalid second argument: ".concat(d))}else u?(o=c,i=u):(o=void 0,i=c),d&&(o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bq(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=BK(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=BK(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==BK(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bq(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({defaultCountry:d},o));return{text:r,options:o,metadata:i}}var BY="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",BX="".concat("-â-ââã¼ï¼").concat("ï¼/").concat("ï¼.").concat(" \xa0\xadââ ã").concat("()ï¼ï¼ï¼»ï¼½\\[\\]").concat("~ââ¼ï½"),BQ="+ï¼";function B0(e){return(B0="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})(e)}function B1(e){var t="function"==typeof Map?new Map:void 0;return(B1=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(B2())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var i=new(e.bind.apply(e,o));return r&&B3(i,r.prototype),i}(e,arguments,B4(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),B3(r,e)})(e)}function B2(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(B2=function(){return!!e})()}function B3(e,t){return(B3=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function B4(e){return(B4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B6=function(e){function t(e){var r,o,i;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),o=t,i=[e],o=B4(o),Object.setPrototypeOf(r=function(e,t){if(t&&("object"==B0(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,B2()?Reflect.construct(o,i||[],B4(this).constructor):o.apply(this,i)),t.prototype),r.name=r.constructor.name,r}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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&&B3(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(B1(Error)),B8=function(e){return"([".concat(BY,"]{1,").concat(e,"})")};function B9(e){var t="[ \xa0\\t,]*",r="[:\\.ï¼]?[ \xa0\\t,-]*",o="[ \xa0\\t]*";return";ext="+B8("20")+"|"+(t+"(?:e?xt(?:ensi(?:oÌ?|\xf3))?n?|ï½
?ï½ï½ï½?|доб|anexo)"+r)+B8("20")+"#?|"+(t+"(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)"+r)+B8("9")+"#?|[- ]+"+B8("6")+"#|"+(o+"(?:,{2}|;)"+r)+B8("15")+"#?|"+(o+"(?:,)+"+r)+B8("9")+"#?"}var B5=RegExp("^["+BQ+"]{0,1}(?:["+BX+"]*["+BY+"]){1,2}$","i"),B7="["+BQ+"]{0,1}(?:["+BX+"]*["+BY+"]){3,}["+BX+BY+"]*(?:"+B9()+")?",Ve=RegExp("^["+BY+"]{2}$|^"+B7+"$","i"),Vt=RegExp("(?:"+B9()+")$","i"),Vn={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Va(e){for(var t,r="",o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Vr(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vr(e,void 0):void 0}}(e))){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=o()).done;){var i=t.value;r+=function(e,t,r){if("+"===e){if(t)return;return"+"}return Vn[e]}(i,r)||""}return r}function Vo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Vi(e,t,r){return function e(t,r,o,i){r&&(i=new BR(i.metadata)).selectNumberingPlan(r);var l=i.type(o),s=l&&l.possibleLengths()||i.possibleLengths();if(!s)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===o){if(!i.type("FIXED_LINE"))return e(t,r,"MOBILE",i);var d=i.type("MOBILE");d&&(s=function(e,t){for(var r,o=e.slice(),i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Vo(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vo(e,void 0):void 0}}(e))){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(r=i()).done;){var l=r.value;0>e.indexOf(l)&&o.push(l)}return o.sort(function(e,t){return e-t})}(s,d.possibleLengths()))}else if(o&&!l)return"INVALID_LENGTH";var c=t.length,u=s[0];return u===c?"IS_POSSIBLE":u>c?"TOO_SHORT":s[s.length-1]<c?"TOO_LONG":s.indexOf(c,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,t,void 0,r)}function Vl(e,t,r){return"IS_POSSIBLE"===Vi(e,t,r)}function Vs(e,t){return e=e||"",RegExp("^(?:"+t+")$").test(e)}function Vd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}var Vc=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Vu(e,t,r){if(t=t||{},e.country||e.countryCallingCode){(r=new BR(r)).selectNumberingPlan(e.country,e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(Vs(o,r.nationalNumberPattern())){if(Vp(o,"FIXED_LINE",r))return r.type("MOBILE")&&""===r.type("MOBILE").pattern()||!r.type("MOBILE")||Vp(o,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";
49for(var i,l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Vd(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vd(e,void 0):void 0}}(e))){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(Vc);!(i=l()).done;){var s=i.value;if(Vp(o,s,r))return s}}}}function Vp(e,t,r){var o=r.type(t);return!(!o||!o.pattern()||o.possibleLengths()&&0>o.possibleLengths().indexOf(e.length))&&Vs(e,o.pattern())}var Vf=RegExp("(["+BY+"])");function Vm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Vh(e,t){var r=t.nationalNumber,o=t.metadata,i=o.getCountryCodesForCallingCode(e);return i?1===i.length?i[0]:function(e,t){var r=t.countries,o=t.metadata;o=new BR(o);for(var i,l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Vm(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vm(e,void 0):void 0}}(e))){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(i=l()).done;){var s=i.value;if(o.selectNumberingPlan(s),o.leadingDigits()){if(e&&0===e.search(o.leadingDigits()))return s}else if(Vu({phone:e,country:s},void 0,o.metadata))return s}}(r,{countries:i,metadata:o.metadata}):void 0}function Vg(e,t,r){var o=function(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var r=RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),o=r.exec(e);if(o){var i,l,s,d=o.length-1,c=d>0&&o[d];if(t.nationalPrefixTransformRule()&&c)i=e.replace(r,t.nationalPrefixTransformRule()),d>1&&(l=o[1]);else{var u=o[0];i=e.slice(u.length),c&&(l=o[1])}if(c){var p=e.indexOf(o[1]);e.slice(0,p)===t.numberingPlan.nationalPrefix()&&(s=t.numberingPlan.nationalPrefix())}else s=o[0];return{nationalNumber:i,nationalPrefix:s,carrierCode:l}}}return{nationalNumber:e}}(e,r),i=o.carrierCode,l=o.nationalNumber;return l!==e&&(!(!Vs(e,r.nationalNumberPattern())||Vs(l,r.nationalNumberPattern()))||r.numberingPlan.possibleLengths()&&(t||(t=Vh(r.numberingPlan.callingCode(),{nationalNumber:l,metadata:r})),!function(e,t,r){switch(Vi(e,t,r)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(l,t,r)))?{nationalNumber:e}:{nationalNumber:l,carrierCode:i}}function Vv(e,t,r,o,i){if(!e)return{};if("+"!==e[0]){var l,s=function(e,t,r,o){if(t){var i=new BR(o);i.selectNumberingPlan(t,r);var l=new RegExp(i.IDDPrefix());if(0===e.search(l)){var s=(e=e.slice(e.match(l)[0].length)).match(Vf);if(!s||null==s[1]||!(s[1].length>0)||"0"!==s[1])return e}}}(e,t||r,o,i);if(s&&s!==e)l=!0,e="+"+s;else{if(t||r||o){var d=function(e,t,r,o,i){var l=t||r?Bz(t||r,i):o;if(0===e.indexOf(l)){(i=new BR(i)).selectNumberingPlan(t||r,l);var s=e.slice(l.length),d=Vg(s,t,i).nationalNumber,c=Vg(e,t,i).nationalNumber;if(!Vs(c,i.nationalNumberPattern())&&Vs(d,i.nationalNumberPattern())||"TOO_LONG"===Vi(c,t,i))return{countryCallingCode:l,number:s}}return{number:e}}(e,t,r,o,i),c=d.countryCallingCode,u=d.number;if(c)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:c,number:u}}return{number:e}}}if("0"===e[1])return{};i=new BR(i);for(var p=2;p-1<=3&&p<=e.length;){var f=e.slice(1,p);if(i.hasCallingCode(f))return i.selectNumberingPlan(f),{countryCallingCodeSource:l?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(p)};p++}return{}}var Vy=/(\$\d)/,Vb=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,Vx={formatExtension:function(e,t,r){return"".concat(e).concat(r.ext()).concat(t)}};function Vw(e,t,r,o,i){var l,s,d,c,u=function(e,t){for(var r=0;r<e.length;){if(t(e[r]))return e[r];r++}}(o.formats(),function(t){if(t.leadingDigitsPatterns().length>0){var r=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==e.search(r))return!1}return Vs(e,t.pattern())});return u?(s=(l={useInternationalFormat:"INTERNATIONAL"===r,withNationalPrefix:!u.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:t,metadata:o}).useInternationalFormat,d=l.withNationalPrefix,l.carrierCode,l.metadata,c=e.replace(new RegExp(u.pattern()),s?u.internationalFormat():d&&u.nationalPrefixFormattingRule()?u.format().replace(Vy,u.nationalPrefixFormattingRule()):u.format()),s?c.replace(RegExp("[".concat(BX,"]+"),"g")," ").trim():c):e}function Vk(e){return(Vk="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})(e)}function V_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function VC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
49t%2?V_(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=V$(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V$(e){var t=function(e,t){if("object"!=Vk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=Vk(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vk(t)?t:t+""}var VS=($=function e(t,r,o){if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),!t)throw TypeError("First argument is required");if("string"!=typeof t)throw TypeError("First argument must be a string");if("+"===t[0]&&!r)throw TypeError("`metadata` argument not passed");if(BE(r)&&BE(r.countries)){o=r;var i,l,s,d,c=t;if(!VE.test(c))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var u=Vv(c,void 0,void 0,void 0,o),p=u.countryCallingCode;if(r=u.number,t=p,!r)throw Error("Invalid `number` argument passed: too short")}if(!r)throw TypeError("`nationalNumber` argument is required");if("string"!=typeof r)throw TypeError("`nationalNumber` argument must be a string");BB(o);var f=(i=t,d=new BR(o),/^[A-Z]{2}$/.test(i)?(l=i,d.selectNumberingPlan(l),s=d.countryCallingCode()):s=i,{country:l,countryCallingCode:s}),m=f.country,h=f.countryCallingCode;this.country=m,this.countryCallingCode=h,this.nationalNumber=r,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return o}},S=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){var e,t,r,o;return this.country?[this.country]:(e=this.countryCallingCode,t=this.nationalNumber,(o=new BR(r=this.getMetadata()).getCountryCodesForCallingCode(e))?o.filter(function(e){var o;return(o=new BR(r)).selectNumberingPlan(e),o.numberingPlan.possibleLengths().indexOf(t.length)>=0}):[])}},{key:"isPossible",value:function(){return function(e,t,r){if(void 0===t&&(t={}),r=new BR(r),t.v2){if(!e.countryCallingCode)throw Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return Vl(e.phone||e.nationalNumber,e.country,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var e,t;return(e=e={v2:!0},(t=new BR(t=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),t.hasTypes())?void 0!==Vu(this,e,t.metadata):Vs(e.v2?this.nationalNumber:this.phone,t.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new BR(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return Vu(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return function(e,t,r,o){if(r=r?function(){for(var e=1,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];for(;e<r.length;){if(r[e])for(var i in r[e])r[0][i]=r[e][i];e++}return r[0]}({},Vx,r):Vx,o=new BR(o),e.country&&"001"!==e.country){if(!o.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));o.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";o.selectNumberingPlan(e.countryCallingCode)}var i,l=o.countryCallingCode(),s=r.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":if(!s)return"";return d=i=Vw(s,e.carrierCode,"NATIONAL",o,r),c=e.ext,u=o,p=r.formatExtension,c?p(d,c,u):d;case"INTERNATIONAL":if(!s)return"+".concat(l);return i=Vw(s,null,"INTERNATIONAL",o,r),f=i="+".concat(l," ").concat(i),m=e.ext,h=o,g=r.formatExtension,m?g(f,m,h):f;case"E.164":return"+".concat(l).concat(s);case"RFC3966":return function(e){var t=e.number,r=e.ext;if(!t)return"";if("+"!==t[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(r?";ext="+r:"")}({number:"+".concat(l).concat(s),ext:e.ext});case"IDD":if(!r.fromCountry)return;
49var d,c,u,p,f,m,h,g,v,y,b,x=function(e,t,r,o,i){if(Bz(o,i.metadata)===r){var l,s,d=Vw(e,t,"NATIONAL",i);return"1"===r?r+" "+d:d}var c=(l=void 0,((s=new BR(i.metadata)).selectNumberingPlan(o,l),s.defaultIDDPrefix())?s.defaultIDDPrefix():Vb.test(s.IDDPrefix())?s.IDDPrefix():void 0);if(c)return"".concat(c," ").concat(r," ").concat(Vw(e,null,"INTERNATIONAL",i))}(s,e.carrierCode,l,r.fromCountry,o);if(!x)return;return v=e.ext,y=o,b=r.formatExtension,v?b(x,v,y):x;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,e,t?VC(VC({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],function(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,V$(o.key),o)}}($.prototype,S),Object.defineProperty($,"prototype",{writable:!1}),$),VE=/^\+\d+$/,Vj="(["+BY+"]|[\\-\\.\\(\\)]?)",VN=RegExp("^\\+"+Vj+"*["+BY+"]"+Vj+"*$","g"),VT=RegExp("^(["+BY+"]+((\\-)*["+BY+"])*\\.)*[a-zA-Z]+((\\-)*["+BY+"])*\\.?$","g"),VP="tel:",VA=";phone-context=",VO=RegExp("["+BQ+BY+"]"),VR=RegExp("[^"+BY+"#]+$");function VD(e){return(VD="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})(e)}function VM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function VL(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?VM(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=VD(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=VD(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==VD(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VM(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function VI(e,t,r){return function(e,t,r){if(t=t||{},r=new BR(r),t.defaultCountry&&!r.hasCountry(t.defaultCountry)){if(t.v2)throw new B6("INVALID_COUNTRY");throw Error("Unknown country: ".concat(t.defaultCountry))}var o,i=function(e,t,r){var o=function(e,t){var r=t.extractFormattedPhoneNumber,o=function(e){var t=e.indexOf(VA);if(t<0)return null;var r=t+VA.length;if(r>=e.length)return"";var o=e.indexOf(";",r);return o>=0?e.substring(r,o):e.substring(r)}(e);if(!(null===o||0!==o.length&&(VN.test(o)||VT.test(o))))throw new B6("NOT_A_NUMBER");if(null===o)i=r(e)||"";else{i="","+"===o.charAt(0)&&(i+=o);var i,l,s=e.indexOf(VP);l=s>=0?s+VP.length:0;var d=e.indexOf(VA);i+=e.substring(l,d)}var c=i.indexOf(";isub=");if(c>0&&(i=i.substring(0,c)),""!==i)return i}(e,{extractFormattedPhoneNumber:function(e){return function(e,t,r){if(e){if(e.length>250){if(r)throw new B6("TOO_LONG");return}if(!1===t)return e;var o=e.search(VO);if(!(o<0))return e.slice(o).replace(VR,"")}}(e,r,t)}});if(!o)return{};if(!(o.length>=2&&Ve.test(o)))return B5.test(o)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(Vt);if(t<0)return{};for(var r=e.slice(0,t),o=e.match(Vt),i=1;i<o.length;){if(o[i])return{number:r,ext:o[i]};i++}}(o);return i.ext?i:{number:o}}(e,t.v2,t.extract),l=i.number,s=i.ext,d=i.error;if(!l){if(t.v2){if("TOO_SHORT"===d)throw new B6("TOO_SHORT");throw new B6("NOT_A_NUMBER")}return{}}var c=function(e,t,r,o){var i,l=Vv(Va(e),void 0,t,r,o.metadata),s=l.countryCallingCodeSource,d=l.countryCallingCode,c=l.number;if(d)o.selectNumberingPlan(d);else{if(!c||!t&&!r)return{};o.selectNumberingPlan(t,r),t&&(i=t),d=r||Bz(t,o.metadata)}if(!c)return{countryCallingCodeSource:s,countryCallingCode:d};var u=Vg(Va(c),i,o),p=u.nationalNumber,f=u.carrierCode,m=Vh(d,{nationalNumber:p,metadata:o});return m&&(i=m,"001"===m||o.selectNumberingPlan(i)),{country:i,countryCallingCode:d,countryCallingCodeSource:s,nationalNumber:p,c
49arrierCode:f}}(l,t.defaultCountry,t.defaultCallingCode,r),u=c.country,p=c.nationalNumber,f=c.countryCallingCode,m=c.countryCallingCodeSource,h=c.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new B6("INVALID_COUNTRY");return{}}if(!p||p.length<2){if(t.v2)throw new B6("TOO_SHORT");return{}}if(p.length>17){if(t.v2)throw new B6("TOO_LONG");return{}}if(t.v2){var g=new VS(f,p,r.metadata);return u&&(g.country=u),h&&(g.carrierCode=h),s&&(g.ext=s),g.__countryCallingCodeSource=m,g}var v=(t.extended?!!r.hasSelectedNumberingPlan():!!u)&&Vs(p,r.nationalNumberPattern());return t.extended?{country:u,countryCallingCode:f,carrierCode:h,valid:v,possible:!!v||!!(!0===t.extended&&r.possibleLengths()&&Vl(p,u,r)),phone:p,ext:s}:v?(o={country:u,phone:p},s&&(o.ext=s),o):{}}(e,VL(VL({},t),{},{v2:!0}),r)}function VF(e){return(VF="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})(e)}function VB(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function VV(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?VB(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=VF(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=VF(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==VF(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VB(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Vz(){var e=BJ(arguments);return function(e,t,r){t&&t.defaultCountry&&!BH(t.defaultCountry,r)&&(t=VV(VV({},t),{},{defaultCountry:void 0}));try{return VI(e,t,r)}catch(e){if(e instanceof B6);else throw e}}(e.text,e.options,e.metadata)}function VH(){return BC(Vz,arguments)}function VU(e){return(VU="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})(e)}function VZ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function VW(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?VZ(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=VU(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=VU(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==VU(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VZ(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function VK(){var e=BJ(arguments),t=e.text,r=e.options,o=e.metadata;r=VW(VW({},r),{},{extract:!1});try{var i=VI(t,r,o);(o=new BR(o)).selectNumberingPlan(i.countryCallingCode);var l=Vi(i.nationalNumber,i.country,o);if("IS_POSSIBLE"!==l)return l}catch(e){if(e instanceof B6)return e.message;throw e}}function Vq(e,t,r){if(t[e])return new VS(e,t[e],r)}let VG={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Aland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia, Plurinational State of",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"the Democratic Republic of the Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",C
49M:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xe7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran, Islamic Republic of",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"Korea, Democratic Peoples Republic of",KR:"Korea, Republic of",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Lao Peoples Democratic Republic",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libyan Arab Jamahiriya",MA:"Morocco",MC:"Monaco",MD:"Moldova, Republic of",ME:"Montenegro",MF:"Saint Martin (French part)",MG:"Madagascar",MK:"Macedonia, the former Yugoslav Republic of",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PS:"Palestinian",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten (Dutch part)",SY:"Syrian Arab Republic",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Chinese Taipei",TZ:"Tanzania, United Republic of",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela, Bolivarian Republic of",VG:"Virgin Islands, British",VN:"Viet Nam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},VJ=e=>e.replace(/[^0-9]/g,""),VY=/^[0-9\s()./-]+$/,VX=e=>{let t=e.split("").find(e=>!VY.test(e));if(t)return t;let r=0;for(let t=0;t<e.length;t+=1){let o=e[t];if("("===o&&(r>0||")"===e[t+1]))return"(";if("("===o&&(r+=1),")"===o&&0===r)return")";")"===o&&(r-=1)}return r>0?"(":void 0},VQ=null,V0=e=>{var t;return VQ||(VQ=new Map,(function(){return BC(BZ,arguments)})().forEach(e=>{var t;let r=BW(e);VQ.set(r,[...null!==(t=VQ.get(r))&&void 0!==t?t:[],e])})),null!==(t=VQ.get(e))&&void 0!==t?t:[]},V1=e=>{let t=null==e?void 0:e.trim().toUpperCase();return t&&function(){return BC(BH,arguments)}(t)?t:void 0},V2=e=>{var t;let{value:r,isoCountryCode:o}=e,i=(null==r?"":String(r)).trim();if(!i)return{status:"empty"};let l=V1(o);if(!l)return{status:"invalid",reason:"INVALID_COUNTRY"};let s=VJ(i);if(!s)return{status:"invalid",reason:"NOT_A_NUMBER"};let d=BW(l),c=VX(i.replace(/^\+/,""));
49if(c)return{status:"invalid",reason:"INVALID_CHARACTERS",invalidCharacter:c};if(i.includes("+")){let e=VH("+".concat(s)),t=(null==e?void 0:e.countryCallingCode)?String(e.countryCallingCode):void 0,r=t?V0(t):[];return{status:"invalid",reason:"COUNTRY_CODE_IN_NUMBER",typedCallingCode:t,typedIsoCountryCode:1===r.length?r[0]:void 0}}let u=[];for(let e of(s.startsWith(d)&&u.push("+".concat(s)),u.push(s),u)){let t=VH(e,{defaultCountry:l,extract:!1});if(t&&t.countryCallingCode===d&&t.isValid())return{status:"valid",e164:t.number,isoCountryCode:l,nationalNumber:t.nationalNumber}}return{status:"invalid",reason:null!==(t=function(){return BC(VK,arguments)}(s,l))&&void 0!==t?t:"NOT_A_REAL_NUMBER"}},V3=e=>{let t=V2(e);return"valid"===t.status?{phone:t.e164,phoneCountryCode:t.isoCountryCode}:{}},V4=e=>{let t=V2({value:null==e?void 0:e.referralPhone,isoCountryCode:null==e?void 0:e.referralPhoneCountry});return"valid"===t.status?{referralPhoneNumber:t.e164,referralPhoneCountryCode:t.isoCountryCode}:{}},V6=e=>{var t,r;let o=V1(e);if(!o)return null;let i=new BR(B_);i.selectNumberingPlan(o);let l=null!==(r=null===(t=i.numberingPlan)||void 0===t?void 0:t.possibleLengths())&&void 0!==r?r:[];return l.length?1===l.length?"".concat(l[0]," digits"):2===l.length?"".concat(l[0]," or ").concat(l[1]," digits"):"".concat(l[0]," to ").concat(l[l.length-1]," digits"):null},V8=e=>{var t,r;let o=V1(e);return o&&null!==(r=null===(t=function(){return BC(Vq,arguments)}(o,Bk))||void 0===t?void 0:t.formatNational())&&void 0!==r?r:null},V9=(e,t)=>{var r,o,i;let{reason:l,typedCallingCode:s,typedIsoCountryCode:d,invalidCharacter:c}=e;if("NOT_A_NUMBER"===l)return"Enter a phone number using digits only";if("INVALID_CHARACTERS"===l)return c?"Remove the ".concat(c," from your phone number"):"Enter a phone number using digits only";let u=V1(t);if(!u)return"Select a country code for your phone number";if("COUNTRY_CODE_IN_NUMBER"===l){let e=BW(u);if(!s)return"Enter your phone number without the country code";if(s===e)return"Enter your phone number without the +".concat(e," country code");let t=d?"".concat(null!==(r=VG[d])&&void 0!==r?r:d," (+").concat(s,")"):"+".concat(s);return["This looks like a ".concat(t," number.")," Change the country to +".concat(s,",")," or enter your ".concat(null!==(o=VG[u])&&void 0!==o?o:u," number")," without a country code."].join("")}let p=null!==(i=VG[u])&&void 0!==i?i:u,f=V8(u);if("NOT_A_REAL_NUMBER"===l)return f?"Enter a valid phone number for ".concat(p," (e.g. ").concat(f,")."):"Enter a valid phone number for ".concat(p,".");let m=V6(u);return m?["Enter a valid phone number for ".concat(p)," - ".concat(m),f?" (e.g. ".concat(f,")"):"","."].join(""):"Invalid phone number"},V5=e=>({value:e,code:"".concat(e,"Code"),country:"".concat(e,"Country")}),V7=function(){let{required:e=!0,countryField:t=V5("phone").country,requiredMessage:r="This field is required"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return FU().nullable().test("phone-number",r,function(o){var i;let l=null!==(i=this.parent)&&void 0!==i?i:{},s=l[t],d=V2({value:o,isoCountryCode:s});return"valid"===d.status||("empty"===d.status?!("function"==typeof e?e(l):e)||this.createError({message:r}):this.createError({message:V9(d,s)}))})},ze=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"phone",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=V5(e);return{[r.value]:V7({...t,countryField:r.country}),[r.code]:FU().nullable(),[r.country]:FU().nullable()}},zt=e=>{let{name:t,countries:r,placeholder:o,floatingLabel:i,id:l,noDefaultCountry:s,defaultCountry:d,required:c,disabled:u,className:p,onFieldInteracted:f,onCountryChange:m}=e,{values:h,errors:g,touched:v,setFieldValue:y,setFieldTouched:b}=IZ(),x=V5(t),w=IX(g,x.value)||IX(g,x.code),k=!!IX(v,x.value),_=IX(h,x.country);(0,I.useEffect)(()=>{_||s||!d||(y(x.country,d.isoCountryCode),y(x.code,d.callingCode))},[_,s,d,x.country,x.code,y]);let C=(0,I.useRef)(void 0),$=(0,I.useCallback)(e=>{e&&(y(x.value,e.value),y(x.code,e.code),y(x.country,e.isoCountryCode),e.isoCountryCode!==C.current&&(C.current=e.isoCountryCode,null==m||m(e)))},[x.value,x.code,x.country,y,m]),S=(0,I.useCallback)(()=>{b(x.value,!0),b(x.code,!0),b(x.country,!0),null==f||f(x.value)},[x.value,x.code,x.country,b,f]);return(0,D.jsxs)("div",{children:[(0,D.jsx)(A7,{name:x.value,id:l,placeholder:o,floatingLabel:i,countries:r,...s?{noDefaultCountry:!0}:{defaultCountry:d},required:c,disabled:u,className:p,valid:k&&!w,touched:k,onBlur:S,onValueChange:$}),(0,D.jsx)(S2,{children:w})]})},zn=[{state:"Alaska",stateCode:"AK"},{state:"Alabama",stateCode:"AL"},{state:"Arkansas",stateCode:"AR"},{state:"Arizona",stateCode:"AZ"},{state:"California",stateCode:"CA"},{state:"Colorado",stateCode:"CO"},{state:"Connecticut",stateCode:"CT"},{state:"District of Columbia",stateCode:"DC"},{state:"Delaware",stateCode:"DE"},{state:"Florida",stateCode:"FL"},{state:"Georgia",stateCode:"GA"},{state:"Hawaii",stateCode:"HI"},{state:"Iowa",stateCode:"IA"},{state:"Idaho",stateCode:"ID"},{state:"Illinois",stateCode:"IL"},{state:"Indiana",stateCode:"IN"},{state:"Kansas",stateCode:"KS"},{state:"Kentucky",stateCode:"KY"},{state:"Louisiana",stateCode:"LA"},{state:"Massachusetts",stateCode:"MA"},{state:"Maryland",stateCode:"MD"},{state:"Maine",stateCode:"ME"},{state:"Michigan",stateCode:"MI"},{state:"Minnesota",stateCode:"MN"},{state:"Missouri",stateCode:"MO"},{state:"Mississippi",stateCode:"MS"},{state:"Montana",stateCode:"MT"},{state:"North Carolina",stateCode:"NC"},{state:"North Dakota",stateCode:"ND"},{state:"Nebraska",stateCode:"NE"},{state:"New Hampshire",stateCode:"NH"},{state:"New Jersey",stateCode:"NJ"},{state:"New Mexico",stateCode:"NM"},{state:"Nevada",stateCode:"NV"},{state:"New York",stateCode:"NY"},{state:"Ohio",stateCode:"OH"},{state:"Oklahoma",stateCode:"OK"},{state:"Oregon",stateCode:"OR"},{state:"Pennsylvania",stateCode:"PA"},{state:"Rhode Island",stateCode:"RI"},{state:"South Carolina",stateCode:"SC"},{state:"South Dakota",stateCode:"SD"},{state:"Tennessee",stateCode:"TN"},{state:"Texas",stateCode:"TX"},{state:"Utah",stateCode:"UT"},{state:"Virginia",stateCode:"VA"},{state:"Vermont",stateCode:"VT"},{state:"Washington",stateCode:"WA"},{state:"Wisconsin",stateCode:"WI"},{state:"West Virginia",stateCode:"WV"},{state:"Wyoming",stateCode:"WY"}],zr=[...zn].sort((e,t)=>
49e.state.localeCompare(t.state)).map(e=>({label:"District of Columbia"===e.state?"Washington, DC":e.state,stateCode:e.stateCode}));var za
vendor: 83,479 bytes, line 49
49={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-579]|61)","5(?:[0-579]|61[06])","5(?:[0-579]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function
49zo(e,t){var r=Array.prototype.slice.call(t);return r.push(za),e.apply(this,r)}let zi=[{code:"AF",dial_code:"93"},{code:"AX",dial_code:"358"},{code:"AL",dial_code:"355"},{code:"DZ",dial_code:"213"},{code:"AD",dial_code:"376"},{code:"AO",dial_code:"244"},{code:"AI",dial_code:"1264"},{code:"IL",dial_code:"972"},{code:"AQ",dial_code:"672"},{code:"AG",dial_code:"1268"},{code:"AR",dial_code:"54"},{code:"AM",dial_code:"374"},{code:"AW",dial_code:"297"},{code:"AU",dial_code:"61"},{code:"AT",dial_code:"43"},{code:"AZ",dial_code:"994"},{code:"BS",dial_code:"1242"},{code:"BH",dial_code:"973"},{code:"BD",dial_code:"880"},{code:"BB",dial_code:"1246"},{code:"BY",dial_code:"375"},{code:"BE",dial_code:"32"},{code:"BZ",dial_code:"501"},{code:"BJ",dial_code:"229"},{name:"برÙ
ÙØ¯Ø§",code:"BM",dial_code:"1441"},{code:"BT",dial_code:"975"},{code:"BO",dial_code:"591"},{code:"BA",dial_code:"387"},{code:"BW",dial_code:"267"},{code:"BV",dial_code:"47"},{code:"BR",dial_code:"55"},{code:"IO",dial_code:"246"},{code:"BN",dial_code:"673"},{code:"BG",dial_code:"359"},{code:"BF",dial_code:"226"},{code:"BI",dial_code:"257"},{name:"ÙÙ
Ø¨ÙØ¯Ùا",code:"KH",dial_code:"855"},{code:"CM",dial_code:"237"},{code:"CA",dial_code:"1"},{code:"CV",dial_code:"238"},{code:"KY",dial_code:"1345"},{code:"CF",dial_code:"236"},{code:"TD",dial_code:"235"},{code:"CL",dial_code:"56"},{code:"CN",dial_code:"86"},{code:"CX",dial_code:"61"},{code:"CC",dial_code:"61"},{code:"CO",dial_code:"57"},{code:"KM",dial_code:"269"},{code:"CG",dial_code:"242"},{code:"CD",dial_code:"243"},{code:"CK",dial_code:"682"},{code:"CR",dial_code:"506"},{code:"CI",dial_code:"225"},{code:"HR",dial_code:"385"},{code:"CU",dial_code:"53"},{code:"CY",dial_code:"357"},{code:"CZ",dial_code:"420"},{code:"DK",dial_code:"45"},{code:"DJ",dial_code:"253"},{code:"DM",dial_code:"1767"},{code:"DO",dial_code:"1"},{code:"EC",dial_code:"593"},{code:"EG",dial_code:"20"},{code:"SV",dial_code:"503"},{code:"GQ",dial_code:"240"},{name:"Ø¥Ø±ÙØªØ±Ùا",code:"ER",dial_code:"291"},{code:"EE",dial_code:"372"},{code:"ET",dial_code:"251"},{code:"FK",dial_code:"500"},{code:"FO",dial_code:"298"},{code:"FJ",dial_code:"679"},{code:"FI",dial_code:"358"},{code:"FR",dial_code:"33"},{code:"GF",dial_code:"594"},{code:"PF",dial_code:"689"},{code:"TF",dial_code:"262"},{code:"GA",dial_code:"241"},{code:"GM",dial_code:"220"},{code:"GE",dial_code:"995"},{code:"DE",dial_code:"49"},{code:"GH",dial_code:"233"},{code:"GI",dial_code:"350"},{code:"GR",dial_code:"30"},{code:"GL",dial_code:"299"},{code:"GD",dial_code:"1473"},{code:"GP",dial_code:"590"},{code:"GT",dial_code:"502"},{code:"GG",dial_code:"44"},{code:"GN",dial_code:"224"},{code:"GW",dial_code:"245"},{code:"GY",dial_code:"592"},{code:"HT",dial_code:"509"},{code:"HM",dial_code:"0"},{code:"VA",dial_code:"379"},{code:"HN",dial_code:"504"},{code:"HU",dial_code:"36"},{code:"IS",dial_code:"354"},{code:"IN",dial_code:"91"},{code:"ID",dial_code:"62"},{code:"IR",dial_code:"98"},{code:"IQ",dial_code:"964"},{code:"IE",dial_code:"353"},{code:"IM",dial_code:"44"},{code:"IT",dial_code:"39"},{code:"JM",dial_code:"1876"},{code:"JP",dial_code:"81"},{name:"Ø¬ÙØ±Ø²Ù",code:"JE",dial_code:"44"},{code:"JO",dial_code:"962"},{code:"KZ",dial_code:"7"},{code:"KE",dial_code:"254"},{code:"KI",dial_code:"686"},{code:"KP",dial_code:"850"},{code:"KR",dial_code:"82"},{code:"XK",dial_code:"383"},{code:"KW",dial_code:"965"},{code:"KG",dial_code:"996"},{code:"LA",dial_code:"856"},{code:"LV",dial_code:"371"},{code:"LB",dial_code:"961"},{name:"ÙÙØ³ÙتÙ",code:"LS",dial_code:"266"},{code:"LR",dial_code:"231"},{code:"LY",dial_code:"218"},{code:"LI",dial_code:"423"},{code:"LT",dial_code:"370"},{code:"LU",dial_code:"352"},{code:"MO",dial_code:"853"},{code:"MK",dial_code:"389"},{code:"MG",dial_code:"261"},{code:"MW",dial_code:"265"},{code:"MY",dial_code:"60"},{code:"MV",dial_code:"960"},{code:"ML",dial_code:"223"},{code:"MT",dial_code:"356"},{code:"MQ",dial_code:"596"},{code:"MR",dial_code:"222"},{code:"MU",dial_code:"230"},{code:"YT",dial_code:"262"},{code:"MX",dial_code:"52"},{code:"MD",dial_code:"373"},{code:"MC",dial_code:"377"},{code:"MN",dial_code:"976"},{code:"ME",dial_code:"382"},{code:"MS",dial_code:"1664"},{code:"MA",dial_code:"212"},{code:"MZ",dial_code:"258"},{code:"MM",dial_code:"95"},{code:"NA",dial_code:"264"},{code:"NR",dial_code:"674"},{code:"NP",dial_code:"977"},{code:"NL",dial_code:"31"},{code:"NC",dial_code:"687"},{code:"NZ",dial_code:"64"},{code:"NI",dial_code:"505"},{code:"NE",dial_code:"227"},{code:"NG",dial_code:"234"},{code:"NU",dial_code:"683"},{code:"NF",dial_code:"672"},{code:"NO",dial_code:"47"},{code:"OM",dial_code:"968"},{code:"PK",dial_code:"92"},{code:"PS",dial_code:"970"},{code:"PA",dial_code:"507"},{code:"PG",dial_code:"675"},{code:"PY",dial_code:"595"},{code:"PE",dial_code:"51"},{code:"PH",dial_code:"63"},{code:"PN",dial_code:"64"},{code:"PL",dial_code:"48"},{code:"PT",dial_code:"351"},{code:"QA",dial_code:"974"},{code:"RO",dial_code:"40"},{code:"RU",dial_code:"7"},{code:"RW",dial_code:"250"},{code:"RE",dial_code:"262"},{code:"BL",dial_code:"590"},{code:"SH",dial_code:"290"},{code:"KN",dial_code:"1869"},{code:"LC",dial_code:"1758"},{code:"MF",dial_code:"590"},{code:"PM",dial_code:"508"},{code:"VC",dial_code:"1784"},{code:"WS",dial_code:"685"},{code:"SM",dial_code:"378"},{code:"ST",dial_code:"239"},{code:"SA",dial_code:"966"},{code:"SN",dial_code:"221"},{code:"RS",dial_code:"381"},{code:"SC",dial_code:"248"},{code:"SL",dial_code:"232"},{code:"SG",dial_code:"65"},{code:"SK",dial_code:"421"},{code:"SI",dial_code:"386"}
49,{code:"SB",dial_code:"677"},{code:"SO",dial_code:"252"},{code:"ZA",dial_code:"27"},{code:"SS",dial_code:"211"},{code:"GS",dial_code:"500"},{code:"ES",dial_code:"34"},{code:"LK",dial_code:"94"},{code:"SD",dial_code:"249"},{code:"SR",dial_code:"597"},{code:"SJ",dial_code:"47"},{code:"SZ",dial_code:"268"},{code:"SE",dial_code:"46"},{code:"CH",dial_code:"41"},{code:"SY",dial_code:"963"},{code:"TW",dial_code:"886"},{code:"TJ",dial_code:"992"},{code:"TZ",dial_code:"255"},{code:"TH",dial_code:"66"},{code:"TL",dial_code:"670"},{code:"TG",dial_code:"228"},{code:"TK",dial_code:"690"},{code:"TO",dial_code:"676"},{code:"TT",dial_code:"1868"},{code:"TN",dial_code:"216"},{code:"TR",dial_code:"90"},{code:"TM",dial_code:"993"},{code:"TC",dial_code:"1649"},{code:"TV",dial_code:"688"},{code:"UG",dial_code:"256"},{code:"UA",dial_code:"380"},{code:"AE",dial_code:"971"},{code:"GB",dial_code:"44"},{code:"US",dial_code:"1"},{code:"UY",dial_code:"598"},{code:"UZ",dial_code:"998"},{code:"VU",dial_code:"678"},{code:"VE",dial_code:"58"},{code:"VN",dial_code:"84"},{code:"VG",dial_code:"1284"},{code:"WF",dial_code:"681"},{code:"YE",dial_code:"967"},{code:"ZM",dial_code:"260"},{code:"ZW",dial_code:"263"}],zl=e=>"".concat("https://aupair.culturalcare.com/assets/assets/flag","/").concat(e.toLowerCase(),".svg"),zs=e=>{var t,r;return null!==(r=null===(t=zi.find(t=>t.code===e))||void 0===t?void 0:t.dial_code)&&void 0!==r?r:!function(){return zo(BH,arguments)}(e)?void 0:function(){return zo(Bz,arguments)}(e)},zd=Object.entries(VG).reduce((e,t)=>{let[r,o]=t,i=zs(r);return i&&e.push({name:o,callingCode:i,isoCountryCode:r,imgSrc:zl(r)}),e},[]).sort((e,t)=>e.name.localeCompare(t.name)),zc={name:"United States",callingCode:"1",isoCountryCode:"US",imgSrc:zl("US")},zu=[zc],zp=e=>e?zd.find(t=>t.isoCountryCode===e.toUpperCase()):void 0,zf=e=>{var t,r;return(0,xL.Bz)()?null!==(t=zp("CH"))&&void 0!==t?t:zc:null!==(r=zp(e&&"default"!==e?e.slice(3):void 0))&&void 0!==r?r:zc},zm=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null;for(let[i,l]of Object.entries(t.query))if(r&&i===e||i.toLowerCase()===e.toLowerCase()){o=l;break}return o},zh=e=>{let t=(0,xF.useRouter)();return(0,I.useMemo)(()=>{if(!e||0===e.length)return;let r={};return e.forEach(e=>{let{field_name:o,field_type:i,value:l,fallback_value:s}=e;if("url_param"===i){let e=zm(l,t);e?r[o]=Array.isArray(e)?e[0]:e:r[o]=s||null}else r[o]=l}),r},[e,t])},zg=[{field:"utm_source",sessionKey:"source",urlParam:"utm_source"},{field:"utm_medium",sessionKey:"medium",urlParam:"utm_medium"},{field:"utm_campaign",sessionKey:"campaign",urlParam:"utm_campaign"},{field:"utm_term",sessionKey:"term",urlParam:"utm_term"},{field:"utm_content",sessionKey:"content",urlParam:"utm_content"},{field:"sfCampaignId",sessionKey:"sfc",urlParam:"sfc"}],zv=()=>{let e=(0,xF.useRouter)();return(0,I.useMemo)(()=>{let t={},r=null;try{{let e=sessionStorage.getItem("utm");if(e){let t=JSON.parse(e);Array.isArray(t)&&t.length>0&&(r=t[0])}}}catch(e){}for(let{field:o,sessionKey:i,urlParam:l}of zg){let s=null==r?void 0:r[i];if("string"==typeof s&&s){t[o]=s;continue}let d=zm(l,e);d&&(t[o]=Array.isArray(d)?d[0]:d)}return t},[e])},zy=new Map([{state:"Alabama",auPairAnnual:21424,nannyAnnual:34757,annualSavings:13333,savingsPercentRounded:38},{state:"Alaska",auPairAnnual:21424,nannyAnnual:40830,annualSavings:19406,savingsPercentRounded:47},{state:"Arizona",auPairAnnual:21424,nannyAnnual:42702,annualSavings:21278,savingsPercentRounded:49},{state:"Arkansas",auPairAnnual:21424,nannyAnnual:36234,annualSavings:14810,savingsPercentRounded:40},{state:"California",auPairAnnual:21424,nannyAnnual:51813,annualSavings:30389,savingsPercentRounded:58},{state:"Colorado",auPairAnnual:21424,nannyAnnual:45926,annualSavings:24502,savingsPercentRounded:53},{state:"Connecticut",auPairAnnual:21424,nannyAnnual:47923,annualSavings:26499,savingsPercentRounded:55},{state:"Delaware",auPairAnnual:21424,nannyAnnual:39936,annualSavings:18512,savingsPercentRounded:46},{state:"Florida",auPairAnnual:21424,nannyAnnual:41891,annualSavings:20467,savingsPercentRounded:48},{state:"Georgia",auPairAnnual:21424,nannyAnnual:40206,annualSavings:18782,savingsPercentRounded:46},{state:"Hawaii",auPairAnnual:21424,nannyAnnual:47819,annualSavings:26395,savingsPercentRounded:55},{state:"Idaho",auPairAnnual:21424,nannyAnnual:38230,annualSavings:16806,savingsPercentRounded:43},{state:"Illinois",auPairAnnual:21424,nannyAnnual:43514,annualSavings:22090,savingsPercentRounded:50},{state:"Indiana",auPairAnnual:21424,nannyAnnual:37648,annualSavings:16224,savingsPercentRounded:43},{state:"Iowa",auPairAnnual:21424,nannyAnnual:35214,annualSavings:13790,savingsPercentRounded:39},{state:"Kansas",auPairAnnual:21424,nannyAnnual:35610,annualSavings:14186,savingsPercentRounded:39},{state:"Kentucky",auPairAnnual:21424,nannyAnnual:36317,annualSavings:14893,savingsPercentRounded:41},{state:"Louisiana",auPairAnnual:21424,nannyAnnual:36192,annualSavings:14768,s
49avingsPercentRounded:40},{state:"Maine",auPairAnnual:21424,nannyAnnual:45406,annualSavings:23982,savingsPercentRounded:52},{state:"Maryland",auPairAnnual:21424,nannyAnnual:43992,annualSavings:22568,savingsPercentRounded:51},{state:"Massachusetts",auPairAnnual:21424,nannyAnnual:48797,annualSavings:27373,savingsPercentRounded:56},{state:"Michigan",auPairAnnual:21424,nannyAnnual:38210,annualSavings:16786,savingsPercentRounded:43},{state:"Minnesota",auPairAnnual:21424,nannyAnnual:43680,annualSavings:22256,savingsPercentRounded:50},{state:"Mississippi",auPairAnnual:21424,nannyAnnual:33634,annualSavings:12210,savingsPercentRounded:36},{state:"Missouri",auPairAnnual:21424,nannyAnnual:38230,annualSavings:16806,savingsPercentRounded:43},{state:"Montana",auPairAnnual:21424,nannyAnnual:40061,annualSavings:18637,savingsPercentRounded:46},{state:"Nebraska",auPairAnnual:21424,nannyAnnual:36754,annualSavings:15330,savingsPercentRounded:41},{state:"Nevada",auPairAnnual:21424,nannyAnnual:42120,annualSavings:20696,savingsPercentRounded:49},{state:"New Hampshire",auPairAnnual:21424,nannyAnnual:43867,annualSavings:22443,savingsPercentRounded:51},{state:"New Jersey",auPairAnnual:21424,nannyAnnual:46342,annualSavings:24918,savingsPercentRounded:53},{state:"New Mexico",auPairAnnual:21424,nannyAnnual:42307,annualSavings:20883,savingsPercentRounded:49},{state:"New York",auPairAnnual:21424,nannyAnnual:48381,annualSavings:26957,savingsPercentRounded:55},{state:"North Carolina",auPairAnnual:21424,nannyAnnual:39645,annualSavings:18221,savingsPercentRounded:45},{state:"North Dakota",auPairAnnual:21424,nannyAnnual:35214,annualSavings:13790,savingsPercentRounded:39},{state:"Ohio",auPairAnnual:21424,nannyAnnual:38064,annualSavings:16640,savingsPercentRounded:43},{state:"Oklahoma",auPairAnnual:21424,nannyAnnual:34882,annualSavings:13458,savingsPercentRounded:38},{state:"Oregon",auPairAnnual:21424,nannyAnnual:44429,annualSavings:23005,savingsPercentRounded:51},{state:"Pennsylvania",auPairAnnual:21424,nannyAnnual:41163,annualSavings:19739,savingsPercentRounded:47},{state:"Rhode Island",auPairAnnual:21424,nannyAnnual:44512,annualSavings:23088,savingsPercentRounded:51},{state:"South Carolina",auPairAnnual:21424,nannyAnnual:38251,annualSavings:16827,savingsPercentRounded:43},{state:"South Dakota",auPairAnnual:21424,nannyAnnual:34861,annualSavings:13437,savingsPercentRounded:38},{state:"Tennessee",auPairAnnual:21424,nannyAnnual:40373,annualSavings:18949,savingsPercentRounded:46},{state:"Texas",auPairAnnual:21424,nannyAnnual:40269,annualSavings:18845,savingsPercentRounded:46},{state:"Utah",auPairAnnual:21424,nannyAnnual:38522,annualSavings:17098,savingsPercentRounded:44},{state:"Vermont",auPairAnnual:21424,nannyAnnual:45427,annualSavings:24003,savingsPercentRounded:52},{state:"Virginia",auPairAnnual:21424,nannyAnnual:42619,annualSavings:21195,savingsPercentRounded:49},{state:"Washington",auPairAnnual:21424,nannyAnnual:49234,annualSavings:27810,savingsPercentRounded:56},{state:"Washington, DC",auPairAnnual:21424,nannyAnnual:46072,annualSavings:24648,savingsPercentRounded:53},{state:"West Virginia",auPairAnnual:21424,nannyAnnual:35090,annualSavings:13666,savingsPercentRounded:38},{state:"Wisconsin",auPairAnnual:21424,nannyAnnual:37544,annualSavings:16120,savingsPercentRounded:42},{state:"Wyoming",auPairAnnual:21424,nannyAnnual:37024,annualSavings:15600,savingsPercentRounded:42}].map(e=>[e.state,e])),zb=L()(()=>Promise.all([r.e(243),r.e(2141)]).then(r.bind(r,12141)).then(e=>e.CostComparisonBarChart),{loadableGenerated:{webpack:()=>[12141]},ssr:!1,loading:()=>(0,D.jsx)("div",{className:"my-5 min-h-[220px] w-full animate-pulse rounded-lg bg-[var(--color-system-background-disabled)]","aria-hidden":!0})}),zx=[{value:"1",label:"1"},{value:"2",label:"2"},{value:"3+",label:"3+"}],zw=F9({firstName:FU().required("This field is required"),lastName:FU().required("This field is required"),email:FU().email("Invalid email").required("This field is required")}),zk=F9(ze("phone"));function z_(e,t){return Object.entries(t).reduce((e,t)=>{let[r,o]=t;return e.split("{".concat(r,"}")).join(o)},e)}let zC=e=>{let{bloks:t}=e;return(null==t?void 0:t.length)?(0,D.jsx)(D.Fragment,{children:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):null},z$=e=>{let{blok:t}=e,{design:r,step1_title:o,step1_subtitle:i,step1_button_text:l,step2_title:s,step2_subtitle:d,step2_submit_button_text:c,step3_title:u,step3_subtitle:p,legal_text:f,step3_submit_button_text:m,back_link_text:h,get_started_link:g,hidden_fields:v}=t,y=(0,h5.mi)({design:r}),b=(0,h7.N)(null==y?void 0:y.spacing),x=zh(v),w=zv(),{breakpoint:k}=(0,ib.G)(),_="s"===k,[C,$]=(0,I.useState)(1),[S,E]=(0,I.useState)(""),[j,T]=(0,I.useState)(""),[P,A]=(0,I.useState)(""),[O,R
49]=(0,I.useState)(null),[M,L]=(0,I.useState)(null),F=(0,I.useCallback)(()=>{2===C?$(1):3===C&&$(2)},[C]),B=(0,I.useCallback)(()=>{var e;if(!S||!P)return;let t=null!==(e=zy.get(S))&&void 0!==e?e:null;t&&(R(t),$(2))},[S,P]),V=(0,I.useCallback)(async(e,t,r)=>{if(!j||!O){t(!1);return}Bt("form_submit",N.ContactUs,"HF"),await Bh({...e,street:"",postalCode:"",city:"",state:j,country:"United States",countryCode:"US",...P?{numberOfChildren:P}:{},...x,...w})&&r(),t(!1)},[j,O,P,x,w]),z=(0,I.useCallback)(async(e,t)=>{let{setSubmitting:r}=t;await V(e,r,()=>{L(e),$(3)})},[V]),H=(0,I.useCallback)(async(e,t)=>{let{setSubmitting:r}=t;if(!M){r(!1);return}await V({...M,...V3({value:e.phone,isoCountryCode:e.phoneCountry})},r,()=>{let e=xz({link:g,locale:"default"}),t=(null==g?void 0:g.linktype)==="story"?"/".concat(e):e;t&&window.location.assign(t)})},[V,M,g]),U=(0,D.jsxs)(e7.Button,{type:"button",variant:"ghost",className:"inline-flex items-center gap-1 font-semibold",onPress:F,children:[(0,D.jsx)(Mr,{size:18,weight:"bold","aria-hidden":!0}),h||"Go Back"]}),Z=e=>(0,D.jsxs)(wW.k,{direction:_?"column-reverse":"row",justify:_?"center":"space-between",align:"center",wrap:!_,gap:_?"xs":"m",className:"pt-2",children:[U,e]});return(0,D.jsx)("div",{...(0,ha.LF)(t),className:(0,vP.W)(b,"w-full"),id:"cost-calculator",children:(1===C||!!O)&&(0,D.jsx)(wW.k,{direction:"column",gap:"l",align:"center",children:(0,D.jsx)(wu.T,{radius:"m",className:"w-full rounded-2xl border border-gray-200 bg-[var(--color-system-text-on-dark)] px-4 py-8 shadow-md sm:p-9",children:(0,D.jsx)(wW.k,{direction:"column",gap:"m",children:(()=>{switch(C){case 1:return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(zC,{bloks:o}),(0,D.jsx)(zC,{bloks:i})]}),(0,D.jsx)(AG,{name:"calc-state",label:"Select Your State",placeholder:"Choose your state",value:S||void 0,valid:!!S||void 0,touched:!!S,onValueChange:e=>{var t;E(e);let r=zr.find(t=>t.label===e);T(null!==(t=null==r?void 0:r.stateCode)&&void 0!==t?t:"")},children:zr.map(e=>(0,D.jsx)(AY,{value:e.label,children:e.label},e.stateCode))}),(0,D.jsx)(AG,{name:"calc-children",label:"Number of Children",placeholder:"How many children?",value:P||void 0,valid:!!P||void 0,touched:!!P,onValueChange:e=>A(e),children:zx.map(e=>(0,D.jsx)(AY,{value:e.value,children:e.label},e.value))}),(0,D.jsx)(wW.k,{justify:"center",className:"pt-2",children:(0,D.jsx)(e7.Button,{id:"ccap-calculate-savings",type:"button",variant:"filled",disabled:!S||!P,onPress:B,children:l||"Calculate my savings"})})]});case 2:if(!O)return null;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:"mb-2 rounded-2xl bg-[#E9E9E9] p-6",children:[(0,D.jsx)(aL.x,{variant:"title1",className:"mb-2 font-bold text-black",children:z_(s||"",{state:O.state,percent:String(O.savingsPercentRounded)})}),(0,D.jsx)("div",{className:"text-[#666666] [&:not(:empty)]:mt-2",children:(0,D.jsx)(zC,{bloks:d})})]}),(0,D.jsx)(I2,{initialValues:{firstName:"",lastName:"",email:""},validationSchema:zw,onSubmit:z,children:e=>{let{errors:t,touched:r,isSubmitting:o,setFieldTouched:i}=e;return(0,D.jsx)(I9,{noValidate:!0,children:(0,D.jsxs)(wW.k,{direction:"column",gap:"m",children:[(0,D.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{id:"ccap-fn",name:"firstName",label:"First Name",placeholder:"Enter your first name",as:Ef.y,valid:!!r.firstName&&!t.firstName,touched:r.firstName,onBlur:()=>i("firstName",!0)}),(0,D.jsx)(S2,{children:t.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{id:"ccap-ln",name:"lastName",label:"Last Name",placeholder:"Enter your last name",as:Ef.y,valid:!!r.lastName&&!t.lastName,touched:r.lastName,onBlur:()=>i("lastName",!0)}),(0,D.jsx)(S2,{children:t.lastName})]})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{id:"ccap-em",name:"email",type:"email",label:"Email",placeholder:"[email protected]",as:Ef.y,valid:!!r.email&&!t.email,touched:r.email,onBlur:()=>i("email",!0)}),(0,D.jsx)(S2,{children:t.email})]}),Z((0,D.jsx)(e7.Button,{type:"submit",variant:"filled",isLoading:o,children:c||"Get my results"}))]})})}})]});case 3:var e;if(!O)return null;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:"rounded-2xl bg-[#ECDFF8] p-6",children:[(0,D.jsx)(aL.x,{variant:"title1",className:"mb-2 font-bold text-black",children:z_(u||"",{savings:(e=O.annualSavings,new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e))})}),(0,D.jsx)("div",{className:"text-[#666666] [&:not(:empty)]:mt-2",children:(0,D.jsx)(zC,{bloks:p})})]}),(0,D.jsx)(zb,{auPairAnnual:O.auPairAnnual,nannyAnnual:O.nannyAnnual}
49),(0,D.jsx)(I2,{initialValues:{phone:"",phoneCode:"",phoneCountry:""},validationSchema:zk,onSubmit:H,children:e=>{let{isSubmitting:t}=e;return(0,D.jsx)(I9,{noValidate:!0,children:(0,D.jsxs)(wW.k,{direction:"column",gap:"m",children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(zt,{name:"phone",id:"ccap-ph",floatingLabel:"Phone Number",placeholder:"+1 555 555 5555",countries:zu,defaultCountry:zc,required:!0}),(0,D.jsx)(zC,{bloks:f})]}),Z((0,D.jsx)(e7.Button,{type:"submit",variant:"filled",isLoading:t,children:m||"Get started"}))]})})}})]});default:return null}})()})})})})};z$.displayName="CostCalculatorSB";var zS=Object.defineProperty,zE=Object.defineProperties,zj=Object.getOwnPropertyDescriptors,zN=Object.getOwnPropertySymbols,zT=Object.prototype.hasOwnProperty,zP=Object.prototype.propertyIsEnumerable,zA=(e,t,r)=>t in e?zS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zO=(e,t)=>{for(var r in t||(t={}))zT.call(t,r)&&zA(e,r,t[r]);if(zN)for(var r of zN(t))zP.call(t,r)&&zA(e,r,t[r]);return e},zR=(e,t)=>zE(e,zj(t)),zD=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"m26.71 18.29-.71-.71a1 1 0 0 0-.7-.29 1 1 0 0 0-.71.29l-7.09 7.1V3a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v21.68l-7.09-7.1a1 1 0 0 0-1.41 0l-.71.71a1 1 0 0 0 0 1.41l9.65 9.66.35.35a1.15 1.15 0 0 0 .33.21.94.94 0 0 0 .76 0 1.15 1.15 0 0 0 .33-.21l.35-.35 9.65-9.66a1 1 0 0 0 0-1.41z"})),zM=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",className:"ef-svg ef-icon rtl-flip"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M30 16.5a1 1 0 0 0-.14-.47.87.87 0 0 0-.15-.24l-10-10a1 1 0 0 0-1.41 0l-.71.71a1 1 0 0 0-.29.7 1 1 0 0 0 .29.71L24.68 15H3a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h21.68l-7.1 7.09a1 1 0 0 0-.29.71 1 1 0 0 0 .29.7l.71.71a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29l10-10a.87.87 0 0 0 .15-.24 1 1 0 0 0 .15-.47z"})),zL=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M31.71 9.29 31 8.58a1 1 0 0 0-.71-.29 1 1 0 0 0-.7.29L16 22.17 2.41 8.59a1 1 0 0 0-1.41 0l-.71.71a1 1 0 0 0 0 1.41l15 15a1 1 0 0 0 .33.21.94.94 0 0 0 .76 0 .72.72 0 0 0 .24-.16l.08-.05.71-.71 14.3-14.3a1 1 0 0 0 0-1.41z"})),zI=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M16 0a16 16 0 1 0 16 16A16 16 0 0 0 16 0zm0 29a13 13 0 1 1 13-13 13 13 0 0 1-13 13z"}),I.createElement("circle",{cx:16,cy:8,r:2}),I.createElement("rect",{x:14.5,y:13,width:3,height:13,rx:1,ry:1})),zF=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M16 0A12 12 0 0 0 4 12c0 9.33 10.87 19.32 11.33 19.74a1 1 0 0 0 1.34 0C17.13 31.32 28 21.33 28 12A12 12 0 0 0 16 0zm0 17a5 5 0 1 1 5-5 5 5 0 0 1-5 5z"})),zB=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"m26.55 15.17-18-12a1 1 0 0 0-1 0A1 1 0 0 0 7 4v24a1 1 0 0 0 .53.88 1 1 0 0 0 1-.05l18-12a1 1 0 0 0 0-1.66z"})),zV=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M20.31 6.32h2.43V2.18A34.52 34.52 0 0 0 19.18 2c-3.53 0-5.95 2.15-5.95 6.11v3.41h-4v4.64h4V28H18V16.16h4l.6-4.64H18V8.57c0-1.34.39-2.25 2.31-2.25z"})),zz=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M29.92 10.23a10.5 10.5 0 0 0-.65-3.4 7.21 7.21 0 0 0-4.1-4.1 10.5 10.5 0 0 0-3.4-.65C20.28 2 19.8 2 16 2s-4.28 0-5.77.08a10.5 10.5 0 0 0-3.4.65 7.21 7.21 0 0 0-4.1 4.1 10.5 10.5 0 0 0-.65 3.4C2 11.72 2 12.2 2 16s0 4.28.08 5.77a10.5 10.5 0 0 0 .65 3.4 7.21 7.21 0 0 0 4.1 4.1 10.5 10.5 0 0 0 3.4.65c1.49.06 2 .08 5.77.08s4.28 0 5.77-.08a10.5 10.5 0 0 0 3.4-.65 7.21 7.21 0 0 0 4.1-4.1 10.5 10.5 0 0 0 .65-3.4C30 20.28 30 19.8 30 16s0-4.28-.08-5.77zM27.4 21.66a7.75 7.75 0 0 1-.49 2.6 4.56 4.56 0 0 1-2.65 2.65 7.75 7.75 0 0 1-2.6.49c-1.48.06-1.92.08-5.66.08s-4.18 0-5.66-.08a7.75 7.75 0 0 1-2.6-.49 4.56 4.56 0 0 1-2.65-2.65 7.75 7.75 0 0 1-.49-2.6c-.06-1.48-.08-1.92-.08-5.66s0-4.18.08-5.66a7.75 7.75 0 0 1 .49-2.6 4.56 4.56 0 0 1 2.65-2.65 7.75 7.75 0 0 1 2.6-.49c1.48-.06 1.92-.08 5.66-.08s4.18 0 5.66.
4908a7.75 7.75 0 0 1 2.6.49 4.56 4.56 0 0 1 2.65 2.65 7.75 7.75 0 0 1 .49 2.6c.06 1.48.08 1.92.08 5.66s-.02 4.18-.08 5.66z"}),I.createElement("path",{d:"M16 8.81A7.19 7.19 0 1 0 23.19 16 7.19 7.19 0 0 0 16 8.81zm0 11.86A4.67 4.67 0 1 1 20.67 16 4.67 4.67 0 0 1 16 20.67zm7.47-13.82a1.68 1.68 0 1 0 1.68 1.68 1.68 1.68 0 0 0-1.68-1.68z"})),zH=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M30.37 8.78a3.74 3.74 0 0 0-2.65-2.65C25.38 5.5 16 5.5 16 5.5s-9.38 0-11.72.63a3.74 3.74 0 0 0-2.65 2.65A38.85 38.85 0 0 0 1 16a38.85 38.85 0 0 0 .63 7.22 3.74 3.74 0 0 0 2.65 2.65c2.34.63 11.72.63 11.72.63s9.38 0 11.72-.63a3.74 3.74 0 0 0 2.65-2.65A38.85 38.85 0 0 0 31 16a38.85 38.85 0 0 0-.63-7.22zM13 20.5v-9l7.79 4.5z"})),zU=e=>I.createElement("svg",zR(zO({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,className:"ef-svg ef-icon",viewBox:"0 0 32 32"},e),{style:zO({fill:"currentColor",width:"var(--icon-size, 1em)",height:"var(--icon-size, 1em)",display:"inline-block"},e.style)}),I.createElement("path",{d:"M5.73 20.71a7.29 7.29 0 0 0 14.58 0v-9.87a6.42 6.42 0 0 0 5.37 2.9h.59v-4A6.41 6.41 0 0 1 20.37 4h-3.44v
4916.76A3.81 3.81 0 0 1 13 24.43 3.72 3.72 0 0 1 13 17h.45v-3.56H13a7.29 7.29 0 0 0-7.27 7.27Z","data-name":"Layer 4"}));let zZ=Math.min,zW=Math.max,zK=Math.round,zq=Math.floor,zG=e=>({x:e,y:e}),zJ={left:"right",right:"left",bottom:"top",top:"bottom"},zY={start:"end",end:"start"};function zX(e,t){return"function"==typeof e?e(t):e}function zQ(e){return e.split("-")[0]}function z0(e){return e.split("-")[1]}function z1(e){return"x"===e?"y":"x"}function z2(e){return"y"===e?"height":"width"}function z3(e){return["top","bottom"].includes(zQ(e))?"y":"x"}function z4(e){return e.replace(/start|end/g,e=>zY[e])}function z6(e){return e.replace(/left|right|bottom|top/g,e=>zJ[e])}function z8(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function z9(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function z5(e,t,r){let o,{reference:i,floating:l}=e,s=z3(t),d=z1(z3(t)),c=z2(d),u=zQ(t),p="y"===s,f=i.x+i.width/2-l.width/2,m=i.y+i.height/2-l.height/2,h=i[c]/2-l[c]/2;switch(u){case"top":o={x:f,y:i.y-l.height};break;case"bottom":o={x:f,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:m};break;case"left":o={x:i.x-l.width,y:m};break;default:o={x:i.x,y:i.y}}switch(z0(t)){case"start":o[d]-=h*(r&&p?-1:1);break;case"end":o[d]+=h*(r&&p?-1:1)}return o}let z7=async(e,t,r)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:s}=r,d=l.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:f}=z5(u,o,c),m=o,h={},g=0;for(let r=0;r<d.length;r++){let{name:l,fn:v}=d[r],{x:y,y:b,data:x,reset:w}=await v({x:p,y:f,initialPlacement:o,placement:m,strategy:i,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});if(p=null!=y?y:p,f=null!=b?b:f,h={...h,[l]:{...h[l],...x}},w&&g<=50){g++,"object"==typeof w&&(w.placement&&(m=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:p,y:f}=z5(u,m,c)),r=-1;continue}}return{x:p,y:f,placement:m,strategy:i,middlewareData:h}};async function He(e,t){var r;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:s,elements:d,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:m=!1,padding:h=0}=zX(t,e),g=z8(h),v=d[m?"floating"===f?"reference":"floating":f],y=z9(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(v)))||r?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(d.floating)),boundary:u,rootBoundary:p,strategy:c})),b="floating"===f?{...s.floating,x:o,y:i}:s.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d.floating)),w=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},k=z9(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:x,strategy:c}):b);return{top:(y.top-k.top+g.top)/w.y,bottom:(k.bottom-y.bottom+g.bottom)/w.y,left:(y.left-k.left+g.left)/w.x,right:(k.right-y.right+g.right)/w.x}}let Ht=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:o,placement:i,rects:l,platform:s,elements:d,middlewareData:c}=t,{element:u,padding:p=0}=zX(e,t)||{};if(null==u)return{};let f=z8(p),m={x:r,y:o},h=z1(z3(i)),g=z2(h),v=await s.getDimensions(u),y="y"===h,b=y?"clientHeight":"clientWidth",x=l.reference[g]+l.reference[h]-m[h]-l.floating[g],w=m[h]-l.reference[h],k=await (null==s.getOffsetParent?void 0:s.getOffsetParent(u)),_=k?k[b]:0;_&&await (null==s.isElement?void 0:s.isElement(k))||(_=d.floating[b]||l.floating[g]);let C=_/2-v[g]/2-1,$=zZ(f[y?"top":"left"],C),S=zZ(f[y?"bottom":"right"],C),E=_-v[g]-S,j=_/2-v[g]/2+(x/2-w/2),N=zW($,zZ(j,E)),T=!c.arrow&&null!=z0(i)&&j!=N&&l.reference[g]/2-(j<$?$:S)-v[g]/2<0,P=T?j<$?j-$:j-E:0;return{[h]:m[h]+P,data:{[h]:N,centerOffset:j-N-P,...T&&{alignmentOffset:P}},reset:T}}}),Hn=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o,i,l,s;let{placement:d,middlewareData:c,rects:u,initialPlacement:p,platform:f,elements:m}=t,{mainAxis:h=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:x=!0,...w}=zX(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let k=zQ(d),_=zQ(p)===p,C=await (null==f.isRTL?void 0:f.isRTL(m.floating)),$=v||(_||!x?[z6(p)]:function(e){let t=z6(e);return[z4(e),t,z4(t)]}(p));v||"none"===b||$.push(...function(e,t,r,o){let i=z0(e),l=function(e,t,r){let o=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:o;return t?o:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(zQ(e),"start"===r,o);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(z4)))),l}(p,x,b,C));let S=[p,...$],E=await He(t,w),j=[],N=(null==(o=c.flip)?void 0:o.overflows)||[];if(h&&j.push(E[k]),g){let e=function(e,t,r){void 0===r&&(r=!1);let o=z0(e),i=z1(z3(e)),l=z2(i),s="x"===i?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=z6(s)),[s,z6(s)]}(d,u,C);j.push(E[e[0]],E[e[1]])}if(N=[...N,{placement:d,overflows:j}],!j.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:N},reset:{placement:t}};let r=null==(l=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>
49e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!r)switch(y){case"bestFit":{let e=null==(s=N.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=p}if(d!==r)return{reset:{placement:r}}}return{}}}};async function Hr(e,t){let{placement:r,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=zQ(r),d=z0(r),c="y"===z3(r),u=["left","top"].includes(s)?-1:1,p=l&&c?-1:1,f=zX(t,e),{mainAxis:m,crossAxis:h,alignmentAxis:g}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return d&&"number"==typeof g&&(h="end"===d?-1*g:g),c?{x:h*p,y:m*u}:{x:m*u,y:h*p}}let Ha=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:r,y:o}=t,i=await Hr(t,e);return{x:r+i.x,y:o+i.y,data:i}}}},Ho=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:o,placement:i}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:d={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=zX(e,t),u={x:r,y:o},p=await He(t,c),f=z3(zQ(i)),m=z1(f),h=u[m],g=u[f];if(l){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=h+p[e],o=h-p[t];h=zW(r,zZ(h,o))}if(s){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+p[e],o=g-p[t];g=zW(r,zZ(g,o))}let v=d.fn({...t,[m]:h,[f]:g});return{...v,data:{x:v.x-r,y:v.y-o}}}}};function Hi(e){return Hd(e)?(e.nodeName||"").toLowerCase():"#document"}function Hl(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hs(e){var t;return null==(t=(Hd(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Hd(e){return e instanceof Node||e instanceof Hl(e).Node}function Hc(e){return e instanceof Element||e instanceof Hl(e).Element}function Hu(e){return e instanceof HTMLElement||e instanceof Hl(e).HTMLElement}function Hp(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Hl(e).ShadowRoot)}function Hf(e){let{overflow:t,overflowX:r,overflowY:o,display:i}=Hv(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(i)}function Hm(e){let t=Hh(),r=Hv(e);return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function Hh(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function Hg(e){return["html","body","#document"].includes(Hi(e))}function Hv(e){return Hl(e).getComputedStyle(e)}function Hy(e){return Hc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Hb(e){if("html"===Hi(e))return e;let t=e.assignedSlot||e.parentNode||Hp(e)&&e.host||Hs(e);return Hp(t)?t.host:t}function Hx(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=Hb(t);return Hg(r)?t.ownerDocument?t.ownerDocument.body:t.body:Hu(r)&&Hf(r)?r:e(r)}(e),l=i===(null==(o=e.ownerDocument)?void 0:o.body),s=Hl(i);return l?t.concat(s,s.visualViewport||[],Hf(i)?i:[],s.frameElement&&r?Hx(s.frameElement):[]):t.concat(i,Hx(i,[],r))}function Hw(e){let t=Hv(e),r=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=Hu(e),l=i?e.offsetWidth:r,s=i?e.offsetHeight:o,d=zK(r)!==l||zK(o)!==s;return d&&(r=l,o=s),{width:r,height:o,$:d}}function Hk(e){return Hc(e)?e:e.contextElement}function H_(e){let t=Hk(e);if(!Hu(t))return zG(1);let r=t.getBoundingClientRect(),{width:o,height:i,$:l}=Hw(t),s=(l?zK(r.width):r.width)/o,d=(l?zK(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),d&&Number.isFinite(d)||(d=1),{x:s,y:d}}let HC=zG(0);function H$(e){let t=Hl(e);return Hh()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:HC}function HS(e,t,r,o){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),s=Hk(e),d=zG(1);t&&(o?Hc(o)&&(d=H_(o)):d=H_(e));let c=(void 0===(i=r)&&(i=!1),o&&(!i||o===Hl(s))&&i)?H$(s):zG(0),u=(l.left+c.x)/d.x,p=(l.top+c.y)/d.y,f=l.width/d.x,m=l.height/d.y;
49if(s){let e=Hl(s),t=o&&Hc(o)?Hl(o):o,r=e.frameElement;for(;r&&o&&t!==e;){let e=H_(r),t=r.getBoundingClientRect(),o=Hv(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,l=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,p*=e.y,f*=e.x,m*=e.y,u+=i,p+=l,r=Hl(r).frameElement}}return z9({width:f,height:m,x:u,y:p})}function HE(e){return HS(Hs(e)).left+Hy(e).scrollLeft}function Hj(e,t,r){let o;if("viewport"===t)o=function(e,t){let r=Hl(e),o=Hs(e),i=r.visualViewport,l=o.clientWidth,s=o.clientHeight,d=0,c=0;if(i){l=i.width,s=i.height;let e=Hh();(!e||e&&"fixed"===t)&&(d=i.offsetLeft,c=i.offsetTop)}return{width:l,height:s,x:d,y:c}}(e,r);else if("document"===t)o=function(e){let t=Hs(e),r=Hy(e),o=e.ownerDocument.body,i=zW(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=zW(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+HE(e),d=-r.scrollTop;return"rtl"===Hv(o).direction&&(s+=zW(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:s,y:d}}(Hs(e));else if(Hc(t))o=function(e,t){let r=HS(e,!0,"fixed"===t),o=r.top+e.clientTop,i=r.left+e.clientLeft,l=Hu(e)?H_(e):zG(1),s=e.clientWidth*l.x;return{width:s,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,r);else{let r=H$(e);o={...t,x:t.x-r.x,y:t.y-r.y}}return z9(o)}function HN(e,t){return Hu(e)&&"fixed"!==Hv(e).position?t?t(e):e.offsetParent:null}function HT(e,t){let r=Hl(e);if(!Hu(e))return r;let o=HN(e,t);for(;o&&["table","td","th"].includes(Hi(o))&&"static"===Hv(o).position;)o=HN(o,t);return o&&("html"===Hi(o)||"body"===Hi(o)&&"static"===Hv(o).position&&!Hm(o))?r:o||function(e){let t=Hb(e);for(;Hu(t)&&!Hg(t);){if(Hm(t))return t;t=Hb(t)}return null}(e)||r}let HP=async function(e){let{reference:t,floating:r,strategy:o}=e,i=this.getOffsetParent||HT,l=this.getDimensions;return{reference:function(e,t,r){let o=Hu(t),i=Hs(t),l="fixed"===r,s=HS(e,!0,l,t),d={scrollLeft:0,scrollTop:0},c=zG(0);if(o||!o&&!l){if(("body"!==Hi(t)||Hf(i))&&(d=Hy(t)),o){let e=HS(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=HE(i))}return{x:s.left+d.scrollLeft-c.x,y:s.top+d.scrollTop-c.y,width:s.width,height:s.height}}(t,await i(r),o),floating:{x:0,y:0,...await l(r)}}},HA={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:o}=e,i=Hu(r),l=Hs(r);if(r===l)return t;let s={scrollLeft:0,scrollTop:0},d=zG(1),c=zG(0);if((i||!i&&"fixed"!==o)&&(("body"!==Hi(r)||Hf(l))&&(s=Hy(r)),Hu(r))){let e=HS(r);d=H_(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-s.scrollLeft*d.x+c.x,y:t.y*d.y-s.scrollTop*d.y+c.y}},getDocumentElement:Hs,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===r?function(e,t){let r=t.get(e);if(r)return r;let o=Hx(e,[],!1).filter(e=>Hc(e)&&"body"!==Hi(e)),i=null,l="fixed"===Hv(e).position,s=l?Hb(e):e;for(;Hc(s)&&!Hg(s);){let t=Hv(s),r=Hm(s);r||"fixed"!==t.position||(i=null),(l?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||Hf(s)&&!r&&function e(t,r){let o=Hb(t);return!(o===r||!Hc(o)||Hg(o))&&("fixed"===Hv(o).position||e(o,r))}(e,s))?o=o.filter(e=>e!==s):i=t,s=Hb(s)}return t.set(e,o),o}(t,this._c):[].concat(r),o],s=l[0],d=l.reduce((e,r)=>{let o=Hj(t,r,i);return e.top=zW(o.top,e.top),e.right=zZ(o.right,e.right),e.bottom=zZ(o.bottom,e.bottom),e.left=zW(o.left,e.left),e},Hj(t,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},getOffsetParent:HT,getElementRects:HP,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Hw(e)},getScale:H_,isElement:Hc,isRTL:function(e){return"rtl"===Hv(e).direction}},HO=(e,t,r)=>{let o=new Map,i={platform:HA,...r},l={...i.platform,_c:o};return z7(e,t,{...i,platform:l})};var HR=r(94184),HD=r(83454);let HM={core:!1,base:!1};function HL({css:e,id:t="react-tooltip-base-styles",type:r="base",ref:o}){var i,l;if(!e||"undefined"==typeof document||HM[r]||"core"===r&&void 0!==HD&&(null===(i=null==HD?void 0:HD.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||"base"!==r&&void 0!==HD&&(null===(l=null==HD?void 0:HD.env)||void 0===l?void 0:l.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===r&&(t="react-tooltip-core-styles"),o||(o={});let{insertAt:s}=o;if(document.getElementById(t))return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);let d=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css","top"===s&&d.firstChild?d.insertBefore(c,d.firstChild):d.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),HM[r]=!0}let HI=(e,t,r)=>{let o=null;return function(...i){let l=()=>{o=null,r||e.apply(this,i)};r&&!o&&(e.apply(this,i),o=setTimeout(l,t)),r||(o&&clearTimeout(o),o=setTimeout(l,t))}},HF={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},HB=(0,I.createContext)({getTooltipData:()=>HF});function HV(e="DEFAULT_TOOLTIP_ID"){return(0,I.useContext)(HB).getTooltipData(e)}let Hz="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,HH=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{let r=t.getPropertyValue(e);return"auto"===r||"scroll"===r})},HU=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(HH(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},HZ=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:o="top",offset:i=10,strategy:l="absolute",middlewares:s=[Ha(Number(i)),Hn(),Ho({padding:5})],border:d})=>e&&null!==t?r?(s.push(Ht({element:r,padding:5})),HO(e,t,{placement:o,strategy:l,middleware:s}).then(({x:e,y:t,placement:r,middlewareData:o})=>{var i,l;let s={left:`${e}px`,top:`${t}px`,border:d},{x:c,y:u}=null!==(i=o.arrow)&&void 0!==i?i:{x:0,y:0}
49,p=null!==(l=({top:"bottom",right:"left",bottom:"top",left:"right"})[r.split("-")[0]])&&void 0!==l?l:"bottom",f=0;if(d){let e=`${d}`.match(/(\d+)px/);f=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=c?`${c}px`:"",top:null!=u?`${u}px`:"",right:"",bottom:"",...d&&{borderBottom:d,borderRight:d},[p]:`-${4+f}px`},place:r}})):HO(e,t,{placement:"bottom",strategy:l,middleware:s}).then(({x:e,y:t,placement:r})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:r})):{tooltipStyles:{},tooltipArrowStyles:{},place:o};var HW={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};let HK=({id:e,className:t,classNameArrow:r,variant:o="dark",anchorId:i,anchorSelect:l,place:s="top",offset:d=10,events:c=["hover"],openOnClick:u=!1,positionStrategy:p="absolute",middlewares:f,wrapper:m,delayShow:h=0,delayHide:g=0,float:v=!1,hidden:y=!1,noArrow:b=!1,
49clickable:x=!1,closeOnEsc:w=!1,closeOnScroll:k=!1,closeOnResize:_=!1,style:C,position:$,afterShow:S,afterHide:E,content:j,contentWrapperRef:N,isOpen:T,setIsOpen:P,activeAnchor:A,setActiveAnchor:O,border:R,opacity:D,arrowColor:M})=>{let L=(0,I.useRef)(null),F=(0,I.useRef)(null),B=(0,I.useRef)(null),V=(0,I.useRef)(null),[z,H]=(0,I.useState)(s),[U,Z]=(0,I.useState)({}),[W,K]=(0,I.useState)({}),[q,G]=(0,I.useState)(!1),[J,Y]=(0,I.useState)(!1),X=(0,I.useRef)(!1),Q=(0,I.useRef)(null),{anchorRefs:ee,setActiveAnchor:et}=HV(e),en=(0,I.useRef)(!1),[er,ea]=(0,I.useState)([]),eo=(0,I.useRef)(!1),ei=u||c.includes("click");Hz(()=>(eo.current=!0,()=>{eo.current=!1}),[]),(0,I.useEffect)(()=>{if(!q){let e=setTimeout(()=>{Y(!1)},150);return()=>{clearTimeout(e)}}return()=>null},[q]);let el=e=>{eo.current&&(e&&Y(!0),setTimeout(()=>{eo.current&&(null==P||P(e),void 0===T&&G(e))},10))};(0,I.useEffect)(()=>{if(void 0===T)return()=>null;T&&Y(!0);let e=setTimeout(()=>{G(T)},10);return()=>{clearTimeout(e)}},[T]),(0,I.useEffect)(()=>{q!==X.current&&(X.current=q,q?null==S||S():null==E||E())},[q]);let es=(e=g)=>{V.current&&clearTimeout(V.current),V.current=setTimeout(()=>{en.current||el(!1)},e)},ed=e=>{var t;if(!e)return;let r=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==r?void 0:r.isConnected))return O(null),void et({current:null});h?(B.current&&clearTimeout(B.current),B.current=setTimeout(()=>{el(!0)},h)):el(!0),O(r),et({current:r}),V.current&&clearTimeout(V.current)},ec=()=>{x?es(g||100):g?es():el(!1),B.current&&clearTimeout(B.current)},eu=({x:e,y:t})=>{HZ({place:s,offset:d,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:L.current,tooltipArrowReference:F.current,strategy:p,middlewares:f,border:R}).then(e=>{Object.keys(e.tooltipStyles).length&&Z(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&K(e.tooltipArrowStyles),H(e.place)})},ep=e=>{if(!e)return;let t={x:e.clientX,y:e.clientY};eu(t),Q.current=t},ef=e=>{ed(e),g&&es()},em=e=>{var t;[document.querySelector(`[id='${i}']`),...er].some(t=>null==t?void 0:t.contains(e.target))||(null===(t=L.current)||void 0===t?void 0:t.contains(e.target))||(el(!1),B.current&&clearTimeout(B.current))},eh=HI(ed,50,!0),eg=HI(ec,50,!0),ev=(0,I.useCallback)(()=>{$?eu($):v?Q.current&&eu(Q.current):HZ({place:s,offset:d,elementReference:A,tooltipReference:L.current,tooltipArrowReference:F.current,strategy:p,middlewares:f,border:R}).then(e=>{eo.current&&(Object.keys(e.tooltipStyles).length&&Z(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&K(e.tooltipArrowStyles),H(e.place))})},[q,A,j,C,s,d,p,$,v]);(0,I.useEffect)(()=>{var e,t;let r=new Set(ee);er.forEach(e=>{r.add({current:e})});let o=document.querySelector(`[id='${i}']`);o&&r.add({current:o});let l=()=>{el(!1)},s=HU(A),d=HU(L.current);k&&(window.addEventListener("scroll",l),null==s||s.addEventListener("scroll",l),null==d||d.addEventListener("scroll",l));let c=null;_?window.addEventListener("resize",l):A&&L.current&&(c=function(e,t,r,o){let i;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,p=Hk(e),f=l||s?[...p?Hx(p):[],...Hx(t)]:[];f.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)});let m=p&&c?function(e,t){let r,o=null,i=Hs(e);function l(){clearTimeout(r),o&&o.disconnect(),o=null}return function s(d,c){void 0===d&&(d=!1),void 0===c&&(c=1),l();let{left:u,top:p,width:f,height:m}=e.getBoundingClientRect();if(d||t(),!f||!m)return;let h=zq(p),g=zq(i.clientWidth-(u+f)),v={rootMargin:-h+"px "+-g+"px "+-zq(i.clientHeight-(p+m))+"px "+-zq(u)+"px",threshold:zW(0,zZ(1,c))||1},y=!0;function b(e){let t=e[0].intersectionRatio;if(t!==c){if(!y)return s();t?s(!1,t):r=setTimeout(()=>{s(!1,1e-7)},100)}y=!1}try{o=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(b,v)}o.observe(e)}(!0),l}(p,r):null,h=-1,g=null;d&&(g=new ResizeObserver(e=>{let[o]=e;o&&o.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{g&&g.observe(t)})),r()}),p&&!u&&g.observe(p),g.observe(t));let v=u?HS(e):null;return u&&function t(){let o=HS(e);v&&(o.x!==v.x||o.y!==v.y||o.width!==v.width||o.height!==v.height)&&r(),v=o,i=requestAnimationFrame(t)}(),r(),()=>
49{f.forEach(e=>{l&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)}),m&&m(),g&&g.disconnect(),g=null,u&&cancelAnimationFrame(i)}}(A,L.current,ev,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));let u=e=>{"Escape"===e.key&&el(!1)};w&&window.addEventListener("keydown",u);let p=[];ei?(window.addEventListener("click",em),p.push({event:"click",listener:ef})):(p.push({event:"mouseenter",listener:eh},{event:"mouseleave",listener:eg},{event:"focus",listener:eh},{event:"blur",listener:eg}),v&&p.push({event:"mousemove",listener:ep}));let f=()=>{en.current=!0},m=()=>{en.current=!1,ec()};return x&&!ei&&(null===(e=L.current)||void 0===e||e.addEventListener("mouseenter",f),null===(t=L.current)||void 0===t||t.addEventListener("mouseleave",m)),p.forEach(({event:e,listener:t})=>{r.forEach(r=>{var o;null===(o=r.current)||void 0===o||o.addEventListener(e,t)})}),()=>{var e,t;k&&(window.removeEventListener("scroll",l),null==s||s.removeEventListener("scroll",l),null==d||d.removeEventListener("scroll",l)),_?window.removeEventListener("resize",l):null==c||c(),ei&&window.removeEventListener("click",em),w&&window.removeEventListener("keydown",u),x&&!ei&&(null===(e=L.current)||void 0===e||e.removeEventListener("mouseenter",f),null===(t=L.current)||void 0===t||t.removeEventListener("mouseleave",m)),p.forEach(({event:e,listener:t})=>{r.forEach(r=>{var o;null===(o=r.current)||void 0===o||o.removeEventListener(e,t)})})}},[A,ev,J,ee,er,w,c]),(0,I.useEffect)(()=>{let t=null!=l?l:"";!t&&e&&(t=`[data-tooltip-id='${e}']`);let r=new MutationObserver(r=>{let o=[];r.forEach(r=>{if("attributes"===r.type&&"data-tooltip-id"===r.attributeName&&r.target.getAttribute("data-tooltip-id")===e&&o.push(r.target),"childList"===r.type&&(A&&[...r.removedNodes].some(e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,A))&&(Y(!1),el(!1),O(null),B.current&&clearTimeout(B.current),V.current&&clearTimeout(V.current),!0)}),t))try{let e=[...r.addedNodes].filter(e=>1===e.nodeType);o.push(...e.filter(e=>e.matches(t))),o.push(...e.flatMap(e=>[...e.querySelectorAll(t)]))}catch(e){}}),o.length&&ea(e=>[...e,...o])});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{r.disconnect()}},[e,l,A]),(0,I.useEffect)(()=>{ev()},[ev]),(0,I.useEffect)(()=>{if(!(null==N?void 0:N.current))return()=>null;let e=new ResizeObserver(()=>{ev()});return e.observe(N.current),()=>{e.disconnect()}},[j,null==N?void 0:N.current]),(0,I.useEffect)(()=>{var e;let t=document.querySelector(`[id='${i}']`),r=[...er,t];A&&r.includes(A)||O(null!==(e=er[0])&&void 0!==e?e:t)},[i,er,A]),(0,I.useEffect)(()=>()=>{B.current&&clearTimeout(B.current),V.current&&clearTimeout(V.current)},[]),(0,I.useEffect)(()=>{let t=l;if(!t&&e&&(t=`[data-tooltip-id='${e}']`),t)try{let e=Array.from(document.querySelectorAll(t));ea(e)}catch(e){ea([])}},[e,l]);let ey=!y&&j&&q&&Object.keys(U).length>0;return J?I.createElement(m,{id:e,role:"tooltip",className:HR("react-tooltip","core-styles-module_tooltip__3vRRp",HW.tooltip,HW[o],t,`react-tooltip__place-${z}`,{"react-tooltip__show":ey,"core-styles-module_show__Nt9eE":ey,"core-styles-module_fixed__pcSol":"fixed"===p,"core-styles-module_clickable__ZuTTB":x}),style:{...C,...U,opacity:void 0!==D&&ey?D:void 0},ref:L},j,I.createElement(m,{className:HR("react-tooltip-arrow","core-styles-module_arrow__cvMwQ",HW.arrow,r,{"core-styles-module_noArrow__xock6":b}),style:{...W,background:M?`linear-gradient(to right bottom, transparent 50%, ${M} 50%)`:void 0},ref:F})):null},Hq=({content:e})=>I.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),HG=({id:e,anchorId:t,anchorSelect:r,content:o,html:i,render:l,className:s,classNameArrow:d,variant:c="dark",place:u="top",offset:p=10,wrapper:f="div",children:m=null,events:h=["hover"],openOnClick:g=!1,positionStrategy:v="absolute",middlewares:y,delayShow:b=0,delayHide:x=0,float:w=!1,hidden:k=!1,noArrow:_=!1,clickable:C=!1,closeOnEsc:$=!1,closeOnScroll:S=!1,closeOnResize:E=!1,style:j,position:N,isOpen:T,disableStyleInjection:P=!1,border:A,opacity:O,arrowColor:R,setIsOpen:D,afterShow:M,afterHide:L})=>{let[F,B]=(0,I.useState)(o),[V,z]=(0,I.useState)(i),[H,U]=(0,I.useState)(u),[Z,W]=(0,I.useState)(c),[
49K,q]=(0,I.useState)(p),[G,J]=(0,I.useState)(b),[Y,X]=(0,I.useState)(x),[Q,ee]=(0,I.useState)(w),[et,en]=(0,I.useState)(k),[er,ea]=(0,I.useState)(f),[eo,ei]=(0,I.useState)(h),[el,es]=(0,I.useState)(v),[ed,ec]=(0,I.useState)(null),eu=(0,I.useRef)(P),{anchorRefs:ep,activeAnchor:ef}=HV(e),em=e=>null==e?void 0:e.getAttributeNames().reduce((t,r)=>{var o;return r.startsWith("data-tooltip-")&&(t[r.replace(/^data-tooltip-/,"")]=null!==(o=null==e?void 0:e.getAttribute(r))&&void 0!==o?o:null),t},{}),eh=e=>{let t={place:e=>{U(null!=e?e:u)},content:e=>{B(null!=e?e:o)},html:e=>{z(null!=e?e:i)},variant:e=>{W(null!=e?e:c)},offset:e=>{q(null===e?p:Number(e))},wrapper:e=>{ea(null!=e?e:f)},events:e=>{let t=null==e?void 0:e.split(" ");ei(null!=t?t:h)},"position-strategy":e=>{es(null!=e?e:v)},"delay-show":e=>{J(null===e?b:Number(e))},"delay-hide":e=>{X(null===e?x:Number(e))},float:e=>{ee(null===e?w:"true"===e)},hidden:e=>{en(null===e?k:"true"===e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,r])=>{var o;null===(o=t[e])||void 0===o||o.call(t,r)})};(0,I.useEffect)(()=>{B(o)},[o]),(0,I.useEffect)(()=>{z(i)},[i]),(0,I.useEffect)(()=>{U(u)},[u]),(0,I.useEffect)(()=>{W(c)},[c]),(0,I.useEffect)(()=>{q(p)},[p]),(0,I.useEffect)(()=>{J(b)},[b]),(0,I.useEffect)(()=>{X(x)},[x]),(0,I.useEffect)(()=>{ee(w)},[w]),(0,I.useEffect)(()=>{en(k)},[k]),(0,I.useEffect)(()=>{es(v)},[v]),(0,I.useEffect)(()=>{eu.current!==P&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[P]),(0,I.useEffect)(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===P,disableBase:P}}))},[]),(0,I.useEffect)(()=>{var o;let i=new Set(ep),l=r;if(!l&&e&&(l=`[data-tooltip-id='${e}']`),l)try{document.querySelectorAll(l).forEach(e=>{i.add({current:e})})}catch(e){console.warn(`[react-tooltip] "${l}" is not a valid CSS selector`)}let s=document.querySelector(`[id='${t}']`);if(s&&i.add({current:s}),!i.size)return()=>null;let d=null!==(o=null!=ed?ed:s)&&void 0!==o?o:ef.current,c=new MutationObserver(e=>{e.forEach(e=>{var t;d&&"attributes"===e.type&&(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-"))&&eh(em(d))})});return d&&(eh(em(d)),c.observe(d,{attributes:!0,childList:!1,subtree:!1})),()=>{c.disconnect()}},[ep,ef,ed,t,r]),(0,I.useEffect)(()=>{(null==j?void 0:j.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),A&&!CSS.supports("border",`${A}`)&&console.warn(`[react-tooltip] "${A}" is not a valid \`border\`.`),(null==j?void 0:j.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),O&&!CSS.supports("opacity",`${O}`)&&console.warn(`[react-tooltip] "${O}" is not a valid \`opacity\`.`)},[]);let eg=m,ev=(0,I.useRef)(null);if(l){let e=l({content:null!=F?F:null,activeAnchor:ed});eg=e?I.createElement("div",{ref:ev,className:"react-tooltip-content-wrapper"},e):null}else F&&(eg=F);V&&(eg=I.createElement(Hq,{content:V}));let ey={id:e,anchorId:t,anchorSelect:r,className:s,classNameArrow:d,content:eg,contentWrapperRef:ev,place:H,variant:Z,offset:K,wrapper:er,events:eo,openOnClick:g,positionStrategy:el,middlewares:y,delayShow:G,delayHide:Y,float:Q,hidden:et,noArrow:_,clickable:C,closeOnEsc:$,closeOnScroll:S,closeOnResize:E,style:j,position:N,isOpen:T,border:A,opacity:O,arrowColor:R,setIsOpen:D,afterShow:M,afterHide:L,activeAnchor:ed,setActiveAnchor:e=>ec(e)};return I.createElement(HK,{...ey})};"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||HL({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),e.detail.disableBase||HL({css:` 50.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}
50[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});var HJ=()=>{let[e,t]=(0,I.useState)(!1);return(0,I.useEffect)(()=>{t(!0)},[]),{isClient:e,window:e?window:{},document:e?document:{}}};let HY=e=>{var t;let{isClient:r}=HJ(),{blok:o}=e,{content:i,id:l}=o,[s,d]=(0,I.useState)(!1),c="info-tooltip-toucharea-".concat(l),u="info-tooltip-".concat(l),p="info_circle_outlined_icon",f=r&&(null===(t=document)||void 0===t?void 0:t.getElementById("tooltip-container"));return(0,I.useEffect)(()=>{let e=e=>{[c,u,p].includes(e.target.id)||d(!1)};return document.addEventListener("touchend",e),()=>{document.removeEventListener("touchend",e)}},[]),(0,I.useEffect)(()=>{},[]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{className:"relative",children:[(0,D.jsx)("div",{id:c,className:(0,vP.W)("absolute left-1/2 top-1/2 z-[1] h-10 max-h-10 min-h-10 w-10 min-w-10 max-w-10 -translate-x-1/2 -translate-y-1/2","info-tooltip"),onTouchEnd:()=>d(e=>!e),onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),...(0,ha.LF)(o)}),(0,D.jsx)(zI,{className:"relative !text-[#acacac] !outline-none",color:"#ACACAC",id:p,"data-tooltip-id":u})]}),r&&f&&(0,eD.createPortal)((0,D.jsx)(HG,{id:u,isOpen:s||void 0,opacity:1,style:{padding:"1.5rem",borderRadius:"0.375rem",maxWidth:"250px",zIndex:1e4,backgroundColor:"white"},className:"brightness-90",children:null==i?void 0:i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))},"".concat(u,"-").concat(s)),f)]})};HY.displayName="InfoTooltipSB";var HX=r(16476);let HQ=/^(https?:\/\/|tel:|mailto:|ftp:|file:|#)/;function H0(e){Array.isArray(null==e?void 0:e.marks)&&e.marks.forEach(e=>{var t,r;if((null==e?void 0:e.type)==="link"&&(null==e?void 0:null===(t=e.attrs)||void 0===t?void 0:t.href)){let t=HQ.test(e.attrs.href),o=(null==e?void 0:null===(r=e.attrs)||void 0===r?void 0:r.linktype)==="email";t||o||(e.attrs.href=(0,xL.I)(e.attrs.href),HX.yv&&(e.attrs.href=function(e){let t=function(e){let t=null==e?void 0:e.replace(/^\//,""),r=null==t?void 0:t.substring(0,t.indexOf("/"));if(r&&/^[a-z]{2}-[a-z]{2}$/i.test(r))return r}(e);return t?e.replace("/".concat(t),""):e}(e.attrs.href)))}}),Array.isArray(null==e?void 0:e.content)?e.content.forEach(H0):"object"==typeof(null==e?void 0:e.content)&&H0(e.content)}let H1=e=>(0,D.jsx)(HY,{blok:e}),H2=e=>{var t;return H0(null==e?void 0:null===(t=e.blok)||void 0===t?void 0:t.content),(0,D.jsx)(vx,{...e,resolvers:{blokResolvers:{"info-tooltip":H1}}})};var H3=r(50477),H4=r.n(H3);let H6=e=>{var t,r;let{blok:o}=e,{front_image:i,front_title:l,back_content:s}=o,[d,c]=I.useState(!1);return(0,D.jsxs)("div",{className:(0,vP.W)(H4().card,d?H4().flipped:""),onClick:e=>{e.stopPropagation(),c(!0)},children:[(0,D.jsx)("div",{className:H4().cardFront,children:(0,D.jsxs)("div",{className:H4().cardFrontContentWrapper,children:[(null===(r=i[0])||void 0===r?void 0:null===(t=r.image)||void 0===t?void 0:t.filename)&&(0,D.jsx)(iV,{className:H4().frontImage,src:i[0].image.filename,alt:i[0].image.filename}),(0,D.jsx)("div",{className:H4().frontContent,children:(0,D.jsxs)(wW.k,{gap:"m",align:"center",children:[(0,D.jsx)(aL.x,{className:(0,F.cn)(H4().ctaText,"text-mobile-header-5 md:text-mobile-header-4 lg:text-desktop-header-3"),children:l}),(0,D.jsx)(zM,{fontSize:"1.5rem",className:H4().ctaArrow})]})})]})}),(0,D.jsx)("div",{className:H4().cardBack,children:(0,D.jsx)("div",{className:H4().backContentWrapper,children:null==s?void 0:s.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})]})};H6.displayName="FlippableTeaserCard";var H8=r(76403),H9=r.n(H8);let H5=e=>{let{blok:t}=e,{design:r,variant:o,...i}=t,l=(0,h5.mi)({design:r}),s=(0,h7.N)(null==l?void 0:l.spacing),d=Array.from({length:+o},(e,t)=>"item_".concat(t+1));return(0,D.jsx)("div",{className:H9().outerContainer,children:(0,D.jsx)("div",{className:(0,vP.W)(H9().innerContainer,s),children:(0,D.jsx)("div",{className:(0,vP.W)(H9().contentWrapper,H9()["layout".concat(o,"Content")]),children:d.map(e=>{let r=i[e],o=r.length>0;return(0,D.jsx)("div",{className:(0,vP.W)(H9()[e],o?"":H9().placeholder),children:o?r.map(t=>"sb-image"===t.component?(0,D.jsx)(yx,{className:H9().heroGridImage,blok:t,sizes:"25vw",width:500},"".concat(t._uid,"-").concat(e,"-image")):(0,D.jsx)(ha.Xj,{blok:t},"".concat(t._uid,"-").concat(e,"-component"))):(0,D.jsx)("span",{children:null==e?void 0:e.replace("item_","Item ")})},"".concat(t._uid,"-").concat(e,"-container"))})})})})};H5.displayName="HeroGridSB";var H7=r(14011),Ue=r.n(H7);let Ut=e=>{let{blok:t}=e,{top_text:r,mid_text:o,bottom_text:i,design:l}=t,s=(0,h5.mi)({design:l}),d=(0,h7.N)(null==s?void 0:s.spacing),c=(0,vP.W)(Ue().container,d);return(0,D.jsxs)("div",{...(0,ha.LF)(t),className:c,children:[(0,D.jsx)("span",{className:Ue().topText,children:r}),(0,D.jsx)("span",{className:Ue().midText,children:o}),(0,D.jsx)("span",{className:Ue().bottomText,children:i})]})};function Un(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"transparent";return(0,hr.z$)(e,{preferredMode:"light"})||t}Ut.displayName="HeroGridContentCardSB";let Ur=e=>{let{blok:t}=e,{image:r,name:o,details:i,tags:l,popupContent:s,design:d}=t,c=(0,h5.mi)({design:d}),u=(0,h5.qm)(c),p=(0,hr.oQ)({bpTheme:null==c?void 0:c.theme,bpMono:null==c?void 0:c.mono}),f={backgroundColor:Un(null==u?void 0:u.background_color,"#f7f7f7")},m=(0,D.jsxs)("div",{className:(0,vP.Z)("flex h-full min-w-full max-w-[328px] flex-col overflow-hidden rounded-t-3xl text-white",p,{"cursor-pointer":s&&s.length>0}),children:[(0,D.jsx)(yw,{className:"relative z-[1] h-full max-h-[311px] min-h-[311px] w-full object-cover md:max-h-[354px] md:min-
50h-[374px]",src:r.filename,alt:r.alt,sizes:"(min-width: 1024px) 25vw, 80vw"}),(0,D.jsxs)("div",{className:"relative z-[2] mt-[-2.875rem] flex flex-1 flex-col justify-between gap-6 rounded-t-3xl p-6 text-black",style:f,children:[(0,D.jsxs)("div",{className:"flex flex-col",children:[(0,D.jsx)("span",{className:"text-left text-2xl font-medium leading-8 tracking-normal md:text-[32px] md:font-normal md:leading-10",children:o}),(0,D.jsx)("span",{className:"text-left text-base font-normal leading-6 tracking-normal md:text-sm md:font-[450] md:leading-4",children:i})]}),(0,D.jsx)("div",{className:"flex flex-1 flex-wrap gap-2 md:gap-4",children:null==l?void 0:l.map(e=>(0,D.jsxs)("span",{className:"inline-flex h-fit w-fit items-center gap-1 text-center md:gap-2",children:[(0,D.jsx)(vR(),{src:"/ap-info-card-checkmark.svg",width:"18",height:"18",alt:"Checkmark",loader:e=>{let{src:t}=e;return t}}),(0,D.jsx)(ha.Xj,{blok:e},e.id)]},e._uid))})]})]});return(null==s?void 0:s[0])?(0,D.jsx)(ha.Xj,{blok:s[0],children:m}):m};Ur.displayName="AuPairInfoCardSB";let Ua=e=>{let{blok:t}=e,{design:r,items:o}=t,i=(0,h5.mi)({design:r}),l=(0,h7.N)(null==i?void 0:i.spacing);return(0,D.jsx)("div",{className:"md:[&_button_*]:!outline-none md:[&_button>span:first-of-type]:!shadow-[0px_2px_8px_0px_rgba(25,25,25,0.2)]",children:(0,D.jsx)(_g.l,{className:l,controls:{s:!1,m:"bold"},showPagination:!0,slidesInView:{s:1,m:2,l:3},startAtIndex:0,layout:"full",gap:{s:8,m:16,l:21},children:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})};Ua.displayName="AuPairInfoCarouselSB";let Uo=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,I.useMemo)(()=>zm(e,t,r),[e,t,r])},Ui=["street_number","route","country","postal_code","administrative_area_level_1"],Ul=e=>{let{disabled:t=!1,error:r,forceTouched:o=!1,label:i,name:l,placeholder:s,required:d=!1,invalidAddressError:c="Please select a valid and full address",onBlur:u,onChange:p}=e,f=(0,I.useRef)(null),m=(0,I.useRef)(null),[h,g]=(0,I.useState)(null),[v,y]=(0,I.useState)(!1),b=(0,I.useRef)(c);return(0,I.useEffect)(()=>{b.current=c},[c]),(0,I.useEffect)(()=>{if(m.current){if(!window.google||!window.google.maps||!window.google.maps.places){console.log("Google Maps API not loaded yet");return}return f.current||(f.current=new window.google.maps.places.Autocomplete(m.current,{types:["address"]})),f.current.addListener("place_changed",()=>{let e=f.current.getPlace();if(!e)return;let t=Ui.some(t=>{var r;return!(null===(r=e.address_components)||void 0===r?void 0:r.some(e=>e.types.includes(t)))});if(console.log("Place details:",e),t){g(b.current);return}let r={};[...Ui,"locality","sublocality_level_1"].forEach(t=>{let o=e.address_components.find(e=>e.types.includes(t));o&&(r[t]=o.long_name,r["".concat(t,"_short")]=o.short_name)}),p({location:{lat:e.geometry.location.lat(),lng:e.geometry.location.lng()},components:r})}),()=>{var e;null===(e=f.current)||void 0===e||e.unbindAll()}}},[]),(0,I.useEffect)(()=>{let e=e=>{var t,r,o,i,l;let s=document.activeElement===m.current,d=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.className,c="string"==typeof d&&d.includes("pac-")||(null==e?void 0:null===(i=e.target)||void 0===i?void 0:null===(o=i.parentNode)||void 0===o?void 0:null===(r=o.className)||void 0===r?void 0:r.includes("pac-"));s&&!c&&(u&&u({target:m.current}),v||y(!0),null===(l=m.current)||void 0===l||l.blur())};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[v,l,u,y]),(0,D.jsxs)("div",{style:{position:"relative"},children:[(0,D.jsx)(Ef.y,{ref:m,onChange:e=>{g(null),y(!1),p(null)},valid:!h&&!r,id:l,name:l,placeholder:s,required:d,label:i,touched:v||o,disabled:t}),(0,D.jsx)(S2,{children:h||r})]})},Us=e=>{let{isSuccess:t,successContent:r,failedContent:o}=e;return(0,D.jsx)("div",{children:t?(0,D.jsx)(D.Fragment,{children:r?r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{children:"Missing success state content. "})}):(0,D.jsx)(D.Fragment,{children:o?o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{children:"Missing fail state content. "})})})},Ud=["location","street","city","state","stateCode","zipCode","country","countryCode"],Uc=/^([\
50w.%+-]+)@([\w-]+\.)+([\w]{2,})$/i,Uu=/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,Up=F9().shape({firstName:FU().required("This field is required"),lastName:FU().required("This field is required"),email:FU().matches(Uc,"Invalid email address").required("This field is required"),...ze("phone"),location:F9().shape({lat:FK().required("This field is required"),lng:FK().required("This field is required")}),street:FU().required("This field is required"),city:FU().required("This field is required"),state:FU().required("This field is required"),stateCode:FU().required("This field is required"),zipCode:FU().required("This field is required"),country:FU().required("This field is required"),countryCode:FU().required("This field is required").test({name:"countryCode",message:"Only addresses located in the US are accepted",test:e=>e&&"US"===e})}),Uf=e=>{let t=[];return Object.entries(e).filter(e=>{let[t]=e;return Ud.includes(t)}).forEach(e=>{let[r,o]=e;"string"==typeof o&&t.push(o),"object"==typeof o&&Object.values(o).forEach(e=>t.push(e))}),t};var Um=r(38122),Uh=r.n(Um);let Ug=e=>{let{fields:t,values:r,setFieldValue:o,setFieldInteracted:i,errors:l,touched:s,setFieldTouched:d}=e;if(!t||0===t.length)return null;let c=t.filter(e=>!e.is_hidden);return(0,D.jsx)(wW.k,{direction:"column",gap:"m",children:c.map(e=>"checkbox"===e.field_type?(0,I.createElement)(Uv,{field:e,values:r,setFieldValue:o,setFieldInteracted:i,key:e._uid,required:e.is_required}):"select"===e.field_type?(0,I.createElement)(Uy,{field:e,values:r,setFieldValue:o,setFieldInteracted:i,key:e._uid,required:e.is_required,touched:s[e.field_name],error:l[e.field_name]}):(0,I.createElement)(Ub,{field:e,values:r,setFieldValue:o,setFieldInteracted:i,errors:l,touched:s,setFieldTouched:d,key:e._uid,required:e.is_required}))})},Uv=e=>{let{field:t,setFieldValue:r,setFieldInteracted:o,values:i,required:l}=e;return(0,D.jsx)(Nf.z,{onCheckedChange:e=>{o(t.field_name),r(t.field_name,e)},checked:i[t.field_name],required:l,children:t.field_label},t._uid)},Uy=e=>{let{field:t,setFieldValue:r,setFieldInteracted:o,values:i,required:l,touched:s,error:d}=e;return t.options&&0!==t.options.length?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(AG,{name:t.field_name,..."ap"===HX.Lk&&{label:"".concat(t.field_label).concat(l?"*":""),placeholder:"-"},..."hf"===HX.Lk&&{placeholder:"".concat(t.field_label).concat(l?"*":"")},value:i[t.field_name],required:l,valid:s&&!d,touched:s,onValueChange:e=>{o(t.field_name),r(t.field_name,e)},children:t.options.map((e,t)=>{let{name:r,value:o}=e;return(0,D.jsx)(AY,{value:o,children:r},r+t)})}),d&&s&&(0,D.jsx)(S2,{children:d})]}):(0,D.jsx)(aL.x,{children:"Please define the options."})},Ub=e=>{let{field:t,setFieldValue:r,setFieldInteracted:o,values:i,errors:l,touched:s,setFieldTouched:d,required:c}=e,{breakpoint:u}=(0,ib.G)();return t.options&&0!==t.options.length?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(No.H,{label:t.field_label?"".concat(t.field_label).concat(c?"*":""):"",value:i[t.field_name],onValueChange:e=>{e&&(o(t.field_name),r(t.field_name,e))},valid:!l[t.field_name],touched:s[t.field_name],onBlur:e=>{d&&d(t.field_name,!0)},children:(0,D.jsx)(wW.k,{gap:"m",direction:"s"!==u?"row":"column",wrap:!0,children:t.options.map(e=>{let{name:t,value:r}=e;return(0,D.jsx)(OX.w,{value:r,children:t},r)})})}),(null==l?void 0:l[t.field_name])&&(0,D.jsx)("span",{className:"text-ui-label-small-bold",style:{color:"hsl(351deg 66.13% 52.73%)"},children:l[t.field_name]})]}):(0,D.jsx)(aL.x,{children:"Please define the options."})};var Ux=Object.defineProperty,Uw=new Map,Uk=new WeakMap,U_=0,UC=void 0;function U$({threshold:e,delay:t,trackVisibility:r,rootMargin:o,root:i,triggerOnce:l,skip:s,initialInView:d,fallbackInView:c,onChange:u}={}){var p;let[f,m]=I.useState(null),h=I.useRef(),[g,v]=I.useState({inView:!!d,entry:void 0});h.current=u,I.useEffect(()=>{let d;if(!s&&f)return d=function(e,t,r={},o=UC){if(void 0===window.IntersectionObserver&&void 0!==o){let i=e.getBoundingClientRect();return t(o,{isIntersecting:o,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:l,elements:s}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(Uk.has(r)||(U_+=1,Uk.set(r,U_.toString())),Uk.get(r)):"0":e[t]}`}).toString(),r=Uw.get(t);if(!r){let o;let i=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var r;let l=t.isIntersecting&&o.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null==(r=i.get(t.target))||r.forEach(e
50=>{e(l,t)})})},e);o=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:l,elements:i},Uw.set(t,r)}return r}(r),d=s.get(e)||[];return s.has(e)||s.set(e,d),d.push(t),l.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(s.delete(e),l.unobserve(e)),0===s.size&&(l.disconnect(),Uw.delete(i))}}(f,(e,t)=>{v({inView:e,entry:t}),h.current&&h.current(e,t),t.isIntersecting&&l&&d&&(d(),d=void 0)},{root:i,rootMargin:o,threshold:e,trackVisibility:r,delay:t},c),()=>{d&&d()}},[Array.isArray(e)?e.toString():e,f,i,o,l,s,r,c,t]);let y=null==(p=g.entry)?void 0:p.target,b=I.useRef();f||!y||l||s||b.current===y||(b.current=y,v({inView:!!d,entry:void 0}));let x=[m,g.inView,g.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}I.Component;let US=["Referred by a host family","Referred by a Local Childcare Consultant","No"],UE=e=>{let{content:t,hiddenFieldData:r,state:o,setIsAreaServiced:i,setState:l,setRedirectData:s,isMQL:d=!1,successRedirectUrl:c}=e,{legalText:u,formHeader:p,addressLegalText:f,submitButtonText:m,showCompany:h,showWereYouReferredBySomeone:g,optionalFields:v}=t,y=Uo("referralId",(0,xF.useRouter)()),{ref:b,inView:x,entry:w}=U$({threshold:0}),[k,_]=(0,I.useState)(null),C=zv();(0,I.useEffect)(()=>{if(x){var e;null===(e=window.EFClickMapActivator)||void 0===e||e.init(),Bt("form_view",N.ContactUs,"HF")}},[x]);let $=(0,I.useMemo)(()=>y?Array.isArray(y)?y[0]:y:null,[y]),{referralId:S}=(0,xB.b)(),E=(0,I.useMemo)(()=>d?Up.pick(["firstName","lastName","email"]).shape(ze("phone",{required:!1})):Up.shape({...h?{company:FU().required("Company is required")}:{},...!y&&g?{wereYouReferred:FU().oneOf(US,"Invalid option selected").required("This field is required"),referredDetails:F9().shape({referralFirstName:FU().test("referralFirstName","This field is required",function(e){return"No"===(this.parent.wereYouReferred||k)||!!e}).max(40,"First name cannot exceed 40 characters"),referralLastName:FU().test("referralLastName","This field is required",function(e){return"No"===(this.parent.wereYouReferred||k)||!!e}).max(80,"Last name cannot exceed 80 characters"),referralState:FU().test("referralState","This field is required",function(e){return"No"===(this.parent.wereYouReferred||k)||!!e}),...ze("referralPhone",{required:"Referred by a host family"===k})})}:{}}),[d,h,g,y,k]),j=async e=>{let t=null!=S?S:$,{firstName:o,lastName:u,email:p,company:f,phoneCode:m,phoneCountry:h,phone:v,street:y,zipCode:b,city:x,stateCode:w,country:k,countryCode:_,state:E,location:j,wereYouReferred:T,referredDetails:P,...O}=e;l("submitted");let R=!!(b&&w&&(null==j?void 0:j.lat)&&(null==j?void 0:j.lng))&&await Bs({postalCode:b,state:w,lat:j.lat,lng:j.lng}),D={firstName:o,lastName:u,email:p,...V3({value:v,isoCountryCode:h}),company:f,street:y,postalCode:b,city:x,state:w||E,country:k,countryCode:_,longitude:0!==j.lng?j.lng:null,latitude:0!==j.lat?j.lat:null},M=!t&&g?"No"!==T?{wereYouReferredBySomeone:T,referralFirstName:null==P?void 0:P.referralFirstName,referralLastName:null==P?void 0:P.referralLastName,referralState:null==P?void 0:P.referralState,..."Referred by a host family"===T?V4(P):{},referralInformationDate:new Date().toISOString()}:{wereYouReferredBySomeone:T}:t?{referralId:t}:{};if((null==D?void 0:D.company)&&(null==r?void 0:r.Company__c)&&A(D.company),Bt("form_submit",N.ContactUs,"HF"),await Bh({...D,...M,...!d&&{isHFAddressServiced:R},...r,...C,...O}),i(R),s({...(()=>{if(null==M||!M.wereYouReferredBySomeone)return D;if(!("referralInformationDate"in M))return{...D,...M};{let{referralInformationDate:e,...t}=M;return{...D,...t}}})(),...r}),d&&xH(c)){let e=xz({link:c,locale:"default"}),t="story"===c.linktype?"/".concat(e):e;window.location.href=t}else l("finished")},T=e=>{Ud.forEach(t=>{e(t,!0)})},P=async(e,t,r)=>{let{location:o,components:i}=e,l=await t(e=>({...e,location:o,street:"".concat(i.street_number," ").concat(i.route),city:i.locality||i.sublocality_level_1,state:i.administrative_area_level_1,stateCode:i.administrative_area_level_1_short,zipCode:i.postal_code,country:i.country,countryCode:i.country_short}));l&&r(l)},A=e=>{e&&(null==r?void 0:r.Company__c)&&(r={...r,company:(null==r?void 0:r.Company__c)+" | "+e})},O=e=>{Bt("field_interacted",N.ContactUs,"HF",e)},R=e=>{var t,r;(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.name)&&O(null==e?void 0:null===(r=e.target)||void 0===r?void 0:r.name)},M=e=>
50{Object.keys(e).forEach(e=>{Bt("field_validation_error",N.ContactUs,"HF",e)})};return(0,D.jsx)(I2,{enableReinitialize:!0,validationSchema:E,onSubmit:j,initialValues:{firstName:"",lastName:"",email:"",phoneCode:"",phoneCountry:"",phone:"",street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:"",company:"",location:{lat:0,lng:0},wereYouReferred:"",referredDetails:{referralFirstName:"",referralLastName:"",referralState:"",referralPhone:"",referralPhoneCode:"",referralPhoneCountry:""}},children:e=>{var t,r,i,l,s,c,x,w,C,$,S,E;let{errors:j,isSubmitting:N,touched:A,values:L,setErrors:I,setFieldValue:F,setFieldTouched:B,setValues:V,handleSubmit:z}=e;return(0,D.jsxs)(I9,{className:Uh().content,ref:b,children:[(0,D.jsx)("div",{children:p&&p.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:(0,D.jsxs)("div",{className:Uh().formInputs,children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"firstName",placeholder:"First name*",as:Ef.y,valid:!!A.firstName&&!j.firstName,touched:A.firstName,onFocus:e=>{R(e)}}),(0,D.jsx)(S2,{children:j.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lastName",placeholder:"Last name*",as:Ef.y,valid:!!A.lastName&&!j.lastName,touched:A.lastName,onFocus:e=>{R(e)}}),(0,D.jsx)(S2,{children:j.lastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"email",placeholder:"Email*",as:Ef.y,valid:!!A.email&&!j.email,touched:A.email,onFocus:e=>{R(e)}}),(0,D.jsx)(S2,{children:j.email})]}),h&&(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"company",placeholder:"Company",as:Ef.y,valid:!!A.company&&!j.company,touched:A.company,onFocus:e=>{R(e)}}),(0,D.jsx)(S2,{children:j.company})]}),(0,D.jsx)(zt,{name:"phone",placeholder:"Phone number".concat(d?"":"*"),countries:zu,defaultCountry:zc,required:!d,onFieldInteracted:O}),!d&&(0,D.jsxs)("div",{children:[(0,D.jsx)(Ul,{error:Uf(j)[0],placeholder:"Full addrâess*",required:!0,forceTouched:!!A.location,onBlur:e=>{T(B),O("location")},onChange:async e=>{if(!e){V(e=>({...e,location:{lat:0,lng:0},street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:""}));return}T(B),P(e,V,I)}}),(0,D.jsx)(S2,{children:Uf(j)[0]}),(0,D.jsxs)("div",{className:Uh().addressPrivacy,children:[(0,D.jsx)("div",{children:(0,D.jsx)(vR(),{src:"/privacy_eye.svg",alt:"Address privacy",loader:e=>{let{src:t}=e;return t},className:Uh().addressPrivacyImage,width:16,height:16})}),Array.isArray(f)&&f.length>0?(0,D.jsx)(ha.Xj,{blok:f[0]}):(0,D.jsxs)(aL.x,{className:Uh().addressPrivacyText,variant:"uiLabelSmall",children:["We use your ",(0,D.jsx)("b",{children:"Full Address"})," only to check if we have a representative in your area"]})]})]}),!y&&g?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:"wereYouReferred",label:"Were you referred by someone?",placeholder:"Choose...",valid:!!A.wereYouReferred&&!j.wereYouReferred||void 0,onOpenChange:e=>e&&O("wereYouReferred"),touched:A.wereYouReferred,onValueChange:e=>{F("wereYouReferred",e),_(e)},children:Object.entries(US).map(e=>{let[t,r]=e;return(0,D.jsx)(AY,{value:r,children:r},t)})}),(0,D.jsx)(S2,{children:j.wereYouReferred}),k&&"No"!==k&&(0,D.jsx)("div",{className:Uh().addressPrivacy,children:(0,D.jsx)(aL.x,{variant:"bodySmall",children:"Thatâs great! Please let us know who so we can say thank you."})})]}),k&&"No"!==k&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"referredDetails.referralFirstName",placeholder:"First Name*",as:Ef.y,valid:!!(null===(t=A.referredDetails)||void 0===t?void 0:t.referralFirstName)&&!(null===(r=j.referredDetails)||void 0===r?void 0:r.referralFirstName),touched:null===(i=A.referredDetails)||void 0===i?void 0:i.referralFirstName,onFocus:e=>R(e)}),(0,D.jsx)(S2,{children:null===(l=j.referredDetails)||void 0===l?void 0:l.referralFirstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"referredDetails.referralLastName",placeholder:"Last Name*",as:Ef.y,valid:!!(null===(s=A.referredDetails)||void 0===s?void 0:s.referralLastName)&&!(null===(c=j.referredDetails)||void 0===c?void 0:c.referralLastName),touched:null===(x=A.referredDetail
50s)||void 0===x?void 0:x.referralLastName,onFocus:e=>R(e)}),(0,D.jsx)(S2,{children:null===(w=j.referredDetails)||void 0===w?void 0:w.referralLastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:"referredDetails.referralState",placeholder:"State*",valid:!!(null===(C=A.referredDetails)||void 0===C?void 0:C.referralState)&&!(null===($=j.referredDetails)||void 0===$?void 0:$.referralState)||void 0,onOpenChange:e=>e&&O("referralState"),touched:null===(S=A.referredDetails)||void 0===S?void 0:S.referralState,onValueChange:e=>F("referredDetails.referralState",e),children:zn.map((e,t)=>(0,D.jsx)(AY,{value:e.stateCode,children:e.state},t))}),(0,D.jsx)(S2,{children:null===(E=j.referredDetails)||void 0===E?void 0:E.referralState})]}),"Referred by a host family"===k&&(0,D.jsx)(zt,{name:"referredDetails.referralPhone",placeholder:"Phone number*",countries:zu,defaultCountry:zc,required:!0,onFieldInteracted:O})]})]}):null,(0,D.jsx)(Ug,{fields:v,values:L,errors:j,touched:A,setFieldInteracted:O,setFieldValue:F})]})}),(0,D.jsx)("div",{className:(0,vP.W)(Uh().legalNotice,"link-without-underline"),children:u?u.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{children:"Please define the legal notice for the form!"})}),(0,D.jsx)("div",{className:Uh().buttonContainer,children:(0,D.jsx)(e7.Button,{type:"submit",bgClassName:Uh().submitButtonBg,disabled:N||"submitted"===o,onPress:()=>{M(j),z()},children:m||"Submit"})})]})}})}
50,Uj={firstName:"",lastName:"",phone:"",phoneCode:"",phoneCountry:"",email:"",street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:"",location:{lat:0,lng:0},wereYouReferredBySomeone:"",referralFirstName:"",referralLastName:"",referralState:"",referralPhone:"",referralPhoneCode:"",referralPhoneCountry:""},UN="Referred by a host family";var UT=r(5688),UP=r.n(UT);let UA=e=>{let{blok:t,isOpen:r,onClick:o}=e,{title:i,sub_title:l,details:s,description:d}=t,c=(e,t)=>d?(0,D.jsxs)("div",{className:t,onClick:e=>{e.stopPropagation()},"data-open":r,children:["bottom"===e&&(0,D.jsx)("hr",{className:UP().accordionDivider,"data-open":r}),d.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))]}):null;return(0,D.jsxs)("div",{className:UP().container,"data-open":r,onClick:o,children:[(0,D.jsxs)("div",{className:UP().accordionHeader,children:[(0,D.jsxs)("div",{className:UP().accordionHeaderContent,children:[(0,D.jsxs)("div",{className:UP().accordionTitles,children:[(0,D.jsx)(aL.x,{variant:"title3",className:(0,vP.Z)(UP().accordionTitle,UP()["accordion-title-container"]),children:i}),l&&(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:l})]}),c("header",UP().accordionHeaderDescription)]}),(0,D.jsx)(zL,{className:(0,vP.Z)(UP().icon,r?UP().iconOpen:"")})]}),(0,D.jsx)("div",{className:UP().accordionContent,"data-open":r,onClick:e=>e.stopPropagation(),children:null==s?void 0:s.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),c("bottom",UP().accordionBottomDescription)]})};var UO=r(85760),UR=r.n(UO),UD=r(94909),UM=r.n(UD);let UL=e=>{let{blok:t}=e,{image:r,text_top_variant:o,text_top:i,details:l,text_bottom_variant:s,text_bottom:d,host_field:c,design:u}=t,p=(0,h5.mi)({design:u}),f=(0,h5.qm)(p),m=(0,hr.oQ)({bpTheme:null==p?void 0:p.theme,bpMono:null==p?void 0:p.mono}),h={backgroundColor:Un(null==f?void 0:f.background_color,"var(--color-system-surface-weak)")};return(0,D.jsxs)("div",{className:(0,vP.Z)(UM().container,m),children:[(0,D.jsxs)("div",{className:UM().hfSurfaceCardContent,style:h,children:[(0,D.jsx)(aL.x,{variant:o||"header5",children:i}),d&&(0,D.jsx)(aL.x,{variant:s||"uiLabel",children:d}),(0,D.jsx)(i7,{className:UM().dividerColor}),(0,D.jsxs)(wW.k,{direction:"column",children:[(0,D.jsx)(aL.x,{variant:"bodyBook",className:UM().hfSurfaceCardDetails,children:l}),c&&(0,D.jsx)(aL.x,{variant:"bodySmall",className:UM().hfSurfaceCardBottomText,children:c})]})]}),(0,D.jsx)(yw,{className:UM().hfSurfaceCardImage,src:r.filename,alt:r.alt,width:600})]})};UL.displayName="HFSurfaceCardSB";var UI=r(35784),UF=r.n(UI);let UB=e=>{let{blok:t}=e,{design:r,items:o}=t,i=(0,h5.mi)({design:r}),l=(0,h7.N)(null==i?void 0:i.spacing);return(0,D.jsx)("div",{className:(0,vP.Z)(l,UF().hfCardCarouselContainer),children:(0,D.jsx)(_g.l,{controls:{s:!1,m:"bold"},showPagination:!0,slidesInView:{s:1,l:1.5},startAtIndex:0,layout:"full",gap:{s:8,m:16,l:21},slidePadding:0,children:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})};UB.displayName="HFSurfaceCardCarousel";let UV=e=>{let{buttonText:t,content:r,signUpData:o,redirectUrl:i}=e;return(0,D.jsxs)("div",{className:(0,vP.W)(Uh().content,Uh().successContent),children:[(0,D.jsx)("div",{children:r&&r.length>0?r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{children:"Please provide success form content"})}),(0,D.jsx)("div",{children:(0,D.jsx)(e7.Button,{as:"a",bgClassName:Uh().submitButtonBg,href:(()=>{if(xH(i)){let e=xz({link:i,locale:"default"});return"story"===i.linktype?"/".concat(e):e}return"".concat("https://hostfamily.culturalcare.com/#/signup","?").concat(Object.entries(null!=o?o:{}).filter(e=>{let[t,r]=e;return r}).map(e=>{let[t,r]=e;return"phone"===t&&"string"==typeof r&&(r=r.replace(/\D/g,"")).length>10&&(r=r.slice(-10)),"".concat(t,"=").concat(encodeURIComponent(r))}).join("&"))})(),children:t||"Create account"})})]})},Uz=e=>{let{content:t}=e;return(0,D.jsx)(D.Fragment,{children:t&&t.length>0?t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{children:"Please provide failed form content"})})},UH=e=>{let{blok:t}=e,{design:r,legal_text:o,hidden_fields:i,optional_fields:l,address_legal_text:s,form_header_content:d,submit_button_text:c,show_company:u,show_were_you_referred_by_someone:p,success_content:f,success_redirect_button_text:m,success_redirect_url:h,failed_content:g}=t,v=(0,h5.mi)({design:r}),y=(0,h7.N)(null==v?void 0:v.spacing),b=zh(i),[x,w]=(0,I.useState)("editing"),[k,_]=(0,I.useState)(!1),[C,$]=(0,I.useState)(null);return(0,I.useEffect)(()=>{"finished"===x&&(0,xL.cx)("hfSignUpContent")},[x]),(0,D.jsx)("div",{id:"hfSignUpContent",className:(0,vP.W)(y,Uh().container),children:["editing","submitted"].includes(x)?(0,D.jsx)(UE,{state:x,content:{legalText:o,addressLegalText:s,formHeader:d,submitButtonText:c,showCompany:u,showWereYouReferredBySomeone:p,optionalFields:l},hiddenFieldData:b,setState:w,setIsAreaServiced:_,setRedirectData:$,successRedirectUrl:h}):k?(0,D.jsx)(UV,{content:f,buttonText:m,signUpData:C,redirectUrl:h}):(0,D.jsx)(Uz,{content:g})})},UU=e=>{let{blok:t}=e,{design:r,legal_text:o,hidden_fields:i,optional_fields:l,address_legal_text:s,form_header_content:d,submit_button_text:c,show_company:u,show_were_you_referred_by_someone:p,success_content:f,success_redirect_button_text:m,success_redirect_url:h,failed_content:g}=t,v=(0,h5.mi)({design:r}),y=(0,h7.N)(null==v?void 0:v.spacing),b=zh(i),[x,w]=(0,I.useState)("editing"),[k,_]=(0,I.useState)(!1),[C,$]=(0,I.useState)(null);return(0,I.useEffect)(()=>{"finished"===x&&(0,xL.cx)("hfSignUpContent")},[x]),(0,D.jsx)("div",{id:"hfSignUpContent",className:(0,vP.W)(y,Uh().container),children:["editing","submitted"].includes(x)?(0,D.jsx)(UE,{state:x,content:{legalText:o,addressLegalText:s,formHeader:d,submitButtonText:c,showCompany:u,showWereYouReferredBySomeone:p,optionalFields:l},hiddenFieldData:b,setState:w,setIsAreaServiced:_,setRedirectData:$,isMQL:!0,successRedirectUrl:h}):(0,D.jsx)(UV,{content:f,buttonText:m,signUpData:C,redirectUrl:h})})};var UZ=r(57202),UW=r.n(UZ);let UK=e=>{let{content:t}=e;return(0,D.jsx)("div",{className:UW().content,children:(0,D.jsx)("div",{children:t&&t.length>0?t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)(aL.x,{variant:"body",children:"Please define content to display after the form is submitted"})})})},Uq=F9().shape({firstName:FU().required("This field is required"),lastName:FU().required("This field is required"),email:FU().matches(Uc,"Invalid email address").required("This field is required"),...ze("phone"),location:F9().shape({lat:FK().required("This field is required"),lng:FK().required("This field is required")}
50),street:FU().required("This field is required"),city:FU().required("This field is required"),state:FU().required("This field is required"),stateCode:FU().required("This field is required"),zipCode:FU().required("This field is required"),country:FU().required("This field is required"),countryCode:FU().required("This field is required").test({name:"countryCode",message:"Only addresses located in the US are accepted",test:e=>e&&"US"===e})}),UG=e=>{let{buttonText:t,legalText:r,hiddenFields:o,state:i,setState:l}=e,s=Uo("referralId",(0,xF.useRouter)()),{ref:d,inView:c}=U$({threshold:0}),u=zv();(0,I.useEffect)(()=>{c&&Bt("form_view",N.ContactUs,"LCC")},[c]);let p=async(e,t)=>{let{setErrors:r}=t;l("submitted");{let t=Array.isArray(s)?s[0]:s,r={firstName:e.firstName,lastName:e.lastName,email:e.email,...V3({value:e.phone,isoCountryCode:e.phoneCountry}),street:e.street,postalCode:e.zipCode,city:e.city,state:e.stateCode||e.state,country:e.country,countryCode:e.countryCode,referralId:t,timezone:(0,xL.x_)(),...o,...u};Bt("form_submit",N.ContactUs,"LCC"),await Bg(r),l("finished")}},f=e=>{let t=[];return Object.entries(e).filter(e=>{let[t]=e;return Ud.includes(t)}).forEach(e=>{let[r,o]=e;"string"==typeof o&&t.push(o),"object"==typeof o&&Object.values(o).forEach(e=>t.push(e))}),t},m=e=>{Ud.forEach(t=>{e(t,!0)})},h=async(e,t,r)=>{let{location:o,components:i}=e,l=await t(e=>({...e,location:o,street:"".concat(i.street_number," ").concat(i.route),city:i.locality||i.sublocality_level_1||i.neighborhood,state:i.administrative_area_level_1,stateCode:i.administrative_area_level_1_short,zipCode:i.postal_code,country:i.country,countryCode:i.country_short}));l&&r(l)},g=e=>{Bt("field_interacted",N.ContactUs,"LCC",e)},v=e=>{var t,r;(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.name)&&g(null==e?void 0:null===(r=e.target)||void 0===r?void 0:r.name)},y=e=>{Object.keys(e).forEach(e=>{Bt("field_validation_error",N.ContactUs,"LCC",e)})};return(0,D.jsx)(I2,{enableReinitialize:!0,validationSchema:Uq,onSubmit:p,initialValues:{firstName:"",lastName:"",email:"",phone:"",ph
50oneCode:"",phoneCountry:"",street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:"",location:{lat:0,lng:0}},children:e=>{let{errors:o,isSubmitting:l,touched:s,setErrors:c,setFieldValue:u,setFieldTouched:p,setValues:b}=e;return(0,D.jsxs)(I9,{className:UW().content,ref:d,children:[(0,D.jsx)("div",{children:(0,D.jsxs)("div",{className:UW().formInputs,children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"firstName",placeholder:"First name",as:Ef.y,valid:!!s.firstName&&!o.firstName,touched:s.firstName,onBlur:v}),(0,D.jsx)(S2,{children:o.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lastName",placeholder:"Last name",as:Ef.y,valid:!!s.lastName&&!o.lastName,touched:s.lastName,onFocus:v}),(0,D.jsx)(S2,{children:o.lastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"email",placeholder:"Email",as:Ef.y,valid:!!s.email&&!o.email,touched:s.email,onFocus:v}),(0,D.jsx)(S2,{children:o.email})]}),(0,D.jsx)(zt,{name:"phone",placeholder:"Phone number",countries:zu,defaultCountry:zc,required:!0,onFieldInteracted:g}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ul,{error:f(o)[0],placeholder:"Full addresâs",required:!0,forceTouched:!!s.location,onBlur:e=>{m(p),g("location")},onChange:async e=>{if(!e){b(e=>({...e,location:{lat:0,lng:0},street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:""}));return}m(p),h(e,b,c)}}),(0,D.jsx)(S2,{children:f(o)[0]})]}),r&&(0,D.jsx)("div",{children:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})}),(0,D.jsx)("div",{className:UW().formButtonContainer,children:(0,D.jsx)(e7.Button,{type:"submit",bgClassName:UW().submitButtonBg,disabled:l||"submitted"===i,onPress:()=>y(o),children:t||"Submit"})})]})}})};var UJ=r(20778),UY=r.n(UJ);let UX=e=>{let{blok:t}=e,{design:r,step_one_label:o,step_two_label:i,step_three_label:l}=t,s=(0,h5.mi)({design:r}),d=(0,h7.N)(null==s?void 0:s.spacing);return(0,D.jsxs)("div",{className:(0,vP.W)(d,UY().stepIndicatorContainer),children:[(0,D.jsxs)("div",{className:UY().stepIndicatorElement,"data-active":!0,children:[(0,D.jsx)("span",{className:UY().stepIndicatorStepNumber,children:"1"}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",className:UY().stepIndicatorElementLabel,children:o})]}),(0,D.jsx)("div",{className:UY().stepIndicatorConnectorContainer,children:(0,D.jsx)("div",{className:UY().stepIndicatorConnector})}),(0,D.jsxs)("div",{className:UY().stepIndicatorElement,"data-active":!1,children:[(0,D.jsx)("span",{className:UY().stepIndicatorStepNumber,children:"2"}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",className:UY().stepIndicatorElementLabel,children:i})]}),(0,D.jsx)("div",{className:UY().stepIndicatorConnectorDashedContainer,children:(0,D.jsx)("div",{className:UY().stepIndicatorConnectorDashed})}),(0,D.jsxs)("div",{className:UY().stepIndicatorElement,"data-active":!1,children:[(0,D.jsx)("span",{className:UY().stepIndicatorStepNumber,children:"3"}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",className:UY().stepIndicatorElementLabel,children:l})]})]})};UX.displayName="LCCSignupStepsIndicatorSB";var UQ=r(35715),U0=r(98327),U1=r(62162),U2=r(88407);let U3=e=>{let{header:t}=e;return(0,D.jsx)(wW.k,{className:"flex-col items-center gap-12 pb-12 pl-0 ml-0 md:gap-16 md:pb-20",children:t&&Array.isArray(t)&&t.length>0?(0,D.jsx)(D.Fragment,{children:null==t?void 0:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("span",{children:"Headline not found"})})})},U4=e=>{let{categories:t,handleClick:r,faqQuery:o,handleChange:i,categoriesLabel:l,searchBarLabel:s}=e;return(0,D.jsxs)(wW.k,{direction:"column",className:"flex items-start gap-[65px] p-0 md:w-2/5",children:[(0,D.jsx)(aL.x,{variant:"header5",children:l||"Categories"}),(0,D.jsx)("div",{className:"w-full max-w-[520px] gap-20",children:(0,D.jsx)(Ef.y,{type:"text",placeholder:s||"Filter by keyword",id:"faqQuery",name:"faqQuery","data-info":"faq-query",onChange:i,value:o})}),t.length>0?(0,D.jsx)(wW.k,{direction:"column",gap:"s",children:null==t?void 0:t.map((e,o)=>(0,D.jsxs)(I.Fragment,{children:[(0,D.jsxs)(wW.k,{direction:"row",gap:"s",className:"flex w-full items-center justify-start p-0",children:[(0,D.jsx)(aL.x,{variant:"header6",children:e.name}
50),(0,D.jsx)(e7.Button,{id:"btn"+o,as:"button",size:"small",shape:"round",variant:"ghost",onPress:()=>r(e._uid),"data-info":e.trackingID,className:"mono",children:(0,D.jsx)(zM,{})})]}),o<t.length-1&&(0,D.jsx)(i7,{color:"#E9E9E9"})]},e._uid))}):(0,D.jsx)(aL.x,{variant:"bodyBook",children:"No categories found."})]})},U6=e=>{let{categories:t,faqQuery:r}=e;return t.length>0?(0,D.jsx)(wW.k,{direction:"column",gap:"xl",className:"pb-10 pt-12 md:p-0",children:null==t?void 0:t.map(e=>{var t,o;return(0,D.jsxs)(wW.k,{direction:"column",gap:"m",className:"[&:not(:first-of-type):not(:last-of-type)]:py-6",children:[(0,D.jsx)(aL.x,{id:"categoryTitle"+e._uid,variant:"header4",children:e.name}),(0,D.jsx)(UQ.U,{type:"multiple",defaultValue:""!==r?null==e?void 0:null===(t=e.items)||void 0===t?void 0:t.map(e=>e._uid):[],children:e&&e.items&&e.items.length>0&&(null==e?void 0:null===(o=e.items)||void 0===o?void 0:o.map((t,r)=>{var o;return(0,D.jsxs)(U0.Q,{value:t._uid,children:[(0,D.jsx)(U1.S,{className:(0,vP.Z)("py-6"),children:(0,D.jsx)(aL.x,{className:"text-body-book md:text-desktop-title-2",children:null==t?void 0:t.title})}),(0,D.jsx)(U2._,{"data-info":"".concat(e.trackingID,"-").concat(r+1),children:(null==t?void 0:t.content)&&Array.isArray(null==t?void 0:t.content)&&(null==t?void 0:t.content.length)>0?(0,D.jsx)(D.Fragment,{children:null==t?void 0:null===(o=t.content)||void 0===o?void 0:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("span",{children:"Content not loaded"})})})]},t._uid)}))},e._uid+r)]},e._uid)})}):(0,D.jsxs)(aL.x,{variant:"title1",className:"w-full text-center",children:['No result found for "',r,'"']})},U8=e=>(0,hr.z$)(e,{preferredMode:"light"}),U9=["secondary","primary","link"],U5=e=>{let{blok:t}=e,{design:r,items:o,items_to_load:i,initial_items_count:l,with_separator:s,button_text:d}=t,c=(0,h5.mi)({design:r}),u=(0,h5.qm)(c),p=(0,h7.N)(null==c?void 0:c.spacing),f=(0,I.useMemo)(()=>U9.includes(null==u?void 0:u.variant)?null==u?void 0:u.variant:"link",[null==u?void 0:u.variant]),[m,h]=I.useState(parseInt(l)),g=(0,I.useMemo)(()=>{let e=U8(null==u?void 0:u.background_color),t=U8(null==u?void 0:u.text_color),r=U8(null==u?void 0:u.outline_color);return{...e&&{backgroundColor:e},...t&&{color:t},...r&&{border:"".concat("1px solid"," ").concat(r),"--tw-shadow-color":"rgba(from ".concat(r," r g b / 0.2)"),"--tw-shadow":"var(--tw-sha
50dow-colored)"}}},[u]),v=(0,I.useMemo)(()=>(null==u?void 0:u.outline_color)||(null==u?void 0:u.background_color)?"![--tw-shadow:unset] ![--tw-shadow-colored:unset] ![--tw-shadow-color:unset] [&_span]:!ring-0":"",[u]),y=(0,I.useMemo)(()=>o.slice(0,m),[m,o]),{gapClasses:b}=$p({flexProps:{gap:null==c?void 0:c.gap},type:"group"});return 0===y.length?null:(0,D.jsxs)(wW.k,{direction:"column",className:(0,vP.Z)(p,"gap-6",b),children:[y.map((e,t)=>(0,D.jsxs)(I.Fragment,{children:[(0,D.jsx)(ha.Xj,{blok:e},e._uid),s&&t!==y.length-1&&(0,D.jsx)(i7,{})]},e._uid)),m<o.length&&(0,D.jsx)(x2.h,{align:"center",children:(0,D.jsxs)(e7.Button,{onPress:()=>h(e=>e+parseInt(i)),as:"button",variant:f,style:g,className:v,children:[(0,D.jsx)(zD,{}),d]})})]})};U5.displayName="LoadMoreListSB";var U7=r(16894),Ze=r.n(U7);let Zt=(e,t,r,o,i)=>({pathname:r,query:Array.isArray(e)?{...o.query,...t}:{...i,...t}});r(39802);let Zn=(0,I.createContext)({settings:{},setSettings:{}});var Zr=e=>{let{settings:t,children:r}=e,[o,i]=(0,I.useState)(t);return(0,D.jsx)(Zn.Provider,{value:{settings:o,setSettings:i},children:r})};let Za=(0,I.createContext)({}),Zo=()=>(0,I.useContext)(Za),Zi=e=>({firstName:e.first_name?e.first_name:"First name",firstNamePlaceholder:e.first_name_placeholder?e.first_name_placeholder:"Your first name",lastName:e.last_name?e.last_name:"Last name",lastNamePlaceholder:e.last_name_placeholder?e.last_name_placeholder:"Your last name",homeCountry:e.home_country?e.home_country:"Home country",homeCountryPlaceholder:e.home_country_placeholder?e.home_country_placeholder:"Choose your home country",email:e.email?e.email:"Email",emailPlaceholder:e.email_placeholder?e.email_placeholder:"[email protected]",apInTheUsAlumni:e.ap_in_the_us_alumni?e.ap_in_the_us_alumni:"Are you currently an au pair in the USA, an alumni of the program, or recently matched with host family but havent departed for the USA yet?",apInTheUsAlumniPlaceholder:e.ap_in_the_us_alumni_placeholder?e.ap_in_the_us_alumni_placeholder:"Choose",lccEmailAddress:e.lcc_email_address?e.lcc_email_address:"Your LCCâs Email address",lccEmailAddressPlaceholder:e.lcc_email_address_placeholder?e.lcc_email_address_placeholder:"[email protected]",ccGlobalAmbassador:e.cc_global_ambassador?e.cc_global_ambassador:"Why do you think you would make a great Cultural Care Global Ambassador?",ccGlobalAmbassadorPlaceholder:e.cc_global_ambassador_placeholder?e.cc_global_ambassador_placeholder:"Type your answer",instagramProfileNameLabel:e.instagram_profile_name_label?e.instagram_profile_name_label:"Instagram profile name",instagramProfileNameDescription:e.instagram_profile_name_description?e.instagram_profile_name_description:"We want to invite you into the Cultural Care Global Ambassador Instagram group",instagramProfileNamePlaceholder:e.instagram_profile_name_placeholder?e.instagram_profile_name_placeholder:"instagram.com/profile",tiktokProfileNameLabel:e.tiktok_profile_name_label?e.tiktok_profile_name_label:"Tiktok",tiktokProfileNamePlaceholder:e.tiktok_profile_name_placeholder?e.tiktok_profile_name_placeholder:"tiktok.com/profile",youtubeProfileNameLabel:e.first_name_placeholder?e.first_name_placeholder:"Youtube",youtubeProfileNamePlaceholder:e.youtube_profile_name_placeholder?e.youtube_profile_name_placeholder:"youtube.com/profile",otherProfileNameLabel:e.other_profile_name_label?e.other_profile_name_label:"Other",otherProfileNamePlaceholder:e.other_profile_name_placeholder?e.other_profile_name_placeholder:"other.com",submitButtonText:(null==e?void 0:e.submit_button_text)?e.submit_button_text:"Submit"}),Zl=e=>({firstName:(null==e?void 0:e.first_name)?e.first_name:"First name",lastName:(null==e?void 0:e.last_name)?e.last_name:"Last name",phoneNumber:(null==e?void 0:e.phone)?e.phone:"Phone",email:(null==e?void 0:e.email)?e.email:"Email",dateOfBirth:(null==e?void 0:e.date_of_birth)?e.date_of_birth:"Date of birth",dobDate:(null==e?void 0:e.dob_date)?e.dob_date:"Date",dobMonth:(null==e?void 0:e.dob_month)?e.dob_month:"Month",dobYear:(null==e?void 0:e.dob_year)?e.dob_year:"Year",countryOfResidence:(null==e?void 0:e.country_of_residence)?e.country_of_residence:"Country of residence",preferredMethodOfContact:(null==e?void 0:e.preferred_method_of_contact)?null==e?void 0:e.preferred_method_of_contact:"Preferred method of contact",region:(null==e?void 0:e.region)?e.region:"Region",city:(null==e?void 0:e.city)?e.city:"City",other:(null==e?void 0:e.other_region)?null==e?void 0:e.other_region:"Other",submitButtonText:(null==e?void 0:e.submit_button_text)?e.submit_button_text:"Submit"}),Zs=new Date().getFullYear(),Zd=()=>{let e=[],t=Zs-100;for(let r=Zs;r>=t;
50r--)e.push(r);return e},Zc=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"short",r=new Date().getFullYear(),o=Array.from({length:12},(e,t)=>t),i=new Intl.DateTimeFormat(null!=e?e:"en",{month:null!=t?t:"long"});return o.map(e=>i.format(new Date(r,e)))},Zu=e=>{if(!e)return;let t=new Intl.DateTimeFormat("en",{month:"short"});return Object.fromEntries(Array.from({length:12},(e,r)=>{let o=new Date(2e3,r,1),i=t.format(o);return[null==i?void 0:i.toLowerCase(),r+1]}))[null==e?void 0:e.toLowerCase()]},Zp=()=>Array.from({length:31},(e,t)=>t+1),Zf=e=>{var t,r,o,i,l,s,d,c,u,p;let{loading:f=!1,touched:m,valid:h,description:g,label:v,floatingLabel:y,required:b,showChevronButton:x=!0,disabled:w=f,className:k,children:_,id:C,renderCustomIcon:$,themeConfig:S,...E}=e,{isValidAndTouched:j,isInvalidAndTouched:N}=(0,j7.jH)(m,h),{markValidation:T}=(0,B.tv)(S7.ge)({valid:h,touched:m}),{iconInvalid:P,iconValid:A,inputTag:O,loadingIndicator:R}=(0,B.tv)(S?(0,B.RH)(S7.xk,S):S7.xk)({hasFloatingLabel:!!y,validationIconOffset:x?"xxl":"s"}),M=(0,F.cn)("ef-form-combo-box",k),L=(0,F.cn)(P(),T()),I=(0,F.cn)(A(),T());return(0,D.jsxs)(NP.W,{className:M,valid:h,touched:m,description:g,label:v,id:C,required:b,themeConfig:S?{...S,slots:{formField:null==(t=S.slots)?void 0:t.formField,formFieldContainer:null==(r=S.slots)?void 0:r.fieldContainer,formLabelDescription:null==(o=S.slots)?void 0:o.formLabelDescription,formLabelRequiredSign:null==(i=S.slots)?void 0:i.formLabelRequiredSign,formLabelWrapper:null==(l=S.slots)?void 0:l.formLabelWrapper}}:void 0,children:[j&&(0,D.jsx)(vX.f,{weight:"fill",className:I}),N&&(0,D.jsx)(yu.Q,{weight:"fill",className:L}),f&&(0,D.jsx)(Aq.T,{className:(0,F.cn)(R())}),(0,D.jsx)(Rj,{floatingLabel:y,loading:f,disabled:w,required:b,valid:m?h:void 0,id:C,showChevronButton:x,renderCustomIcon:$,themeConfig:S?{...S,slots:{input:O(),root:null==(s=S.slots)?void 0:s.root,button:null==(d=S.slots)?void 0:d.button,popover:null==(c=S.slots)?void 0:c.popover,listItem:null==(u=S.slots)?void 0:u.listItem,listItemCheck:null==(p=S.slots)?void 0:p.listItemCheck},variants:{}}:{slots:{input:O()}},...E,inputValue:E.value,children:_})]})};function Zm(e){return null}Zf.displayName="FormComboBox",Zm.getCollectionNode=function*(e,t){let{childItems:r,title:o,children:i}=e,l=e.title||e.children,s=e.textValue||("string"==typeof l?l:"")||e["aria-label"]||"";s||(null==t?void 0:t.suppressTextValueWarning)||console.warn("<Item>
50 with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:l,textValue:s,"aria-label":e["aria-label"],hasChildNodes:null!=e.hasChildItems?e.hasChildItems:!!(e.childItems||e.title&&I.Children.count(e.children)>0),*childNodes(){if(r)for(let e of r)yield{type:"item",value:e};else if(o){let e=[];I.Children.forEach(i,t=>{e.push({type:"item",element:t})}),yield*e}}}};let Zh=e=>{if(!e)return null;let t=e.toLowerCase();return"true"===t||"yes"===t?"true":"false"===t||"no"===t?"false":null};var Zg=r(83454);let Zv=F9().shape({firstName:FU().required("This field is required"),lastName:FU().required("This field is required"),email:FU().matches(Uu,"Invalid email address").required("This field is required"),...ze("phone"),dateOfBirth:F9().shape({day:FK().required("This field is required"),month:FU().required("This field is required"),year:FK().required("This field is required")}).test("is-valid-date","The selected date is not valid",function(e){var t;let{day:r,month:o,year:i}=e||{},l=Zu(o);return new Date(i,(0,xL.rM)(l)-1,Number(t=(0,xL.rM)(r))).getDate()===Number(t)}).test("is-valid-age","Age must be between 16 and 26",function(e){if(!e)return!1;let{day:t,month:r,year:o}=e;return function(e){let[t,r,o]=e.split("-"),i=new Date("".concat(t,"-").concat(r,"-").concat(o)),l=new Date,s=l.getFullYear()-i.getFullYear(),d=l.getMonth()-i.getMonth();return(d<0||0===d&&l.getDate()<i.getDate())&&s--,s>=16&&s<=26}("".concat(o,"-").concat((0,xL.rM)(Zu(r)),"-").concat((0,xL.rM)(t)))})}),Zy=(null===(P=Zg.env.NEXT_PUBLIC_CITIES_COUNTRIES)||void 0===P?void 0:P.split(","))||[],Zb=(null===(A=Zg.env.NEXT_PUBLIC_AP_POPULAR_MARKETS)||void 0===A?void 0:A.split(","))||[],Zx=e=>{var t;let{isModal:r,infoMeetingId:o,formHeader:i,hiddenFields:l,legalText:s,optionalFields:d,showCountryOfResidence:c,state:u,setState:p,setRedirectData:f}=e,m=Zo(),h=null!=o?o:m.infoMeetingId,g=null!==(t=null!=r?r:m.isModal)&&void 0!==t&&t,v=(0,xF.useRouter)(),y=Uo("referralId",v),{ref:b,inView:x}=U$({threshold:0}),w=Zp(),k=Zc("en","short"),_=Zd(),C=h?N.InfoMeeting:N.ContactUs,{locale:$}=(0,xB.b)(),{settings:S}=(0,I.useContext)(Zn),E=Zl(S),{breakpoint:j}=(0,ib.G)(),T="s"===j,[P,A]=(0,I.useState)([]),[O,R]=(0,I.useState)(""),[M,L]=(0,I.useState)(!1),F=M?"city":"region",B=(0,I.useMemo)(()=>zf($),[$]),V=e=>{let{slug:t,...r}=v.query,o=Zt(t,e,v.pathname,v,r);Array.isArray(o.query.slug)&&o.query.slug.length>0&&o.query.slug[0]===$&&(o.query.slug=o.query.slug.slice(1)),v.push(o,void 0,{scroll:!1})};(0,I.useEffect)(()=>{if(x){var e;null===(e=window.EFClickMapActivator)||void 0===e||e.init(),Bt("form_view",C,"AP")}},[x]),(0,I.useEffect)(()=>{if(!(P.length>0&&"pt-br"===$))return;let e=null,t=!1;function r(){let e=document.querySelector(".ef-combo-box-popover");if(e instanceof HTMLElement){e.style.pointerEvents="auto";let r=e.shadowRoot&&e.shadowRoot.querySelector("ul")||e.querySelector("ul");r&&(r.style.pointerEvents="auto"),t=!0}}return r(),t||(e=new MutationObserver(()=>{r(),t&&e&&e.disconnect()})).observe(document.body,{childList:!0,subtree:!0}),()=>{e&&e.disconnect()}},[P,$]);let z=(0,I.useMemo)(()=>{let e={...Zv.fields,...c||y?{country:FU().required("This field is required").oneOf(Object.keys(VG),"Invalid country")}:{},...P.length>0?{[M?"city":"region"]:FU().required("This field is required")}:{}};return d&&d.forEach(t=>{!t.is_hidden&&t.is_required&&(e[t.field_name]=FU().required("This field is required"),"checkbox"===t.field_type&&(e[t.field_name]=FL().oneOf([!0],"This field is required")))}),F9().shape(e)},[c,y,P,M,d]),H=zh(l),U=zv(),Z=async e=>{p("submitted");let t=Array.isArray(y)?y[0]:y,{phoneCode:r,phoneCountry:o,phone:i,dateOfBirth:l,...s}=e,d=(0,xL.rM)(Zu(null==l?void 0:l.month)),c=(0,xL.rM)(null==l?void 0:l.day),u={firstName:e.firstName,lastName:e.lastName,email:e.email,...V3({value:i,isoCountryCode:o}),country:e.country,[M?"city":"region"]:M?e.city:e.region,countryCode:e.country,referralId:t,dateOfBirth:(0,xL.C5)(null==l?void 0:l.year,d,c),genderIdentity:e.genderIdentity,canHoldConversationInEnglish:null==e?void 0:e.canHoldConversationInEnglish,driversLicenseStatus:null==e?void 0:e.driversLicenseStatus,educationLevel:null==e?void 0:e.educationLevel,hasChildcareExperience:null==e?void 0:e.hasChildcareExperience,hearAboutUs:null==e?void 0:e.hearAboutUs},m={...u,...s,...H,...U,meetingSessionId:h||null,canHoldConversationInEnglish:Zh(e.canHoldConversationInEnglish)};Bt("form_submit",C,"AP"),await Bv(m,C),p("finished"),f({...{...u,[F]:(0,xL.$L)(e[F])},...H}),V({isSubmitted:"finished"})},W=e=>{Bt("field_interacted",C,"AP",e)},K=e=>{var t;(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.name)&&W(e.target.name)}
50,q=e=>{Object.keys(e).forEach(e=>{Bt("field_validation_error",C,"AP",e)})};return(0,D.jsx)(I2,{enableReinitialize:!0,validationSchema:z,onSubmit:Z,initialValues:{firstName:"",lastName:"",email:"",phoneCode:"",phoneCountry:"",phone:"",country:"",region:"",dateOfBirth:{day:null,month:"",year:null},genderIdentity:"",educationLevel:"",driversLicenseStatus:"",hasChildcareExperience:"",canHoldConversationInEnglish:"",workingExperience:"",preferredMethodOfContact:"",hearAboutUs:""},validateOnBlur:!0,validateOnChange:!1,children:e=>{var t,r,o,l,c,p,f,m,h,v,x,C,S,j,N,I,F,V;let{errors:z,isSubmitting:H,touched:U,values:Z,setFieldValue:G,setFieldTouched:J,validateForm:Y}=e;return(0,D.jsxs)(I9,{className:Ze().content,"data-on-reach":"animate",ref:b,children:[(0,D.jsx)("div",{children:i&&i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:(0,D.jsxs)("div",{className:Ze().formInputs,children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"firstName",placeholder:(null==E?void 0:E.firstName)+"*",as:Ef.y,valid:!!U.firstName&&!z.firstName,touched:U.firstName,onBlur:e=>{K(e)}}),(0,D.jsx)(S2,{children:z.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lastName",placeholder:(null==E?void 0:E.lastName)+"*",as:Ef.y,valid:!!U.lastName&&!z.lastName,touched:U.lastName,onFocus:e=>{K(e)}}),(0,D.jsx)(S2,{children:z.lastName})]}),(0,D.jsx)(zt,{name:"phone",placeholder:(null==E?void 0:E.phoneNumber)+"*",countries:zd,...y?{noDefaultCountry:!0}:{defaultCountry:B},required:!0,onFieldInteracted:W,onCountryChange:e=>{var t;if(G("country",e.isoCountryCode),O===e.isoCountryCode)return;R(e.isoCountryCode),L(Zy.includes(e.isoCountryCode));let r=Zb.includes(null===(t=e.isoCountryCode)||void 0===t?void 0:t.toLowerCase())&&!!e.code;if(G("region",""),G("city",""),!r){A([]);return}Bw(e.isoCountryCode).then(e=>{e.includes(null==E?void 0:E.other)||e.includes("Other")||e.push(null==E?void 0:E.other),A(e)})}},y?"referral":"default"),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"email",placeholder:(null==E?void 0:E.email)+"*",as:Ef.y,valid:!!U.email&&!z.email,touched:U.email,onFocus:e=>{K(e)}}),(0,D.jsx)(S2,{children:z.email})]}),P.length>0&&("pt-br"===$?(0,D.jsxs)("div",{children:[(0,D.jsx)(Zf,{id:"region-combobox",name:M?"city":"region",placeholder:(null==E?void 0:E[M?"city":"region"])+"*",valid:!!U[M?"city":"region"]&&!z[M?"city":"region"]||void 0,touched:U[M?"city":"region"],onSelectionChange:e=>{G(M?"city":"region",e===(null==E?void 0:E.other)?"Other":e)},selectedKey:Z[M?"city":"region"],menuTrigger:"input",children:P.map((e,t)=>(0,D.jsx)(Zm,{textValue:e,children:e},"".concat(e,"-").concat(t)))}),(0,D.jsx)(S2,{children:z[M?"city":"region"]})]}):(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:M?"city":"region",placeholder:(null==E?void 0:E[M?"city":"region"])+"*",valid:!!U[M?"city":"region"]&&!z[M?"city":"region"]||void 0,touched:U[M?"city":"region"],onValueChange:e=>{G(M?"city":"region",e===(null==E?void 0:E.other)?"Other":e)},children:P.map((e,t)=>(0,D.jsx)(AY,{value:e,children:e},"".concat(e,"-").concat(t)))}),(0,D.jsx)(S2,{children:z[M?"city":"region"]})]})),(0,D.jsxs)("div",{className:Ze().apSignupDatepicker,children:[(0,D.jsx)("label",{children:null==E?void 0:E.dateOfBirth}),(0,D.jsxs)("div",{className:(0,vP.W)(Ze()["flex-container"]),children:[(0,D.jsxs)("div",{className:Ze()["inner-container"],children:[(0,D.jsx)(AG,{name:"dateOfBirth.day","aria-label":"dob-day",placeholder:T&&g?"D*":(null==E?void 0:E.dobDate)+"*",className:(0,vP.W)("flex-1",Ze()["flex-item"]),onValueChange:e=>{G("dateOfBirth.day",parseInt(e,10)),W("dateOfBirth.day")},valid:!!(null===(t=U.dateOfBirth)||void 0===t?void 0:t.day)&&!(null===(r=z.dateOfBirth)||void 0===r?void 0:r.day)&&!(null==z?void 0:z.dateOfBirth)||void 0,touched:null===(o=U.dateOfBirth)||void 0===o?void 0:o.day,children:w.map(e=>(0,D.jsx)(AY,{value:e.toString(),children:e},e))}),(0,D.jsx)(S2,{children:null===(l=z.dateOfBirth)||void 0===l?void 0:l.day})]}),(0,D.jsxs)("div",{className:Ze()["inner-container"],children:[(0,D.jsx)(AG,{name:"dateOfBirth.month","aria-label":"dob-month",placeholder:T&&g?"M*":(null==E?void 0:E.dobMonth)+"*",className:(0,vP.W)("flex-1",Ze()["flex-item"]),onValueChange:e=>{G("dateOfBirth.month",e),W("dateOfBirth.month")},valid:!!(null===(c=U.dateOfBirth)||void 0===c?void 0:c.month)&&!(null===(p=z.dateOfBirth)||void 0===p?void 0:p.month)&&!(null==z?void 0:z.dateOfBirth)||void 0,touched:null===(f=U.dateOfBirth)||void 0===f?void 0:f.month,children:k.map(e=>(0,D.jsx)(AY,{value:e,children:e},e))}),(0,D.jsx)(S2,{children:null===(m=z.dateOfBirth)||void 0===m?void 0:m.month})]}),(0,D.jsxs)("div",{className:Ze()["inner-container"],children:[(0,D.jsx)(AG,{name:"dateOfBirth.year","aria-label":"dob-year",placeholder:T&&g?"Y*":(null==E?void 0:E.dobYear)+"*",className:(0,vP.W)("flex-1",Ze()["flex-item"]),onValueChange:e=>{G("dateOfBirth.year",parseInt(e,10)),W("dateOfBirth.year")},valid:!!(null===(h=U.dateOfBirth)||void 0===h?void 0:h.year)&&!(null===(v=z.dateOfBirth)||void 0===v?void 0:v.year)&&!(null==z?void 0:z.dateOfBirth)||void 0,touched:null===(x=U.dateOfBirth)||void 0===x?void 0:x.year,children:_.map(e=>(0,D.jsx)(AY,{value:e.toString(),children:e.toString()},e))}),(0,D.jsx)(S2,{children:null===(C=z.dateOfBirth)||void 0===C?void 0:C.year})]})]}),(null==U?void 0:null===(S=U.dateOfBirth)||void 0===S?void 0:S.day)&&(null==U?void 0:null===(j=U.dateOfBirth)||void 0===j?void 0:j.month)&&(null==U?void 0:null===(N=U.dateOfBirth)||void 0===N?void 0:N.year)&&(null==z?void 0:z.dateOfBirth)&&!(null==z?void 0:null===(I=z.dateOfBirth)||void 0===I?void 0:I.day)&&!(null==z?void 0:null===(F=z.dateOfBirth)||void 0===F?void 0:F.month)&&!(null==z?void 0:null===(V=z.dateOfBirth)||void 0===V?void 0:V.year)&&(0,D.jsx)("span",{className:"text-ui-label-small-bold",style:{color:"hsl(351deg 66.13% 52.73%)"},children:z.dateOfBirth})]})]})}),(0,D.jsx)(Ug,{fields:d,values:Z,setFieldValue:G,setFieldInteracted:W,errors:z,touched:U,setFieldTouched:J}),(0,D.jsxs)("div",{className:Ze().formFooter,children:[(0,D.jsx)("div",{children:s&&s.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:(0,D.jsx)(e7.Button,{type:"submit","data-info":"submit",bgClassName:Ze().submitButtonBg,disabled:H||"submitted"===u,onPress:async()=>{await Y(),q(z)},children:E.submitButtonText})})]})]})}})},Zw=e=>{let{signUpData:t,content:r,create_account_cta:o,isBrochure:i,showModal:l,width:s}=e,[d,c]=(0,I.useState)(!0);return s<400&&l?(0,D.jsx)(vz,{"data-clickregion":"modal",className:(0,vP.Z)(Ze()["modal-wrapper"]),open:!!d,onOpenChange:e=>{e||c(null)},modal:!0,children:(0,D.jsx)(o8,{className:Ze()["modal-content"],"data-clicksubregion":"ap-signup-form-success-modal",children:(0,D.jsx)(Zk,{signUpData:t,content:r,create_account_cta:o,isBrochure:i})})}):(0,D.jsx)(Zk,{signUpData:t,content:r,create_account_cta:o,isBrochure:i})},Zk=e=>{let{signUpData:t,content:r,create_account_cta:o,isBrochure:i}=e;return(0,D.jsxs)("div",{className:(0,vP.Z)(i?Ze().brochureSuccessContentAlignment:null),children:[(0,D.jsx)("div",{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{className:Ze().submittedContentCta,children:(0,D.jsx)(e7.Button,{as:"a",bgClassName:Ze().submitButtonBg,href:"".concat("https://aupair.culturalcare.com/#/signup","?").concat(Object.entries(t).filter(e=>{let[t,r]=e;return r}).map(e=>{let[t,r]=e;return"".concat(t.toLowerCase(),"=").concat(encodeURIComponent(r))}).join("&")),children:o||"Create account"})})]})},Z_=e=>{let{blok:t}=e,{image:r,name:o,countryOfResidence:i,characteristics:l,buttonLink:s}=t;return(0,D.jsx)(wW.k,{justify:"space-between",align:"center",gap:"l",className:"flex-col rounded-xl bg-[var(--Surface-White,#fff)] p-6 md:flex-row md:p-10",children:(0,D.jsxs)(wW.k,{justify:"space-between",gap:"m",className:"flex-col md:flex-row",children:[(0,D.jsx)(yw,{src:r.filename,alt:r.alt,className:"min-w-[180px] max-h-[279px] w-[279px] self-stretch rounded-md md:min-
50h-[180px] md:w-[180px]"}),(0,D.jsxs)(wW.k,{direction:"column",className:"items-start justify-around",gap:"m",children:[(0,D.jsxs)(wW.k,{direction:"column",gap:"xs",children:[(0,D.jsx)(aL.x,{variant:"header4",children:o}),(0,D.jsxs)(wW.k,{direction:"row",align:"center",gap:"xs",children:[(0,D.jsx)(zF,{}),(0,D.jsx)(aL.x,{className:"text-mobile-header-6 md:text-desktop-title-2",children:i})]})]}),(0,D.jsx)(wW.k,{direction:"row",align:"flex-start",gap:"xs",children:l.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),s.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))]})]})})};Z_.displayName="AuPairProfileCardSB";var ZC=r(54695),Z$=r.n(ZC);let ZS=e=>{let{blok:t}=e,{top_content:r,middle_content:o,bottom_content:i,design:l}=t,s=(0,h5.mi)({design:l}),d=(0,h7.N)(null==s?void 0:s.spacing);return(0,D.jsxs)("div",{className:(0,vP.Z)(Z$().timelineContainer,d),children:[(0,D.jsx)("div",{className:(0,vP.Z)(Z$().timeline,Z$().timelineMainContentSpacing),children:r.map((e,t)=>(0,D.jsxs)("div",{className:Z$().timelineElement,children:[(0,D.jsxs)("div",{className:Z$().timelineElementConnector,children:[(0,D.jsx)("div",{className:Z$().circle}),(0,D.jsx)("div",{className:(0,vP.Z)(Z$().separator)}),t===r.length-1&&(0,D.jsx)("div",{className:(0,vP.Z)(Z$().sideSeparator,Z$().separator,"u-hidden md:u-block")})]}),(0,D.jsx)("div",{className:Z$().timelineElementContent,children:(0,D.jsx)(ha.Xj,{blok:e})})]},e._uid))}),o&&o.length>0&&(0,D.jsx)("div",{className:(0,vP.Z)(Z$().timeline,Z$().timelineMainContentSpacing),children:o.map((e,t)=>(0,D.jsxs)("div",{className:Z$().timelineElement,children:[(0,D.jsx)("div",{className:(0,vP.Z)(Z$().timelineElementConnector,Z$().midContentConnector),children:(0,D.jsx)("div",{className:(0,vP.Z)(Z$().separator)})}),(0,D.jsx)("div",{className:(0,vP.Z)(Z$().timelineElementContent,Z$().midContent),children:(0,D.jsx)(ha.Xj,{blok:e})})]},e._uid))}),(0,D.jsx)("div",{className:(0,vP.Z)(Z$().timeline,Z$().timelineMainContentSpacing),children:i.map((e,t)=>(0,D.jsxs)("div",{className:Z$().timelineElement,children:[(0,D.jsxs)("div",{className:(0,vP.Z)(Z$().timelineElementConnector),children:[1===t&&(0,D.jsx)("div",{className:(0,vP.Z)(Z$().sideSeparators,Z$().separators,"u-hidden md:u-block")}),(0,D.jsx)("div",{className:Z$().circle}),t!==i.length-1&&(0,D.jsx)("div",{className:(0,vP.Z)(Z$().separator)})]}),(0,D.jsx)("div",{className:Z$().timelineElementContent,children:(0,D.jsx)(ha.Xj,{blok:e})})]},e._uid))})]})};ZS.displayName="TimelineSB";var ZE=r(37346),Zj=r.n(ZE);let ZN=e=>{let{blok:t}=e,{content:r}=t;return(0,D.jsx)("div",{className:Zj().stepsTimelineContainer,children:r.map((e,t)=>(0,D.jsxs)("div",{className:Zj().stepsTimelineItem,children:[(0,D.jsxs)("div",{className:Zj().stepsTimelineItemHeader,children:[(0,D.jsx)("div",{className:Zj().stepLabel,children:(0,D.jsx)(aL.x,{variant:"title3",className:Zj().label,children:e.label})}),t!==r.length-1&&(0,D.jsx)("div",{className:Zj().separator})]}),(0,D.jsx)("div",{className:Zj().stepsTimelineItemContent,children:e.content.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]},e._uid))})};ZN.displayName="StepsTimelineSB";var ZT=r(56882),ZP=r.n(ZT);let ZA=e=>{let{blok:t}=e,{design:r}=t,[o,i]=(0,I.useState)(768),l=(0,h5.mi)({design:r}),s=(0,h7.N)(null==l?void 0:l.spacing),{lcc:d}=(0,xB.b)();(0,I.useEffect)(()=>{let e=()=>i(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let[c,u]=I.useState((null==d?void 0:d.profilePictureKey)||"/profile-picture-placeholder.svg");return(0,D.jsx)("div",{className:(0,vP.W)(ZP().container,s),children:d?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:ZP().profilePicture,children:(0,D.jsx)(vR(),{src:c,alt:d.name,width:128,loader:e=>{let{src:t}=e;return t},height:128,onError:()=>u("/profile-picture-placeholder.svg")})}),(0,D.jsxs)("div",{className:ZP().profileInfo,children:[(0,D.jsxs)("div",{children:[(0,D.jsxs)("div",{className:(0,vP.W)(ZP().profileInfoRow,ZP().textBottomMargin),children:[(0,D.jsx)(vR(),{src:"/ccap-round-badge.svg",alt:"CCAP",width:24,height:24,loader:e=>{let{src:t}=e;return t}}),(0,D.jsx)(aL.x,{className:"text-mobile-title-3",variant:"title1",children:d.name})]}),(0,D.jsx)(aL.x,{variant:"body",children:"Local Childcare Consultant"})]}),o>400?(0,D.jsxs)(wW.k,{direction:"column",className:(0,vP.W)(ZP().contactInfo,"u-hidden"),children:[d.phone&&(0,D.jsxs)("div",{className:ZP().profileInfoRow,children:[(0,D.jsx)(vR(),{src:"/phone_outlined.svg",alt:"CCAP",width:16,height:16,loader:e=>{let{src:t}=e;return t}}),(0,D.jsx)(aL.x,{className:ZP().textWrapLcc,variant:"bodySmall",children:(0,xL.un)(d.phone)})]}),d.email&&(0,D.jsxs)("div",{className:ZP().profileInfoRow,children:[(0,D.jsx)(vR(),{src:"/mail_outlined.svg",loader:e=>{let{src:t}=e;return t},alt:"CCAP",width:16,height:16}),(0,D.jsx)("a",{href:"mailto:".concat(d.email),className:(0,vP.W)(ZP().contactEmail,ZP().contactInfoTextWrap,ZP().textWrapLcc),children:(0,D.jsx)(aL.x,{variant:"bodySmall",children:d.email})})]})]}):null,(0,D.jsxs)("div",{className:(0,vP.W)(ZP().contactInfoButtons,"u-flex md:u-hidden"),children:[d.phone&&(0,D.jsxs)("a",{href:"tel:".concat(d.phone),className:ZP().contactInfoElementMobile,children:[(0,D.jsx)(vR(),{src:"/phone_outlined.svg",loader:e=>{let{src:t}=e;return t},alt:"CCAP",width:16,height:16}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:"Call"})]}),d.email&&(0,D.jsxs)("a",{href:"mailto:".concat(d.email),className:ZP().contactInfoElementMobile,children:[(0,D.jsx)(vR(),{src:"/mail_outlined.svg",loader:e=>{let{src:t}=e;return t},alt:"CCAP",width:16,height:16}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:"Email"})]})]})]})]}):(0,D.jsx)(aL.x,{align:"center",children:"Local Childcare Consultant data will appear on the live site."})})};ZA.displayName="LCCInfoCardSB";let ZO=e=>{let{blok:t}=e,{content:r,design:o}=t,i=(0,h5.mi)({design:o}),l=(0,h5.qm)(i),s=(0,h7.N)(null==i?void 0:i.spacing),d=(0,hr.oQ)({bpTheme:null==i?void 0:i.theme,bpMono:null==i?void 0:i.mono});return(0,D.jsxs)("div",{className:(0,vP.W)("relative flex min-h-[104px] max-w-[230px] items-center justify-center rounded-[24px]",i,s,d),style:{backgroundColor:Un(null==l?void 0:l.background_color)},children:[(0,D.jsx)("div",{className:"absolute right-4 top-[-27px] h-0 w-0 rotate-[29deg] border-l-[14px] border-r-[9px] border-l-transparent border-r-transparent",style:{borderBottom:"35px solid ".concat(Un(null==l?void 0:l.background_color))}}),r.length>0?r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):(0,D.jsx)("span",{children:"Please define the content in the UI editor."})]})};ZO.displayName="CommentBubbleSB";let ZR=e=>{let{blok:t}=e,{buttonText:r}=t;return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("span",{className:(0,vP.W)("sb-link-text","defaultUnderline","ef-link-text","ef-link","!mt-[3px]"),children:(0,D.jsx)("button",{className:"ot-sdk-show-settings","data-info":"privacy-settings",children:r})})})};ZR.displayName="CookiesButtonSB";let ZD=e=>{if(e){let t=new Date(e),r=t.getDate();
50return t.toLocaleString("default",{month:"long"})+" "+r+", "+t.getFullYear()}},ZM=e=>{if(e){let t=new Date(e),r=t.getHours().toString().padStart(2,"0"),o=t.getMinutes().toString().padStart(2,"0");return"".concat(r,":").concat(o)}},ZL=(e,t)=>{let r="string"==typeof e?new Date(e):e;if(isNaN(r.getTime()))return"Invalid date format";let o=r.toLocaleString(t||"en-US",{weekday:"long"}),i=r.toLocaleString(t||"default",{month:"short"}),l=r.getDate();return"".concat(o,", ").concat(l," ").concat(i)},ZI=(e,t)=>{let r=null==t?void 0:t.find(t=>(null==t?void 0:t.name.toLowerCase())===String(e).toLowerCase()||(null==t?void 0:t.value.toLowerCase())===String(e).toLowerCase());return null==r?void 0:r.value},ZF=e=>{let{tags:t,styleClass:r,selectedTagName:o,isContentAligned:i,sendDataToParent:l,allStories:s,locale:d}=e,[c,u]=(0,I.useState)(""),{blogTags:p}=(0,xB.b)(),{breakpoint:f}=(0,ib.G)(),m=e=>{let t=e!==s?"/blog/category/".concat(e.replace(/\s+/g,"-").toLowerCase()):"/blog";return"fr-ch"===d?"/fr".concat(t):t};return(0,D.jsx)(D.Fragment,{children:t&&(null==t?void 0:t.length)>0?(0,D.jsx)(wW.k,{gap:"xs",className:(0,vP.Z)("flex flex-row flex-wrap items-center gap-2 p-2",i?"float-none justify-center":null),direction:"s"==f?"column":"row",children:null==t?void 0:t.map((e,t)=>(0,D.jsx)(gr.r,{href:(0,xL.I)(m(e)),className:"mono",children:(0,D.jsx)(e7.Button,{onClick:()=>{u(e)},className:(0,vP.Z)(r?"![padding:16px] [&_span]:[font-size:12px] md:[&_span]:[font-size:unset]":"",o&&o===e&&r?"float-right !text-white border border-[rgba(25,25,25,0.15)] rounded-[6px] !bg-[var(--Text-Black)] shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]":"float-right !text-[var(--Text-Black)] border border-[rgba(25,25,25,0.15)] rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]"),bgClassName:(0,vP.Z)(r?"![padding:16px] [&_span]:[font-size:12px] md:[&_span]:[font-size:unset]":"",o&&o===e&&r?"!bg-black":"!bg-[var(--Surface-White)]"),children:e===s?s:ZI(e,p)})},t))}):null})},ZB=(e,t)=>e+" "+t,ZV=e=>{let{src:t,alt:r,variant:o}=e,{width:i}=yb(t||""),l={landscape:{width:750,height:430,className:"w-full self-stretch rounded-[6px] min-h-[430px] !aspect-auto lg:w-[65%] lg:min-h-[550px]",aspectRatios:{s:"natural",m:"natural",l:"natural",xl:"natural",xxl:"natural"},loaderWidth:2e3},portrait:{width:336,height:336,className:"self-stretch rounded-[6px] w-full !aspect-square min-h-[341px]",aspectRatios:{s:"1/1",m:"1/1",l:"1/1",xl:"1/1",xxl:"1/1"},loaderWidth:500}};return(0,D.jsx)(iV,{asChild:!!i,src:t,alt:r,className:l[o].className,children:i&&(0,D.jsx)(vR(),{src:t||"",alt:r||"",width:l[o].width,height:l[o].height,loader:e=>iD({...e,aspectRatios:l[o].aspectRatios,width:l[o].loaderWidth})})})};r(83454);let Zz=e=>{if(!e||0===e.length)return{locale:"default",slug:[]};let t=e[0];if(Object.keys(xI.Q.locales||{}).includes(t)){let r=e.slice(1);return{locale:t,slug:0===r.length?["home"]:r}}return{locale:"default",slug:e}},ZH=e=>{var t,r,o,i,l,s,d,c,u,p,f,m,h,g;let{blogContent:v}=e,y=(null==v?void 0:v.full_slug)||"",{locale:b}=Zz(y.split("/")),x=(0,xL.v0)(y,b),w=ZD(null==v?void 0:null===(t=v.content)||void 0===t?void 0:t.date),k=ZK(null==v?void 0:null===(r=v.content)||void 0===r?void 0:r.tags);return(0,D.jsxs)(wW.k,{justify:"space-between",align:"center",gap:"m",direction:"column",className:(0,vP.Z)("min-h-[930px] h-full p-6 flex-auto items-start gap-2.5 rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]"),children:[(0,D.jsxs)(wW.k,{justify:"space-between",align:"center",gap:"m",direction:"column",children:[(0,D.jsx)(ZV,{src:null==v?void 0:null===(s=v.content)||void 0===s?void 0:null===(l=s.list_image)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:null===(o=i.image)||void 0===o?void 0:o.filename,alt:null==v?void 0:null===(p=v.content)||void 0===p?void 0:null===(u=p.list_image)||void 0===u?void 0:null===(c=u[0])||void 0===c?void 0:null===(d=c.image)||void 0===d?void 0:d.alt,variant:"portrait"}),(0,D.jsxs)(wW.k,{direction:"row",justify:"space-between",gap:"xs",children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:w||""}),(null==v?void 0:null===(f=v.content)||void 0===f?void 0:f.readTime)!==void 0?(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:ZB(null==v?void 0:null===(m=v.content)||void 0===m?void 0:m.readTime,"min read")}):null]}),(0,D.jsx)(wW.k,{direction:"column",align:"flex-start",justify:"space-between",children:(0,D.jsxs)(gr.r,{href:(0,xL.I)("/".concat(x)),children:[(0,D.jsx)(aL.x,{variant:"header5",className:"pt-6 pb-2",children:null==v?void 0:null===(h=v.content)||void 0===h?void 0:h.list_title}),(0,D.jsx)(aL.x,{variant:"bodyBook",children:null==v?void 0:null===(g=v.content)||void 0===g?void 0:g.list_description})]})})]}),(0,D.jsx)(ZF,{tags:k,locale:b})]})};ZH.displayName="BlogCardPortrait";let ZU=e=>{var t,r,o,i,l,s,d,c,u,p,f,m,h,g;let{blogContent:v}=e,y=(null==v?void 0:v.full_slug)||"",{locale:b}=Zz(y.split("/")),x=(0,xL.v0)(y,b),w=ZD(null==v?void 0:null===(t=v.content)||void 0===t?void 0:t.date),k=ZK(null==v?void 0:null===(r=v.content)||void 0===r?void 0:r.tags),_=null==v?void 0:null===(o=v.content)||void 0===o?void 0:o.list_title,C=null==v?void 0:null===(i=v.content)||void 0===i?void 0:i.list_description,{breakpoint:$}=(0,ib.G)();return(0,D.jsx)(wW.k,{className:"flex w-full p-6 gap-2.5 rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]",children:(0,D.jsxs)(wW.k,{justify:"space-between",align:"center",gap:"l",direction:"s"!==$&&"m"!==$?"row":"column",className:"rounded-[12px] bg-white h-full",children:[(0,D.jsx)(ZV,{src:null==v?void 0:null===(c=v.content)||void 0===c?void 0:null===(d=c.list_image)||void 0===d?void 0:null===(s=d[0])||void 0===s?void 0:null===(l=s.image)||void 0===l?void 0:l.filename,alt:null==v?void 0:null===(m=v.content)||void 0===m?void 0:null===(f=m.list_image)||void 0===f?void 0:null===(p=f[0])||void 0===p?void 0:null===(u=p.image)||void 0===u?void 0:u.alt,variant:"landscape"}),(0,D.jsxs)(wW.k,{direction:"column",align:"flex-start",justify:"center",className:"py-4 md:py-0 lg:!w-[35%]",children:[(0,D.jsxs)(gr.r,{href:(0,xL.I)("/".concat(x)),children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:w||""}),(0,D.jsx)(aL.x,{variant:"header5",className:"py-2.5 md:py-5",children:_}),(0,D.jsx)(aL.x,{variant:"bodyBook",children:C})]}),(0,D.jsx)(wW.k,{gap:"xs",className:"py-6 flex items-start content-start gap-2.5 self-stretch flex-wrap md:py-12",children:(0,D.jsx)(ZF,{tags:k,locale:b})}),(null==v?void 0:null===(h=v.content)||void 0===h?void 0:h.readTime)!==void 0?(0,D.jsx)(aL.x,{variant:"uiLabel",children:ZB(null==v?void 0:null===(g=v.content)||void 0===g?void 0:g.readTime,"min read")}):null]})]})})};ZU.displayName="BlogCardLandscape";let ZZ=()=>(0,D.jsxs)(wW.k,{align:"center",gap:"m",direction:"column",className:(0,vP.Z)("min-h-[260px] h-full p-6 flex-auto items-start gap-2.5 rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]"),children:[(0,D.jsx)(wD.O,{className:"card-image","data-slot":"CardImage",style:{aspectRatio:"16/9",width:"100%",maxWidth:"100%",flexGrow:0,display:"block"}}),(0,D.jsxs)(wW.k,{direction:"row",justify:"space-between",gap:"xs",style:{width:"100%"},children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmall",style:{width:"50%"},children:(0,D.jsx)(wD.O,{})}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",style:{width:"50%"},children:(0,D.jsx)(wD.O,{})})]}),(0,D.jsxs)(wW.k,{direction:"column",align:"flex-start",justify:"space-between",style:{width:"100%"},children:[(0,D.jsx)(aL.x,{variant:"header5",className:"pt-6 pb-2",style:{width:"100%"},children:(0,D.jsx)(wD.O,{})}),(0,D.jsx)(aL.x,{variant:"bodyBook",style:{width:"80%"},children:(0,D.jsx)(wD.O,{})})]}),(0,D.jsx)(aL.x,{variant:"header5",style:{width:"50%"},children:(0,D.jsx)(wD.O,{})})]}),ZW=()=>(0,D.jsx)(wW.k,{className:"flex w-full p-6 gap-2.5 rounded-[6px] bg-white shadow-[0px_2px_8px_0px_rgba(25,25,25,0.15)]",children:(0,D.jsxs)(wW.k,{justify:"space-between",align:"center",gap:"l",direction:"row",className:"rounded-[12px] bg-white h-full",children:[(0,D.jsx)(wD.O,{className:"card-image","data-slot":"CardImage",style:{aspectRatio:"16/9",flexGrow:1}}),(0,D.jsxs)(wW.k,{direction:"column",className:"py-4 md:py-0 lg:!w-[35%]",style:{width:"50%"},children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmall",style:{width:"50%"},children:(0,D.jsx)(wD.O,{})}),(0,D.jsx)(aL.x,{variant:"header5",className:"py-2.5 md:py-5",style:{width:"80%"},children:(0,D.jsx)(wD.O,{})}),(0,D.jsx)(aL.x,{variant:"bodyBook",style:{width:"100%"},children:(0,D.jsx)(wD.O,{})}),(0,D.jsx)(wW.k,{gap:"xs",className:"py-6 flex items-start content-start gap-2.5 self-stretch flex-wrap md:py-12",style:{width:"60%"},children:(0,D.jsx)(aL.x,{variant:"bodyBook",style:{width:"100%"},children:(0,D.jsx)(wD.O,{})})}),(0,D.jsx)(aL.x,{variant:"uiLabel",style:{width:"30%"},children:(0,D.jsx)(wD.O,{})})]})]})}),ZK=e=>Array.isArray(e)&&e.length>2?e.slice(0,3):e,Zq=e=>{let{blok:t}=e,{blog_content:r,blog_orientation_type:o,design:i}=t,[l,s]=(0,I.useState)(null),d=(0,h5.mi)({design:i}),c=(0,h7.N)(null==d?void 0:d.spacing);(0,I.useEffect)(()=>{null!==r&&(null==r?void 0:r.hasOwnProperty("content"))&&s(r)},[]);let[u,p]=(0,I.useState)(!0),[f,m]=(0,I.useState)(768);return(0,I.useEffect)(()=>{let e=()=>m(window.innerWidth);return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,I.useEffect)(()=>{let e=setTimeout(()=>p(!1),2e3);return()=>clearTimeout(e)},[]),(0,D.jsx)("div",{className:(0,vP.Z)(c),children:u?"landscape"===o&&f>768?(0,D.jsx)(ZW,{}):(0,D.jsx)(ZZ,{}):"portrait"===o?(0,D.jsx)(ZH,{blogContent:l}):(0,D.jsx)(ZU,{blogContent:l})})};
50Zq.displayName="BlogCardSB";let ZG=e=>{let{blok:t}=e,{design:r,date:o,source:i,articleTitle:l,articleLink:s}=t,d=(0,h5.mi)({design:r}),c=(0,h7.N)(null==d?void 0:d.spacing),u=(0,h5.qm)(d),p=(0,hr.oQ)({bpTheme:null==d?void 0:d.theme,bpMono:null==d?void 0:d.mono}),{breakpoint:f}=(0,ib.G)(),[m,h]=(0,I.useState)(ZD(o));return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("div",{className:(0,vP.Z)("relative flex items-center justify-center rounded-[24px]",d,c,p),style:{backgroundColor:Un(null==u?void 0:u.background_color)},children:(0,D.jsxs)(wW.k,{justify:"space-between",align:"flex-start",gap:"xs",direction:"column",className:"min-h-0",children:[(0,D.jsxs)(wW.k,{direction:"row",align:"center",justify:"flex-start",gap:"xs",className:"flex items-start self-stretch",children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmall",onChange:e=>{h(ZD(e.target.value))},children:m||""}),m&&i&&(0,D.jsx)("span",{className:"inline-block w-1 h-1 bg-black rounded-full"}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",children:i})]}),(0,D.jsxs)(wW.k,{direction:"s"!==f?"row":"column",justify:"space-between",align:"center",gap:"m",children:[(0,D.jsx)(wW.k,{direction:"row",align:"flex-start",justify:"flex-start",children:l.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsxs)(wW.k,{direction:"row",align:"flex-end",justify:"flex-end",children:[s.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)),(0,D.jsx)(vR(),{alt:"external link icon",src:"/externalLink.svg",loader:e=>{let{src:t}=e;return t},className:"mx-[5px] h-4 w-4 self-center text-[#ccc]"})]})]})]})})})};ZG.displayName="NewsArticleCardSB";let ZJ=e=>{let{blok:t}=e,{name:r,reelerDataCampaign:o}=t;return o||(o="xUU8qtQoadRvqKbPeWmv"),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(aL.x,{className:"text-mobile-header-3",variant:"header2",children:r}),(0,D.jsx)("div",{id:"reeler-widget","data-campaign":o})]})};ZJ.displayName="ReelerSB";var ZY=r(43762),ZX=r.n(ZY);(E=O||(O={})).ALL_MEETINGS="All meetings",E.AU_PAIR_INFO_SESSION="Au Pair Info Session",E.AU_PAIR_PARENT_INFO_SESSION="Au Pair & Parent Info Session",E.OFFICE_EVENT="Office Event",E.POP_UP_OFFICE="Pop-Up Office",E.AMBASSADOR_EVENTS="Ambassador Events",E.AMBASSADOR="Ambassador";let ZQ={"Au Pair & Parent Info Session":["Learn about the au pair program with your parents","This meeting is designed to address any concerns and provide your parents with a comprehensive understanding the program"],"Office Event":["Discover what the au pair journey is really like","Join us at the open house and connect with our team and alumni"],"Pop-Up Office":["Discover what the au pair journey is really like","Join us at the open house and connect with our team and alumni"]},Z0=(e,t)=>{var r;if(!(null==e?void 0:e.length)||!t)return;let o=null===(r=Array.isArray(t)?t[0]:t)||void 0===r?void 0:r.trim();if(o)return e.find(e=>(null==e?void 0:e.id)===o||15===o.length&&!!(null==e?void 0:e.id)&&e.id.startsWith(o))},Z1=e=>{let{selectedTab:t,meetingType:r}=e;if(t){if(0===t)return;if(1===t)return"Online";if(2===t)return"Offline"}else if(r)return"all"===r.toLowerCase()?void 0:r},Z2=(e,t,r,o)=>{let i=r?e.filter(e=>e.type===r):e;return o?i.length>t?i.slice(t):[]:i.slice(0,t)},Z3=(e,t)=>{let r=!1;return 0===e?r=(null==t?void 0:t.length)>0:1===e?r=(null==t?void 0:t.some(e=>"Online"===e.type))||!1:2===e&&(r=(null==t?void 0:t.some(e=>"Offline"===e.type))||!1),r},Z4=(e,t,r)=>e?"Offline"===e?t||"In person":r||e:e,Z6=(e,t)=>t[e]||e,Z8=e=>ZQ[e],Z9=e=>{let{selectedMeeting:t,formBlok:r,isSubmitted:o,formTaskTitle:i,locale:l,cardMeetingTypeOffline:s,cardMeetingTypeOnline:d,formImage:c}=e,{breakpoint:u}=(0,ib.G)(),p="s"!==u?"row":"column",f=(0,I.useMemo)(()=>({infoMeetingId:t.id,isModal:!0}),[t.id]);return(0,D.jsx)(D.Fragment,{children:(0,D.jsxs)(wW.k,{direction:p,className:ZX()[""],align:"flex-start",justify:"space-between",children:[(0,D.jsx)("div",{className:ZX()["flex-main-content"],children:r?(0,D.jsx)(Za.Provider,{value:f,children:(0,D.jsx)(ha.Xj,{blok:r})}):null}),o?null:(0,D.jsxs)(wW.k,{direction:"column",align:"flex-start",justify:"space-between",className:ZX()["flex-main-content"],children:[i?i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},null==e?void 0:e._uid)):null,(0,D.jsxs)(wu.T,{className:ZX()["surface-block"],children:[(0,D.jsx)(wu.T,{className:ZX()["surface-line"]}),(0,D.jsxs)(wW.k,{direction:p,justify:"space-between",align:"flex-start",ga
50p:"m",children:[(0,D.jsx)(aL.x,{variant:"bodyBook",children:ZL(t.time,l)}),(0,D.jsx)(aL.x,{variant:"bodyBook",children:ZM(t.time)}),(0,D.jsx)(aM,{small:!0,style:{boxShadow:"unset",backgroundColor:(null==t?void 0:t.type)==="Offline"?"#FFCDA8":"#F2DDFC"},children:Z4(null==t?void 0:t.type,s,d)})]})]}),(0,D.jsx)("div",{className:ZX()["modal-image"],children:c?c.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):null})]})]})})},Z5=e=>{let{meeting:t,locale:r}=e;return(0,D.jsxs)(wW.k,{direction:"column",align:"flex-start",className:ZX().contentWrap,children:[(0,D.jsxs)(wW.k,{direction:"row",align:"center",className:ZX().contentWrap,children:[(0,D.jsx)(aL.x,{variant:"uiLabel",className:ZX().contentTextWrap,children:ZL(null==t?void 0:t.time,r)}),(0,D.jsx)("div",{className:ZX().alignDivider,children:(0,D.jsx)("img",{src:"/ap-profile-card-divider.svg"})}),(0,D.jsx)(aL.x,{variant:"uiLabel",className:ZX().contentTextWrap,children:ZM(null==t?void 0:t.time)})]}),(0,D.jsx)(aL.x,{variant:"uiLabel",className:ZX().contentTextWrap,children:null==t?void 0:t.address})]})},Z7=e=>{let{meeting:t,locale:r}=e;return(0,D.jsxs)(wW.k,{direction:"row",gap:"m",className:ZX().contentWrap,children:[(0,D.jsx)(aL.x,{variant:"bodyBook",className:ZX().contentTextWrap,children:ZL(null==t?void 0:t.time,r)}),(0,D.jsx)("img",{src:"/ap-profile-card-divider.svg"}),(0,D.jsx)(aL.x,{variant:"bodyBook",className:ZX().contentTextWrap,children:ZM(null==t?void 0:t.time)}),(null==t?void 0:t.address)?(0,D.jsx)("img",{src:"/ap-profile-card-divider.svg"}):null,(0,D.jsx)(aL.x,{variant:"bodyBook",className:ZX().contentTextWrap,children:null==t?void 0:t.address})]})},We={onlineMessage:"No online meetings available",offlineMessage:"No in-person meetings available",allMessage:"No meetings available"},Wt=e=>{let{blok:t}=e,{market:r,get_more_information:o,get_more_information_offline:i,infomeeting_form:l,form_image:s,form_task_title:d,card_meeting_type_ambassador:c,card_meeting_type_ap_info_session:u,card_meeting_type_parent_info_session:p,card_meeting_type_office_event:f,card_meeting_type_pop_up_office:m,card_meeting_type_online:h,card_meeting_type_offline:g,card_meeting_all:v,card_button_content:y,see_button_color:b,see_less_text:x,see_more_text:w,no_meetings_found:k,no_online_meetings_found:_,no_offline_meetings_found:C}=t,{infoMeetings:$,locale:S}=(0,xB.b)(),[E,j]=(0,I.useState)(null),[N,T]=(0,I.useState)(!1),[P,A]=(0,I.useState)(768),[R,M]=(0,I.useState)(0),[L,B]=(0,I.useState)(""),V=[{label:v||"All",value:"All",data_info:"all"},{label:h||"Online",value:"Online",data_info:"online"},{label:g||"In person",value:"Offline",data_info:"in-person"}],[{meetings:z,displayItems:H,hiddenItems:U},Z]=(0,I.useState)({market:"",meetingType:O.AU_PAIR_INFO_SESSION,meetings:[],displayItems:[],hiddenItems:[]});(0,I.useEffect)(()=>{let e=(null==$?void 0:$.length)>0?[...$].slice(0,6):[],t=(null==$?void 0:$.length)>0?[...$].slice(6,$.length):[];Z({...z,displayItems:e,hiddenItems:t})},[$]);let W=(0,xF.useRouter)(),K=Uo("isSubmitted",W),q=Uo("meetingId",W),G=(0,I.useRef)(!1);function J(){A(window.innerWidth)}(0,I.useEffect)(()=>(window.addEventListener("resize",J),()=>{window.removeEventListener("resize",J)}),[]),(0,I.useEffect)(()=>{Z3(R,$)||(1===R?B(_||We.onlineMessage):2===R?B(C||We.offlineMessage):B(k||We.allMessage))},[R,$]),(0,I.useEffect)(()=>{$&&$.length>0&&Y(Z1({selectedTab:R,meetingType:null}),$)},[R,$]);let Y=(e,t)=>{Z({displayItems:Z2(t,6,e),hiddenItems:Z2(t,6,e,t.length)})},X=()=>{let e=Object.keys(W.query).find(e=>"issubmitted"===e.toLowerCase());if(!e)return;let{[e]:t,...r}=W.query;W.replace({pathname:W.pathname,query:r},void 0,{shallow:!0,scroll:!1})},Q=e=>{j(e)};(0,I.useEffect)(()=>{if(G.current||!q||!(null==$?void 0:$.length))return;G.current=!0;let e=Z0($,q);e&&($.indexOf(e)>=6&&$.length>6&&T(!0),Q(e))},[q,$]);let ee=(e,t)=>{M(t),T(!1),Y(Z1({selectedTab:null,meetingType:e}),$)},et=l&&l[0],en={[O.AMBASSADOR]:c,[O.AU_PAIR_INFO_SESSION]:u,[O.AU_PAIR_PARENT_INFO_SESSION]:p,[O.OFFICE_EVENT]:f,[O.POP_UP_OFFICE]:m},er=e=>(0,D.jsx)("ul",{children:e?e.map(e=>(0,D.jsx)("li",{children:(0,D.jsx)(ha.Xj,{blok:e},e._uid)},e._uid)):null}),ea=e=>{if((null==e?void 0:e.meetingType)===O.AU_PAIR_INFO_SESSION)return(null==e?void 0:e.type)==="Offline"?er(i):er(o);if((null==e?void 0:e.subject)||(null==e?void 0:e.description))return(0,D.jsxs)("ul",{children:[e.subject&&(0,D.jsx)("li",{children:(0,D.jsx)(aL.x,{variant:"bodyBook",children:e.subject})}),e.description&&(0,D.jsx)("li",{children:(0,D.jsx)(aL.x,{variant:"bodyBook",style:{whiteSpace:"pre-line"},children:e.description})})]});let t=Z8(null==e?void 0:e.meetingType);return t?(0,D.jsxs)("ul",{children:[(0,D.jsx)("li",{children:(0,D.jsx)(aL.x,{variant:"bodyBook",children:t[0]})}),(0,D.jsx)("li",{children:(0,D.jsx)(aL.x,{variant:"bodyBook",children:t[1]})})]}):(null==e?void 0:e.type)==="Offline"?er(i):er(o)};return(0,D.jsx)("div",{className:(0,vP.Z)(ZX()["infomeeting-component-wrapper"]),children:(0,D.jsxs)("div",{className:"infomeeting-list",children:[(0,D.jsxs)("div",{className:ZX()["visible-list"],children:[0!==$.length?(0,D.jsx)(wW.k,{children:null==V?void 0:V.map((e,t)=>(0,D.jsx)(aM,{className:R===t?ZX().tagSelectedColor:ZX().tabDefaultColor,onClick:()=>ee(e.value,t),"data-info":e.data_info,children:e.label},t))}):null,H.map((e,t)=>(0,D.jsxs)(wu.T,{className:"infomeeting-item ".concat(t!==H.length-1?"mb
50-s":""),radius:"xs",children:[(0,D.jsxs)("div",{className:"infomeeting-item-content",children:[(0,D.jsxs)("div",{className:"first-content-row",children:[(0,D.jsx)(aL.x,{variant:"title2",as:"h2",children:Z6(null==e?void 0:e.meetingType,en)}),(0,D.jsx)(aM,{small:!0,className:ZX().specailTag,style:{backgroundColor:(null==e?void 0:e.type)==="Offline"?"#FFCDA8":"#F2DDFC"},children:Z4(null==e?void 0:e.type,g,h)})]}),P<=400?(0,D.jsx)(Z5,{meeting:e,locale:S}):(0,D.jsx)(Z7,{meeting:e,locale:S}),ea(e),P<=400?(0,D.jsx)(e7.Button,{variant:"outlined",as:"button","data-info":"register-info-meeting",className:(0,F.cn)("mono",ZX()["button-webinar"]),onPress:()=>Q(e),children:y}):null]}),P>=400?(0,D.jsx)(e7.Button,{variant:"outlined",as:"button","data-info":"register-info-meeting",className:(0,F.cn)("mono",ZX()["button-webinar"]),onPress:()=>Q(e),children:y}):null]},e.id)),0===H.length?(0,D.jsx)(aL.x,{variant:"bodyBook",children:L}):null]}),U&&U.length>0?(0,D.jsxs)(mT,{open:N,onClick:()=>T(!N),className:ZX().collapsibleBottom,children:[(0,D.jsx)(mD,{style:{overflow:"visible"},children:(0,D.jsx)("div",{className:ZX()["visible-list"],children:U.map(e=>(0,D.jsxs)(wu.T,{className:"infomeeting-item mb-s",radius:"xs",children:[(0,D.jsxs)("div",{className:"infomeeting-item-content",children:[(0,D.jsxs)("div",{className:"first-content-row",children:[(0,D.jsx)(aL.x,{variant:"title2",as:"h2",children:Z6(null==e?void 0:e.meetingType,en)}),(0,D.jsx)(aM,{small:!0,style:{backgroundColor:(null==e?void 0:e.type)==="Offline"?"#FFCDA8":"#F2DDFC"},children:Z4(null==e?void 0:e.type,g,h)})]}),(0,D.jsx)(Z7,{meeting:e,locale:S}),ea(e)]}),(0,D.jsx)(e7.Button,{variant:"outlined",as:"button",className:(0,F.cn)("mono",ZX()["button-webinar"]),onPress:()=>Q(e),children:y})]},e.id))})}),(0,D.jsxs)(mA,{className:(0,vP.Z)(ZX().listTrigger),"aria-label":N?x:w,style:{color:b?b.selected.value:null},children:[(0,D.jsx)(aL.x,{variant:"uiLabel",style:{color:b?b.selected.value:null},children:N?x:w}),(0,D.jsx)(rL.AnimatedChevron,{active:N})]})]}):null,(0,D.jsx)(vz,{"data-clickregion":"modal",className:(0,vP.Z)(ZX()["modal-wrapper"]),open:!!E,onOpenChange:e=>{e||(j(null),X())},modal:!0,children:(0,D.jsx)(o8,{className:ZX()["modal-content"],"data-clicksubregion":"info-meetings-modal",children:E?(0,D.jsx)(Z9,{selectedMeeting:E,formBlok:et,isSubmitted:K,formTaskTitle:d,locale:S,cardMeetingTypeOffline:g,cardMeetingTypeOnline:h,formImage:s}):null})})]})})};Wt.displayName="InfoMeetingsSB";var Wn=r(25380),Wr=r.n(Wn);let Wa=F9().shape({firstName:FU().max(255,"First name cannot exceed 255 characters").required("This field is required"),lastName:FU().max(255,"Last name cannot exceed 255 characters").required("This field is required"),homeCountry:FU().required("This field is required"),email:FU().matches(Uu,"Invalid email address").max(80,"Email cannot exceed 80 characters").required("This field is required"),instagramProfile:FU().max(255,"Instagram Profile URL cannot exceed 255 characters").notRequired(),whyJoinTheProgram:FU().max(32768,"Textarea content cannot exceed 32768 characters"),tiktokProfile:FU().max(255,"Tiktok Profile URL cannot exceed 255 characters").notRequired(),youtubeChannel:FU().max(255,"Youtube Profile URL cannot exceed 255 characters").notRequired(),consentGiven:FU().required("This field is required")}),Wo=e=>{let{formHeader:t,hiddenFields:r,legalText:o,consent:i,optionalFields:l,state:s,setState:d,setRedirectData:c}=e,{ref:u,inView:p}=U$({threshold:0}),[f,m]=(0,I.useState)(!1),{settings:h}=(0,I.useContext)(Zn);(0,I.useEffect)(()=>{p&&Bt("form_view",N.Ambassador,"AP")},[p]);let g=zh(r),v=zv(),y=(0,I.useMemo)(()=>F9().shape({...Wa.fields,...f?{lccEmailAddress:FU().matches(Uu,"Invalid email address").max(80,"Email cannot exceed 80 characters").required("This field is required")}:{}}),[f]),b=Zi(h),x=async e=>{d("submitted");let t={firstName:e.firstName,lastName:e.lastName,homeCountry:e.homeCountry,email:e.email,CurrentlyAuPairOrAlumni:e.CurrentlyAuPairOrAlumni,lccEmailAddress:e.lccEmailAddress,instagramProfile:e.instagramProfile,whyJoinTheProgram:e.whyJoinTheProgram,tiktokProfile:e.tiktokProfile,youtubeChannel:e.youtubeChannel,other:e.other,consentGiven:e.consentGiven},r={...t,...g,...v};Bt("form_submit",N.Ambassador,"AP"),await By(r),d("finished"),c(t)},w=e=>{Bt("field_interacted",N.Ambassador,"AP",e)},k=e=>{var t;(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.name)&&w(e.target.name)}
50,_=e=>{Object.keys(e).forEach(e=>{Bt("field_validation_error",N.Ambassador,"AP",e)})};return(0,D.jsx)(I2,{enableReinitialize:!0,validationSchema:y,onSubmit:x,initialValues:{firstName:"",lastName:"",homeCountry:"",email:"",CurrentlyAuPairOrAlumni:"",lccEmailAddress:"",instagramProfile:"",whyJoinTheProgram:"",tiktokProfile:"",youtubeChannel:"",other:"",consentGiven:!1},children:e=>{let{errors:r,isSubmitting:d,touched:c,values:p,setFieldValue:m}=e;return(0,D.jsxs)(I9,{className:Wr().content,"data-on-reach":"animate",ref:u,children:[(0,D.jsx)("div",{children:t&&t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:(0,D.jsxs)("div",{className:Wr().formInputs,children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"firstName",label:b.firstName,placeholder:b.firstNamePlaceholder,as:Ef.y,valid:!!c.firstName&&!r.firstName,touched:c.firstName,onFocus:k}),(0,D.jsx)(S2,{children:r.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lastName",label:b.lastName,placeholder:b.lastNamePlaceholder,as:Ef.y,valid:!!c.lastName&&!r.lastName,touched:c.lastName,onFocus:k}),(0,D.jsx)(S2,{children:r.lastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:"homeCountry",label:b.homeCountry,placeholder:b.homeCountryPlaceholder,valid:!!c.homeCountry&&!r.homeCountry||void 0,onOpenChange:e=>e&&w("homeCountry"),touched:c.homeCountry,onValueChange:e=>{m("homeCountry",e)},children:Object.entries(VG).map(e=>{let[t,r]=e;return(0,D.jsx)(AY,{value:t,children:r},t)})}),(0,D.jsx)(S2,{children:r.homeCountry})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"email",label:b.email,placeholder:b.emailPlaceholder,as:Ef.y,valid:!!c.email&&!r.email,touched:c.email,onFocus:k}),(0,D.jsx)(S2,{children:r.email})]}),f&&(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lccEmailAddress",label:b.lccEmailAddress,placeholder:b.lccEmailAddressPlaceholder,as:Ef.y,valid:!!c.lccEmailAddress&&!r.lccEmailAddress,onFocus:k,touched:c.lccEmailAddress}),(0,D.jsx)(S2,{children:r.lccEmailAddress})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"instagramProfile",label:b.instagramProfileNameLabel,description:b.instagramProfileNameDescription,placeholder:b.instagramProfileNamePlaceholder,as:Ef.y,valid:!!c.instagramProfile&&!r.instagramProfile,onFocus:k,touched:c.instagramProfile}),(0,D.jsx)(S2,{children:r.instagramProfile})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"tiktokProfile",label:b.tiktokProfileNameLabel,placeholder:b.tiktokProfileNamePlaceholder,as:Ef.y,valid:!!c.tiktokProfile&&!r.tiktokProfile,touched:c.tiktokProfile,onFocus:k}),(0,D.jsx)(S2,{children:r.tiktokProfile})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"youtubeChannel",label:b.youtubeProfileNameLabel,placeholder:b.youtubeProfileNamePlaceholder,as:Ef.y,valid:!!c.youtubeChannel&&!r.youtubeChannel,touched:c.youtubeChannel,onFocus:k}),(0,D.jsx)(S2,{children:r.youtubeChannel})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Nf.z,{name:"consentGiven",valid:!!c.consentGiven&&!r.consentGiven,onCheckedChange:e=>{w("consentGiven"),m("consentGiven",!0===e)},children:i}),(0,D.jsx)(S2,{children:r.consentGiven})]})]})}),(0,D.jsx)(Ug,{fields:l,values:p,setFieldInteracted:w,setFieldValue:m}),(0,D.jsxs)("div",{className:Wr().formFooter,children:[(0,D.jsx)("div",{children:o&&o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:(0,D.jsx)(e7.Button,{type:"submit",bgClassName:Wr().submitButtonBg,disabled:d||"submitted"===s,onPress:()=>_(r),children:b.submitButtonText})})]})]})}})},Wi=e=>{let{content:t}=e;return(0,D.jsx)("div",{className:(0,vP.Z)(Wr().content,Wr().submittedContentContainer),children:(0,D.jsx)("div",{children:null==t?void 0:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})},Wl=e=>F9().shape({firstName:FU().max(255,e.errorMaxLength||"First name cannot exceed 255 characters").required(e.errorRequired),lastName:FU().max(255,e.errorMaxLength||"Last name cannot exceed 255 characters").required(e.errorRequired),email:FU().matches(Uc,e.errorInvalidEmail).max(80,e.errorMaxLength||"Email cannot exceed 80 characters").required(e.errorRequired),...ze("phone",{requiredMessage:e.errorRequired}),school:FU().max(255,e.errorMaxLength||"School/institution name cannot exceed 255 characters").required(e.errorRequired),schoolMailingAddress:FU().required(e.errorRequired),role:FU().max(255,e.errorMaxLength||"Role cannot exceed 255 characters").required(e.errorRequired)}),Ws=e=>{let{formHeader:t,hiddenFields:r,legalText:o,submitButtonText:i="Submit",translations:l,state:s,setState:d,setRedirectData:c}=e,{ref:u,inView:p}=U$({threshold:0}),f=(0,I.useMemo)(()=>Wl(l),[l]);(0,I.useEffect)(()=>{p&&Bt("form_view",N.ContactUs,"AP_PARTNER")},[p]);let m=zh(r),h=zv(),g=async e=>{d("submitted");let t={firstName:e.firstName,lastName:e.lastName,email:e.email,...V3({value:e.phone,isoCountryCode:e.phoneCountry}),school:e.school,schoolMailingAddress:e.schoolMailingAddress,country:e.country,role:e.role};Bt("form_submit",N.ContactUs,"AP_PARTNER"),await Bb({...t,...m,...h}),d("finished"),null==c||c(t)},v=e=>{Bt("field_interacted",N.ContactUs,"AP_PARTNER",e)},y=e=>{var t;(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.name)&&v(e.target.name)}
50,b=e=>{Object.keys(e).forEach(e=>{Bt("field_validation_error",N.ContactUs,"AP_PARTNER",e)})};return(0,D.jsx)(I2,{enableReinitialize:!0,validationSchema:f,onSubmit:g,initialValues:{firstName:"",lastName:"",email:"",phoneCode:"",phoneCountry:"",phone:"",school:"",schoolMailingAddress:"",country:"",role:""},validateOnBlur:!1,validateOnChange:!1,children:e=>{let{errors:r,isSubmitting:d,touched:c,values:p,setFieldValue:f,setFieldTouched:m,validateForm:h}=e;return(0,D.jsxs)(I9,{className:"flex flex-col w-full md:max-w-[50%]","data-on-reach":"animate",ref:u,children:[(0,D.jsx)("div",{children:t&&t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsxs)("div",{children:[(0,D.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"firstName",placeholder:l.firstName+"*",as:Ef.y,valid:!!c.firstName&&!r.firstName,touched:c.firstName,onBlur:e=>{y(e)}}),(0,D.jsx)(S2,{children:r.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"lastName",placeholder:l.lastName+"*",as:Ef.y,valid:!!c.lastName&&!r.lastName,touched:c.lastName,onBlur:e=>{y(e)}}),(0,D.jsx)(S2,{children:r.lastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"email",placeholder:l.email+"*",as:Ef.y,type:"email",valid:!!c.email&&!r.email,touched:c.email,onBlur:e=>{y(e)}}),(0,D.jsx)(S2,{children:r.email})]}),(0,D.jsx)(zt,{name:"phone",placeholder:l.phoneNumber+"*",countries:zd,defaultCountry:zc,required:!0,onFieldInteracted:v}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"school",placeholder:l.school+"*",as:Ef.y,valid:!!c.school&&!r.school,touched:c.school,onBlur:e=>{y(e)}}),(0,D.jsx)(S2,{children:r.school})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ul,{error:c.schoolMailingAddress?r.schoolMailingAddress:void 0,placeholder:l.schoolMailingAddress+"*",invalidAddressError:l.errorInvalidAddress,required:!0,name:"schoolMailingAddress",forceTouched:!!c.schoolMailingAddress,onBlur:()=>{m("schoolMailingAddress",!0),v("schoolMailingAddress")},onChange:e=>{if(!e){f("schoolMailingAddress",""),f("country","");return}let{components:t}=e,r=t.street_number||"",o=t.route||"",i=t.locality||t.sublocality_level_1||"",l=t.administrative_area_level_1_short||"",s=t.postal_code||"",d=t.country||"";f("schoolMailingAddress",[r&&o?"".concat(r," ").concat(o):o,i,l,s,d].filter(Boolean).join(", ")),f("country",d)}}),(0,D.jsx)(S2,{children:c.schoolMailingAddress&&r.schoolMailingAddress})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(I8,{name:"role",placeholder:l.role+"*",as:Ef.y,valid:!!c.role&&!r.role,touched:c.role,onBlur:e=>{y(e)}}),(0,D.jsx)(S2,{children:r.role})]})]}),(0,D.jsx)("div",{className:"mt-6",children:o&&o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{className:"mt-6",children:(0,D.jsx)(e7.Button,{type:"submit",disabled:"submitted"===s,isLoading:"submitted"===s,bgClassName:"bg-[var(--ccap-pink)]",onClick:async()=>{b(await h())},children:i})})]})]})}})},Wd=e=>{let{content:t}=e;return(0,D.jsx)("div",{className:"flex flex-col w-full items-center justify-center md:max-w-[50%]",children:(0,D.jsx)("div",{children:null==t?void 0:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})},Wc=e=>({firstName:(null==e?void 0:e.first_name)||"First Name",lastName:(null==e?void 0:e.last_name)||"Last Name",email:(null==e?void 0:e.email)||"Email",phoneNumber:(null==e?void 0:e.phone_number)||"Phone",school:(null==e?void 0:e.school)||"School/Institution",schoolMailingAddress:(null==e?void 0:e.school_mailing_address)||"School Mailing Address",role:(null==e?void 0:e.role)||"Role",errorRequired:(null==e?void 0:e.error_required)||"This field is required",errorInvalidEmail:(null==e?void 0:e.error_invalid_email)||"Invalid email address",errorMaxLength:(null==e?void 0:e.error_max_length)||"",errorInvalidAddress:(null==e?void 0:e.error_invalid_address)||"Please select a valid and full address"});var Wu=r(33806);let Wp=e=>Object.prototype.hasOwnProperty.call(Wh,e),Wf=e=>{if(!(null===e||typeof e>"u")){if("string"==typeof e){let t=e.trim();return Wp(t)?t:void 0}if("number"==typeof e){let t=e.toString();return Wp(t)?t:void 0}if("object"==typeof e){let t=(0,hr.z$)(e)??e.value;if("string"==typeof t){let e=t.trim();return Wp(e)?e:void 0}if("number"==typeof t){let e=t.toString();return Wp(e)?e:void 0}}}},Wm=(e,t)=>
50Math.round(t/100*e),Wh={auto:void 0,full:100,0:0,"1/2":50,"1/3":33.333,"1/4":25,"2/3":66.667},Wg=({item_basis:e})=>{if(!(typeof e>"u"))return Object.entries((0,iw.H2)(e)).reduce((e,[t,r])=>{let o=Wf(r),i=(o&&Wh[o])??Wh.auto;if("number"!=typeof i||i<=0||isNaN(i))return e;let l=Wm(Number(vM[t]),i);return e[t]={x:[0,l]},e},{})},Wv=e=>{let{blok:t,className:r,position:o,children:i}=e,l=(0,h5.mi)({design:t.design},{...hD,...hv}),s=gn({bpHide:l.visibility}),d=(0,h5.qm)(l),{flexClasses:c,basisClasses:u}=(0,wq.k)({flexProps:{flex:l.item_flex,basis:l.item_basis},type:"item"}),p=(0,F.cn)("grid","sb-flex-group-item",null!=l&&l.item_flex?[c].flat():[],null!=l&&l.item_basis?[u].flat():[],s,r),f=null!=l&&l.item_basis?Wg({item_basis:l.item_basis}):o,m=d.item_width??("sb-image"!==t.component||d.item_basis?void 0:100);return(0,D.jsx)(wA.$,{atoms:[vD.h],children:(0,D.jsx)(it.o,{atomValues:[[vD.h,f]],children:(0,D.jsx)(wK.B,{className:p,width:m,children:i??(0,D.jsx)(hs,{blok:t})},t._uid)})})};Wv.displayName="FlexGroupSBItem";let Wy=e=>{let{blok:t}=e,{content:r,design:o,custom_classname:i}=t,l=(0,h5.mi)({design:o},C2),s=(0,h5.qm)(l),d=gn({bpHide:l.visibility,originalDisplayProperty:"flex"}),c=(0,h7.N)(null==l?void 0:l.spacing),u=(0,hr.t0)(null==s?void 0:s.text_color),p=(0,hr.t0)(null==s?void 0:s.background_color),f=!!(u.light||u.dark),m=!!(p.light||p.dark),h=f?{"--sb-flex-text-color-light":u.light,"--sb-flex-text-color-dark":u.dark,"--color-system-text-default":"var(--sb-flex-text-color)"}:{},g=m?{"--sb-flex-background-color-light":p.light,"--sb-flex-background-color-dark":p.dark,"--color-system-background-default":"var(--sb-flex-background-color)"}:{},{alignClasses:v,justifyClasses:y,directionClasses:b,wrapClasses:x,gapClasses:w,crossAxisStretchClasses:k}=$p({flexProps:{direction:null==l?void 0:l.direction,justify:null==l?void 0:l.justify,align:null==l?void 0:l.align,wrap:null==l?void 0:l.wrap,gap:null==l?void 0:l.gap,crossAxisStretch:null==l?void 0:l.cross_axis_stretch},type:"group"}),_=[b,v,y,null!=l&&l.wrap?x:[],null!=l&&l.gap?w:[],null!=l&&l.cross_axis_stretch?k:[]],C=(0,F.cn)("sb-flex-group",c,d,f?"[--sb-flex-text-color:var(--sb-flex-text-color-light)] dark:[--sb-flex-text-color:var(--sb-flex-text-color-dark)]":"",m?"bg-system-background-default [--sb-flex-background-color:var(--sb-flex-background-color-light)] dark:[--sb-flex-background-color:var(--sb-flex-background-color-dark)]":"",_.flat(),i),[$]=(0,oQ.KO)(vD.h),S=(0,I.useMemo)(()=>(0,Wu.i)(null==l?void 0:l.gap),[null==l?void 0:l.gap]),E={...h,...g,...S};return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(wW.k,{className:C,style:E,...hl(t),children:r&&(null==r?void 0:r.map(e=>(0,D.jsx)(Wv,{className:"sb-flex-group-item",blok:e,position:$},e._uid)))})})};Wy.displayName="FlexGroupSB";let Wb=e=>{var t,r;let o=null===(r=e.blok)||void 0===r?void 0:null===(t=r.content)||void 0===t?void 0:t.filter(e=>!e||!e.is_hidden);return(0,D.jsx)(Wy,{blok:{...e.blok,content:o}})},Wx={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...wG,...hv,...hO,...hD};yO.itemCountWithTypes(),[JSON.stringify([Wx.collapsible_size,Wx.collapsible_layout,Wx.collapsible_component,Wx.collapsible_appearance,Wx.collapsible_text,Wx.collapsible_effects,Wx.collapsible_code_overrides]),JSON.stringify(Wx.spacing),...hy.design.options,...hR.design.options,...hM.design.options];let Ww=e=>{let{blok:t,...r}=e,{content:o,design:i}=t,l=(0,h5.mi)({design:i},Wx),s=(0,h7.N)(null==l?void 0:l.spacing),d=gn({bpHide:l.visibility}),c=(0,F.cn)("sb-list-item",s,d);return(0,D.jsx)(gS,{className:c,...hl(t),...r,children:null==o?void 0:o.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};Ww.displayName="ListItemSB";var Wk=r(32489),W_=r.n(Wk);let WC=e=>{let{blok:t}=e,{see_button_color:r,button_text:o,brochure_form:i,design:l}=t,[s,d]=(0,I.useState)(!1),c=(0,h5.mi)({design:l}),u=(0,h5.qm)(c),p=(0,hr.oQ)({bpTheme:null==c?void 0:c.theme,bpMono:null==c?void 0:c.mono});return(0,D.jsxs)("div",{className:(0,vP.Z)(W_()["brochure-component-wrapper"],p),children:[(0,D.jsx)("div",{className:"brochure-item-content",children:(0,D.jsx)(e7.Button,{as:"button",variant:"filled",className:W_()["button-webinar"],style:{backgroundColor:Un(null==u?void 0:u.background_color)},"data-info":"brochure",bgClassName:Un(null==u?void 0:u.background_color),onPress:()=>d(e=>!e),children:o})}),(0,D.jsx)("div",{className:"brochure-list",children:(0,D.jsx)(vz,{"data-clickregion":"modal",className:(0,vP.Z)(W_()["modal-wrapper"]),open:s,onOpenChange:()=>d(!1),modal:!0,children:(0,D.jsx)(o8,{className:W_()["modal-content"],"data-clicksubregion":"brochure-modal",children:i&&i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})})]})};WC.displayName="BrochureButtonModalSB";let W$={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
50ys:[],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{s:{mt:"m",mb:"m"}}},orientation:{type:"option",options:[{name:"Horizontal",value:"horizontal"},{name:"Vertical",value:"vertical"}],default_value:{s:"horizontal"}},appearance:{type:"option",display_name:"Appearance",options:[{name:"Solid",value:"solid"},{name:"Dotted",value:"dotted"}],default_value:{s:"solid"}},width:{type:"custom",field_type:"backpack-size",units:["%","px"],display_name:"Width",default_value:{s:{unit:"%",value:"100"}}},thickness:{display_name:"Thickness",type:"custom",field_type:"backpack-size",units:["px"],default_value:{s:{unit:"px",value:"1"}}},dot_size:{display_name:"Dot size",type:"custom",field_type:"backpack-size",units:["px"],default_value:{s:{unit:"px",value:"2"}}},dot_gap:{display_name:"Dot gap",type:"custom",field_type:"backpack-size",units:["px"],default_value:{s:{unit:"px",value:"5"}}},line_inset:{display_name:"Line inset",description:"Insets the visible line from both ends while preserving the divider layout size.",type:"custom",field_type:"backpack-size",units:["px"],default_value:{s:{unit:"px",value:"0"}}},color:{display_name:"Foreground",description:"Elements placed over a background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hv,...hO,...hD};[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([W$.collapsible_size,W$.collapsible_layout,W$.collapsible_component,W$.collapsible_appearance,W$.collapsible_text,W$.collapsible_effects,W$.collapsible_code_overrides]),JSON.stringify(W$.spacing),JSON.stringify(W$.orientation),JSON.stringify(W$.thickness),JSON.stringify(W$.width),JSON.stringify(W$.color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-divider",[{preset:{name:"Default (Section)",preset:{_uid:"531ebe9c-ad30-4575-85de-32bbe8934d1e",design:{_uid:"cece3bbf-86fd-4ab2-bfac-dd786c7920b1",title:"Backpack Breakpoints plugin",fields:{color:{type:"custom",values:{},field_type:"backpack-color-picker"},order:{type:"number",values:{}},width:{type:"number",values:{s:"100"}},spacing:{type:"custom",values:{s:{mb:"m",mt:"m"}},field_type:"backpack-spacing"},position:{type:"custom",values:{s:{x:[1,5]}},field_type:"backpack-layout"},thickness:{type:"number",values:{s:"1"}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"},transitionsOnEnter:{type:"boolean",values:{}}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-divider",custom_classname:""},created_at:"2023-10-19T11:25:34.801Z",updated_at:"2023-10-19T11:25:34.801Z",image:"",color:"",description:""}},{preset:{name:"Default (Flex Group)",preset:{_uid:"0580854b-824f-43c9-a924-6d87b711e828",design:{_uid:"99a19b54-9587-447f-8747-90bf771d2930",title:"Backpack Breakpoints plugin",fields:{color:{type:"custom",values:{},field_type:"backpack-color-picker"},spacing:{type:"custom",values:{s:{mb:"m",mt:"m"}},field_type:"backpack-spacing"},item_flex:{type:"custom",values:{s:"auto"},field_type:"backpack-toggle"},thickness:{type:"number",values:{s:"1"}},item_width:{type:"number",values:{}},visibility:{type:"custom",values:{},field_type:"backpack-toggle"}},plugin:"backpack-breakpoints",description:"Plugin which wraps almost any type with breakpoints to support responsive web design."},component:"sb-divider",custom_classname:""},created_at:"2023-10-19T11:39:40.614Z",updated_at:"2023-10-19T11:39:40.614Z",image:"",color:"",description:""}}]);let WS=e=>{var t,r,o,i;let{blok:l}=e,{design:s,custom_classname:d}=l,c=(0,h5.mi)({design:s},W$),u=(0,h5.qm)(c),p=(0,hr.t0)(null==u?void 0:u.color),f=!!(p.light||p.dark),m=(0,h7.N)(null==c?void 0:c.spacing),h=gn({bpHide:c.visibility}),g=(0,F.cn)("sb-divider",m,h,f?"[--sb-divider-color:var(--sb-divider-color-light)] dark:[--sb-divider-color:var(--sb-divider-color-dark)]":"",d),v=f?{"--sb-divider-color-light":p.light,"--sb-divider-color-dark":p.dark,"--color-components-dividers-default":"var(--sb-divider-color)"}:{};return(0,D.jsx)(i7,{...hl(l),orientation:null==u?void 0:u.orientation,thickness:`${null==(t=null==u?void 0:u.thickness)?void 0:t.value}${null==(r=null==u?void 0:u.thickness)?void 0:r.unit}`,width:`${null==(o=null==u?void 0:u.width)?void 0:o.value}${null==(i=null==u?void 0:u.width)?void 0:i.unit}`,style:v,className:g})};WS.displayName="DividerSB";let WE=e=>{var t;return(null===(t=e.blok)||void 0===t?void 0:t.is_hidden)?null:(0,D.jsx)(WS,{blok:e.blok})},Wj={USD:"$",EUR:"â¬",GBP:"\xa3",JPY:"\xa5",CNY:"\xa5",INR:"â¹",AUD:"A$",CAD:"C$",CHF:"CHF",HKD:"HK$",SGD:"S$",SEK:"kr",KRW:"â©",NOK:"kr",NZD:"NZ$",MXN:"MX$",BRL:"R$",ZAR:"R",RUB:"â½",TRY:"âº",PLN:"zÅ",THB:"฿",IDR:"Rp",MYR:"RM",PHP:"â±",CZK:"KÄ",ILS:"âª",CLP:"CLP$",PKR:"â¨",AED:"د.Ø¥",COP:"COL$",SAR:"ï·¼",TWD:"NT$",DKK:"kr",ARS:"AR$",VND:"â«",EGP:"E\xa3",BDT:"à§³",NGN:"â¦",UAH:"â´",PEN:"S/",RON:"lei",HUF:"Ft"},WN=e=>{var t;return null!==(t=Wj[e.toUpperCase().trim()])&&void 0!==t?t:e},WT=(e,t)=>
50{if("string"==typeof e)return e.replace(/\{\{([\w\s]+)\}\}/g,(e,r)=>{if("reward amount"===r&&void 0!==t.referralAmount){let e=WN(t.referralCurrency||"");return"".concat(e," ").concat(t.referralAmount).trim()}return void 0!==t[r]?String(t[r]):"{{".concat(r,"}}")});if(Array.isArray(e))return e.map(e=>WT(e,t));if(e&&"object"==typeof e){let r={};for(let o of Object.keys(e))r[o]=WT(e[o],t);return r}return e},WP=e=>{let{blok:t}=e,{referralInfo:r}=(0,xB.b)(),{variant:o,align:i,className:l}=t,s=(0,I.useMemo)(()=>r&&t.content?WT(t.content,r):t.content,[t.content,r]),d={...t,content:s,className:l,design:{variant:o||"body",text_align:i||"start"}};return(0,D.jsx)(H2,{blok:d})};WP.displayName="TextParserSB";var WA=e=>{var t,r;let{instaItem:o,content_preference_api:i,borderRadius:l="0"}=e,s=e=>"VIDEO"===e?"/videoIconInstagram.svg":"CAROUSEL_ALBUM"===e?"/carousalIconInstagram.svg":null;return(0,D.jsxs)("div",{className:"w-full",children:[(0,D.jsx)("img",{src:(r=null==o?void 0:null===(t=o.media)||void 0===t?void 0:t.filename,"script"===i?"/api/image-proxy?url=".concat(encodeURIComponent(r)):r),className:"h-[376px] w-full shrink-0",style:{borderRadius:"".concat(l," ").concat(l," 0 0")},alt:""}),s(null==o?void 0:o.media_type)?(0,D.jsx)(vR(),{src:s(o.media_type),width:16,height:16,className:"absolute left-0 right-5 top-5 z-10 ml-auto mr-0",loader:e=>{let{src:t}=e;return t},alt:""}):null]})};let WO=e=>{let t=new Date(e<1e10?1e3*e:e),r=new Date,o=Math.abs(r.getTime()-t.getTime())/864e5,i=Math.floor(o);if(0===i)return"Today";if(1===i)return i+" day ago";if(o>1&&o<8)return i+" days ago";if(o>=7){let e=t.getFullYear(),o=r.getFullYear(),i=t.toLocaleString("en-EN",{month:"short"}),l=t.getDate();return e===o?l+" "+i:i+" "+l+", "+e}},WR=e=>{let{instaItem:t,bpCurrentDesign:r,username:o,user_profile_link:i,content_preference_api:l,index:s}=e;return(0,D.jsx)(wu.T,{style:(()=>{let e=U8(null==r?void 0:r.background_color)||"transparent",t=(null==r?void 0:r.border_radius)||"0",o=(null==r?void 0:r.border_outline_width)!=="0"?null==r?void 0:r.border_outline_width:"1px",i=U8(null==r?void 0:r.outline_color)||"var(--Outline-Grey-200, #E9E9E9)",l=U8(null==r?void 0:r.border_shadow_color);return{backgroundColor:e,borderRadius:t,border:"".concat(o," solid ").concat(i||"var(--Outline-Grey-200, #E9E9E9)"),boxShadow:l?"0px 2px 8px 0px ".concat(l):"none"}})(),children:(0,D.jsx)(wW.k,{direction:"column",className:"w-full gap-x-[2%] gap-y-[2%]",justify:"normal",children:(0,D.jsxs)("a",{href:(0,xL.I)("hf"===HX.Lk?t.permalink:i),target:"_blank",rel:"noopeneer noreferrer","aria-label":"Instagram Media Link","data-info":"post-".concat(s+1),children:[(null==t?void 0:t.media_type)?(0,D.jsx)(WA,{instaItem:t,content_preference_api:l,borderRadius:(null==r?void 0:r.border_radius)||"0"}):null,(0,D.jsxs)(wW.k,{direction:"column",justify:"space-between",align:"stretch",gap:"xs",className:"px-5 py-8",children:[(0,D.jsxs)(wW.k,{direction:"row",justify:"space-between",align:"stretch",gap:"xs",className:"pb-2",children:[(0,D.jsx)(vR(),{src:"/heartInstaIcon.svg",width:16,height:16,alt:"Heart icon",className:"object-contain",loader:e=>{let{src:t}=e;return t}}),(0,D.jsx)(aL.x,{variant:"uiLabelSmall",className:"!whitespace-nowrap",children:WO(null==t?void 0:t.timestamp)})]},t._uid),(0,D.jsxs)(aL.x,{variant:"uiLabelSmall",className:"line-clamp-2 max-w-full flex-auto self-stretch",children:[o,(0,D.jsx)("span",{className:"mr-[5px]",children:":"}),'"'," ",t.caption,'"']})]},t._uid)]})},t._uid)},t._uid)};var WD=e=>{var t;let{props:r}=e;return(0,D.jsxs)(wW.k,{direction:"column",justify:"center",align:"center",className:"min-w-0 flex-wrap items-center gap-2 p-2",children:[(0,D.jsx)(aL.x,{variant:"header2",align:"center",children:null==r?void 0:r.title}),(0,D.jsx)("div",{children:(0,D.jsx)(wW.k,{align:"center",justify:"center",gap:"xs",className:"w-full flex-wrap items-center gap-2",children:null==r?void 0:null===(t=r.tags)||void 0===t?void 0:t.map((e,t)=>(0,D.jsx)("a",{href:(0,xL.I)(e.url),target:"_blank","data-info":"hashtag-".concat(t+1),children:(0,D.jsx)(aL.x,{variant:"bodyBook",className:"line-clamp-none max-w-full flex-auto overflow-hidden text-ellipsis !whitespace-normal
50!break-words leading-7 text-[var(--Greys-Black,#0d0d0d)] underline",children:e.title})},e._uid))})})]})};let WM=(0,B.c6)({slots:{root:"relative"}}),WL={spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},...hu,...wX},WI={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...WL,...hv,...hO,...hD};yO.namePrefix(),yO.itemCountWithTypes(),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([WI.collapsible_size,WI.collapsible_layout,WI.collapsible_component,WI.collapsible_appearance,WI.collapsible_text,WI.collapsible_effects,WI.collapsible_code_overrides]),JSON.stringify(WI.spacing),JSON.stringify(WI.background_color),...hy.design.options,JSON.stringify(WI.text_color),...hR.design.options,...hM.design.options];let WF=e=>{let{blok:t}=e,{content:r,design:o,custom_classname:i}=t,l=(0,h5.mi)({design:o},WI),s=(0,h5.qm)(l),d=gn({bpHide:l.visibility}),c=(0,h7.N)(null==l?void 0:l.spacing),{root:u}=(0,B.tv)(WM)(),p=(0,hr.t0)(null==s?void 0:s.text_color),f=(0,hr.t0)(null==s?void 0:s.background_color),m=!!(p.light||p.dark),h=!!(f.light||f.dark),g=(0,F.cn)(u(),"sb-content-group",c,d,m?"[--sb-content-group-text-color:var(--sb-content-group-text-color-light)] dark:[--sb-content-group-text-color:var(--sb-content-group-text-color-dark)]":"",h?"bg-system-background-default [--sb-content-group-bg-color:var(--sb-content-group-bg-color-light)] dark:[--sb-content-group-bg-color:var(--sb-content-group-bg-color-dark)]":"",i),v=h?{"--sb-content-group-bg-color-light":f.light,"--sb-content-group-bg-color-dark":f.dark,"--color-system-background-default":"var(--sb-content-group-bg-color)"}:{},y={...m?{"--sb-content-group-text-color-light":p.light,"--sb-content-group-text-color-dark":p.dark,"--color-system-text-default":"var(--sb-content-group-text-color)"}:{},...v};return(0,D.jsx)("div",{className:g,style:{...y,position:"relative"},...hl(t),children:r&&(null==r?void 0:r.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)))})};WF.displayName="ContentGroupSB";let WB=e=>e?new URL(e).hostname.includes("culturalcare")?(0,xL.I)(e):e:"";var WV=r(80235),Wz=r.n(WV);let WH=e=>{let{blok:t}=e,{image:r,link:o,isSmall:i}=t,l=WB(o),s=(0,I.useMemo)(()=>l.toLowerCase().includes("android")?"android":l.toLowerCase().includes("ios")?"ios":void 0,[l]);return(0,D.jsx)("div",{className:i?Wz().containerSmall:Wz().container,children:(0,D.jsx)("a",{href:l,target:"_blank",...s&&{"data-info":s},children:(0,D.jsx)(vR(),{className:Wz().auPairImage,src:r.filename,alt:r.alt,width:200,height:60,loader:e=>iD({...e,src:r.filename,width:400,quality:70})})})})};WH.displayName="ClickableImage";var WU=r(3539),WZ=r.n(WU);let WW=e=>{let{blok:t}=e,{url:r,thumbnail:o}=t,i=(0,I.useRef)(null),[l,s]=(0,I.useState)(!1);return(0,D.jsxs)("div",{className:WZ().videoWrapper,children:[(0,D.jsxs)("video",{ref:i,width:"100%",playsInline:!0,poster:o,className:WZ().video,muted:!0,controls:!0,onPlay:()=>s(!0),onPause:()=>s(!1),children:[(0,D.jsx)("source",{src:r,type:"video/mp4"}),"Video tag not supported by this browser."]}),!l&&(0,D.jsx)("div",{className:WZ().playButton,onClick:()=>{i.current&&(i.current.play(),s(!0))},children:(0,D.jsx)(zB,{})})]})};WW.displayName="VideoComponentSB";let WK=e=>{let{blok:t}=e,{desktopText:r,mobileText:o}=t,[i,l]=(0,I.useState)(768),s=()=>l(window.innerWidth);return(0,I.useEffect)(()=>(window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}),[i]),o&&i<=400?(0,D.jsx)(D.Fragment,{children:null==o?void 0:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}):(0,D.jsx)(D.Fragment,{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})};WK.displayName="CustomTextSB";var Wq=r(20340),WG=r.n(Wq);let WJ=e=>{let{blok:t}=e,{mainImage:r,mobileImage:o,imageSticker:i,showImageSticker:l,isDesktopHeightSmall:s,contentBlok:d,design:c}=t,u=(0,h5.mi)({design:c}),p=(0,h5.qm)(u);(0,h7.N)(null==u?void 0:u.spacing);let f=(0,hr.oQ)({bpTheme:null==u?void 0:u.theme,bpMono:null==u?void 0:u.mono}),{breakpoint:m}=(0,ib.G)(),[h,g]=(0,I.useState)(768);function v(){g(window.innerWidth)}return(0,I.useEffect)(()=>(window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)})),(0,D.jsx)("div",{className:(0,vP.Z)(f),children:(0,D.jsxs)(wW.k,{direction:"s"!==m?"row":"column",className:(0,vP.Z)(WG().mainContentWrap,s?WG().mainContentHeightSmall:WG().mainContentHeight),style:{backgroundColor:Un(null==p?void 0:p.background_color,void 0)},children:[(0,D.jsx)("div",{className:(0,vP.Z)(s?WG().innerItemContainerSmall:WG().innerItemContainer,u),style:{backgroundColor:Un(null==p?void 0:p.background_color,void 0)},children:d&&(null==d?void 0:d.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)))}),l?(0,D.jsx)("div",{className:WG().imgContainerDefaultPosition,children:(0,D.jsx)(vR(),{src:null==i?void 0:i.filename,alt:null==i?void 0:i.alt,className:s?WG().topImageSmall:WG().topImage,width:130,height:130,loader:e=>iD({...e,src:null==i?void 0:i.filename,width:130,quality:80})})}):null,h<=400?(0,D.jsx)(vR(),{className:WG().imgContainer,src:o.filename,alt:o.alt,width:400,height:700}):(0,D.jsx)(vR(),{className:WG().imgContainer,src:null==r?void 0:r.filename,alt:r.alt,width:500,height:700,loader:e=>iD({...e,src:null==r?void 0:r.filename,width:h})})]})})};WJ.displayName="HeroSectionSB";var WY=r(41082),WX=r(75068),WQ=r(10186),W0=r(52254);let W1=e=>{var t,r;let{blok:o}=e,{field_name:i,required:l,placeholder:s,floating_label:d,label:c,description:u,design:p,mobile_panel_title:f,error_validation_message:m,success_validation_message:h,validation_rules:g,locale:v}=o,[y]=(0,oQ.KO)(Eg),{formState:{errors:b,dirtyFields:x,isSubmitted:w},getValues:k,setValue:_,register:C,unregister:$,watch:S}=S9(),E=j6(g);(0,I.useEffect)(()=>()=>{$(i.selected)},[]);let j=(0,h5.mi)({design:p}
50),{flexClasses:N,basisClasses:T}=(0,wq.k)({flexProps:{flex:j.item_flex,basis:j.item_basis},type:"item"}),P=(0,F.cn)("sb-form-date-picker",[N].flat(),[T].flat()),{onChange:A,...O}=C(i.selected,{validate:e=>j8(e,E,i.selected),required:l}),R=e=>({target:{event:e}});return(0,D.jsxs)(wK.B,{className:P,children:[(null==(t=null==i?void 0:i.selected)?void 0:t.length)>0?(0,D.jsx)(WY.I,{onChange:e=>(_(i.selected,e,{shouldValidate:!0}),Em.x.emit("form_field_changed",{name:"form_field_changed",payload:{formId:y,field_name:i.selected,value:e}}),A(R(e))),touched:x[i.selected]||w,value:(0,W0.WG)(k(i.selected)??S(i.selected)),valid:!b[null==i?void 0:i.selected],required:l,label:d?void 0:c,floatingLabel:s,description:u,mobilePanelTitle:f,locale:v,...O,...hl(o),children:(0,D.jsx)(WX.f,{children:(0,D.jsx)(WQ.T,{})})}):null,(0,D.jsx)(S2,{valid:!1,children:m||(null==(r=b[i.selected])?void 0:r.message)}),(0,D.jsx)(S2,{valid:!0,children:h})]})};W1.displayName="FormDatePickerSB";let W2=e=>{let{blok:t}=e,{title:r,content:o,cta:i,design:l}=t,s=(0,h5.mi)({design:l}),d=(0,h5.qm)(s),c=(0,h7.N)(null==s?void 0:s.spacing),u=(0,hr.oQ)({bpTheme:null==s?void 0:s.theme,bpMono:null==s?void 0:s.mono}),{breakpoint:p}=(0,ib.G)();return(0,D.jsx)("div",{className:(0,vP.W)(s,c,"rounded-[24px]",u),style:{backgroundColor:Un(null==d?void 0:d.background_color)},children:(0,D.jsxs)(wW.k,{justify:"space-between",align:"center",gap:"l",direction:"s"!==p?"row":"column",className:"flex flex-nowrap gap-8 overflow-hidden rounded-xl p-6 md:p-10 [&>*]:min-w-0 [&>*:first-child]:flex-[0_0_75%] [&>*:last-child]:flex-[0_0_25%]",children:[(0,D.jsxs)(wW.k,{direction:"column",className:"min-w-0 flex-auto overflow-hidden break-words",gap:"m",children:[(0,D.jsx)("div",{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)("div",{children:null==o?void 0:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]}),i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))]})})};W2.displayName="ArticleBannerSB";let W3=e=>{let{blok:t}=e,{hiddenBlok:r,localesToShow:o}=t,{locale:i}=(0,xB.b)();return(0,D.jsx)(D.Fragment,{children:Array.isArray(o)&&o.includes(i)&&(null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)))})};W3.displayName="VisibilityComponentSB";let W4=e=>{let{blok:t}=e,{content:r,design:o}=t,i=(0,h5.mi)({design:o}),l=(0,h5.qm)(i),s=(0,h7.N)(null==i?void 0:i.spacing),d=(0,I.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e&&parseInt(e.replace("px",""))||t},[]),c=(e=>{let t=U8(null==e?void 0:e.background_color)||"transparent",r=(null==e?void 0:e.border_radius)||"8px",o=(null==e?void 0:e.border_outline_width)||"2px",i=U8(null==e?void 0:e.outline_color)||"transparent",l=U8(null==e?void 0:e.border_shadow_color),s="".concat(o," solid ").concat(i),c=4*d(o);return{backgroundColor:t,borderRadius:r,border:s,width:"100%",height:"100%",boxShadow:l?"0 0 0 ".concat(c,"px ").concat(l):"none"}})(l);return(0,D.jsx)("div",{className:(0,vP.W)(i,s,"box-border flex h-full w-full flex-1 self-stretch"),style:c,children:r.length>0?r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):null})},W6=e=>{let{blok:t}=e,{rowText:r,columnContent:o}=t;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:"flex min-h-[60px] flex-1 items-center !justify-start py-2",children:r.length>0?r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)):null}),o.length>0?o.map(e=>(0,D.jsx)("div",{className:"flex min-h-[60px] flex-1 items-center justify-center py-2",children:(0,D.jsx)(ha.Xj,{blok:e})},e._uid)):null]})},W8=e=>{var t,r;let{blok:o,children:i,...l}=e,s=(0,h5.mi)({design:null==o?void 0:o.design}),d=(0,h5.qm)(s);return(0,D.jsxs)(RL.d,{direction:null==d?void 0:d.direction,title:null==o?void 0:o.title,subtitle:null==o?void 0:o.subtitle,...l,children:[(0,D.jsx)(RF,{asChild:!0,children:i}),(0,D.jsxs)(RV.x,{children:[(0,D.jsx)(RB.O,{}),(0,D.jsx)(Rz.s,{children:(null==(t=null==o?void 0:o.content)?void 0:t.length)>0&&(null==(r=null==o?void 0:o.content)?void 0:r.map(e=>(0,D.jsx)(hs,{blok:e},null==e?void 0:e._uid)))})]})]})};W8.displayName="DrawerSB";var W9=r(64470);function W5(e){return!!e.write}function W7(e){return"v"in e||"e"in e}function Ke(e){if("e"in e)throw e.e;if(!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}let Kt=new WeakMap;function Kn(e){var t;return Ka(e)&&!!(null==(t=Kt.get(e))?void 0:t[0])}function Kr(e,t){let r=Kt.get(e);if(!r){r=[!0,new Set],Kt.set(e,r);let t=()=>{r[0]=!1};e.then(t,t)}r[1].add(t)}function Ka(e){return"function"==typeof(null==e?void 0:e.then)}function Ko(e,t,r){if(!r.p.has(e)){r.p.add(e);let o=()=>r.p.delete(e);t.then(o,o)}}function Ki(e,t,r){var o;let i=new Set;for(let t of(null==(o=r.get(e))?void 0:o.t)||[])r.has(t)&&i.add(t);for(let e of t.p)i.add(e);return i}let Kl=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return t.read(...o)},Ks=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return t.write(...o)},Kd=(e,t)=>{var r;return null==(r=t.unstable_onInit)?void 0:r.call(t,e)},Kc=(e,t,r)=>{var o;return null==(o=t.onMount)?void 0:o.call(t,r)},Ku=(e,t)=>{let r=K$(e),o=r[0],i=r[9];if(!t)throw Error("Atom is undefined or null");let l=o.get(t);return l||(l={d:new Map,p:new Set,n:0},o.set(t,l),null==i||i(e,t)),l},Kp=e=>{let t=K$(e),r=t[1],o=t[3],i=t[4],l=t[5],s=t[6],d=t[13],c=[],u=e=>{try{e()}catch(e){c.push(e)}};do{s.f&&u(s.f);let t=new Set,c=t.add.bind(t);
50o.forEach(e=>{var t;return null==(t=r.get(e))?void 0:t.l.forEach(c)}),o.clear(),l.forEach(c),l.clear(),i.forEach(c),i.clear(),t.forEach(u),o.size&&d(e)}while(o.size||l.size||i.size);if(c.length)throw AggregateError(c)},Kf=e=>{let t=K$(e),r=t[1],o=t[2],i=t[3],l=t[11],s=t[14],d=t[17],c=[],u=new WeakSet,p=new WeakSet,f=Array.from(i);for(;f.length;){let t=f[f.length-1],i=l(e,t);if(p.has(t)){f.pop();continue}if(u.has(t)){if(o.get(t)===i.n)c.push([t,i]);else if(o.has(t))throw Error("[Bug] invalidated atom exists");p.add(t),f.pop();continue}for(let e of(u.add(t),Ki(t,i,r)))u.has(e)||f.push(e)}for(let t=c.length-1;t>=0;--t){let[r,l]=c[t],u=!1;for(let e of l.d.keys())if(e!==r&&i.has(e)){u=!0;break}u&&(s(e,r),d(e,r)),o.delete(r)}},Km=(e,t)=>{var r,o;let i,l;let s=K$(e),d=s[1],c=s[2],u=s[3],p=s[6],f=s[7],m=s[11],h=s[12],g=s[13],v=s[14],y=s[16],b=s[17],x=m(e,t);if(W7(x)&&(d.has(t)&&c.get(t)!==x.n||Array.from(x.d).every(t=>{let[r,o]=t;return v(e,r).n===o})))return x;x.d.clear();let w=!0;function k(){d.has(t)&&(b(e,t),g(e),h(e))}let _=x.n;try{let o=f(e,t,function(r){var o;if(r===t){let t=m(e,r);if(!W7(t)){if("init"in r)Kx(e,r,r.init);else throw Error("no atom init")}return Ke(t)}let i=v(e,r);try{return Ke(i)}finally{x.d.set(r,i.n),Kn(x.v)&&Ko(t,x.v,i),null==(o=d.get(r))||o.t.add(t),w||k()}},{get signal(){return i||(i=new AbortController),i.signal},get setSelf(){return W5(t)||console.warn("setSelf function cannot be used with read-only atom"),!l&&W5(t)&&(l=function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];if(w&&console.warn("setSelf function cannot be called in sync"),!w)try{return y(e,t,...o)}finally{g(e),h(e)}}),l}});return Kx(e,t,o),Ka(o)&&(Kr(o,()=>null==i?void 0:i.abort()),o.then(k,k)),null==(r=p.r)||r.call(p,t),x}catch(e){return delete x.v,x.e=e,++x.n,x}finally{w=!1,_!==x.n&&c.get(t)===_&&(c.set(t,x.n),u.add(t),null==(o=p.c)||o.call(p,t))}},Kh=(e,t)=>{let r=K$(e),o=r[1],i=r[2],l=r[11],s=[t];for(;s.length;){let t=s.pop(),r=l(e,t);for(let d of Ki(t,r,o)){let t=l(e,d);i.set(d,t.n),s.push(d)}}},Kg=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];let l=K$(e),s=l[3],d=l[6],c=l[8],u=l[11],p=l[12],f=l[13],m=l[14],h=l[15],g=l[17],v=!0;try{return c(e,t,t=>Ke(m(e,t)),function(r){for(var o,i=arguments.length,l=Array(i>1?i-1:0),c=1;c<i;c++)l[c-1]=arguments[c];let m=u(e,r);try{if(r!==t)return Kg(e,r,...l);{if(!("init"in r))throw Error("atom not writable");let t=m.n,i=l[0];Kx(e,r,i),g(e,r),t!==m.n&&(s.add(r),null==(o=d.c)||o.call(d,r),h(e,r));return}}finally{v||(f(e),p(e))}},...o)}finally{v=!1}},Kv=(e,t)=>{var r;let o=K$(e),i=o[1],l=o[3],s=o[6],d=o[11],c=o[15],u=o[18],p=o[19],f=d(e,t),m=i.get(t);if(m&&!Kn(f.v)){for(let[o,i]of f.d)if(!m.d.has(o)){let p=d(e,o);u(e,o).t.add(t),m.d.add(o),i!==p.n&&(l.add(o),null==(r=s.c)||r.call(s,o),c(e,o))}for(let r of m.d||[])if(!f.d.has(r)){m.d.delete(r);let o=p(e,r);null==o||o.t.delete(t)}}},Ky=(e,t)=>{var r;let o=K$(e),i=o[1],l=o[4],s=o[6],d=o[10],c=o[11],u=o[12],p=o[13],f=o[14],m=o[16],h=c(e,t),g=i.get(t);if(!g){for(let r of(f(e,t),h.d.keys()))Ky(e,r).t.add(t);g={l:new Set,d:new Set(h.d.keys()),t:new Set},i.set(t,g),null==(r=s.m)||r.call(s,t),W5(t)&&l.add(()=>{let r=!0;try{let o=d(e,t,function(){for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];try{return m(e,t,...i)}finally{r||(p(e),u(e))}});o&&(g.u=()=>{r=!0;try{o()}finally{r=!1}})}finally{r=!1}})}return g},Kb=(e,t)=>{var r;let o=K$(e),i=o[1],l=o[5],s=o[6],d=o[11],c=o[19],u=d(e,t),p=i.get(t);if(p&&!p.l.size&&!Array.from(p.t).some(e=>{var r;return null==(r=i.get(e))?void 0:r.d.has(t)})){for(let o of(p.u&&l.add(p.u),p=void 0,i.delete(t),null==(r=s.u)||r.call(s,t),u.d.keys())){let r=c(e,o);null==r||r.t.delete(t)}return}return p},Kx=(e,t,r)=>{let o=K$(e)[11],i=o(e,t),l="v"in i,s=i.v;if(Ka(r))for(let l of i.d.keys())Ko(t,r,o(e,l));i.v=r,delete i.e,l&&Object.is(s,i.v)||(++i.n,Ka(s)&&function(e){let t=Kt.get(e);(null==t?void 0:t[0])&&(t[0]=!1,t[1].forEach(e=>e()))}(s))},Kw=(e,t)=>Ke((0,K$(e)[14])(e,t)),Kk=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];let l=K$(e),s=l[12],d=l[13],c=l[16];try{return c(e,t,...o)}finally{d(e),s(e)}},K_=(e,t,r)=>{let o=K$(e),i=o[12],l=o[18],s=o[19],d=l(e,t).l;return d.add(r),i(e),()=>{d.delete(r),s(e,t),i(e)}},KC=new WeakMap,K$=e=>{let t=KC.get(e);if(!t)throw Error("Store must be created by buildStore to read its building blocks");return t},KS=0;function KE(e,t){let r="atom".concat(++KS),o={toString(){return this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?o.read=e:(o.init=e,o.read=Kj,o.write=KN),t&&(o.write=t),o}function Kj(e){return e(this)}function KN(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}let KT=(0,I.createContext)(void 0);function KP(e){let t=(0,I.useContext)(KT);return(null==e?void 0:e.store)||t||(f||(f=p?p():function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o={get:e=>(0,K$(o)[21])(o,e),set(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(0,K$(o)[22])(o,e,...r)},sub:(e,t)=>(0,K$(o)[23])(o,e,t)},i=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},Kl,Ks,Kd,Kc,Ku,Kp,Kf,Km,Kh,Kg,Kv,Ky,Kb,Kx,Kw,Kk,K_,void 0].map((e,r)=>t[r]||e);return KC.set(o,Object.freeze(i)),o}(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=f),globalThis.__JOTAI_DEFAULT_STORE__!==f&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),f)}let KA=e=>"function"==typeof(null==e?void 0:e.then),KO=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},KR=I.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw KO(e),e}),KD=new WeakMap,KM=(e,t)=>{let r=KD.get(e);return r||(r=new Promise((o,i)=>{let l=e,s=e=>t=>{l===e&&o(t)},d=e=>t=>{l===e&&i(t)},c=()=>{try{let e=t();KA(e)?(KD.set(e,r),l=e,e.then(s(e),d(e)),Kr(e,c)):o(e)}catch(e){i(e)}};e.then(s(e),d(e)),Kr(e,c)}),KD.set(e,r)),r};function KL(e,t){let{delay:r,unstable_promiseStatus:o=!I.use}=t||{},i=KP(t),[[l,s,d],c]=(0,I.useReducer)(t=>{let r=i.get(e);return Object.is(t[0],r)&&t[1]===i&&t[2]===e?t:[r,i,e]},void 0,()=>[i.get(e),i,e]),u=l;if((s!==i||d!==e)&&(c(),u=i.get(e)),(0,I.useEffect)(()=>{let t=i.sub(e,()=>{if(o)try{let t=i.get(e);KA(t)&&KO(KM(t,()=>i.get(e)))}catch(e){}if("number"==typeof r){setTimeout(c,r);return}c()});return c(),t},[i,e,r,o]),(0,I.useDebugValue)(u),KA(u)){let t=KM(u,()=>i.get(e));return o&&KO(t),KR(t)}return u}let KI=new WeakMap;function KF(e,t){let r=KP(t),o=KB(r);for(let[i,...l]of e)(!o.has(i)||(null==t?void 0:t.dangerouslyForceHydrate))&&(o.add(i),r.set(i,...l))}let KB=e=>{let t=KI.get(e);return t||(t=new WeakSet,KI.set(e,t)),t};var KV=e=>{if((null==e?void 0:e.fields)&&"object"==typeof e.fields){let t={};
50return Object.entries(e.fields).forEach(e=>{let[r,o]=e;(null==o?void 0:o.values)&&(t[r]=o.values,t["".concat(r,"_config")]=o)}),t}if(!(null==e?void 0:e.options)||!Array.isArray(e.options))return{};let t={};return e.options.forEach(e=>{if(!(!e.name||!e.value))try{let r=JSON.parse(e.value);r.default_value&&(t[e.name]=r.default_value),t["".concat(e.name,"_config")]=r}catch(t){(0,W9.p)('Failed to parse design setting "'.concat(e.name,'"'),t)}}),t},Kz=e=>{var t,r,o,i,l,s,d,c,u,p,f,m,h,g,v,y,b,x,w,k,_,C,$,S,E,j,N,T,P,A,O,R,D,M,L,I,F,B,V,z;let H=KV(null==e?void 0:e.blog_design);return{translations:{home:(null==e?void 0:e.translation_home)||(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.translation_home)||"Home",blog:(null==e?void 0:e.translation_blog)||(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.translation_blog)||"Blog",category:(null==e?void 0:e.translation_category)||(null==e?void 0:null===(o=e.content)||void 0===o?void 0:o.translation_category)||"Category",categories:(null==e?void 0:e.translation_categories)||(null==e?void 0:null===(i=e.content)||void 0===i?void 0:i.translation_categories)||"Categories",author:(null==e?void 0:e.translation_author)||(null==e?void 0:null===(l=e.content)||void 0===l?void 0:l.translation_author)||"Author",author_label:(null==e?void 0:e.translation_author_label)||(null==e?void 0:null===(s=e.content)||void 0===s?void 0:s.translation_author_label)||"By",last_updated:(null==e?void 0:e.translation_last_updated)||(null==e?void 0:null===(d=e.content)||void 0===d?void 0:d.translation_last_updated)||"Last updated",reading_time_text:(null==e?void 0:e.reading_time_text_default)||(null==e?void 0:null===(c=e.content)||void 0===c?void 0:c.reading_time_text_default)||"min read",load_more_text:(null==e?void 0:e.translation_load_more_text)||(null==e?void 0:null===(u=e.content)||void 0===u?void 0:u.translation_load_more_text)||"Load More",loading_articles_text:(null==e?void 0:e.translation_loading_articles_text)||(null==e?void 0:null===(p=e.content)||void 0===p?void 0:p.translation_loading_articles_text)||"Loading articlesâ¦",read_more_text:(null==e?void 0:e.translation_read_more_text)||(null==e?void 0:null===(f=e.content)||void 0===f?void 0:f.translation_read_more_text)||"Read more",no_articles_available_text:(null==e?void 0:e.no_articles_available_text)||(null==e?void 0:null===(m=e.content)||void 0===m?void 0:m.no_articles_available_text)||"No articles available with the selected filters"},design:{card_border_radius:H.card_border_radius,card_background_color:H.card_background_color,card_text_color:H.card_text_color,card_tag_text_color:H.card_tag_text_color,card_tag_background_color:H.card_tag_background_color,card_tag_variant:H.card_tag_variant,card_tag_border_color:H.card_tag_border_color,card_priority_tag_text_color:H.card_priority_tag_text_color,card_priority_tag_background_color:H.card_priority_tag_background_color,card_priority_tag_variant:H.card_priority_tag_variant,card_priority_tag_border_color:H.card_priority_tag_border_color,card_border:H.card_border,image_aspect_ratio:H.image_aspect_ratio,card_title_variant:H.card_title_variant,card_description_variant:H.card_description_variant,card_title_description_gap:H.card_title_description_gap,list_link_color:H.list_link_color,pagination_accent_color:H.pagination_accent_color,load_more_button_shape:H.load_more_button_shape,article_categories_text_color:H.article_categories_text_color,article_categories_border_color:H.article_categories_border_color,author_image_border_radius:H.author_image_border_radius,author_surface_variant:H.author_surface_variant,author_surface_border_radius:H.author_surface_border_radius},seo:{structuredData:(null==e?void 0:e.blog_structured_data)||(null==e?void 0:null===(h=e.content)||void 0===h?void 0:h.blog_structured_data),canonicalBase:(null==e?void 0:e.blog_canonical_base)||(null==e?void 0:null===(g=e.content)||void 0===g?void 0:g.blog_canonical_base),noIndexDefault:(null==e?void 0:e.blog_no_index_default)||(null==e?void 0:null===(v=e.content)||void 0===v?void 0:v.blog_no_index_default),noFollowDefault:(null==e?void 0:e.blog_no_follow_default)||(null==e?void 0:null===(y=e.content)||void 0===y?void 0:y.blog_no_follow_default),metaTitlePattern:(null==e?void 0:e.blog_default_meta_title_pattern)||(null==e?void 0:null===(b=e.content)||void 0===b?void 0:b.blog_default_meta_title_pattern),metaDescriptionPattern:(null==e?void 0:e.blog_default_meta_description_pattern)||(null==e?void 0:null===(x=e.content)||void 0===x?void 0:x.blog_default_meta_description_pattern),organizationName:(null==e?void 0:e.blog_organization_name)||(null==e?void 0:null===(w=e.content)||void 0===w?void 0:w.blog_organization_name),organizationUrl:(null==e?void 0:e.blog_organization_url)||(null==e?void 0:null===(k=e.content)||void 0===k?void 0:k.blog_organization_url),organizationLogo:(null==e?void 0:e.blog_organization_logo)||(null==e?void 0:null===(_=e.content)||void 0===_?void 0:_.blog_organization_logo),publisherSocialUrls:(null===(C=(null==e?void 0:e.blog_publisher_social_urls)||(null==e?void 0:null===($=e.content)||void 0===$?void 0:$.blog_publisher_social_urls))||void 0===C?void 0:C.split(",").map(e=>e.trim()))||[]},general:{articles_per_page:(null==e?void 0:e.articles_per_page)||(null==e?void 0:null===(S=e.content)||void 0===S?void 0:S.articles_per_page),show_reading_time_default:null===(R=null!==(O=null==e?void 0:e.show_reading_time_default)&&void 0!==O?O:null==e?void 0:null===(E=e.content)||void 0===E?void 0:E.show_reading_time_default)||void 0===R||R,show_dates_default:null===(M=null!==(D=null==e?void 0:e.show_dates_default)&&void 0!==D?D:null==e?void 0:null===(j=e.content)||void 0===j?void 0:j.show_dates_default)||void 0===M||M,date_format:(null==e?void 0:e.date_format)||(null==e?void 0:null===(N=e.content)||void 0===N?void 0:N.date_format)||"long",show_home_breadcrumb:null===(I=null!==(L=null==e?void 0:e.show_home_breadcrumb)&&void 0!==L?L:null==e?void 0:null===(T=e.content)||void 0===T?void 0:T.show_home_breadcrumb)||void 0===I||I,show_article_author:null===(B=null!==(F=null==e?void 0:e.show_article_author)&&void 0!==F?F:null==e?void 0:null===(P=e.content)||void 0===P?void 0:P.show_article_author)||void 0===B||B,show_article_last_updated:null!==(z=null!==(V=null==e?void 0:e.show_article_last_updated)&&void 0!==V?V:null==e?void 0:null===(A=e.content)||void 0===A?void 0:A.show_article_last_updated)&&void 0!==z&&z}}},KH=KE({translations:{home:"Home",blog:"Blog",category:"Category",categories:"Categories",author:"Author",author_label:"By",last_updated:"Last updated",reading_time_text:"min read",loading_articles_text:"Loading articlesâ¦",load_more_text:"Load More",read_more_text:"Read more",no_articles_available_text:"No articles available with the selected filters"},design:{},seo:{},general:{articles_per_page:void 0,show_reading_time_default:!0,show_dates_default:!0,date_format:"long",show_home_breadcrumb:!0,show_article_author:!0,show_article_last_updated:!1}}),KU=e=>[[KH,Kz(e)]],KZ=e=>{let{settings:t,children:r}=e;return KF(KU(t)),(0,D.jsx)(D.Fragment,{children:r})},KW=()=>KL(KH),KK=()=>{let{translations:e}=KL(KH);return e},Kq=()=>{let{design:e}=KL(KH);return e},KG=()=>{let{seo:e}=KL(KH);return e},KJ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"{title}",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;
50return Object.entries(t).forEach(e=>{let[t,o]=e;o&&(r=r.replace(RegExp("\\{".concat(t,"\\}"),"g"),o))}),r=(r=r.replace(/\{[a-zA-Z_][a-zA-Z0-9_]*\}/g,"").trim()).replace(/\s*\|\s*\|\s*/g," | ").replace(/^\s*\|\s*/,"").replace(/\s*\|\s*$/,"")},KY=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"{description}",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e;return Object.entries(t).forEach(e=>{let[t,o]=e;o&&(r=r.replace(RegExp("\\{".concat(t,"\\}"),"g"),o))}),r=(r=r.replace(/\{[a-zA-Z_][a-zA-Z0-9_]*\}/g,"").trim()).replace(/\s*[-|]\s*[-|]\s*/g," - ").replace(/^\s*[-|]\s*/,"").replace(/\s*[-|]\s*$/,"")},KX=(e,t)=>{let r={},o={};try{e&&(r=JSON.parse(e))}catch(e){(0,W9.p)("Failed to parse global structured data",e)}try{t&&(o=JSON.parse(t))}catch(e){(0,W9.p)("Failed to parse page structured data",e)}return{...r,...o}},KQ=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"long",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",o="string"==typeof e?new Date(e):e;if(isNaN(o.getTime()))return"";switch(t){case"full":return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric"}).format(o);case"long":return new Intl.DateTimeFormat(r,{year:"numeric",month:"short",day:"numeric"}).format(o);case"medium":return new Intl.DateTimeFormat(r,{year:"numeric",month:"2-digit",day:"2-digit"}).format(o);case"short":return new Intl.DateTimeFormat(r,{year:"2-digit",month:"numeric",day:"numeric"}).format(o);case"relative":{let e=Math.floor((new Date().getTime()-o.getTime())/864e5);return 0===e?"Today":1===e?"Yesterday":e<7?"".concat(e," days ago"):e<30?"".concat(Math.floor(e/7)," weeks ago"):e<365?"".concat(Math.floor(e/30)," months ago"):"".concat(Math.floor(e/365)," years ago")}default:return new Intl.DateTimeFormat(r).format(o)}},K0=KE(null),K1=e=>[[K0,e||null]],K2=e=>{let{author:t,children:r}=e;return KF(K1(t)),r},K3=()=>KL(K0),K4=e=>e&&"object"==typeof e&&!Array.isArray(e)&&(void 0!==e.s||void 0!==e.m||void 0!==e.l||void 0!==e.xl||void 0!==e.xxl),K6=e=>null!=e&&!!e.selected&&!e.selected.id&&(!e.selected.value||""===e.selected.value)||!e,K8=e=>null==e||""===e||"object"==typeof e&&0===Object.keys(e).length||"inherit"===e||K6(e),K9=()=>{var e;let t=Kq(),r=(null===(e=(0,ib.G)())||void 0===e?void 0:e.breakpoint)||"s";return{current:Object.entries(t||{}).reduce((e,t)=>{let[o,i]=t;return K4(i)?e[o]=i[r]||i.s||Object.values(i)[0]:e[o]=i,e},{}),raw:t,breakpoint:r,getRawValue:e=>null==t?void 0:t[e]}},K5=e=>{let{current:t,raw:r,breakpoint:o}=K9();if(!e)return t;let i=e;(null==e?void 0:e.fields)&&"object"==typeof e.fields?(i={},Object.entries(e.fields).forEach(e=>{let[t,r]=e;(null==r?void 0:r.values)&&(i[t]=r.values)})):(null==e?void 0:e.options)&&Array.isArray(e.options)&&(i={},e.options.forEach(e=>{if(e.name&&e.value)try{let t=JSON.parse(e.value);t.default_value&&(i[e.name]=t.default_value)}catch(e){}}));let l=Object.entries(Object.entries(i).reduce((e,t)=>{let[r,i]=t;return K4(i)?e[r]=i[o]||i.s||Object.values(i)[0]:e[r]=i,e},{})).reduce((e,t)=>{let[r,o]=t;return K8(o)||(e[r]=o),e},{}),s={...t,...l},d={...r,...Object.fromEntries(Object.entries(i).filter(e=>{let[,t]=e;return!K8(t)}))};return{...s,getRawValue:e=>null==d?void 0:d[e],spacing:null==d?void 0:d.spacing}},K7=e=>"and"===e||"all_in_array"===e?"all_in_array":"any_in_array",qe=e=>"string"==typeof e?e.trim().length>0:!!Array.isArray(e)&&e.some(e=>"string"==typeof e&&e.trim().length>0),qt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,qn=e=>(null==e?void 0:e.trim())||void 0,qr=e=>e.toLowerCase(),qa=e=>{if("string"==typeof e){let t=e.trim();return 0===t.length?void 0:qt.test(t)?{uuid:qr(t)}:{name:t}}let t={},r=qn(e.uuid),o=qn(e.name),i=qn(e.slug);return r&&(t.uuid=qr(r)),o&&(t.name=o),i&&(t.slug=i),t.uuid||t.name?t:void 0},qo=e=>e?Array.isArray(e)?e:[e]:[],qi=e=>{let t=new Map,r=new Map,o=new Set,i=[],l=e=>{let t=r.get(e);void 0!==t&&(i[t]=void 0,r.delete(e))};for(let c of qo(e)){var s,d;let e=qa(c);if(!e)continue;let u=null===(s=e.name)||void 0===s?void 0:s.toLowerCase();if(e.uuid){let r=t.get(e.uuid);if(void 0!==r){let t=i[r];if(t){u&&(l(u),o.add(u)),!t.name&&e.name&&(t.name=e.name),!t.slug&&e.slug&&(t.slug=e.slug);let r=null===(d=t.name)||void 0===d?void 0:d.toLowerCase();r&&(l(r),o.add(r))}continue}t.set(e.uuid,i.length),u&&(l(u),o.add(u)),i.push(e);continue}!u||r.has(u)||o.has(u)||(r.set(u,i.length),i.push(e))}return i.filter(e=>!!e)},ql=e=>{var t;let r=null===(t=qn(e))||void 0===t?void 0:t.toLowerCase();
50return"inherit"===r||"show"===r||"hide"===r?r:void 0},qs=e=>{var t;let r=ql(e.category_count_visibility);return{title:null!==(t=qn(e.title))&&void 0!==t?t:"Categories",categories:qi(e.categories),...r?{category_count_visibility:r}:{}}},qd=e=>{let t=e=>(null!=e?e:[]).map(qs).filter(e=>e.categories.length>0),r=t(e.filter_groups),o=t(e.filterGroups);if(r.length>0)return r;if(o.length>0)return o;let i=qi(e.categories);return i.length>0?[{title:"Categories",categories:i}]:[]},qc=r(9008),qu=r.n(qc);let qp=(e,t)=>Array.from({length:t-e+1},(t,r)=>r+e),qf=(e,t,r)=>{let o=Math.floor((e-5)/2);if(e>=t)return qp(1,t);let i=Math.max(r-o,1),l=Math.min(r+o,t),s=i>3,d=l<t-2;return!s&&d?[...qp(1,3+2*o),-1,t]:s&&!d?[1,-1,...qp(t-(3+2*o)+1,t)]:s&&d?[1,-1,...qp(i,l),-2,t]:[]};var qm={};qm={"ar-AE":{breadcrumbs:"Ø¹ÙØ§ØµØ± اÙÙØ§Ø¬ÙØ©"},"bg-BG":{breadcrumbs:"ТÑоÑ
и Ñ
лÑб"},"cs-CZ":{breadcrumbs:"Popis cesty"},"da-DK":{breadcrumbs:"Br\xf8dkrummer"},"de-DE":{breadcrumbs:"Breadcrumbs"},"el-GR":{breadcrumbs:"ΠλοηγήÏÎµÎ¹Ï breadcrumb"},"en-US":{breadcrumbs:"Breadcrumbs"},"es-ES":{breadcrumbs:"Migas de pan"},"et-EE":{breadcrumbs:"Lingiread"},"fi-FI":{breadcrumbs:"Navigointilinkit"},"fr-FR":{breadcrumbs:"Chemin de navigation"},"he-IL":{breadcrumbs:"ש×××× × ××××"},"hr-HR":{breadcrumbs:"Navigacijski putovi"},"hu-HU":{breadcrumbs:"Morzsamen\xfc"},"it-IT":{breadcrumbs:"Breadcrumb"},"ja-JP":{breadcrumbs:"ãã³ãããªã¹ã"},"ko-KR":{breadcrumbs:"íì íì"},"lt-LT":{breadcrumbs:"NarÅ¡ymo kelias"},"lv-LV":{breadcrumbs:"Atpakaļceļi"},"nb-NO":{breadcrumbs:"Navigasjonsstier"},"nl-NL":{breadcrumbs:"Broodkruimels"},"pl-PL":{breadcrumbs:"Struktura nawigacyjna"},"pt-BR":{breadcrumbs:"Caminho detalhado"},"pt-PT":{breadcrumbs:"Categorias"},"ro-RO":{breadcrumbs:"Miez de p\xe2ine"},"ru-RU":{breadcrumbs:"ÐавигаÑиÑ"},"sk-SK":{breadcrumbs:"NavigaÄn\xe9 prvky Breadcrumbs"},"sl-SI":{breadcrumbs:"Drobtine"},"sr-SP":{breadcrumbs:"Putanje navigacije"},"sv-SE":{breadcrumbs:"S\xf6kv\xe4gar"},"tr-TR":{breadcrumbs:"İ\xe7erik haritaları"},"uk-UA":{breadcrumbs:"ÐавÑгаÑÑйна ÑÑежка"},"zh-CN":{breadcrumbs:"å¯¼èªæ "},"zh-TW":{breadcrumbs:"å°è¦½å"}};let qh=(0,B.c6)({slots:{root:"m-0 flex list-none flex-wrap p-0 rtl:space-x-reverse",icon:"mx-1 text-system-vector-default group-last-of-type:hidden rtl:rotate-180",item:"inline-flex items-center text-system-text-default text-ui-label-small hover:text-system-text-default group-last-of-type:pointer-events-none group-last-of-type:cursor-not-allowed group-last-of-type:no-underline"}}),qg=(0,oG.cn)({itemClassName:void 0,iconClassName:void 0}),qv=({children:e,className:t,themeConfig:r,...o})=>{let{navProps:i}=function(e){var t;let{"aria-label":r,...o}=e,i=(0,Rk.q)((t=qm)&&t.__esModule?t.default:t,"@react-aria/breadcrumbs");return{navProps:{...(0,_0.z)(o,{labelable:!0}),"aria-label":r||i.format("breadcrumbs")}}}(o),{root:l,icon:s,item:d}=(0,B.tv)(r?(0,B.RH)(qh,r):qh)({}),c=(0,F.cn)("ef-breadcrumb",l(),t);return(0,D.jsx)("nav",{...i,children:(0,D.jsx)("ol",{className:c,...o,children:(0,D.jsx)(it.o,{atomValues:[[qg,{itemClassName:d(),iconClassName:s()}]],children:e})})})};qv.displayName="Breadcrumb";var qy=r(10986);let qb=(0,I.forwardRef)((e,t)=>{let{children:r,asChild:o=!1,className:i,link:l,...s}=e,d=o?ik.g:gr.r,{itemClassName:c,iconClassName:u}=(0,oQ.Dv)(qg),p=I.useRef(null),{itemProps:f}=function(e,t){let{isCurrent:r,isDisabled:o,"aria-current":i,elementType:l="a",...s}=e,{linkProps:d}=(0,qy.n)({isDisabled:o||r,elementType:l,...s},t),c=/^h[1-6]$/.test(l),u={};return c||(u=d),r&&(u["aria-current"]=i||"page",u.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":o,...u}}}({...e,elementType:"link"},p);return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)(e9.t,{children:(0,D.jsxs)("li",{className:"group flex items-center",children:[(0,D.jsx)(d,{ref:t,tabIndex:0,...f,href:l,className:(0,F.cn)("ef-breadcrumb-item",c,i),...s,children:o?r:(0,D.jsx)(ga.u,{children:r})}),(0,D.jsx)(aB.a,{className:(0,F.cn)(u),children:(0,D.jsx)(aO.T,{"aria-hidden":!0,weight:"bold"})})]})})})});qb.displayName="BreadcrumbItem";
50let qx=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),qw=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:qx}));qw.displayName="ClockIcon";let qk=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),I.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),q_=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:qk}));q_.displayName="CalendarBlankIcon";let qC=(0,B.c6)({slots:{root:"flex flex-row justify-between [--button-size:48px] md:gap-l",paginationButtonGroup:"gap-0",paginationButton:"h-[--button-size] w-[--button-size] text-system-vector-default",paginationSinglePage:"flex flex-1 items-center justify-center text-system-text-default md:hidden",paginationListContainer:"hidden flex-1 items-center justify-center md:flex",paginationPageList:"m-0 flex max-h-[--button-size] list-none flex-row flex-wrap gap-l p-0"},variants:{reverse:{true:{paginationButtonGroup:"flex-row-reverse"}}}}),q$=(0,B.c6)({slots:{root:""},variants:{action:{first:{root:"md:hidden"},previous:{},next:{},last:{root:"md:hidden"}}}}),qS=(0,B.c6)({slots:{paginationItem:"group relative flex h-[--button-size] w-[--button-size] cursor-pointer select-none items-center justify-center rounded-full text-lg font-normal text-system-text-default",bg:"absolute bottom-0 left-0 right-0 top-0 z-10 rounded-full",content:"relative z-20"},variants:{currentPage:{true:{paginationItem:"pointer-events-none text-system-text-selected-default",bg:"border-2 border-system-stroke-selected-on-weak bg-system-surface-selected-weak transition-none"},false:{bg:"group-hover:scale-105 group-hover:bg-components-buttons-ghost-hover-background group-hover:transition-all group-hover:duration-system-short"}},clickable:{false:{paginationItem:"pointer-events-none"}}}});var qE=e=>e.type?e.type===I.Fragment:e===I.Fragment,qj=e=>I.Children.toArray(e).reduce((e,t)=>
50"number"!=typeof t&&"string"!=typeof t&&"type"in t?"function"==typeof t.type?t.props["data-slot"]?{...e,[t.props["data-slot"]]:t}:{...e,[t.type.displayName]:t}:qE(t)?{...e,fragment:t}:{...e,[t.props["data-slot"]]:t}:e,{});let qN=(0,oG.cn)({className:void 0}),qT=(0,oG.cn)({className:void 0}),qP=(0,oG.cn)({className:void 0}),qA=(0,oG.cn)({className:void 0}),qO=(0,oG.cn)({className:void 0});(0,oG.cn)({className:void 0}),(0,oG.cn)({});let qR=({children:e,className:t,themeConfig:r,...o})=>{let{root:i,paginationButtonGroup:l,paginationButton:s,paginationSinglePage:d,paginationListContainer:c,paginationPageList:u}=(0,B.tv)(r?(0,B.RH)(qC,r):qC)(),p=[[qN,{className:l()}],[qT,{className:s()}],[qP,{className:d()}],[qA,{className:c()}],[qO,{className:u()}]],f=(0,F.cn)("ef-pagination",i(),t),{PaginationPreviousButtonGroup:m,PaginationNextButtonGroup:h,PaginationPages:g,PaginationSinglePage:v}=qj(e);return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("nav",{className:f,...o,children:(0,D.jsxs)(it.o,{atomValues:p,children:[m,g,v,h]})})})};qR.displayName="Pagination";let qD=e=>{let{children:t,className:r,...o}=e,{className:i}=(0,oQ.Dv)(qN),l=(0,F.cn)("ef-pagination-button-group",i,r);return(0,D.jsx)(x2.h,{...o,className:l,children:t})};qD.displayName="PaginationButtonGroup";var qM=r(89840),qL=r(38845),qI=r(59237),qF=r(79355);let qB=(e,t)=>{switch(e){case"first":return(0,D.jsx)(qF.AnimatedDoubleChevronLeft,{active:t});case"previous":return(0,D.jsx)(qL.AnimatedChevronLeft,{active:t});case"next":return(0,D.jsx)(qM.AnimatedChevronRight,{active:t});case"last":return(0,D.jsx)(qI.AnimatedDoubleChevronRight,{active:t});default:return""}},qV=(0,I.forwardRef)(e=>{let{action:t,as:r="button",disabled:o,children:i,className:l,themeConfig:s,renderCustomLink:d,href:c,onClick:u,"aria-label":p}=e,{className:f}=(0,oQ.Dv)(qT),{hoverProps:m,isHovered:h}=(0,aR.X)({}),g=s?(0,B.RH)(q$,s):q$,{root:v}=(0,B.tv)(g)({action:t}),y=(0,F.cn)("ef-pagination-button",v(),f,l);return(0,D.jsx)(e7.Button,{className:y,as:r,renderCustomLink:d,variant:"ghost",shape:"round","aria-label":p??t,disabled:o,href:c,onClick:u,...m,children:i||qB(t,!o&&h)})});qV.displayName="PaginationButton";let qz=(0,I.forwardRef)((e,t,...r)=>{let{children:o,className:i,pageListClassName:l}=e,{className:s}=(0,oQ.Dv)(qA),{className:d}=(0,oQ.Dv)(qO),c=(0,F.cn)("ef-pagination-pages",s,i),u=(0,F.cn)(d,l);return(0,D.jsx)("div",{ref:t,className:c,...r,children:(0,D.jsx)("ul",{className:u,children:o})})});qz.displayName="PaginationPages";let qH=(0,I.forwardRef)((e,t)=>
50{let{active:r=!1,clickable:o=!0,children:i,className:l,asChild:s=!1,renderCustomLink:d,themeConfig:c,href:u,onClick:p,...f}=e,m=c?(0,B.RH)(qS,c):qS,{paginationItem:h,bg:g,content:v}=(0,B.tv)(m)({currentPage:r,clickable:o}),y=(0,F.cn)("ef-pagination-item",h(),l);return s?(0,D.jsx)("li",{ref:t,children:(0,D.jsx)(e9.t,{children:(0,D.jsx)(ik.g,{role:d||s?void 0:"button",className:y,...f,tabIndex:o&&!r?0:void 0,"aria-current":r?"page":void 0,children:(0,D.jsxs)("div",{children:[(0,D.jsx)("span",{className:(0,F.cn)(g())}),(0,D.jsx)("span",{className:(0,F.cn)(v()),children:i})]})})})}):(0,D.jsx)("li",{ref:t,children:(0,D.jsx)(e9.t,{children:d?(0,D.jsx)(e7.Button,{className:(0,F.cn)(y),role:void 0,renderCustomLink:d,variant:"ghost",href:u,tabIndex:o&&!r?0:void 0,"aria-current":r?"page":void 0,shape:"round",...f,as:"a",children:(0,D.jsxs)("div",{children:[(0,D.jsx)("span",{className:(0,F.cn)(g())}),(0,D.jsx)("span",{className:(0,F.cn)(v()),children:i})]})}):(0,D.jsx)(e7.Button,{className:(0,F.cn)(y),role:"button",variant:"ghost",onClick:p,shape:"round",tabIndex:o&&!r?0:void 0,"aria-current":r?"page":void 0,...f,as:"button",children:(0,D.jsxs)("div",{children:[(0,D.jsx)("span",{className:(0,F.cn)(g())}),(0,D.jsx)("span",{className:(0,F.cn)(v()),children:i})]})})})})});qH.displayName="PaginationItem";let qU=e=>{let{children:t,className:r,...o}=e,{className:i}=(0,oQ.Dv)(qP),l=(0,F.cn)("ef-pagination-single-page",i,r);return(0,D.jsx)("div",{className:l,...o,children:t})};function qZ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function qW(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qZ(Object(r),!0).forEach(function(t){var o,i;o=t,i=r[t],(o=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 o=r.call(e,t||"default");if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qZ(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}qU.displayName="PaginationSinglePage";let qK=["component"],qq="paragraph",qG="link",qJ=function(e){return function(t){return null!=t?I.createElement(e,null,t):null}},qY=function(e){return function(){return I.createElement(e)}},qX=function(e){return function(t){return I.createElement(e,null,t)}},qQ={heading:function(e,t){return I.createElement(`h${t.level}`,null,e)},code_block:function(e,t){let r={className:t.class},o=I.createElement("code",r,e);return I.createElement("pre",null,o)},image:function(e,t){return I.createElement("img",t,e)},[qq]:qJ("p"),blockquote:qJ("blockquote"),ordered_list:qJ("ol"),bullet_list:qJ("ul"),list_item:qJ("li"),horizontal_rule:qY("hr"),hard_break:qY("br"),emoji:function(e,t){if(!t)return null;let r={"data-type":"emoji","data-name":t.name,emoji:t.emoji};if(t.emoji||!t.fallbackImage)return I.createElement("span",r,t.emoji);{let e={src:t.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:t.name},o=I.createElement("img",e);return I.createElement("span",r,o)}}},q0={[qG]:function(e,t){let r=t?{href:"email"===t.linktype?`mailto:${t.href}`:t.href,target:t.target}:{};return I.createElement("a",r,e)},styled:function(e,t){let r=t?{className:t.class}:{};return I.createElement("span",r,e)},bold:qX("b"),italic:qX("i"),strike:qX("s"),underline:qX("u"),code:qX("code"),subscript:qX("sub"),superscript:qX("sup"),highlight:function(e,t){let r=t?{style:{backgroundColor:t.color}}:{};return I.createElement("span",r,e)},textStyle:function(e,t){let r=t?{style:{color:t.color}}:{};return I.createElement("span",r,e)},anchor:function(e,t){let r=t?{id:t.id}:{};return I.createElement("span",r,e)}},q1=I.forwardRef(function(e,t){let{title:r="LinkedIn",color:o="currentColor",size:i=24,...l}=e;return"default"===o&&(o="#0A66C2"),(0,D.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:o,viewBox:"0 0 24 24",ref:t,...l,children:[(0,D.jsx)("title",{children:r}),(0,D.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})}),q2=I.forwardRef(function(e,t){let{title:r="Instagram",color:o="currentColor",size:i=24,...l}=e;return"default"===o&&(o="#E4405F"),(0,D.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:o,viewBox:"0 0 24 24",ref:t,...l,children:[(0,D.jsx)("title",{children:r}),(0,D.jsx)("path",{d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.00
507-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"})]})}),q3=I.forwardRef(function(e,t){let{title:r="X",color:o="currentColor",size:i=24,...l}=e;return"default"===o&&(o="#000000"),(0,D.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:o,viewBox:"0 0 24 24",ref:t,...l,children:[(0,D.jsx)("title",{children:r}),(0,D.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})}),q4=I.forwardRef(function(e,t){let{title:r="Facebook",color:o="currentColor",size:i=24,...l}=e;return"default"===o&&(o="#0866FF"),(0,D.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:i,fill:o,viewBox:"0 0 24 24",ref:t,...l,children:[(0,D.jsx)("title",{children:r}),(0,D.jsx)("path",{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"})]})});var q6="undefined"==typeof window||"Deno"in globalThis;function q8(){}function q9(e){return"number"==typeof e&&e>=0&&e!==1/0}function q5(e,t){return Math.max(e+(t||0)-Date.now(),0)}function q7(e,t){return"function"==typeof e?e(t):e}function Ge(e,t){return"function"==typeof e?e(t):e}function Gt(e,t){let{type:r="all",exact:o,fetchStatus:i,predicate:l,queryKey:s,stale:d}=e;if(s){if(o){if(t.queryHash!==Gr(s,t.options))return!1}else if(!Go(t.queryKey,s))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof d||t.isStale()===d)&&(!i||i===t.state.fetchStatus)&&(!l||!!l(t))}function Gn(e,t){let{exact:r,status:o,predicate:i,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(r){if(Ga(t.options.mutationKey)!==Ga(l))return!1}else if(!Go(t.options.mutationKey,l))return!1}return(!o||t.state.status===o)&&(!i||!!i(t))}function Gr(e,t){return(t?.queryKeyHashFn||Ga)(e)}function Ga(e){return JSON.stringify(e,(e,t)=>Gd(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function Go(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>Go(e[r],t[r]))}var Gi=Object.prototype.hasOwnProperty;function Gl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function Gs(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Gd(e){if(!Gc(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(Gc(r)&&r.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(e)===Object.prototype}function Gc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Gu(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let o=Gs(t)&&Gs(r);if(!o&&!(Gd(t)&&Gd(r)))return r;let i=(o?t:Object.keys(t)).length,l=o?r:Object.keys(r),s=l.length,d=o?Array(s):{},c=0;for(let u=0;u<s;u++){let s=o?u:l[u],p=t[s],f=r[s];if(p===f){d[s]=p,(o?u<i:Gi.call(t,s))&&c++;continue}if(null===p||null===f||"object"!=typeof p||"object"!=typeof f){d[s]=f;continue}let m=e(p,f);d[s]=m,m===p&&c++}return i===s&&c===i?t:d}(e,t):t}function Gp(e,t,r=0){let o=[...e,t];return r&&o.length>r?o.slice(1):o}function Gf(e,t,r=0){let o=[t,...e];return r&&o.length>r?o.slice(0,-1):o}var Gm=Symbol();function Gh(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Gm?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}var Gg=e=>setTimeout(e,0),Gv=function(){let e=[],t=0,r=e=>{e()},o=e=>{e()},i=Gg,l=o=>{t?e.push(o):i(()=>{r(o)})},s=()=>{let t=e;e=[],t.length&&i(()=>{o(()=>
50{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||s()}return r},batchCalls:e=>(...t)=>{l(()=>{e(...t)})},schedule:l,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{i=e}}}(),Gy=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Gb=new class extends Gy{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!q6&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}},Gx=new class extends Gy{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!q6&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#r}};function Gw(){let e,t;let r=new Promise((r,o)=>{e=r,t=o});function o(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{o({status:"fulfilled",value:t}),e(t)},r.reject=e=>{o({status:"rejected",reason:e}),t(e)},r}function Gk(e){return Math.min(1e3*2**e,3e4)}function G_(e){return(e??"online")!=="online"||Gx.isOnline()}var GC=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function G$(e){let t,r=!1,o=0,i=Gw(),l=()=>"pending"!==i.status,s=()=>Gb.isFocused()&&("always"===e.networkMode||Gx.isOnline())&&e.canRun(),d=()=>G_(e.networkMode)&&e.canRun(),c=e=>{l()||(t?.(),i.resolve(e))},u=e=>{l()||(t?.(),i.reject(e))},p=()=>new Promise(r=>{t=e=>{(l()||s())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,l()||e.onContinue?.()}),f=()=>{let t;if(l())return;let i=0===o?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{if(l())return;let i=e.retry??(q6?0:3),d=e.retryDelay??Gk,c="function"==typeof d?d(o,t):d,m=!0===i||"number"==typeof i&&o<i||"function"==typeof i&&i(o,t);if(r||!m){u(t);return}o++,e.onFail?.(o,t),new Promise(e=>{setTimeout(e,c)}).then(()=>s()?void 0:p()).then(()=>{r?u(t):f()})})};return{promise:i,status:()=>i.status,cancel:t=>{if(!l()){let r=new GC(t);u(r),e.onCancel?.(r)}},continue:()=>(t?.(),i),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:d,start:()=>(d()?f():p().then(f),i)}}var GS=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),q9(this.gcTime)&&(this.#a=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(q6?1/0:3e5))}clearGcTimeout(){this.#a&&(clearTimeout(this.#a),this.#a=void 0)}},GE=class extends GS{#o;#i;#l;#s;#d;#c;#u;constructor(e){super(),this.#u=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#l=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,o=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,t){let r=Gu(this.state.data,e,this.options);return this.#p({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#d?.promise;
50return this.#d?.cancel(e),t?t.then(q8).catch(q8):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#o)}isActive(){return this.observers.some(e=>!1!==Ge(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Gm||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===q7(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!q5(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#u?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#u=!0,r.signal)})},i=()=>{let e=Gh(this.options,t),r=(()=>{let e={client:this.#s,queryKey:this.queryKey,meta:this.meta};return o(e),e})();return(this.#u=!1,this.options.persister)?this.options.persister(e,r,this):e(r)},l=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:i};return o(e),e})();this.options.behavior?.onFetch(l,this),this.#i=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#p({type:"fetch",meta:l.fetchOptions?.meta}),this.#d=G$({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof GC&&e.revert&&this.setState({...this.#i,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#d.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof GC){if(e.silent)return this.#d.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Gj(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#i=e.manual?r:void 0,r;case"error":let o=e.error;return{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};
50case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Gv.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function Gj(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:G_(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var GN=class extends Gy{constructor(e={}){super(),this.config=e,this.#f=new Map}#f;build(e,t,r){let o=t.queryKey,i=t.queryHash??Gr(o,t),l=this.get(i);return l||(l=new GE({client:e,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(o)}),this.add(l)),l}add(e){this.#f.has(e.queryHash)||(this.#f.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#f.get(e.queryHash);t&&(e.destroy(),t===e&&this.#f.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Gv.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#f.get(e)}getAll(){return[...this.#f.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Gt(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>Gt(e,t)):t}notify(e){Gv.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Gv.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Gv.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},GT=class extends GS{#m;#h;#d;constructor(e){super(),this.mutationId=e.mutationId,this.#h=e.mutationCache,this.#m=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#m.includes(e)||(this.#m.push(e),this.clearGcTimeout(),this.#h.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#m=this.#m.filter(t=>t!==e),this.scheduleGc(),this.#h.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#m.length||("pending"===this.state.status?this.scheduleGc():this.#h.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#p({type:"continue"})};this.#d=G$({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#h.canRun(this)});let r="pending"===this.state.status,o=!this.#d.canStart();try{if(r)t();else{this.#p({type:"pending",variables:e,isPaused:o}),await this.#h.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:o})}let i=await this.#d.start();return await this.#h.config.onSuccess?.(i,e,this.state.context,this),await this.options.onSuccess?.(i,e,this.state.context),await this.#h.config.onSettled?.(i,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(i,null,e,this.state.context),this.#p({type:"success",data:i}),i}catch(t){try{throw await this.#h.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#h.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#p({type:"error",error:t})}}finally{this.#h.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
50sed:!1,status:"error"}}})(this.state),Gv.batch(()=>{this.#m.forEach(t=>{t.onMutationUpdate(e)}),this.#h.notify({mutation:this,type:"updated",action:e})})}},GP=class extends Gy{constructor(e={}){super(),this.config=e,this.#g=new Set,this.#v=new Map,this.#y=0}#g;#v;#y;build(e,t,r){let o=new GT({mutationCache:this,mutationId:++this.#y,options:e.defaultMutationOptions(t),state:r});return this.add(o),o}add(e){this.#g.add(e);let t=GA(e);if("string"==typeof t){let r=this.#v.get(t);r?r.push(e):this.#v.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#g.delete(e)){let t=GA(e);if("string"==typeof t){let r=this.#v.get(t);if(r){if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#v.delete(t)}}}this.notify({type:"removed",mutation:e})}canRun(e){let t=GA(e);if("string"!=typeof t)return!0;{let r=this.#v.get(t),o=r?.find(e=>"pending"===e.state.status);return!o||o===e}}runNext(e){let t=GA(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#v.get(t)?.find(t=>t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){Gv.batch(()=>{this.#g.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#g.clear(),this.#v.clear()})}getAll(){return Array.from(this.#g)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Gn(t,e))}findAll(e={}){return this.getAll().filter(t=>Gn(e,t))}notify(e){Gv.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>
50e.state.isPaused);return Gv.batch(()=>Promise.all(e.map(e=>e.continue().catch(q8))))}};function GA(e){return e.options.scope?.id}function GO(e){return{onFetch:(t,r)=>{let o=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],s=t.state.data?.pageParams||[],d={pages:[],pageParams:[]},c=0,u=async()=>{let r=!1,u=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)})},p=Gh(t.options,t.fetchOptions),f=async(e,o,i)=>{if(r)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);let l=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:o,direction:i?"backward":"forward",meta:t.options.meta};return u(e),e})(),s=await p(l),{maxPages:d}=t.options,c=i?Gf:Gp;return{pages:c(e.pages,s,d),pageParams:c(e.pageParams,o,d)}};if(i&&l.length){let e="backward"===i,t={pages:l,pageParams:s},r=(e?GD:GR)(o,t);d=await f(t,r,e)}else{let t=e??l.length;do{let e=0===c?s[0]??o.initialPageParam:GR(o,d);if(c>0&&null==e)break;d=await f(d,e),c++}while(c<t)}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=u}}}function GR(e,{pages:t,pageParams:r}){let o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,r[o],r):void 0}function GD(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var GM=class{#b;#h;#c;#x;#w;#k;#_;#C;constructor(e={}){this.#b=e.queryCache||new GN,this.#h=e.mutationCache||new GP,this.#c=e.defaultOptions||{},this.#x=new Map,this.#w=new Map,this.#k=0}mount(){this.#k++,1===this.#k&&(this.#_=Gb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#b.onFocus())}),this.#C=Gx.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#b.onOnline())}))}unmount(){this.#k--,0===this.#k&&(this.#_?.(),this.#_=void 0,this.#C?.(),this.#C=void 0)}isFetching(e){return this.#b.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#h.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#b.build(this,t),o=r.state.data;return void 0===o?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(q7(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#b.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let o=this.defaultQueryOptions({queryKey:e}),i=this.#b.get(o.queryHash),l=i?.state.data,s="function"==typeof t?t(l):t;if(void 0!==s)return this.#b.build(this,o).setData(s,{...r,manual:!0})}setQueriesData(e,t,r){return Gv.batch(()=>this.#b.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#b.get(t.queryHash)?.state}removeQueries(e){let t=this.#b;Gv.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#b;return Gv.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(Gv.batch(()=>this.#b.findAll(e).map(e=>e.cancel(r)))).then(q8).catch(q8)}invalidateQueries(e,t={}){return Gv.batch(()=>(this.#b.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(Gv.batch(()=>this.#b.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(q8)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(q8)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#b.build(this,t);return r.isStaleByTime(q7(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(q8).catch(q8)}fetchInfiniteQuery(e){return e.behavior=GO(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(q8).catch(q8)}ensureInfiniteQueryData(e){return e.behavior=GO(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Gx.isOnline()?this.#h.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#b}getMutationCache(){return this.#h}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#x.set(Ga(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#x.values()],r={};return t.forEach(t=>{Go(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#w.set(Ga(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#w.values()],r={};return t.forEach(t=>{Go(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Gr(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Gm&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#b.clear(),this.#h.clear()}},GL=I.createContext(void 0),GI=e=>{let t=I.useContext(GL);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},GF=({client:e,children:t})=>(I.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,D.jsx)(GL.Provider,{value:e,children:t})),GB=class extends Gy{constructor(e,t){super(),this.options=t,this.#s=e,this.#$=null,this.#S=Gw(),this.bindMethods(),this.setOptions(t)}#s;#E=void 0;#j=void 0;#N=void 0;#T;#P;#S;#$;#A;#O;#R;#D;#M;#L;#I=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#E.addObserver(this),GV(this.#E,this.options)?this.#F():this.updateResult(),this.#B())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gz(this.#E,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gz(this.#E,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#V(),this.#z(),this.#E.removeObserver(this)}setOptions(e){let t=this.options,r=this.#E;if(this.options=this.#s.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Ge(this.options.enabled,this.#E))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#H(),this.#E.setOptions(this.options),t._defaulted&&!Gl(this.options,t)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#E,observer:this});let o=this.hasListeners();o&&GH(this.#E,r,this.options,t)&&this.#F(),this.updateResult(),o&&(this.#E!==r||Ge(this.options.enabled,this.#E)!==Ge(t.enabled,this.#E)||q7(this.options.staleTime,this.#
50E)!==q7(t.staleTime,this.#E))&&this.#U();let i=this.#Z();o&&(this.#E!==r||Ge(this.options.enabled,this.#E)!==Ge(t.enabled,this.#E)||i!==this.#L)&&this.#W(i)}getOptimisticResult(e){let t=this.#s.getQueryCache().build(this.#s,e),r=this.createResult(t,e);return Gl(this.getCurrentResult(),r)||(this.#N=r,this.#P=this.options,this.#T=this.#E.state),r}getCurrentResult(){return this.#N}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"!==r||this.options.experimental_prefetchInRender||"pending"!==this.#S.status||this.#S.reject(Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(e,r))})}trackProp(e){this.#I.add(e)}getCurrentQuery(){return this.#E}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#s.defaultQueryOptions(e),r=this.#s.getQueryCache().build(this.#s,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#F({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#N))}#F(e){this.#H();let t=this.#E.fetch(this.options,e);return e?.throwOnError||(t=t.catch(q8)),t}#U(){this.#V();let e=q7(this.options.staleTime,this.#E);if(q6||this.#N.isStale||!q9(e))return;let t=q5(this.#N.dataUpdatedAt,e);this.#D=setTimeout(()=>{this.#N.isStale||this.updateResult()},t+1)}#Z(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#E):this.options.refetchInterval)??!1}#W(e){this.#z(),this.#L=e,!q6&&!1!==Ge(this.options.enabled,this.#E)&&q9(this.#L)&&0!==this.#L&&(this.#M=setInterval(()=>{(this.options.refetchIntervalInBackground||Gb.isFocused())&&this.#F()},this.#L))}#B(){this.#U(),this.#W(this.#Z())}#V(){this.#D&&(clearTimeout(this.#D),this.#D=void 0)}#z(){this.#M&&(clearInterval(this.#M),this.#M=void 0)}createResult(e,t){let r;let o=this.#E,i=this.options,l=this.#N,s=this.#T,d=this.#P,c=e!==o?e.state:this.#j,{state:u}=e,p={...u},f=!1;if(t._optimisticResults){let r=this.hasListeners(),l=!r&&GV(e,t),s=r&&GH(e,o,t,i);(l||s)&&(p={...p,...Gj(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(p.fetchStatus="idle")}let{error:m,errorUpdatedAt:h,status:g}=p;r=p.data;let v=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===g){let e;l?.isPlaceholderData&&t.placeholderData===d?.placeholderData?(e=l.data,v=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#R?.state.data,this.#R):t.placeholderData,void 0!==e&&(g="success",r=Gu(l?.data,e,t),f=!0)}if(t.select&&void 0!==r&&!v){if(l&&r===s?.data&&t.select===this.#A)r=this.#O;else try{this.#A=t.select,r=t.select(r),r=Gu(l?.data,r,t),this.#O=r,this.#$=null}catch(e){this.#$=e}}this.#$&&(m=this.#$,r=this.#O,h=Date.now(),g="error");let y="fetching"===p.fetchStatus,b="pending"===g,x="error"===g,w=b&&y,k=void 0!==r,_={status:g,fetchStatus:p.fetchStatus,isPending:b,isSuccess:"success"===g,isError:x,isInitialLoading:w,isLoading:w,data:r,dataUpdatedAt:p.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:x&&!k,isPaused:"paused"===p.fetchStatus,isPlaceholderData:f,isRefetchError:x&&k,isStale:GU(e,t),refetch:this.refetch,promise:this.#S,isEnabled:!1!==Ge(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===_.status?e.reject(_.error):void 0!==_.data&&e.resolve(_.data)},r=()=>{t(this.#S=_.promise=Gw())},i=this.#S;switch(i.status){case"pending":e.queryHash===o.queryHash&&t(i);break;case"fulfilled":("error"===_.status||_.data!==i.value)&&r();break;case"rejected":("error"!==_.status||_.error!==i.reason)&&r()}}return _}updateResult(){let e=this.#N,t=this.createResult(this.#E,this.options);this.#T=this.#E.state,this.#P=this.options,void 0!==this.#T.data&&(this.#R=this.#E),Gl(t,e)||(this.#N=t,this.#K({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#I.size)return!0;let o=new Set(r??this.#I);return this.options.throwOnError&&o.add("error"),Object.keys(this.#N).some(t=>this.#N[t]!==e[t]&&o.has(t))})()}))}#H(){let e=this.#s.getQueryCache().build(this.#s,this.options);if(e===this.#E)return;let t=this.#E;this.#E=e,this.#j=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#B()}#K(e){Gv.batch(()=>
50{e.listeners&&this.listeners.forEach(e=>{e(this.#N)}),this.#s.getQueryCache().notify({query:this.#E,type:"observerResultsUpdated"})})}};function GV(e,t){return!1!==Ge(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&Gz(e,t,t.refetchOnMount)}function Gz(e,t,r){if(!1!==Ge(t.enabled,e)&&"static"!==q7(t.staleTime,e)){let o="function"==typeof r?r(e):r;return"always"===o||!1!==o&&GU(e,t)}return!1}function GH(e,t,r,o){return(e!==t||!1===Ge(o.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&GU(e,r)}function GU(e,t){return!1!==Ge(t.enabled,e)&&e.isStaleByTime(q7(t.staleTime,e))}var GZ=class extends GB{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:GO()})}getOptimisticResult(e){return e.behavior=GO(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,o;let{state:i}=e,l=super.createResult(e,t),{isFetching:s,isRefetching:d,isError:c,isRefetchError:u}=l,p=i.fetchMeta?.fetchMore?.direction,f=c&&"forward"===p,m=s&&"forward"===p,h=c&&"backward"===p,g=s&&"backward"===p;return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(r=i.data)&&null!=GR(t,r),hasPreviousPage:!!(o=i.data)&&!!t.getPreviousPageParam&&null!=GD(t,o),isFetchNextPageError:f,isFetchingNextPage:m,isFetchPreviousPageError:h,isFetchingPreviousPage:g,isRefetchError:u&&!f&&!h,isRefetching:d&&!m&&!g}}},GW=I.createContext((b=!1,{clearReset:()=>{b=!1},reset:()=>{b=!0},isReset:()=>b})),GK=()=>I.useContext(GW),Gq=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},GG=e=>{I.useEffect(()=>{e.clearReset()},[e])},GJ=({result:e,errorResetBoundary:t,throwOnError:r,query:o,suspense:i})=>{var l;return e.isError&&!t.isReset()&&!e.isFetching&&o&&(i&&void 0===e.data||(l=[e.error,o],"function"==typeof r?r(...l):!!r))},GY=I.createContext(!1),GX=()=>I.useContext(GY);GY.Provider;var GQ=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},G0=(e,t)=>e.isLoading&&e.isFetching&&!t,G1=(e,t)=>e?.suspense&&t.isPending,G2=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()}),G3=r(45729),G4=r(71742),G6=r(64069),G8=r(41424),G9=r(58956),G5=r(40679),G7=r(88446),Je=r(12361);let Jt=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M68,102.06V40a12,12,0,0,0-24,0v62.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V169.94a36,36,0,0,0,0-67.88ZM56,148a12,12,0,1,1,12-12A12,12,0,0,1,56,148ZM164,88a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0V54.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V121.94A36.07,36.07,0,0,0,164,88Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,128,100Zm108,68a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0v94.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V201.94A36.07,36.07,0,0,0,236,168Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,200,180Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M80,136a24,24,0,1,1-24-24A24,24,0,0,1,80,136Zm48-72a24,24,0,1,0,24,24A24,24,0,0,0,128,64Zm72,80a24,24,0,1,0,24,24A24,24,0,0,0,200,144Z",opacity:"0.2"}),I.createElement("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,
50152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M84,136a28,28,0,0,1-20,26.83V216a8,8,0,0,1-16,0V162.83a28,28,0,0,1,0-53.66V40a8,8,0,0,1,16,0v69.17A28,28,0,0,1,84,136Zm52-74.83V40a8,8,0,0,0-16,0V61.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V114.83a28,28,0,0,0,0-53.66Zm72,80V40a8,8,0,0,0-16,0V141.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V194.83a28,28,0,0,0,0-53.66Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M62,106.6V40a6,6,0,0,0-12,0v66.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V165.4a30,30,0,0,0,0-58.8ZM56,154a18,18,0,1,1,18-18A18,18,0,0,1,56,154Zm78-95.4V40a6,6,0,0,0-12,0V58.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V117.4a30,30,0,0,0,0-58.8ZM128,106a18,18,0,1,1,18-18A18,18,0,0,1,128,106Zm102,62a30.05,30.05,0,0,0-24-29.4V40a6,6,0,0,0-12,0v98.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V197.4A30.05,30.05,0,0,0,230,168Zm-30,18a18,18,0,1,1,18-18A18,18,0,0,1,200,186Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,
50152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M60,108.29V40a4,4,0,0,0-8,0v68.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V163.71a28,28,0,0,0,0-55.42ZM56,156a20,20,0,1,1,20-20A20,20,0,0,1,56,156Zm76-95.71V40a4,4,0,0,0-8,0V60.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V115.71a28,28,0,0,0,0-55.42ZM128,108a20,20,0,1,1,20-20A20,20,0,0,1,128,108Zm100,60a28,28,0,0,0-24-27.71V40a4,4,0,0,0-8,0V140.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V195.71A28,28,0,0,0,228,168Zm-28,20a20,20,0,1,1,20-20A20,20,0,0,1,200,188Z"}))]]);var Jn=Object.defineProperty,Jr=Object.defineProperties,Ja=Object.getOwnPropertyDescriptors,Jo=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Js=(e,t,r)=>t in e?Jn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Jd=(e,t)=>{for(var r in t||(t={}))Ji.call(t,r)&&Js(e,r,t[r]);if(Jo)for(var r of Jo(t))Jl.call(t,r)&&Js(e,r,t[r]);return e},Jc=(e,t)=>Jr(e,Ja(t));let Ju=(0,I.forwardRef)((e,t)=>I.createElement(Je.Z,Jc(Jd({ref:t},e),{weights:Jt})));Ju.displayName="Sliders";let Jp=e=>{let{label:t="Filter",count:r,className:o,onClick:i,themeConfig:l}=e,s=void 0!==r&&r>0,d=l?(0,B.RH)(G7.BU,l):G7.BU,{triggerCount:c,trigger:u,triggerIcon:p}=(0,B.tv)(d)();return(0,D.jsxs)(e7.Button,{as:"button",variant:"filled",onClick:i,size:"small",className:(0,F.cn)(u(),"ef-filters-trigger",o),"aria-label":r?`${t}, ${r} active filters`:t,children:[(0,D.jsx)(Ju,{weight:"bold",className:p()}),(0,D.jsx)("span",{children:t}),s?(0,D.jsxs)("span",{className:(0,F.cn)(c()),"aria-hidden":"true",children:["(",r,")"]}):null]})};Jp.displayName="FiltersTrigger";let Jf=(0,I.lazy)(()=>r.e(5131).then(r.bind(r,45131)).then(e=>({default:e.FiltersDialog}))),Jm=(0,I.lazy)(()=>Promise.all([r.e(2519),r.e(1718),r.e(5971)]).then(r.bind(r,25971)).then(e=>({default:e.FiltersInline}))),Jh=(0,I.lazy)(()=>r.e(2311).then(r.bind(r,82311)).then(e=>({default:e.FiltersSelected}))),Jg=(0,I.forwardRef)((e,t)=>{let{initialSelectedFilters:r=[],selectedFilters:o}=e,i=(0,I.useRef)(o??r),l=(0,I.useMemo)(()=>[[G9.lt,!1],[G9.L0,null],[G9.OX,i.current],[G9.BO,i.current]],[]);return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)(it.o,{atomValues:l,children:(0,D.jsx)(Jv,{ref:t,...e})})})});Jg.displayName="Filters";let Jv=(0,I.forwardRef)((e,t)=>{let{variant:r,filters:o,onFilterChange:i,onFilterSave:l,onFilterClear:s,onSortByChange:d,resultCount:c,isLoading:u=!1,labels:p={},maxResultsVisible:f,children:m,className:h,themeConfig:g,open:v,onOpenChange:y,locale:b,showSelectedChips:x,selectedFilters:w,onSelectedFiltersChange:k,resolveInvalidSelection:_}=e,{triggerLabel:C="Filter",sortByLabel:$="Sort by",applyLabel:S="Apply filters",clearLabel:E="Clear all",showResultsLabel:j="Show results ({count})",moreLabel:N,selectedFiltersAriaLabel:T,removeFilterAriaLabel:P,showMoreFiltersAriaLabel:A,selectedLabel:O,seeMoreLabel:R,seeLessLabel:M,rangeMinLabel:L,rangeMaxLabel:V,rangeMinAriaLabel:z,rangeMaxAriaLabel:H,title:U,subtitle:Z}=p,[W,K]=(0,oQ.KO)(G9.lt),q=(0,oQ.b9)(G9.L0),G=(0,oQ.Dv)(G9.L0),J=(0,oQ.Dv)(G9.nC),[Y,X]=(0,oQ.KO)(G9.OX),[Q,ee]=(0,oQ.KO)(G9.BO),{breakpoint:et}=(0,ib.G)(),{showSelectedChips:en}=(0,G8.D)({showSelectedChips:x},et,{showSelectedChips:{s:!1,m:!0}}),er=void 0!==v,ea=er?v:W,eo=(0,I.useRef)(ea),ei=(0,I.useRef)(Y);(0,I.useEffect)(()=>{q({variant:r,filters:o})},[r,o,q]);let el=(0,I.useRef)(Q);el.current=Q;let es=(0,I.useRef)(Y);es.current=Y;let ed=(0,I.useRef)(o);(0,I.useEffect)(()=>{if(ed.current===o)return;ed.current=o;let e=(0,G5.vw)(el.current,o,_);e.changed&&ee(e.next);let t=(0,G5.vw)(es.current,o,_);if(t.changed){X(t.next),null==k||k(t.next);let e=(0,G3.iI)(t.next,{filters:o});null==i||i(e),null==l||l(e)}},[o,_,r,ee,X,k,i,l]),(0,I.useEffect)(()=>{let e=eo.current;eo.current=ea,ea&&!e&&Y.length>0&&ee(Y)},[ea,Y,ee]),(0,I.useEffect)(()=>{ea||ei.current===Y||ee(Y),ei.current=Y},[ea,Y,ee]);let ec=(0,I.useRef)(w);(0,I.useEffect)(()=>{void 0!==w&&(ea||ec.current!==w&&(ec.current=w,X(w),ee(w)))},[w,ea,X,ee]);let eu=(0,I.useCallback)(e=>{er||K(e),null==y||y(e)},[er,K,y]),ep=(0,I.useCallback)(e=>{null==i||i(e)},[i]),ef=(0,I.useCallback)(()=>{let e=(null==G?void 0:G.filters)||o,t=(0,G3.iI)(Q,G||{filters:e});X(Q),null==k||k(Q),l(t),eu(!1)},[Q,X,k,l,eu,r,o,G]),em=(0,I.useCallback)(()=>{let e=(null==G?void 0:G.filters)??o,t=(0,G5.lr)(Y,e),r=(0,G5.lr)(Q,e);X(t),ee(r),null==k||k(t),s()},[G,o,Y,Q,X,ee,k,s]),eh=(0,I.useCallback)((e,t)=>{let r=o.map((r,o)=>o===e?{...r,sortBy:t}:r),s=(0,G3.YB)(e,t,{filters:r});null==d||d(e,t),null==i||i(s),null==l||l(s)},[o,r,d,i,l,Y]),eg=g?(0,B.RH)(G7.BU,g):G7.BU,{root:ev,triggerContainer:ey,divider:eb,clearLink:ex}=(0,B.tv)(eg)({variant:r,hasSelections:J>0}),ew=(0,F.cn)("ef-filters",ev(),h),ek=void 0!==c?j.replace("{count}",String(c)):S,e_="drawer"===r&&J>0&&en;return(0,D.jsxs)("div",{ref:t,className:ew,children:["drawer"===r?(0,D.jsx)("div",{className:ey(),children:m??(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(Jp,{label:C,count:J,onClick:()=>
50eu(!0),themeConfig:g}),o.map((e,t)=>e.sortByOptions&&e.sortByOptions.length>0?(0,D.jsx)(G4.E,{type:"radio",label:$,value:e.sortBy?[e.sortBy]:[],onValueChange:e=>eh(t,e[0]??""),children:(0,D.jsx)(G6.a,{children:(0,D.jsx)(No.H,{className:"flex flex-col gap-2",children:e.sortByOptions.map(e=>(0,D.jsx)(OX.w,{value:e.value,children:e.label},e.value))})})},`sort-${t}`):null)]})}):null,"inline"===r?(0,D.jsx)(I.Suspense,{fallback:null,children:(0,D.jsx)(Jm,{filters:o,isLoading:u,onFilterChange:ep,onFilterSave:l,clearLabel:E,sortByLabel:$,onSortByChange:d,onFilterClear:em,themeConfig:g,locale:b})}):null,e_?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(i7,{orientation:"horizontal",className:(0,F.cn)(eb())}),(0,D.jsx)(I.Suspense,{fallback:null,children:(0,D.jsx)(Jh,{maxResultsVisible:f,onRemove:(e,t)=>{let r=Y.filter(r=>!(r.filterId===e&&r.value===t));X(r),ee(r),null==k||k(r);let s=(null==G?void 0:G.filters)||o,d=(0,G3.iI)(r,G||{filters:s});null==i||i(d),null==l||l(d)},onMoreClick:()=>eu(!0),moreLabel:N,selectedFiltersAriaLabel:T,removeFilterAriaLabel:P,showMoreFiltersAriaLabel:A,themeConfig:g})}),(0,D.jsx)("div",{className:"mt-3",children:(0,D.jsx)("button",{type:"button",onClick:em,className:(0,F.cn)(ex()),"aria-label":E,children:E})})]}):null,"drawer"===r||"inline"===r?(0,D.jsx)(I.Suspense,{fallback:null,children:(0,D.jsx)(Jf,{open:ea,onOpenChange:eu,filters:o,isLoading:u,applyLabel:ek,clearLabel:E,selectedLabel:O,onApply:ef,onClear:em,showClearButton:!0,clearButtonDisabled:"drawer"===r&&(0,G5.lr)(Q,(null==G?void 0:G.filters)??o).length===Q.length,onFilterChange:ep,resultCount:c,themeConfig:g,locale:b,focusSelectedOnOpen:"inline"===r,sortByLabel:$,onSortByChange:d,seeMoreLabel:R,seeLessLabel:M,rangeMinLabel:L,rangeMaxLabel:V,rangeMinAriaLabel:z,rangeMaxAriaLabel:H,title:U,subtitle:Z})}):null]})});Jv.displayName="FiltersInner";var Jy=r(83454),Jb=(e,t)=>"".concat(e.replace(/\/+$/,""),"/").concat((null!=t?t:"").replace(/^\/+/,"")),Jx=new Set(["paragraph","heading","blockquote","list_item","bullet_list","ordered_list","code_block"]),Jw=e=>{if("string"==typeof e)return e||void 0;if(!e||"object"!=typeof e)return;let t=e=>{if(!e||"object"!=typeof e)return"";if("hard_break"===e.type)return" ";if("string"==typeof e.text)return e.text;if(!Array.isArray(e.content))return"";let r=e.content.some(e=>Jx.has(null==e?void 0:e.type))?" ":"";return e.content.map(t).join(r)};return t(e).replace(/\s+/g," ").trim()||void 0},Jk=e=>{var t,r,o,i;return{"@type":"Person",name:e.name,jobTitle:e.role||void 0,description:Jw(e.bio),image:(null===(o=e.profile_image)||void 0===o?void 0:null===(r=o[0])||void 0===r?void 0:null===(t=r.image)||void 0===t?void 0:t.filename)?"".concat(e.profile_image[0].image.filename,"/m/400x400"):void 0,sameAs:(null===(i=e.social_links)||void 0===i?void 0:i.map(e=>e.url).filter(Boolean))||[]}},J_=(e,t,r,o,i)=>{var l,s,d,c,u,p;let f=t?Array.isArray(t)?t:[t]:[],m=1===f.length?Jk(f[0]):f.length>1?f.map(Jk):void 0;return JSON.parse(JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:(null===(l=e.content)||void 0===l?void 0:l.list_title)||e.name,description:null===(s=e.content)||void 0===s?void 0:s.list_description,image:(null===(p=e.content)||void 0===p?void 0:null===(u=p.list_image)||void 0===u?void 0:null===(c=u[0])||void 0===c?void 0:null===(d=c.image)||void 0===d?void 0:d.filename)?"".concat(e.content.list_image[0].image.filename,"/m/1200x630"):void 0,datePublished:e.first_published_at,dateModified:e.published_at||e.first_published_at,url:o?Jb(o,e.full_slug):void 0,author:m,publisher:{"@type":"Organization",name:Jy.env.NEXT_PUBLIC_SITE_NAME||"Blog",url:i||void 0},mainEntityOfPage:{"@type":"WebPage","@id":o?Jb(o,e.full_slug):void 0},articleSection:null==r?void 0:r.map(e=>e.name).join(", "),keywords:null==r?void 0:r.map(e=>e.name).join(", ")}))},JC=(e,t)=>e&&0!==e.length?JSON.parse(JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,r)=>({"@type":"ListItem",position:r+1,name:e.label,item:t?Jb(t,e.url):e.url}))})):null,J$=(e,t,r,o)=>JSON.parse(JSON.stringify({"@context":"https://schema.org","@type":"Blog",name:e,description:t,url:o,publisher:{"@type":"Organization",name:Jy.env.NEXT_PUBLIC_SITE_NAME||"Blog"},blogPost:null==r?void 0:r.map(e=>({"@type":"BlogPosting",headline:e.name,url:o?Jb(o,e.full_slug):void 0,datePublished:e.first_published_at}))})),JS=(e,t,r,o)=>JSON.parse(JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:e,url:t,logo:r?{"@type":"ImageObject",url:r}:void 0,sameAs:o||[]})),JE=e=>{if(!e||!e.trim())return null;try{let t=JSON.parse(e);if("object"==typeof t&&null!==t)return t}catch(e){(0,W9.p)("Invalid custom Schema.org JSON-LD:",e)}return null},Jj=e=>{let{article:t,author:r,categories:o,breadcrumbs:i,baseUrl:l,publisherUrl:s}=e,d=J_(t,r,o,l,s),c=i?JC(i,l):null;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d)}}),c&&(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(c)}})]})},JN=e=>{let{title:t,description:r,articles:o,baseUrl:i}=e,l=J$(t,r,o,i);return(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}})},JT=e=>{let{name:t,url:r,logo:o,socialMediaUrls:i}=e,l=JS(t,r,o,i);return(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}})},JP=e=>{var t,r,o;let i,{story:l,author:s,categories:d,breadcrumbs:c}=e;if(!l)return null;try{i=KG()}catch(e){i={}}let u=i.canonicalBase||"https://www.culturalcare.com",p=(null==l?void 0:null===(t=l.content)||void 0===t?void 0:t.list_title)||(null==l?void 0:l.name),f=null==l?void 0:null===(r=l.content)||void 0===r?void 0:r.list_description,m=i.metaTitlePattern&&p?KJ(i.metaTitlePattern,{title:p,site:i.organizationName||Jy.env.NEXT_PUBLIC_SITE_NAME}):p||"",h=i.metaDescriptionPattern&&f?KY(i.metaDescriptionPattern,{description:f}
50):f,g=JE(JSON.stringify(KX(i.structuredData,null==l?void 0:null===(o=l.content)||void 0===o?void 0:o.custom_schema))),v=J_(l,s,d,u,i.organizationUrl||void 0);if((0,W9.p)("\uD83D\uDCC4 Article JSON-LD Schema Generated:",v),c){let e=JC(c,u);(0,W9.p)("\uD83C\uDF5E Breadcrumb JSON-LD Schema Generated:",e)}return g&&(0,W9.p)("âï¸ Custom JSON-LD Schema:",g),(0,D.jsxs)(qc,{children:[m&&(0,D.jsx)("title",{children:m}),h&&(0,D.jsx)("meta",{name:"description",content:h}),i.noIndexDefault&&(0,D.jsx)("meta",{name:"robots",content:"noindex"}),i.noFollowDefault&&(0,D.jsx)("meta",{name:"robots",content:"nofollow"}),(0,D.jsx)(Jj,{article:l,author:s,categories:d,breadcrumbs:c,baseUrl:u,publisherUrl:i.organizationUrl||void 0}),g&&(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g)}}),i.organizationName&&(0,D.jsx)(JT,{name:i.organizationName,url:i.organizationUrl||u,logo:i.organizationLogo,socialMediaUrls:i.publisherSocialUrls})]})},JA=e=>{let t,{seoTitle:r,seoDescription:o,articles:i,customSchema:l}=e;if(!(r&&o))return null;try{t=KG()}catch(e){t={}}let s=t.canonicalBase||"https://www.culturalcare.com",d=t.metaTitlePattern?KJ(t.metaTitlePattern,{title:r,site:t.organizationName||Jy.env.NEXT_PUBLIC_SITE_NAME}):r||"",c=t.metaDescriptionPattern?KY(t.metaDescriptionPattern,{description:o}):o,u=JE(JSON.stringify(KX(t.structuredData,l))),p=J$(r,o,i,s);return(0,W9.p)("\uD83D\uDCDD Blog/Category JSON-LD Schema Generated:",p),u&&(0,W9.p)("âï¸ Custom JSON-LD Schema:",u),(0,D.jsxs)(qc,{children:[(0,D.jsx)("title",{children:d}),(0,D.jsx)("meta",{name:"description",content:c}),t.noIndexDefault&&(0,D.jsx)("meta",{name:"robots",content:"noindex"}),t.noFollowDefault&&(0,D.jsx)("meta",{name:"robots",content:"nofollow"}),(0,D.jsx)(JN,{title:r,description:o,articles:i,baseUrl:s}),u&&(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(u)}}),t.organizationName&&(0,D.jsx)(JT,{name:t.organizationName,url:t.organizationUrl||s,logo:t.organizationLogo,socialMediaUrls:t.publisherSocialUrls})]})},JO=e=>{let{blok:t}=e,{body:r,author:o,authors:i,categories:l,breadcrumbs:s}=t;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(JP,{story:t,author:null!=i?i:o?[o]:void 0,categories:l,breadcrumbs:s}),(0,D.jsx)("main",{...(0,ha.LF)(t),children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})};JO.displayName="Article";var JR=(0,B.c6)({slots:{articlesContainer:"",articleItem:"opacity-0 translate-y-2 transition-all duration-300 ease-out",articleItemNew:"opacity-0 translate-y-2",articleItemLoaded:"opacity-100 translate-y-0",skeletonItem:"opacity-100 translate-y-0 scale-100 animate-pulse",skeletonItemVisible:"opacity-100 translate-y-0 scale-100"},variants:{isNew:{true:"",false:""}}}),JD=(0,B.c6)({slots:{container:"@container/author",extendedContent:"flex flex-col items-center text-center @[480px]/author:flex-row @[480px]/author:items-start @[480px]/author:text-left gap-12 @[480px]/author:gap-12",condensedContent:"flex flex-col items-center text-center @[320px]/author:flex-row @[320px]/author:items-start @[320px]/author:text-left gap-4",extendedAvatar:"w-24 h-24 @[480px]/author:w-[30%] @[480px]/author:h-auto @[480px]/author:aspect-square overflow-hidden flex-shrink-0",condensedAvatar:"w-16 h-16 @[320px]/author:w-12 @[320px]/author:h-12 overflow-hidden flex-shrink-0",extendedSocialLinks:"flex justify-center @[480px]/author:justify-start",condensedSocialLinks:"flex justify-center @[320px]/author:justify-start"}}),JM=I.forwardRef((e,t)=>{let{href:r,...o}=e,i=(0,W9.n)(),l=i?i(r):r;return(0,D.jsx)(b8,{ref:t,href:l,...o})});JM.displayName="BlogLink";var JL={off:"none",enabled:"shadow-m",deep:"shadow-l"},JI=new Set(["none","bordered","shadow-s","shadow-m","shadow-l","shadow-xl"]),JF=e=>JL[e]||(JI.has(e)?e:void 0),JB=(e,t)=>"string"==typeof e&&e?JF(e):"string"==typeof t&&t?JF(t):e,JV=e=>!!e&&"object"==typeof e&&!Array.isArray(e),Jz=(e,t)=>{if(null!=e){if("string"==typeof e)return e||void 0;if(!(!JV(e)||t.has(e))){if(t.add(e),"string"==typeof e.value&&e.value)return e.value;if("string"==typeof e.selected&&e.selected)return e.selected;if(JV(e.selected)){let r=Jz(e.selected,t);if(r)return r}for(let r of["light","dark","s","m","l","xl","xxl"]){let o=Jz(e[r],t);if(o)return o}}}},JH=e=>Jz(e,new WeakSet),JU=e=>{let{content:t,readingTimeText:r="min read",className:o}=e,i=(0,W9.r)(t);return t&&0!==i?(0,D.jsxs)("div",{className:(0,F.cn)("flex items-center gap-1",o),children:[(0,D.jsx)(qw,{size:14}),(0,D.jsx)(aL.x,{variant:"smallPrint",className:"flex-shrink-0",children:r.includes("{{minutes}}")?r.replace("{{minutes}}",i.toString()):"".concat(i," ").concat(r)})]}):null};JU.displayName="ReadingTime";var JZ=e=>{if("string"==typeof e)return e.replace(":","/");if("object"==typeof e&&null!==e){let t={};return Object.keys(e).forEach(r=>{t[r]="string"==typeof e[r]?e[r].replace(":","/"):e[r]}),t}return e},JW={none:"mt-0",xs:"mt-1",s:"mt-2",m:"mt-3",l:"mt-4",xl:"mt-6"},JK=e=>{let{textColor:t,backgroundColor:r,borderColor:o}=e;if(!(!t&&!r&&!o))return{...t?{color:t,"--color-system-text-on-inverse":t}:{},...r?{backgroundColor:r,"--color-system-background-inverse":r}:{},...o?{borderColor:o,"--color-system-stroke-strong":o}:{}}},Jq=e=>"outlined"!==e||void 0,JG=e=>{var t,r,o,i,l,s,d,c,u,p,f;let{article:m,card_image:h=null==m?void 0:m.list_image,card_image_aspect_ratio:g,card_title:v=null==m?void 0:m.list_title,card_description:y=null==m?void 0:m.list_description,card_link_text:b=null==m?void 0:m.list_link_text,card_date:x=null==m?void 0:m.published_date,show_date:w,show_reading_time:k,reading_time_variant:_,reading_time_color:C,href:$=null==m?void 0:m.full_slug,radius:S,border:E,tag_list:j=(null==m?void 0:m.tag_list)||[],shadow:N,card_background_color:T,card_text_color:P,className:A,renderCustomLink:O,design:R,...M}=e,L=K5(R||{card_background_color:T,card_text_color:P,image_aspect_ratio:g,card_border:E,reading_time_variant:_,reading_time_color:C}),I=KW(),B=I.translations,V=JZ(L.image_aspect_ratio||g||{s:"16/9"}),z=null===(p=null!=k?k:null==I?void 0:null===(t=I.general)||void 0===t?void 0:t.show_reading_time_default)||void 0===p||p,H=(null==B?void 0:B.reading_time_text)||"min read",U=null===(f=null!=w?w:null==I?void 0:null===(r=I.general)||void 0===r?void 0:r.show_dates_default)||void 0===f||f,Z=(null==I?void 0:null===(o=I.general)||void 0===o?void 0:o.date_format)||"long",W=(null==b?void 0:b.trim())||(null==B?void 0:B.read_more_text)||"Read more",K=(0,F.cn)("article-card","h-full",A),q=null==m?void 0:m.featured,G=JH(L.card_background_color)||JH(T),J=JH(L.card_text_color)||JH(P),Y=JH(L.card_tag_text_color),X=JH(L.card_tag_background_color),Q=JH(L.card_tag_border_color),ee=L.card_tag_variant||"filled",et=JH(L.card_priority_tag_text_color)||Y,en=JH(L.card_priority_tag_background_color)||X,er=JH(L.card_priority_tag_border_color)||Q,ea=L.card_priority_tag_variant&&"inherit"!==L.card_priority_tag_variant?L.card_priority_tag_variant:ee,eo=L.card_t
50itle_variant||"title3",ei=L.card_description_variant||"body",el=JB(L.card_border||E,L.card_shadow||N),es=L.card_border_radius||S,ed=J?{color:J}:void 0,ec=JK({textColor:Y,backgroundColor:X,borderColor:Q}),eu=Q?"border":void 0,ep=JK({textColor:et,backgroundColor:en,borderColor:er}),ef=er?"border":void 0,em=JW[L.card_title_description_gap||"s"]||JW.s;return(0,D.jsxs)(wO,{className:K,href:$,radius:es,border:el,style:G?{backgroundColor:G}:void 0,renderCustomLink:O||(e=>(0,D.jsx)(JM,{href:e.href,...e})),...M,children:[(0,D.jsxs)(wU,{justify:"space-between",children:[q&&(0,D.jsx)(aM,{small:!0,filled:Jq(ea),className:ef,style:ep,children:"Featured"}),(null==j?void 0:j.length)&&j.length>0?(0,D.jsx)("div",{className:"flex gap-2 ms-auto",children:j.slice(0,q?1:2).map((e,t)=>(0,D.jsx)(aM,{small:!0,filled:Jq(ee),className:eu,style:ec,children:e},t))}):null]}),h&&h.length>0&&(null==h?void 0:null===(l=h[0])||void 0===l?void 0:null===(i=l.image)||void 0===i?void 0:i.filename)?(0,D.jsx)("div",{className:"relative",children:(0,D.jsx)(wL,{src:null===(d=h[0])||void 0===d?void 0:null===(s=d.image)||void 0===s?void 0:s.filename,alt:(null===(u=h[0])||void 0===u?void 0:null===(c=u.image)||void 0===c?void 0:c.alt)||v,aspectRatios:V,sizes:"(max-width: 768px) 70vw, (max-width: 1200px) 50vw, 33vw",renderCustomImage:e=>(0,D.jsx)(vO.default,{fill:!0,loader:e=>{var t,r,o,i;return iD({...e,priority:!1,quality:null!==(o=null===(t=h[0])||void 0===t?void 0:t.quality)&&void 0!==o?o:75,focus:null!==(i=null===(r=h[0])||void 0===r?void 0:r.focus)&&void 0!==i?i:"smart",aspectRatios:V})},...e}),radius:es})}):null,(0,D.jsxs)(wR,{className:"flex flex-1 flex-col gap-0",children:[U&&x||z?(0,D.jsxs)("div",{className:"flex items-center gap-2 mb-3 text-sm",children:[U&&x&&(0,D.jsxs)("div",{className:"flex items-center gap-1",children:[(0,D.jsx)(q_,{size:14,style:ed}),(0,D.jsx)(aL.x,{as:"span",variant:"smallPrint",style:ed,children:KQ(x,Z)})]}),z&&(0,D.jsx)("div",{className:"flex items-center",children:(0,D.jsx)(JU,{content:null==m?void 0:m.reading_time,readingTimeText:H})})]}):null,v?(0,D.jsx)(aL.x,{as:"h4",variant:eo,style:ed,children:v}):null,y?(0,D.jsx)(aL.x,{variant:ei,style:ed,className:(0,F.cn)("mb-0",v&&em),children:y}):null,(0,D.jsx)(wI,{arrow:!0,className:"mt-auto pt-4",style:ed,children:W})]})]})};JG.displayName="ArticleCard";var JJ=e=>{let{articles:t,renderCard:r,slidesInView:o={s:1,m:2,l:3},layout:i,gap:l,showPagination:s=!0,controls:d="minimal"}=e;if(!t||0===t.length)return null;let c=t.map((e,t)=>r(e,t));return 1===c.length?(0,D.jsxs)(_g.l,{controls:d,slidesInView:o,showPagination:!1,layout:i,gap:l,children:[c[0],(0,D.jsx)("div",{"aria-hidden":"true",style:{visibility:"hidden",height:0}},"placeholder")]}):(0,D.jsx)(_g.l,{controls:d,slidesInView:o,showPagination:s,layout:i,gap:l,children:c})},JY=I.memo(e=>{let{articles:t,renderCard:r,className:o="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 pb-2"}=e,i=(0,I.useMemo)(()=>t&&0!==t.length?t.map((e,t)=>({key:(null==e?void 0:e.uuid)||(null==e?void 0:e._uid)||t,element:r(e,t)})):[],[t,r]);return t&&0!==t.length?(0,D.jsx)("div",{className:o,children:i.map(e=>{let{key:t,element:r}=e;return(0,D.jsx)(I.Fragment,{children:r},t)})}):null},(e,t)=>{var r,o,i,l;let s=(null===(o=e.articles)||void 0===o?void 0:null===(r=o.map(e=>e.uuid||e._uid))||void 0===r?void 0:r.join(","))||"",d=(null===(l=t.articles)||void 0===l?void 0:null===(i=l.map(e=>e.uuid||e._uid))||void 0===i?void 0:i.join(","))||"",c=e.renderCard!==t.renderCard,u=e.className!==t.className;return!(s!==d||c||u)});JY.displayName="ArticleGrid";var JX=e=>[-1,-2].includes(e),JQ=e=>{let t=e||"var(--color-components-buttons-filled-background)",r="color-mix(in srgb, ".concat(t," 10%, transparent)");return{"--color-system-surface-selected-weak":t,"--color-system-stroke-selected-on-weak":t,"--color-system-text-selected-default":"var(--color-components-buttons-filled-foreground)","--color-components-buttons-ghost-hover-background":r,"--bg-components-buttons-ghost-hover-background":r}},J0=(0,I.createContext)({select:()=>{}}),J1=e=>{let{href:t,onClick:r,...o}=e,{pendingHref:i,select:l}=(0,I.useContext)(J0);return(0,D.jsx)(JM,{href:t,...o,className:"".concat(o.className||""," ").concat(i===t?"opacity-60 motion-safe:animate-pulse":""),"aria-busy":i===t||void 0,onClick:e=>{null==r||r(e),e.defaultPrevented||"page"===e.currentTarget.getAttribute("aria-current")||0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.currentTarget.target&&"_self"!==e.currentTarget.target||l(t)}})},J2=e=>(0,D.jsx)(J1,{...e}),J3=e=>{let{currentPage:t,totalPages:r,categorySlug:o,routeType:i="blog",basePath:l,accentColor:s,anchorId:d}=e,c=(0,xF.useRouter)(),u=KK(),[p,f]=(0,I.useState)();(0,I.useEffect)(()=>{var e,t;let r=()=>f(void 0);return null===(e=c.events)||void 0===e||e.on("routeChangeComplete",r),null===(t=c.events)||void 0===t||t.on("routeChangeError",r),()=>{var e,t;null===(e=c.events)||void 0===e||e.off("routeChangeComplete",r),null===(t=c.events)||void 0===t||t.off("routeChangeError",r)}},[c.events]);let m=l||(0,W9.e)(),h=e=>{let t=(0,W9.w)({basePath:m,routeType:i,categorySlug:o,page:e});return d?"".concat(t,"#").concat(d):t};return(0,D.jsx)(J0.Provider,{value:{pendingHref:p,select:f},children:(0,D.jsxs)("div",{children:[(0,D.jsx)("p",{role:"status","aria-live":"polite",className:"text-center text-sm",children:p?u.loading_articles_text||"Loading articlesâ¦":""}),(0,D.jsx)("div",{"aria-busy":!!p,children:(0,D.jsxs)(qR,{style:JQ(s),children:[(0,D.jsxs)(qD,{"data-slot":"PaginationPreviousButtonGroup",children:[(0,D.jsx)(qV,{as:"a",href:h(1),action:"first",disabled:t<=1,renderCustomLink:J2}),(0,D.jsx)(qV,{as:"a",href:h(t-1<=1?1:t-1),action:"previous",disabled:t<=1,renderCustomLink:J2})]}),(0,D.jsx)(qz,{"data-slot":"PaginationPages",children:qf(7,r,t).map(e=>(0,D.jsx)(qH,{clickable:!JX(e),active:e===t,href:JX(e)?void 0:h(e),renderCustomLink:JX(e)?void 0:J2,children:JX(e)?"...":e},e))}),(0,D.jsxs)(qU,{children:[t,"/",r]}),(0,D.jsxs)(qD,{"data-slot":"PaginationNextButtonGroup",children:[(0,D.jsx)(qV,{as:"a",href:h(t+1),action:"next",disabled:t>=r,renderCustomLink:J2}),(0,D.jsx)(qV,{as:"a",href:h(r),action:"last",disabled:t>=r,renderCustomLink:J2})]})]})})]})})},J4=e=>{var t,r;let{pagination:o,fallbackPerPage:i,hasMore:l,allowHasMoreFallback:s=!1}=e,d=(null==o?void 0:o.currentPage)||1,c=(null==o?void 0:o.perPage)||i,u=(null==o?void 0:o.total)&&c?Math.ceil(o.total/c):0,p=null!==(t=null==o?void 0:o.hasMore)&&void 0!==t?t:l,f=null!==(r=null==o?void 0:o.totalPages)&&void 0!==r?r:u||(s&&1===d&&p?2:0);return{currentPage:d,totalPages:f,shouldRender:f>1}},J6=e=>{let{blok:t}=e,{articles:r=[],pagination:o,categorySlug:i,routeType:l,basePath:s,design:d,custom_classname:c}=t,u=K5(d),p=(0,h7.N)(null==d?void 0:d.spacing);if(0===r.length)return null;let{currentPage:f,totalPages:m,shouldRender:h}=J4({pagination:o});return(0,D.jsxs)("div",{className:(0,F.cn)(p,c,"pb-16"),style:{order:null==u?void 0:u.order},children:[(0,D.jsx)(JY,{articles:r,renderCard:e=>(0,D.jsx)(JG,{article:e,design:u,card_image:e.list_image,card_title:e.list_title,card_description:e.list_description,card_link_text:e.list_link_text,href:e.full_slug},e._uid)}),h&&(0,D.jsx)("div",{className:"mt-8",children:(0,D.jsx)(J3,{currentPage:f,totalPages:m,categorySlug:i,routeType:l,basePath:s,accentColor:JH(t.pagination_accent_color)})})]})},J8=()=>(0,D.jsxs)(wO,{children:[(0,D.jsx)(wU,{children:(0,D.jsx)(wD.O,{className:"w-20 h-4"})}),(0,D.jsx)(wL,{aspectRatios:"16/9",variant:"inline",renderCustomImage:()=>(0,D.jsx)(wD.O,{className:"w-full h-full !scale-y-100"})}),(0,D.jsxs)(wR,{children:[(0,D.jsx)(wD.O,{className:"w-full h-4"}),(0,D.jsx)(wD.O,{className:"w-full h-4"}),(0,D.jsx)(wD.O,{className:"w-full h-4"})]})]}),J9=(e,t)=>
50(function(e,t={}){if("object"==typeof e&&"doc"===e.type&&Array.isArray(e.content)){let r=t.blokResolvers,o=void 0===r?{}:r,i=t.defaultBlokResolver,l=void 0===i?function(){return null}:i,s=t.nodeResolvers,d=t.markResolvers,c=t.textResolver,u=void 0===c?function(e){return e}:c,p=qW(qW({},qQ),void 0===s?{}:s),f=qW(qW({},q0),void 0===d?{}:d),m=0,h=function(e){return I.isValidElement(e)?I.cloneElement(e,{key:m++}):e},g=function(e){let t=e?e.map(v).filter(function(e){return null!=e}):null;return Array.isArray(t)&&0===t.length?null:t},v=function(e){if("blok"===e.type)return e.attrs.body.map(function(e){let t=e.component,r=function(e,t){if(null==e)return{};var r,o,i=function(e,t){if(null==e)return{};var r,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)r=l[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,qK),i=o[t];return h(i?i(r):l(t,r))});{var t;let r;if("text"===e.type)r=u(e.text);else{let t=p[e.type];r=t?h(t(g(e.content),e.attrs)):null}return(null!==(t=e.marks)&&void 0!==t?t:[]).reduceRight(function(e,t){let r=f[t.type];return r?h(r(e,t.attrs)):e},r)}};return g(e.content)}if("string"==typeof e){let r=t.defaultStringResolver,o=t.textResolver;return(void 0===r?function(e){return e}:r)((void 0===o?function(e){return e}:o)(e))}return null})(e,{nodeResolvers:{[qq]:e=>(0,D.jsx)(aL.x,{variant:t,className:"mb-2 last:mb-0",children:e})},markResolvers:{[qG]:(e,t)=>{let{href:r,target:o,linktype:i}=t;return(0,D.jsx)(gr.r,{asChild:!0,href:"email"===i?"mailto:".concat(r):null!=r?r:"",target:o,children:(0,D.jsx)(JM,{href:"email"===i?"mailto:".concat(r):null!=r?r:"",rel:"_blank"===o?"noopener noreferrer":void 0,children:(0,D.jsx)(ga.u,{children:e})})})}}}),J5=e=>{var t,r,o,i,l,s;let d;let{author:c,title:u,layoutClasses:p,textColor:f,titleVariant:m,nameVariant:h,nameElement:g,bioVariant:v,roleVariant:y,imageBorderRadius:b}=e;return(0,D.jsxs)("div",{className:(0,F.cn)(p.content,"h-full flex flex-col"),children:[c.profile_image&&c.profile_image.length>0&&(0,D.jsx)("div",{className:p.avatar,children:(d=({none:"rounded-none",xs:"rounded-xs",s:"rounded-sm",m:"rounded-md",l:"rounded-lg",xl:"rounded-xl",full:"rounded-full"})[b]||"rounded-full",(0,D.jsx)("div",{className:(0,F.cn)("relative overflow-hidden aspect-square",d),children:(0,D.jsx)(ha.Xj,{blok:c.profile_image[0],className:(0,F.cn)("w-full h-full object-cover",d)})}))}),(0,D.jsxs)("div",{className:"author-info flex-1 min-w-0 flex flex-col",children:[u&&(0,D.jsx)(aL.x,{id:"author-section-title",variant:m,className:"uppercase mb-1",style:(null==f?void 0:null===(t=f.selected)||void 0===t?void 0:t.value)?{color:f.selected.value}:void 0,children:u}),(0,D.jsx)(vt,{variant:h,as:g,className:"mb-2",style:(null==f?void 0:null===(r=f.selected)||void 0===r?void 0:r.value)?{color:f.selected.value}:void 0,children:c.name}),c.role&&(0,D.jsx)("div",{className:"author-role mb-2",itemProp:"jobTitle",children:(0,D.jsx)(aL.x,{variant:y,style:(null==f?void 0:null===(o=f.selected)||void 0===o?void 0:o.value)?{color:f.selected.value}:void 0,children:c.role})}),c.bio&&(0,D.jsx)("div",{className:"author-bio mb-3",children:"string"==typeof c.bio?(0,D.jsx)(aL.x,{variant:v,style:(null==f?void 0:null===(i=f.selected)||void 0===i?void 0:i.value)?{color:f.selected.value}:void 0,children:c.bio}):I.isValidElement(c.bio)?(0,D.jsx)("div",{className:"rich-text-content",style:(null==f?void 0:null===(l=f.selected)||void 0===l?void 0:l.value)?{color:f.selected.value}:void 0,children:c.bio}):(0,D.jsx)("div",{className:"rich-text-content",style:(null==f?void 0:null===(s=f.selected)||void 0===s?void 0:s.value)?{color:f.selected.value}:void 0,children:J9(c.bio,v)})}),c.social_links&&c.social_links.length>0&&(0,D.jsx)("div",{className:(0,F.cn)(p.socialLinks,"mt-auto","pt-m"),children:(0,D.jsx)(J7,{blok:{social_links:c.social_links}})})]})]})},J7=e=>{let{blok:t,className:r=""}=e,{social_links:o=[]}=t;if(!o||0===o.length)return null;let i=e=>{let t={size:16,color:"currentColor"};switch(e){case"linkedin":return(0,D.jsx)(q1,{...t});case"instagram":return(0,D.jsx)(q2,{...t});case"x":return(0,D.jsx)(q3,{...t});case"facebook":return(0,D.jsx)(q4,{...t});default:return null}},l=e=>{switch(e){case"linkedin":return"LinkedIn";case"instagram":return"Instagram";case"x":return"X (Twitter)";case"facebook":return"Facebook";default:return e}};return(0,D.jsx)("div",{...(0,ha.LF)(t),className:"author-social-links flex gap-2 ".concat(r),children:o.map(e=>(0,D.jsx)(e7.Button,{as:"a",href:e.url,target:"_blank",rel:"noopener noreferrer",variant:"outlined",size:"small",className:"!p-2 !min-w-8 !h-8 mono","aria-label":"Visit ".concat(l(e.platform)),children:i(e.platform)},e._uid))})},Ye=new Map,Yt=e=>{let{articles:t,isLoading:r}=e,[o,i]=(0,I.useState)(new Set),l=(0,I.useRef)([]),s=(0,I.useRef)(!0),d=(0,I.useRef)(void 0);return(0,I.useEffect)(()=>
50{if(r||!(null==t?void 0:t.length))return;let e=t.map(e=>e.uuid||e._uid),o=l.current;if(s.current){s.current=!1,l.current=e;return}let c=new Set(o),u=e.filter(e=>!c.has(e));u.length>0&&(i(new Set(u)),d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{i(new Set)},800)),l.current=e},[t,r]),(0,I.useEffect)(()=>()=>{d.current&&clearTimeout(d.current)},[]),{shouldAnimate:(0,I.useCallback)(e=>o.has(e),[o]),getAnimationDelay:(0,I.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"".concat(Math.min(50*t,300),"ms")},[])}},Yn=(0,B.tv)(JR),Yr=I.memo(e=>{var t;let{article:r,shouldAnimate:o,animationDelay:i,bpCurrentDesign:l,showDates:s,showReadingTime:d}=e,{articleItem:c,articleItemLoaded:u}=Yn(),p=r.uuid||r._uid,[f,m]=(0,I.useState)(!1);(0,I.useEffect)(()=>{if(o){let e=setTimeout(()=>{m(!0)},parseInt(i.replace("ms",""))||0);return()=>clearTimeout(e)}m(!0)},[o,i]);let h=f?u():"",g=null!==(t=null==l?void 0:l.design)&&void 0!==t?t:l;return(0,D.jsx)("div",{"data-blog-article":p,className:"".concat(c()," ").concat(h),children:(0,D.jsx)(JG,{article:r,design:g,show_date:s,show_reading_time:d})},p)},(e,t)=>(e.article.uuid||e.article._uid)===(t.article.uuid||t.article._uid)&&e.showDates===t.showDates&&e.showReadingTime===t.showReadingTime);Yr.displayName="ArticleWrapper";var Ya=(0,B.tv)(JR),Yo=e=>{let{articles:t,isLoading:r,isLoadingMore:o=!1,bpCurrentDesign:i,itemsPerPage:l=6,noArticlesAvailableText:s="No articles available with the selected filters",showDates:d,showReadingTime:c}=e,{shouldAnimate:u,getAnimationDelay:p}=Yt({articles:t,isLoading:r}),{articlesContainer:f}=Ya();return(0,D.jsxs)("div",{className:"min-h-[400px] relative",children:[t.length>0&&(0,D.jsx)("div",{className:"transition-opacity duration-300 ".concat(r?"opacity-50":"opacity-100"),children:(0,D.jsx)("div",{className:f(),children:(0,D.jsx)(JY,{articles:t,className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 pb-2",renderCard:(e,t)=>(0,D.jsx)(Yr,{article:e,shouldAnimate:u(e.uuid||e._uid),animationDelay:p(e.uuid||e._uid,t),bpCurrentDesign:i,showDates:d,showReadingTime:c},e.uuid||e._uid)})})}),o&&t.length>0&&(0,D.jsx)("div",{className:"mt-6",children:(0,D.jsx)(Yw,{count:Math.min(l,6),className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 pb-2"})}),0===t.length&&!r&&(0,D.jsx)("div",{className:"min-h-[400px] flex items-center justify-center",children:(0,D.jsx)(aL.x,{variant:"body",children:s})}),r&&0===t.length&&(0,D.jsx)("div",{className:"min-h-[400px] relative",children:(0,D.jsx)(Yw,{count:l,className:f()})})]})},Yi="blog-filter-";function Yl(e,t,r){var o;return(null===(o=e.title)||void 0===o?void 0:o.trim())||(r>1?"Group ".concat(t+1):"Categories")}function Ys(e,t,r){return"".concat(Yi).concat(Yl(e,t,r).trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"categories","-").concat(t)}function Yd(e){return"string"!=typeof e?void 0:e.trim()||void 0}function Yc(e){return Yd(e.category)}function Yu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Yd(e.name);if(r)return r;let o=t.find(t=>t.uuid===e.uuid);return o?Yc(o):void 0}var Yp=e=>{(0,I.startTransition)(e)},Yf=e=>{let{filterGroups:t,selectedCategories:r,totals:o,isLoading:i,isFilterStateReady:l,showCategoryCount:s=!0,onCategoriesChange:d}=e,[c,u]=(0,I.useState)(!1),p=(0,I.useMemo)(()=>(function(e,t){var r;let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=null===(r=i.showCategoryCount)||void 0===r||r;return e.map((r,i)=>{let s=Yl(r,i,e.length),d="show"===r.category_count_visibility||"hide"!==r.category_count_visibility&&l,c=(r.categories||[]).flatMap(e=>{let r=Yu(e,t);return e.uuid&&r?[{category:e,label:r}]:[]}).sort((e,t)=>e.label.localeCompare(t.label)).map(e=>{var r,o;let i,{category:l,label:s}=e,c=(i=s.toLowerCase(),null!==(o=null===(r=t.find(e=>{let t=Yc(e);return e.uuid===l.uuid||t===s||(null==t?void 0:t.toLowerCase())===i}))||void 0===r?void 0:r.total)&&void 0!==o?o:0);return{value:l.uuid,label:d&&c>0?"".concat(s," (").concat(c,")"):s}});return{label:s,filter:{id:Ys(r,i,e.length),label:s,type:"checkbox",values:c,disabled:o},defaultExpanded:!0}})})(t,o,!l,{showCategoryCount:s}),[t,o,l,s]),f=(0,I.useMemo)(()=>(function(e,t){let r=[],o=new Set;for(let l of t)if(!o.has(l))for(let[t,s]of e.entries()){var i;let d=null===(i=s.categories)||void 0===i?void 0:i.find(e=>e.uuid===l);if(!d)continue;let c=Yu(d);if(!d.uuid||!c)continue;let u=Yl(s,t,e.length);
50r.push({filterId:Ys(s,t,e.length),filterLabel:u,groupLabel:u,value:d.uuid,valueLabel:c,type:"checkbox"}),o.add(l);break}return r})(t,r),[t,r]),m=l?"filters-ready":"filters-loading",h=(0,I.useCallback)(e=>{d(function(e){let t=(0,G3.vd)(e),r=[],o=new Set;for(let[e,i]of Object.entries(t))if(e.startsWith(Yi))for(let e of Array.isArray(i)?i:[i])"string"!=typeof e||o.has(e)||(r.push(e),o.add(e));return r}(e))},[d]);return(0,I.useEffect)(()=>{Yp(()=>{u(!0)})},[]),0===p.length?null:c?(0,D.jsx)("div",{className:"pb-4 sm:pb-6",children:(0,D.jsx)(Jg,{variant:"inline",filters:p,isLoading:!l,initialSelectedFilters:f,selectedFilters:f,onFilterChange:h,onFilterSave:h,onFilterClear:()=>d([]),labels:{clearLabel:"Clear filters"}},m)}):(0,D.jsx)("div",{className:"pb-8 sm:pb-10",children:(0,D.jsxs)("div",{className:"rounded-xs p-6","aria-busy":!l||i,children:[(0,D.jsx)("p",{className:"mb-4 text-sm font-semibold uppercase tracking-wide",children:"Filters"}),(0,D.jsx)("div",{className:"flex flex-wrap gap-6",children:p.map(e=>(0,D.jsxs)("div",{children:[(0,D.jsx)("p",{className:"mb-2 font-semibold",children:e.label}),(0,D.jsx)("ul",{className:"flex flex-wrap gap-x-4 gap-y-2",children:e.filter.values.map(e=>(0,D.jsx)("li",{children:e.label},String(e.value)))})]},e.filter.id))})]})})},Ym=e=>"hide"!==e.category_count_visibility&&("show"===e.category_count_visibility||!1!==e.show_category_count&&"false"!==e.show_category_count),Yh=e=>{var t,r;let{hasMore:o,isLoadingMore:i,onLoadMore:l,shape:s="default"}=e;if(!o)return null;let d=null===(r=KW())||void 0===r?void 0:null===(t=r.translations)||void 0===t?void 0:t.load_more_text;return(0,D.jsx)("div",{className:"flex justify-center mt-8",children:(0,D.jsx)(e7.Button,{onPress:l,variant:"outlined",shape:"default"===s?void 0:s,size:"regular",as:"button",type:"button","aria-label":d,isLoading:i,disabled:i,children:d})})},Yg=new GM({defaultOptions:{queries:{staleTime:0,gcTime:6e5,retry:2,refetchOnWindowFocus:!1}}}),Yv=e=>{var t;let{blok:r,seoTitle:o,seoDescription:i,articles:l,customSchema:s}=e,d=(0,xF.useRouter)(),c=(0,W9.a)(),u=KK(),p=KW(),f=K5(r.design),m=Ym(r),h=(null===(t=p.general)||void 0===t?void 0:t.articles_per_page)||c.articlesPerPage||12,g=(0,I.useMemo)(()=>{var e;return(null===(e=r.categories)||void 0===e?void 0:e.length)?[{title:u.category||"Categories",categories:r.categories}]:[]},[r.categories,u.category]),v=(0,I.useMemo)(()=>{var e;return(null===(e=r.filter_groups)||void 0===e?void 0:e.length)?r.filter_groups:g},[r.filter_groups,g]),y=(0,I.useMemo)(()=>{var e;return{...r,filter_groups:v,articles:(null===(e=r.articles)||void 0===e?void 0:e.map(e=>{var t;return{...e,uuid:e._uid,tag_list:e.tag_list||[],full_slug:e.full_slug||"",list_title:e.list_title||"",list_description:e.list_description||"",list_image:e.list_image||e.preview_image||[],list_link_text:(null===(t=e.list_link_text)||void 0===t?void 0:t.trim())||u.read_more_text||"Read more"}}))||[],max_articles:r.max_articles||h,prioritise_featured:r.prioritise_featured||!1}},[r,v,u.read_more_text,h]),b=(0,W9.w)({basePath:r.basePath||c.basePath||"blog",routeType:r.routeType,categorySlug:r.categorySlug}),{filterGroups:x,selectedCategories:w,totals:k,allArticles:_,isLoading:C,isLoadingMore:$,error:S,hasMore:E,pagination:j,isFilterStateReady:N,handleCategoriesChange:T,handleLoadMore:P}=YS(y,{firstPageUrl:c.customLink?c.customLink(b):b}),A=function(e){let{scope:t,ready:r}=e,o=(0,xF.useRouter)(),i=(0,I.useRef)(null),l=(0,I.useRef)(),s=(0,I.useRef)();return(0,I.useEffect)(()=>{var e,r,s,d;let c=()=>{var e;let r=null===(e=window.history.state)||void 0===e?void 0:e.key;l.current=r?"".concat(t,":").concat(r):void 0};c();let u=()=>{if(!l.current||!i.current)return;let e=Array.from(i.current.querySelectorAll("[data-blog-article]")).find(e=>e.getBoundingClientRect().bottom>0);for(let[t,r]of(Ye.set(l.current,{y:window.scrollY,article:null==e?void 0:e.dataset.blogArticle,top:null==e?void 0:e.getBoundingClientRect().top,savedAt:Date.now()}),Ye))Date.now()-r.savedAt>6e5&&Ye.delete(t);Ye.size>50&&Ye.delete(Ye.keys().next().value)};return null===(e=o.events)||void 0===e||e.on("routeChangeStart",u),null===(r=o.events)||void 0===r||r.on("routeChangeComplete",c),null===(s=o.events)||void 0===s||s.on("hashChangeStart",u),null===(d=o.events)||void 0===d||d.on("hashChangeComplete",c),()=>{var e,t,r,i;null===(e=o.events)||void 0===e||e.off("routeChangeStart",u),null===(t=o.events)||void 0===t||t.off("routeChangeComplete",c),null===(r=o.events)||void 0===r||r.off("hashChangeStart",u),null===(i=o.events)||void 0===i||i.off("hashChangeComplete",c)}},[o.events,t]),(0,I.useEffect)(()=>{var e;let o=null===(e=window.history.state)||void 0===e?void 0:e.key,l=o?"".concat(t,":").concat(o):void 0;if(!r||!l||s.current===l)return;s.current=l;let d=Ye.get(l);if(!d||Date.now()-d.savedAt>6e5)return;let c=!1,u=!1,p=0,f=()=>{if(c||!i.current)return;let e=Array.from(i.current.querySelectorAll("[data-blog-article]")).find(e=>e.dataset.blogArticle===d.article),t=e&&void 0!==d.top?window.scrollY+e.getBoundingClientRect().top-d.top:d.y;window.scrollTo({top:t,behavior:"instant"}),u=!0},m=()=>{cancelAnimationFrame(p),p=requestAnimationFrame(f)},h="u">typeof ResizeObserver?new ResizeObserver(m):void 0,g=()=>{c=!0,cancelAnimationFrame(p),null==h||h.disconnect()};null==h||h.observe(document.body),i.current&&(null==h||h.observe(i.current)),window.addEventListener("load",m,!0);let v=["wheel","touchstart","pointerdown","keydown"];
50v.forEach(e=>window.addEventListener(e,g,{passive:!0})),m();let y=window.setTimeout(g,3e3);return()=>{u||(s.current=void 0),g(),clearTimeout(y),window.removeEventListener("load",m,!0),v.forEach(e=>window.removeEventListener(e,g))}},[r,o.asPath,t]),i}({scope:String(r._uid||"blog"),ready:N&&!C}),{currentPage:O,totalPages:R,shouldRender:M}=J4({pagination:j||r.pagination,fallbackPerPage:h,hasMore:E,allowHasMoreFallback:!0}),L=1===O,B="dynamic"===c.mode,V=d.isReady&&qe(d.query.categories),z=L&&B&&(V||"load-more"===d.query.view);return S?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(JA,{seoTitle:o,seoDescription:i,articles:l,customSchema:s}),(0,D.jsx)("div",{...(0,ha.LF)(r),className:"w-full space-y-8",children:(0,D.jsx)("div",{className:"min-h-[400px] flex items-center justify-center",children:(0,D.jsx)(aL.x,{variant:"body",children:"Error loading articles. Please try again."})})})]}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(JA,{seoTitle:o,seoDescription:i,articles:l,customSchema:s}),(0,D.jsxs)("div",{...(0,ha.LF)(r),ref:A,id:"blog-listing",style:{scrollMarginTop:"var(--blog-listing-scroll-offset, 6rem)"},className:(0,F.cn)("w-full space-y-4 sm:space-y-6",!B&&"my-6"),children:[B&&(0,D.jsx)(Yf,{filterGroups:x,selectedCategories:w,totals:k,isLoading:C,isFilterStateReady:N,showCategoryCount:m,onCategoriesChange:T}),(0,D.jsx)(Yo,{articles:_,isLoading:C,isLoadingMore:$,itemsPerPage:h,bpCurrentDesign:f,noArticlesAvailableText:u.no_articles_available_text,showDates:r.show_dates,showReadingTime:r.show_reading_time}),z?(0,D.jsx)(Yh,{hasMore:E||!1,isLoading:C,isLoadingMore:$,onLoadMore:P,shape:r.load_more_button_shape||(null==f?void 0:f.load_more_button_shape)}):M&&!z?(0,D.jsx)(J3,{currentPage:O,anchorId:"blog-listing",totalPages:R,categorySlug:r.categorySlug,routeType:r.routeType,basePath:r.basePath,accentColor:JH(r.pagination_accent_color)||JH(null==f?void 0:f.pagination_accent_color)}):null]})]})},Yy=e=>{let{blok:t}=e,r=KK(),o=Ym(t),i=t.design||{},l=(0,h5.mi)({design:i}),s=(0,h5.qm)(l),d=t.max_articles&&parseInt(String(t.max_articles),10)>0?parseInt(String(t.max_articles),10):6,{filterGroups:c,selectedCategories:u,totals:p,allArticles:f,isLoading:m,isLoadingMore:h,error:g,hasMore:v,isFilterStateReady:y,handleCategoriesChange:b,handleLoadMore:x}=YS(t),w=(0,I.useCallback)(e=>{b(e)},[b]);return g?(0,D.jsx)("div",{...(0,ha.LF)(t),className:"w-full space-y-4 sm:space-y-6",children:(0,D.jsx)("div",{className:"min-h-[400px] flex items-center justify-center",children:(0,D.jsx)(aL.x,{variant:"body",children:"Error loading articles. Please try again."})})}):(0,D.jsxs)("div",{...(0,ha.LF)(t),className:"w-full space-y-4 sm:space-y-6",children:[(0,D.jsx)(Yf,{filterGroups:c,selectedCategories:u,totals:p,isLoading:m,isFilterStateReady:y,showCategoryCount:o,onCategoriesChange:w}),(0,D.jsx)(Yo,{articles:f,isLoading:m,isLoadingMore:h,bpCurrentDesign:s,itemsPerPage:d,noArticlesAvailableText:r.no_articles_available_text,showDates:t.show_dates,showReadingTime:t.show_reading_time}),(0,D.jsx)(Yh,{hasMore:v||!1,isLoading:m,isLoadingMore:h,onLoadMore:x,shape:t.load_more_button_shape||(null==s?void 0:s.load_more_button_shape)})]})},Yb=new GM({defaultOptions:{queries:{staleTime:0,gcTime:6e5,retry:2,refetchOnWindowFocus:!1}}}),Yx=(0,B.tv)(JR),Yw=e=>{let{count:t,className:r}=e,{skeletonItem:o,skeletonItemVisible:i}=Yx(),l=Array.from({length:t},(e,t)=>t);return(0,D.jsx)("div",{className:r||"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 pb-2",children:l.map(e=>(0,D.jsx)("div",{className:"".concat(o()," ").concat(i()),children:(0,D.jsx)(J8,{})},"skeleton-".concat(e)))})},Yk=e=>{if("string"!=typeof e)return;let t=e.trim();return t.length>0?t:void 0},Y_=(e,t)=>{let r=Yk(e.name),o=null==r?void 0:r.toLowerCase();return t.find(t=>{let i=Yk(t.category);return!!(e.uuid&&t.uuid===e.uuid)||!!(r&&i===r)||!!(o&&i&&i.toLowerCase()===o)})},YC=(e,t)=>0===e.length||0===t.length?e:e.map(e=>{let r=new Set;return{...e,categories:e.categories.flatMap(e=>{var o,i;let l=Y_(e,t);if(!(((null==l?void 0:l.total)||0)>0))return[];let s=null!==(o=Yk(e.name))&&void 0!==o?o:null==l?void 0:l.category,d=null!==(i=null==s?void 0:s.toLowerCase())&&void 0!==i?i:e.uuid;return!s||!d||r.has(d)?[]:(r.add(d),[{...e,name:s}])})}}).filter(e=>e.categories.length>0),Y$=(e,t)=>{let r=new Set(e),o=new Set(t);return r.size===o.size&&[...r].every(e=>o.has(e))},YS=function(e){var t,r,o,i,l,s;let d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{firstPageUrl:c}=d,u=(0,xF.useRouter)(),p=u.locale||"en",f="static"===(0,W9.a)().mode,m=K7(e.filter_query),h=e.max_articles&&parseInt(String(e.max_articles),10)>0?parseInt(String(e.max_articles),10):6,g=Number(null===(t=e.pagination)||void 0===t?void 0:t.currentPage)>0?Number(null===(r=e.pagination)||void 0===r?void 0:r.currentPage):1,v=(0,I.useMemo)(()=>qd({filterGroups:e.filter_groups,categories:e.categories}),[e.filter_groups,e.categories]),[y,b]=(0,I.useState)([]),[x,w]=(0,I.useState)(!1),[k,_]=(0,I.useState)([]),C=(0,I.useMemo)(()=>YC(v,k),[v,k]),$=(0,I.useMemo)(()=>[...new Set(C.flatMap(e=>e.categories.map(e=>e.uuid)))],[C]),S=(0,I.useMemo)(()=>[...new Set(v.flatMap(e=>(e.categories||[]).map(e=>null==e?void 0:e.uuid).filter(e=>"string"==typeof e&&e.length>0)))],[v]),E=(0,I.useMemo)(()=>{let e=new Set(y);return v.map(t=>(t.categories||[]).map(e=>null==e?void 0:e.uuid).filter(t=>"string"==typeof t&&e.has(t))).filter(e=>e.length>0)},[v,y]),j=(0,I.useMemo)(()=>{let e=new Map;
50return C.forEach(t=>{(t.categories||[]).forEach(t=>{if(t&&"object"==typeof t&&t.name&&t.uuid){let r=String(t.name).toLowerCase();e.has(r)||e.set(r,String(t.uuid))}})}),e},[C]),N=(0,I.useMemo)(()=>{let e=new Map;return C.forEach(t=>{(t.categories||[]).forEach(t=>{t&&"object"==typeof t&&t.name&&t.uuid&&e.set(String(t.uuid),String(t.name).toLowerCase())})}),e},[C]),T=(0,I.useCallback)(()=>{if(!u.isReady||0===$.length)return[];let e=u.query.categories;if(e&&"string"==typeof e){let t=e.split(",").map(e=>e.toLowerCase().trim()),r=t.map(e=>j.get(e)).filter(Boolean);return(0,W9.p)("URL categories converted to UUIDs",{urlCategoryNames:t,categoryUuids:r,allCategoryUuids:$,nameToUuidMapSize:j.size,nameToUuidMapEntries:Array.from(j.entries()),locale:p}),t.length>0&&0===r.length?((0,W9.p)("No valid categories found in URL, returning empty array"),[]):r}return[]},[u.isReady,u.query.categories,$,j]);(0,I.useEffect)(()=>{if(u.isReady&&$.length>0){let e=T();(0,W9.p)("Setting initial selected categories (UUIDs)",{initialCategories:e,allCategoryUuids:$,locale:p,fromUrl:!!u.query.categories}),Yp(()=>{b(e),w(!0)})}},[u.isReady,T,$.length]),(0,I.useEffect)(()=>{u.isReady&&0===$.length&&Yp(()=>{w(!0)})},[u.isReady,$.length]),(0,I.useEffect)(()=>{if(!u.isReady||0===$.length)return;let e=u.query.categories;if(e&&"string"==typeof e){let t=e.split(",").map(e=>e.toLowerCase().trim()),r=t.filter(e=>j.has(e));if(r.length!==t.length){let e=r.map(e=>j.get(e)).filter(Boolean);(0,W9.p)("Cleaning up invalid categories from URL on locale change",{urlCategoryNames:t,validCategoryNames:r,allCategoryUuids:$,locale:p,removedCategories:t.filter(e=>!j.has(e))});let o={...u.query};0===r.length||Y$(e,S)?delete o.categories:o.categories=r.join(","),Yp(()=>{u.push({pathname:u.pathname,query:o},void 0,{shallow:!0,scroll:!1})})}}},[u.isReady,u.query.categories,$,S,j,p,u]);let P=(0,I.useCallback)(e=>{if(!u.isReady)return;let t=e.map(e=>N.get(e)).filter(Boolean);(0,W9.p)("updateUrlWithCategories called",{inputCategoryUuids:e,categoryNames:t,allCategoryUuids:$,locale:p});let r={...u.query};"all_in_array"!==m&&Y$(e,S)?delete r.categories:t.length>0?r.categories=t.join(","):delete r.categories,c&&(r.view="load-more");let o=u.query.categories,i=r.categories;if(o!==i||c&&(g>1||"load-more"!==u.query.view)){(0,W9.p)("Updating URL with category names",{oldParam:o,newParam:i,inputCategoryUuids:e,categoryNames:t,locale:p});let l=!!(c&&g>1);if(l)for(let e of u.pathname.matchAll(/\[\[?(?:\.\.\.)?([^\]]+)\]\]?/g)){let t=e[1];t&&delete r[t]}u.push({pathname:l?c:u.pathname,query:r},void 0,{shallow:!l,scroll:!1})}},[u,$,S,m,N,c,g]),A=(0,I.useMemo)(()=>{var t,r,o;if(!e.articles||0===e.articles.length)return null;(0,W9.p)("Creating initial data from blok.articles",{count:e.articles.length});let i=e.pagination||{};return{articles:e.articles,pagination:{currentPage:i.currentPage||1,perPage:i.perPage||h,hasMore:null!==(t=i.hasMore)&&void 0!==t?t:e.articles.length>=h,total:null!==(r=i.total)&&void 0!==r?r:e.articles.length,totalPages:null!==(o=i.totalPages)&&void 0!==o?o:i.total?Math.ceil(i.total/(i.perPage||h)):Math.ceil(e.articles.length/h)},categoryTotals:e.categoryTotals||[]}},[e.articles,e.categoryTotals,e.pagination,h]),O=(0,I.useMemo)(()=>u.isReady&&qe(u.query.categories),[u.isReady,u.query.categories]),R=$.length>0&&y.length===$.length,D=0===y.length||"all_in_array"!==m&&R,M=(0,I.useMemo)(()=>null!==A&&(!O&&D||x&&0===y.length),[D,A,O,x,y.length]),L=(0,I.useMemo)(()=>{if(!(!M||!A))return{pages:[A],pageParams:[g]}},[A,M,g]),F=!O||y.length>0,B=x&&!f&&(M||F);(0,W9.p)("Query enabled condition",{isStaticMode:f,isUsingInitialData:M,queryEnabled:B,allCategoryUuidsLength:$.length,selectedCategoriesLength:y.length,hasInitialPageData:!!A,hasCategoryQueryParams:O,hasResolvableCategoryQueryParams:F});let V=(0,I.useMemo)(()=>["blog-articles",[...y].sort().join(","),p,(0,W9.x)(e.sort_by,e.prioritise_featured),e.prioritise_featured,h,m,JSON.stringify(E),O?"with-query-params":"no-query-params",c?"load-more"===u.query.view||O?"load-more":"pagination":"embedded",c,e._uid,g],[y,p,e.sort_by,e.prioritise_featured,h,m,E,O,g,c,u.query.view,e._uid]);(0,W9.p)("Query key",{queryKey:V,queryEnabled:B});let{data:z,error:H,isLoading:U,fetchNextPage:Z,hasNextPage:W,isFetchingNextPage:K}=function(e,t,r){let o=GX(),i=GK(),l=GI(r),s=l.defaultQueryOptions(e);l.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=o?"isRestoring":"optimistic",GQ(s),Gq(s,i),GG(i);let d=!l.getQueryCache().get(s.queryHash),[c]=I.useState(()=>new t(l,s)),u=c.getOptimisticResult(s),p=!o&&!1!==e.subscribed;if(I.useSyncExternalStore(I.useCallback(e=>{let t=p?c.subscribe(Gv.batchCalls(e)):q8;return c.updateResult(),t},[c,p]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),I.useEffect(()=>{c.setOptions(s)}
50,[s,c]),G1(s,u))throw G2(s,c,i);if(GJ({result:u,errorResetBoundary:i,throwOnError:s.throwOnError,query:l.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw u.error;if(l.getDefaultOptions().queries?._experimental_afterQuery?.(s,u),s.experimental_prefetchInRender&&!q6&&G0(u,o)){let e=d?G2(s,c,i):l.getQueryCache().get(s.queryHash)?.promise;e?.catch(q8).finally(()=>{c.updateResult()})}return s.notifyOnChangeProps?u:c.trackResult(u)}({queryKey:V,queryFn:async t=>{let{pageParam:r=1}=t;if((0,W9.p)("React Query fetching page",{pageParam:r,selectedCategories:y,allCategoryUuids:$,isUsingInitialData:M,hasCategoryQueryParams:O,routerQuery:u.query,selectedCategoriesLength:y.length,allCategoriesLength:$.length}),r===g&&M&&D&&!O)return(0,W9.p)("Using initial data for page 1 - no filtering applied and no query params"),A;(0,W9.p)("Building API request - filtering applied",{pageParam:r,selectedCategories:y,allCategoryUuids:$,hasCategoryQueryParams:O,filtering:y.length<$.length,reason:O?"query-params-present":"filtering-applied"});let o=new URLSearchParams({page:r.toString(),per_page:h.toString(),lang:p,filter_query:m});y.length>0&&(y.length<$.length||"all_in_array"===m)?((0,W9.p)("Using category UUIDs for API request",{selectedCategories:y,allCategoryUuids:$.length}),o.set("categories",y.join(",")),"all_in_array"===m&&E.length>0&&o.set("category_groups",JSON.stringify(E))):(0,W9.p)("Not adding categories to API request - using all categories or no filtering",{selectedCategoriesLength:y.length,allCategoriesLength:$.length,isUsingInitialData:M}),e.sort_by&&o.set("sort_by",e.sort_by),e.prioritise_featured&&o.set("prioritise_featured","true");let i="/api/blog/?".concat(o);return(0,W9.p)("Fetching from API",{url:i,pageParam:r}),(0,W9.u)(i)},initialPageParam:g,getNextPageParam:e=>{var t;return(0,W9.p)("getNextPageParam",{pagination:e.pagination}),(null===(t=e.pagination)||void 0===t?void 0:t.hasMore)?e.pagination.currentPage+1:void 0},initialData:L,enabled:B,staleTime:3e5,gcTime:6e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1},GZ,void 0);(0,W9.p)("React Query state",{pagesCount:null==z?void 0:null===(o=z.pages)||void 0===o?void 0:o.length,hasNextPage:W,isLoading:U,isUsingInitialData:M,selectedCategoriesCount:y.length,allCategoriesCount:$.length,isStaticMode:f,hasCategoryQueryParams:O,initialPageDataExists:!!A,queryEnabled:!f&&!M});let q=null==z?void 0:z.pages.flatMap(e=>e.articles),G=q&&q.length>0?q:M&&A?A.articles:[],J=null!==(s=null==z?void 0:null===(l=z.pages)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.pagination)&&void 0!==s?s:null==A?void 0:A.pagination,Y=(null==z?void 0:z.pages.length)||1,X=null!=W?W:M&&A?A.pagination.hasMore:void 0;(0,I.useEffect)(()=>{if(e.categoryTotals&&e.categoryTotals.length>0){let t=e.categoryTotals;(0,W9.p)("Setting totals from blok",{categoryTotals:t}),Yp(()=>{_(t)})}},[e.categoryTotals]);let Q=(0,I.useCallback)(e=>{let t=e.filter((e,t,r)=>$.includes(e)&&r.indexOf(e)===t);Yp(()=>{b(t),P(t)})},[$,P]),ee=(0,I.useCallback)((e,t)=>{let r=t?y.includes(e)?y:[...y,e]:y.filter(t=>t!==e);(0,W9.p)("handleCategoryToggle called",{categoryUuid:e,checked:t,oldCategories:y,newCategories:r,locale:p}),Q(r)},[Q,p,y]);return(0,I.useEffect)(()=>{(0,W9.p)("Query key changed, refetch will be triggered",{selectedCategories:[...y].sort(),locale:p,sortBy:e.sort_by,prioritiseFeatured:e.prioritise_featured,itemsPerPage:h})},[y,p,e.sort_by,e.prioritise_featured,h]),f?{data:null,filterGroups:[],selectedCategories:[],totals:[],allArticles:e.articles||[],pagination:e.pagination,isLoading:!1,isLoadingMore:!1,error:null,currentPage:1,hasMore:!1,isFilterStateReady:!0,handleCategoriesChange:()=>{},handleCategoryToggle:()=>{},handleLoadMore:()=>{}}:{data:z,filterGroups:C,selectedCategories:y,totals:k,allArticles:G,pagination:J,isLoading:U,isLoadingMore:K,error:G.length>0?null:H,currentPage:Y,hasMore:X,isFilterStateReady:x,handleCategoriesChange:Q,handleCategoryToggle:ee,handleLoadMore:()=>{(0,W9.p)("handleLoadMore called",{hasNextPage:X,isFetchingNextPage:K,currentPage:Y,selectedCategoriesLength:y.length}),X&&!K&&Z()}}};let YE={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
50ys:[],default_value:{}},icon_color:{display_name:"Icon",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},icon_bg_color:{display_name:"Icon background",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hv},Yj={name:"sb-accordion-item",display_name:"Accordion Item",is_root:!1,is_nestable:!0,...hd,preview_tmpl:yO.firstTextLine("title"),schema:{title:{required:!0,translatable:!1,type:"bloks",component_whitelist:["sb-text"],maximum:1,restrict_components:!0},content:{required:!0,translatable:!1,type:"bloks",component_whitelist:["sb-blockquote","sb-button-group","sb-content-group","sb-divider","sb-flex-group","sb-icon","sb-image","sb-link","sb-list","sb-surface","sb-table","sb-text","sb-headline","sb-body-text"],restrict_components:!0},icon:{display_name:"Icon",type:"custom",translatable:!0,field_type:"backpack-asset-selector-v1",options:[{name:"backpackVersion",value:bR},{name:"assetType",value:"icons"}]},design:{type:"custom",field_type:"backpack-breakpoints-v2",display_name:"Design",options:[{name:"__collapsibles",value:JSON.stringify([YE.collapsible_size,YE.collapsible_layout,YE.collapsible_component,YE.collapsible_appearance,YE.collapsible_text,YE.collapsible_effects,YE.collapsible_code_overrides])},{name:"icon_bg_color",value:JSON.stringify(YE.icon_bg_color)},{name:"icon_color",value:JSON.stringify(YE.icon_color)},...hy.design.options]},open:{type:"boolean"},tab_content:{type:"tab",display_name:"Content",keys:["title","content","icon","open"]},tab_design:{type:"tab",display_name:"Design",keys:["design"]}}},YN=({item:e,contentProps:t})=>{var r,o,i,l;let s=(0,h5.mi)({design:e.design},YE),d=(0,h5.qm)(s),c=(0,hr.t0)(null==d?void 0:d.icon_bg_color),u=(0,hr.t0)(null==d?void 0:d.icon_color),p=!!(c.light||c.dark),f=!!(u.light||u.dark),m=(0,F.cn)(p?"[--sb-accordion-item-icon-bg-color:var(--sb-accordion-item-icon-bg-color-light)] dark:[--sb-accordion-item-icon-bg-color:var(--sb-accordion-item-icon-bg-color-dark)]":"",f?"[--sb-accordion-item-icon-color:var(--sb-accordion-item-icon-color-light)] dark:[--sb-accordion-item-icon-color:var(--sb-accordion-item-icon-color-dark)]":""),h=gn({bpHide:s.visibility}),g={...p?{"--sb-accordion-item-icon-bg-color-light":c.light,"--sb-accordion-item-icon-bg-color-dark":c.dark}:{},...f?{"--sb-accordion-item-icon-color-light":u.light,"--sb-accordion-item-icon-color-dark":u.dark}:{}};return(0,D.jsxs)(U0.Q,{className:(0,F.cn)("sb-accordion-item",h),value:e._uid,children:[(0,D.jsxs)(U1.S,{children:[null!=(o=null==(r=null==e?void 0:e.icon)?void 0:r.selectedIcon)&&o.data?(0,D.jsx)(aB.a,{size:"m",iconSize:"s",radius:"full",className:m,style:g,backgroundColor:p?"var(--sb-accordion-item-icon-bg-color)":void 0,iconColor:f?"var(--sb-accordion-item-icon-color)":void 0,children:(0,D.jsx)(b4,{icon:null==(l=null==(i=null==e?void 0:e.icon)?void 0:i.selectedIcon)?void 0:l.data})}):"",e.title.length>0?(0,D.jsx)(hs,{blok:e.title[0]}):null]}),(0,D.jsx)(U2._,{...t,children:e.content.length>0?e.content.map(e=>(0,D.jsx)(hs,{blok:e},e._uid)):null})]})};YN.displayName="AccordionItemSB",ig.Bn,ig.Bn;let YT={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...wG,...hv,...hO,...hD};ig.Bn,yO.itemCount("accordion item"),Yj.name,[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify([YT.collapsible_size,YT.collapsible_layout,YT.collapsible_component,YT.collapsible_appearance,YT.collapsible_text,YT.collapsible_effects,YT.collapsible_code_overrides]),JSON.stringify(YT.spacing),...hy.design.options,...hR.design.options,...hM.design.options];let YP=e=>{let{blok:t,...r}=e,{content:o,type:i,design:l,custom_classname:s}=t,d=(0,h5.mi)({design:l},YT),c=(0,h7.N)(null==d?void 0:d.spacing),u=gn({bpHide:d.visibility}),p=(0,F.cn)("sb-accordion",c,u,s),f=(o??[]).reduce((e,t)=>(t.open&&e.push(t._uid),e),[]);return(0,D.jsx)(UQ.U,{className:p,defaultValue:f,type:i&&""!==i?i:"multiple",...r,...hl(t),children:null==o?void 0:o.map(e=>(0,D.jsx)(YN,{item:e},e._uid))})};
50YP.displayName="AccordionSB";let YA=e=>{let{children:t,className:r,...o}=e,{footerClassname:i,citationClassname:l}=(0,oQ.Dv)(gv),s=(0,F.cn)("ef-blockquote-footer",i),d=(0,F.cn)("ef-blockquote-citation",l,r);return(0,D.jsx)("footer",{...o,className:s,children:(0,D.jsx)("cite",{className:d,children:t})})};YA.displayName="BlockquoteCitation";let YO=[{preset:{name:"Default",preset:{_uid:"f45d1821-01e5-481c-910e-8431133a28f2",design:"",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi.",citation:"Author",component:"sb-blockquote",custom_classname:""},created_at:"2023-10-19T11:38:16.965Z",updated_at:"2023-10-19T11:38:16.965Z",image:`${ig.Bn}/Blockquote/storyblok/sb-blockquote-default.webp`,color:"",description:""}}],YR={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:[],default_value:{}},...C4,...hv,...hO,...hD};ig.Bn,[...hg],[...hg],[JSON.stringify({"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx}),JSON.stringify({rules:{text_color:[{effect:"hide",when:{perBreakpoint:{s:{field:"visibility",equals:"hide"}}}}],accent_color:[{effect:"remove",when:{field:"spacing",isSet:!0}}],spacing:[{effect:"disable",when:{field:"visibility",isSet:!0}}]},messages:{spacing:[{type:"warning",text:"Spacing is disabled when visibility is set",when:{field:"visibility",isSet:!0}}],text_color:[{type:"info",text:"Text color is hidden on mobile when visibility is set to hide",when:{perBreakpoint:{s:{field:"visibility",equals:"hide"}}}}],accent_color:[{type:"warning",text:"â ï¸ Accent color will be hidden when spacing is set.",when:{field:"spacing",isSet:!0}}]}}),JSON.stringify([YR.collapsible_size,YR.collapsible_layout,YR.collapsible_component,YR.collapsible_appearance,YR.collapsible_text,YR.collapsible_effects,YR.collapsible_code_overrides]),JSON.stringify(YR.spacing),JSON.stringify(YR.accent_color),JSON.stringify(YR.text_color),...hy.design.options,...hR.design.options,...hM.design.options],hE("sb-blockquote",YO);let YD=({alignment:e="inherit",content:t,renderCustomLink:r,resolvers:o,className:i,...l})=>{let s=(0,F.cn)("center"===e&&"text-center","start"===e&&"text-start","end"===e&&"text-end","inherit"===e&&"text-inherit"),d=(0,F.cn)("ef-richtext",s,i),{markResolvers:c,nodeResolvers:u,blokResolvers:p,...f}=o,m=h2(t,{markResolvers:{[hJ]:(e,t)=>{let{href:o,target:i,linktype:l}=t,d=o?r??gr.r:"span";return(0,D.jsx)(gr.r,{asChild:!0,className:s,href:hS({href:o,linktype:l}),target:i,children:(0,D.jsx)(d,{children:(0,D.jsx)(ga.u,{children:e})})})},[hX]:e=>(0,D.jsx)("sub",{children:e}),[hQ]:e=>(0,D.jsx)("sup",{children:e}),...gT,...c},nodeResolvers:{[hU]:e=>(0,D.jsx)(g$,{as:"ol",className:"ps-5",children:e}),[hZ]:e=>(0,D.jsx)(g$,{as:"ul",className:"ps-5",marker:"decimal",children:e}),[hW]:e=>(0,D.jsx)(gS,{className:"*:mb-0",children:e}),[hz]:t=>(0,D.jsx)(aL.x,{align:e,className:"mb-m",children:t}),[hV]:(t,r)=>{let o=`header${r.level}`;return(0,D.jsx)(aL.x,{align:e,as:`h${r.level}`,className:"mb-m",variant:o,children:t})},[hH]:e=>(0,D.jsx)(gb,{className:(0,F.cn)("mb-m",s),children:e}),...u},blokResolvers:{...p},...f});return"string"==typeof t?(0,D.jsx)(aL.x,{className:d,children:t}):(0,D.jsx)("div",{className:d,...l,children:m})},YM=e=>{let{children:t,className:r,...o}=e,{breakpoint:i}=(0,ib.G)(),l=(0,ib.w)({currentBp:i,bp:"m",range:"only"}),{className:s}=(0,oQ.Dv)(gg),d=(0,F.cn)("ef-blockquote-text","[--text-body-fontWeight:300]",l?"[--text-body-fontSize:24px]":"[--text-body-fontSize:32px]",s,r);return(0,D.jsx)("div",{className:d,...o,children:t})};YM.displayName="BlockquoteTextSB";let YL=e=>{let{blok:t}=e,{design:r,content:o,citation:i,custom_classname:l}=t,s=(0,h5.mi)({design:r},YR),d=(0,h5.qm)(s),c=(0,hr.t0)(null==d?void 0:d.accent_color),u=(0,hr.t0)(null==d?void 0:d.text_color),p=!!(c.light||c.dark),f=!!(u.light||u.dark),m=p?{"--sb-blockquote-accent-color-light":c.light,"--sb-blockquote-accent-color-dark":c.dark,"--color-system-stroke-strong":"var(--sb-blockquote-accent-color)"}:{},h=f?{"--sb-blockquote-text-color-light":u.light,"--sb-blockquote-text-color-dark":u.dark,"--color-system-text-default":"var(--sb-blockquote-text-color)"}:{},g={...m,...h},v=(0,h7.N)(null==s?void 0:s.spacing),y=gn({bpHide:s.visibility}),b=(0,F.cn)("sb-blockquote",v,y,p?"[--sb-blockquote-accent-color:var(--sb-blockquote-accent-color-light)] dark:[--sb-blockquote-accent-color:var(--sb-blockquote-accent-color-dark)]":"",f?"[--sb-blockquote-text-color:var(--sb-blockquote-text-color-light)] dark:[--sb-blockquote-text-color:var(--sb-blockquote-text-color-dark)]":"",l);return(0,D.jsxs)(gb,{className:b,style:g,...hl(t),children:[(0,D.jsx)(YM,{children:(0,D.jsx)(YD,{resolvers:{nodeResolvers:{[hz]:e=>(0,D.jsx)(aL.x,{className:(0,F.cn)("mb-m",gy.slots.text),children:e})}},content:o})}),(0,D.jsx)(YA,{children:(0,D.jsx)(YD,{resolvers:{nodeResolvers:{[hz]:e=>(0,D.jsx)(aL.x,{className:(0,F.cn)("mb-m",gy.slots.citation),children:e})}},content:i})})]})};YL.displayName="BlockquoteSB";let YI={"sb-section":hw,"sb-flex-group":hx,"sb-collapsible-group":hx},YF={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
50ys:[],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},icon_outlined:{display_name:"Outlined",type:"boolean",default_value:{}},wrapper_border_radius:{display_name:"Border radius",type:"custom",field_type:"backpack-rounded",options:[{name:"0px",secondaryText:"zero",value:"none"},{name:"4px",secondaryText:"XXS",value:"xxs"},{name:"8px",secondaryText:"XS",value:"xs"},{name:"16px",secondaryText:"S",value:"s"},{name:"24px",secondaryText:"M",value:"m"},{name:"Round",secondaryText:"Full",value:"full"}],default_value:{s:"none"}},icon_size:{display_name:"Wrapper size",type:"option",description:"Sets wrapper size",options:xd,default_value:{s:"m"}},inner_icon_size:{display_name:"Icon size",type:"option",description:"Sets icon size",options:xd,default_value:{s:"m"}},icon_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},icon_bg_color:{type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},...hv,...hO,...hD};yO.selectedIcon,JSON.stringify(YI),[JSON.stringify(YI),JSON.stringify([YF.collapsible_size,YF.collapsible_layout,YF.collapsible_component,YF.collapsible_appearance,YF.collapsible_text,YF.collapsible_effects,YF.collapsible_code_overrides]),JSON.stringify(YF.spacing),JSON.stringify(YF.icon_size),JSON.stringify(YF.inner_icon_size),JSON.stringify(YF.icon_color),JSON.stringify(YF.icon_bg_color),JSON.stringify(YF.icon_outlined),JSON.stringify(YF.wrapper_border_radius),...hy.design.options,...hR.design.options,...hM.design.options];let YB=e=>{var t;let{blok:r}=e,{icon:o,design:i,custom_classname:l}=r,s=(0,h5.mi)({design:i},YF),d=(0,h5.qm)(s),c=(0,h7.N)(null==s?void 0:s.spacing),u=vV(null==s?void 0:s.wrapper_border_radius),p=gn({bpHide:s.visibility,originalDisplayProperty:"inline-flex"}),f=(0,hr.t0)(null==d?void 0:d.icon_bg_color),m=(0,hr.t0)(null==d?void 0:d.icon_color),h=!!(f.light||f.dark),g=!!(m.light||m.dark),v=(0,F.cn)("sb-icon",c,u,p,h?"[--sb-icon-bg-color:var(--sb-icon-bg-color-light)] dark:[--sb-icon-bg-color:var(--sb-icon-bg-color-dark)]":"",g?"[--sb-icon-color:var(--sb-icon-color-light)] dark:[--sb-icon-color:var(--sb-icon-color-dark)]":"",l),y={...h?{"--sb-icon-bg-color-light":f.light,"--sb-icon-bg-color-dark":f.dark}:{},...g?{"--sb-icon-color-light":m.light,"--sb-icon-color-dark":m.dark}:{}};return(0,D.jsx)(aB.a,{size:null==d?void 0:d.icon_size,iconSize:null==d?void 0:d.inner_icon_size,variant:null!=d&&d.icon_outlined?"outlined":void 0,className:v,style:y,backgroundColor:h?"var(--sb-icon-bg-color)":void 0,iconColor:g?"var(--sb-icon-color)":void 0,...hl(r),children:(0,D.jsx)(b4,{icon:(null==(t=null==o?void 0:o.selectedIcon)?void 0:t.data)||""})})};YB.displayName="IconSB";let YV=e=>{var t;let{blok:r}=e,{design:o,breadcrumbs:i,custom_classname:l}=r,s=(0,h5.mi)({design:o}),d=(0,h7.N)(null==s?void 0:s.spacing),c=gn({bpHide:s.visibility,originalDisplayProperty:"flex"}),u=(0,F.cn)("sb-breadcrumb",d,c,l);return(0,D.jsx)(qv,{className:u,...hl(r),children:null==(t=null==i?void 0:i.breadcrumbs)?void 0:t.map(e=>(0,D.jsx)(qb,{link:e.url,children:e.crumb},e.id))})};YV.displayName="BreadcrumbSB";let Yz=(0,B.An)({className:void 0}),YH=(0,B.An)({className:void 0,isHeader:!1}),YU=(0,B.An)({className:void 0}),YZ=(0,B.An)({className:void 0}),YW=(0,B.An)({className:void 0}),YK=(0,B.c6)({slots:{root:"w-full min-w-full table-auto border-collapse text-start text-[12px] lg:table-fixed",tableBody:"w-full",tableCell:"whitespace-nowrap border-b border-components-dividers-default p-2 text-system-text-default first:font-bold first:last:font-normal lg:whitespace-normal",tableHead:"w-full border-b-2 border-components-dividers-default",tableRow:"",tableFooter:"w-full text-[12px]"},variants:{filled:{true:{root:"bg-system-surface-disabled-weak"}},striped:{true:{tableBody:"[&>*:nth-child(odd)]:bg-system-surface-disabled-weak"}},bordered:{true:{root:"border border-components-dividers-default",tableCell:"border border-components-dividers-default",tableHead:"border border-components-dividers-default"}},alignCellsTop:{true:{tableRow:"align-top"}},layoutAuto:{true:{root:"table-auto lg:table-auto",tableCell:"whitespace-normal"}}}}),Yq=({children:e,className:t,alignCellsTop:r=!1,layoutAuto:o=!1,filled:i=!1,bordered:l=!1,striped:s=!1,themeConfig:d,...c})=>{let{root:u,tableBody:p,tableCell:f,tableHead:m,tableRow:h,tableFooter:g}=(0,B.tv)(d?(0,B.RH)(YK,d):YK)({alignCellsTop:r,layoutAuto:o,filled:i,bordered:l,striped:s}),v=(0,F.cn)("ef-table",u(),t),y=[[Yz,{className:p()}],[YH,{className:f()}],[YU,{className:m()}],[YZ,{className:h()}],[YW,{className:g()}]];return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("div",{className:"overflow-x-auto",tabIndex:0,children:(0,D.jsx)("table",{className:v,...c,children:(0,D.jsx)(it.o,{atomValues:y,children:e})})})})};Yq.displayName="Table";let YG=({children:e,className:t,...r})=>{let{className:o}=(0,oQ.Dv)(Yz),i=(0,F.cn)("ef-table-body",o,t);return(0,D.jsx)("tbody",{...r,className:i,children:e})};YG.displayName="TableBody";let YJ=({children:e,className:t,...r})=>{let{className:o}=(0,oQ.Dv)(YW),i=(0,F.cn)("ef-table-footer",o,t);return(0,D.jsx)("tfoot",{...r,className:i,children:e})};YJ.displayName="TableFooter";let YY=({children:e,className:t,...r})=>{let{className:o}=(0,oQ.Dv)(YU),i=(0,oQ.Dv)(YH),l=(0,F.cn)("ef-table-head",o,t);return(0,D.jsx)(oQ.zt,{children:(0,D.jsx)("thead",{...r,className:l,children:(0,D.jsx)(it.o,{atomValues:[[YH,{...i,isHeader:!0}]],children:e})})})};YY.displayName="TableHead";let YX={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",ke
50ys:["enableHeader","enableFooter",hN(),"layoutAuto","alignCellsTop","bordered","filled","striped"],default_value:{}},spacing:{type:"custom",field_type:"backpack-spacing",default_value:{}},enableHeader:{required:!1,display_name:"Enable header",type:"boolean",default_value:{s:!0}},enableFooter:{required:!1,display_name:"Enable footer",type:"boolean",default_value:{s:!1}},layoutAuto:{required:!1,display_name:"Layout Auto",type:"boolean",default_value:{}},alignCellsTop:{required:!1,display_name:"Align cells top",type:"boolean",default_value:{}},bordered:{required:!1,display_name:"Outlined",type:"boolean",default_value:{}},filled:{display_name:"Filled",required:!1,type:"boolean",default_value:{}},striped:{required:!1,display_name:"Striped",type:"boolean",default_value:{}},...hv,...hO,...hD};ig.Bn,yO.itemCount("row","rows","rows"),[JSON.stringify({"sb-section":hw,"sb-flex-group":hx}),JSON.stringify([YX.collapsible_size,YX.collapsible_layout,YX.collapsible_component,YX.collapsible_appearance,YX.collapsible_text,YX.collapsible_effects,YX.collapsible_code_overrides]),JSON.stringify(YX.spacing),JSON.stringify(YX.enableHeader),JSON.stringify(YX.enableFooter),JSON.stringify(YX.layoutAuto),JSON.stringify(YX.alignCellsTop),JSON.stringify(YX.bordered),JSON.stringify(YX.filled),JSON.stringify(YX.striped),...hy.design.options,...hR.design.options,...hM.design.options];let YQ=e=>{let{blok:t}=e,{rows:r,design:o,custom_classname:i}=t,l=(0,h5.mi)({design:o},YX),s=(0,h5.qm)(l),d=(0,h7.N)(null==l?void 0:l.spacing),c=gn({bpHide:null==l?void 0:l.visibility,originalDisplayProperty:"table"}),u=(0,F.cn)("sb-table",d,c,i);return(0,D.jsxs)(Yq,{layoutAuto:null==s?void 0:s.layoutAuto,alignCellsTop:null==s?void 0:s.alignCellsTop,bordered:null==s?void 0:s.bordered,filled:null==s?void 0:s.filled,striped:null==s?void 0:s.striped,className:u,...hl(t),children:[null!=s&&s.enableHeader?(0,D.jsx)(YY,{children:r&&r.length>0&&(0,D.jsx)(hs,{blok:r[0],isHeader:!0})}):"",(0,D.jsx)(YG,{children:r&&r.map((e,t)=>0==t&&null!=s&&s.enableHeader||t==r.length-1&&null!=s&&s.enableFooter?"":(0,D.jsx)(hs,{blok:e},e._uid))}),null!=s&&s.enableFooter?(0,D.jsx)(YJ,{children:(0,D.jsx)(hs,{blok:r[r.length-1]})}):""]})};YQ.displayName="TableSB";let Y0=({children:e,className:t,...r})=>{let{className:o}=(0,oQ.Dv)(YZ),i=(0,F.cn)("ef-table-row",o,t);return(0,D.jsx)("tr",{...r,className:i,children:e})};Y0.displayName="TableRow";let Y1=e=>{let{blok:t}=e,{cells:r,custom_classname:o,design:i}=t,l=gn({bpHide:(0,h5.mi)({design:i},hv).visibility}),s=(0,F.cn)("sb-table-row",l,o);return(0,D.jsx)(Y0,{className:s,...hl(t),children:r&&r.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})};Y1.displayName="TableRowSB";let Y2=({children:e,className:t,...r})=>{let{className:o,isHeader:i}=(0,oQ.Dv)(YH),l=(0,F.cn)("ef-table-cell",o,t);return i?(0,D.jsx)("th",{...r,className:l,children:e}):(0,D.jsx)("td",{...r,className:l,children:e})};Y2.displayName="TableCell";let Y3=e=>{let{blok:t}=e,{content:r,custom_classname:o,design:i,col_span:l}=t,s=Math.max(1,Math.trunc(Number(l)||1)),d=gn({bpHide:(0,h5.mi)({design:i},hv).visibility}),c=(0,F.cn)("sb-table-cell",d,o);return(0,D.jsx)(Y2,{className:c,colSpan:s>1?s:void 0,...hl(t),children:r&&null!=r&&r[0]?(0,D.jsx)(hs,{blok:r[0]}):null})};Y3.displayName="TableCellSB",function(e,t){try{let r="__styleInject_SSR_MODULES",o=("function"==typeof t.styleId?t.styleId():t.styleId)??"";if(typeof document>"u"&&globalThis)globalThis[r]=globalThis[r]||[],globalThis[r].push({cssCode:e,id:o});else{if(document.getElementById(o))return;let t=document.createElement("style");t.id=o,t.appendChild(document.createTextNode(`${e}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}("._cardImage_1r4y5_1 img{width:100%;height:100%}",{styleId:"backpack-aaec7f18-cb01-4c63-9e26-6672501a62b2"});let Y4=e=>{let{children:t,asChild:r=!1,className:o,...i}=e,l=r?ik.g:iV,s=(0,F.cn)("sb-card-image","_cardImage_1r4y5_1",o);return r?(0,D.jsx)(l,{className:s,asChild:!0,...i,children:t}):(0,D.jsx)(iV,{className:s,...i})};Y4.displayName="CardImage";let Y6=(0,B.c6)({slots:{trigger:"h-full w-full",content:"p-0"}}),Y8=e=>{let{playerOptions:t,themeConfig:r,...o}=e,{className:i,...l}=t,{content:s}=(0,B.tv)(r?(0,B.RH)(Y6,r):Y6)();return(0,D.jsx)(vz,{variant:"lightbox",...o,children:(0,D.jsx)(o8,{className:(0,F.cn)(s()),children:(0,D.jsx)(k5,{playing:!0,light:!1,radius:"none",pauseOnOutOfViewport:!1,...l,className:(0,F.cn)("bg-mono-black-100",i)})})})};Y8.displayName="VideoModal";let Y9=(0,I.memo)(e=>{var t;let{blok:r}=e,{card_image:o,card_title:i,design:l,video_url:s,video_timestamp:d,custom_classname:c}=r,[u,p]=(0,I.useState)(!1),f=(0,I.useMemo)(()=>{var e;return null==(e=i[0])?void 0:e.design},[i]),m=(0,I.useMemo)(()=>{var e;return null==(e=null==o?void 0:o[0])?void 0:e.design},[o]),h=(0,h5.mi)({design:l}),g=(0,h5.mi)({design:f}),v=(0,h5.mi)({design:m}),y=(0,h5.qm)(h),b=(0,h5.qm)(g),x=null!=y&&y.card_style?null==y?void 0:y.card_style:"TeaserCard",w=gn({bpHide:h.visibility}),k=(0,F.cn)("sb-video-card",(0,h7.N)(null==h?void 0:h.spacing),w,"auto"===y.stretch?"":"sb-video-card-stretch",c),_=(0,F.cn)("sb-video-card-subtitle",(0,h7.N)(null==b?void 0:b.spacing)),C=(0,hr.t0)(null==b?void 0:b.text_color),$=!!(C.light||C.dark),S="TeaserCard"===x?"#FFFFFF":void 0,E=$?{"--sb-video-card-text-color-light":C.light,"--sb-video-card-text-color-dark":C.dark,"--color-system-text-default":"var(--sb-video-card-text-color)"}:S?{"--color-system-text-default":S}:{},j="TeaserCard"===x?"overlay"===y.gradient_type?{overlayFull:!0}:{overlayBottom:y.overlay_bottom}:{},N=(0,I.useMemo)(()=>null!=o&&o[0]?e=>{var t,r;return(0,D.jsx)(Y4,{asChild:!0,aspectRatios:v.aspect_ratio??"16/9",alt:null==(t=o[0])?void 0:t.image.alt,src:null==(r=o[0])?void 0:r.image.filename,...e,...hl(o[0]),children:(0,D.jsx)(hs,{blok:{...o[0],aspectRatios:v.aspect_ratio??"16/9"},...e})})}:void 0,[o,v.aspect_ratio]);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)(wO,{className:k,onPress:()=>p(!0),"aria-label":"",border:{off:"none",enabled:"shadow-m",deep:"shadow-l"}[(null==y?void 0:y.shadow)??"enabled"],aspectRatios:"TeaserCard"===x?v.aspect_ratio??"16/9":void 0,radius:null==y?void 0:y.radius,...hl(r),children:[(0,D.jsx)(_e,{url:(null==s?void 0:s.url)||(null==s?void 0:s.cached_url),variant:"TeaserCard"===x?"background":"inline",radiu
50s:null==y?void 0:y.radius,hoverPreview:null==y?void 0:y.show_video_preview,playButton:null==y?void 0:y.play_button,playButtonSize:null==y?void 0:y.play_button_size,aspectRatios:v.aspect_ratio??"16/9",interactive:!1,renderCustomImage:N,...j}),(0,D.jsxs)(wR,{align:"end",className:(0,F.cn)("w-full flex-row items-center justify-between",$?"[--sb-video-card-text-color:var(--sb-video-card-text-color-light)] dark:[--sb-video-card-text-color:var(--sb-video-card-text-color-dark)]":""),style:E,children:[i&&i.length>0?(0,D.jsx)(wF,{className:_,variant:null==b?void 0:b.variant,...hl(null==i?void 0:i[0]),children:null==(t=i[0])?void 0:t.content}):void 0,null!=y&&y.show_video_duration||d&&d.length>0&&null!=y&&y.show_video_duration?(0,D.jsx)(wP,{children:d}):void 0]}),null!=y&&y.arrow?(0,D.jsx)(wI,{arrow:!0}):void 0]}),(0,D.jsx)(Y8,{open:u,onOpenChange:p,playerOptions:{url:(null==s?void 0:s.url)||(null==s?void 0:s.cached_url),playing:!0,controls:null==y?void 0:y.controls}})]})},hj);Y9.displayName="VideoCardSB";let Y5={auto_play:{type:"boolean",display_name:"Autoplay",description:'Autoplays the video. When enabled, the "Light" and the "Muted" options will be ignored.',default_value:{s:!1}},light:{type:"boolean",display_name:"Video cover image",description:"Replace video with thumbnail to speed up page loading. Video will only play when a user clicks on it",default_value:{s:!0}},transparent:{type:"boolean",display_name:"Transparent background",description:"Removes the default video background so the parent surface can show through.",default_value:{s:!1}},controls:{display_name:"Show video controls",type:"boolean",default_value:{s:!1}},loop:{type:"boolean",default_value:{s:!1}},muted:{type:"boolean",description:'Mute the video. The video is always muted if "autoplay" is enabled',default_value:{s:!1}}};JSON.stringify(Y5.auto_play),JSON.stringify(Y5.controls),JSON.stringify(Y5.loop),JSON.stringify(Y5.muted),JSON.stringify(Y5.light),JSON.stringify(Y5.transparent);let Y7={border_radius:{type:"custom",field_type:"backpack-rounded",options:[{value:"none",name:"0px",secondaryText:"zero"},{value:"xxs",name:"4px",secondaryText:"XXS"},{value:"xs",name:"8px",secondaryText:"XS"},{value:"s",name:"16px",secondaryText:"S"},{value:"m",name:"24px",secondaryText:"M"},{value:"l",name:"32px",secondaryText:"L"},{value:"full",name:"Round",secondaryText:"Full"}],default_value:{}},variant:{display_name:"Border type",type:"option",exclude_empty_option:!0,options:[{value:"outline",name:"Outline"},{value:"shadow-s",name:"Shadow Small"},{value:"shadow-m",name:"Shadow Medium"},{value:"shadow-l",name:"Shadow Large"},{value:"shadow-xl",name:"Shadow Extra Large"}],default_value:{}},outline_color:{display_name:"Border color",type:"custom",field_type:"backpack-color-picker",options:[{name:"colors",value:"colors"}],default_value:{}},hover_effect:{type:"boolean",description:"If true, the hover zooming effect is enabled.",default_value:{s:!1}},...wG,...Y5,...vW},Xe={play_button:{required:!1,display_name:"Show play button",type:"boolean",default_value:{s:!0}},play_button_size:{required:!1,display_name:"Play button size",type:"option",options:[{value:"s",name:"Small"},{value:"m",name:"Medium"},{value:"l",name:"Large"},{value:"xl",name:"Extra Large"}],exclude_empty_option:!0,default_value:{s:"m"}}};JSON.stringify(Xe.play_button),JSON.stringify(Xe.play_button_size),ig.Bn;let Xt={...hb,collapsible_component:{type:"custom",field_type:"backpack-collapsible",display_name:"Component",keys:["light","play_button","play_button_size","auto_play","muted","controls","loop"],default_value:{}},collapsible_appearance:{...hb.collapsible_appearance,keys:["variant","outline_color","border_radius","transparent"],default_value:{}},collapsible_effects:{...hb.collapsible_effects,keys:(hb.collapsible_effects.keys??[]).filter(e=>"loop"!==e)},...Y7,...Xe,...hv,...hO};ig.Bn,[JSON.stringify({"sb-section":hw}),JSON.stringify([Xt.collapsible_size,Xt.collapsible_layout,Xt.collapsible_component,Xt.collapsible_appearance,Xt.collapsible_text,Xt.collapsible_effects,Xt.collapsible_code_overrides]),JSON.stringify(Xt.spacing),JSON.stringify({...h_(Xt.aspect_ratio,"default_value",{s:"16/9"}),display_name:"Video crop ratio",description:"Set the crop ratio at each breakpoint. Inside a background Hero, this controls how the video covers the Hero height."}),JSON.stringify(Xt.auto_play),JSON.stringify(Xt.muted),JSON.stringify(Xt.controls),JSON.stringify(Xt.loop),JSON.stringify(Xt.hover_effect),JSON.stringify(Xt.light),JSON.stringify(Xt.transparent),JSON.stringify(Xt.variant),JSON.stringify(Xt.outline_color),JSON.stringify(Xt.border_radius),JSON.stringify(Xe.play_button),JSON.stringify(Xe.play_button_size),...hy.design.options,...hR.design.options];let Xn=e=>{var t,r;return(null==(t=null==e?void 0:e.url)?void 0:t.trim())||(null==(r=null==e?void 0:e.cached_url)?void 0:r.trim())||void 0},Xr=(0,I.forwardRef)((e,t)=>{var r,o;let{blok:i,...l}=e,{video_url:s,responsive_sources:d,mobile_video_url:c,tablet_video_url:u,desktop_video_url:p,placeholder_image:f,image:m,design:h,alt_text:g,enable_captions:v,caption_language:y,custom_classname:b}=i,x=(0,h5.mi)({design:h},Xt),w=(0,h5.qm)(x),{breakpoint:k}=(0,ib.G)(),[_,C]=(0,I.useState)(!1);(0,I.useEffect)(()=>{C(!0)},[]);let $=(0,h7.N)(null==x?void 0:x.spacing),S=vV(null==x?void 0:x.border_radius),E=gn({bpHide:x.visibility}),j=(0,hr.t0)(null==w?void 0:w.outline_color),N=!!(j.light||j.dark),T=w4({...N&&{"--sb-video-outline-color-light":j.light,"--sb-video-outline-color-dark":j.dark,"--color-system-stroke-default":"var(--sb-video-outline-color)"}},null==w?void 0:w.aspect_ratio),P=(0,F.cn)("sb-video",$,S,E,N?"[--sb-video-outline-color:var(--sb-video-outline-color-light)] dark:[--sb-video-outline-color:var(--sb-video-outline-color-dark)]":"",b);if(!_||(null==w?void 0:w.visibility)==="hide")return null;let A=d?k4(k,{s:Xn(c)??"",m:Xn(u),l:Xn(p)??""}):void 0;return(0,D.jsx)(k5,{className:P,style:T,hoverEffect:(null==w?void 0:w.hover_effect)??!0,url:(null==A?void 0:A.url)??Xn(s)??"",aspectRatios:null==x?void 0:x.aspect_ratio,radius:null==w?void 0:w.border_radius,variant:null==w?void 0:w.variant,auto
50play:(null==w?void 0:w.auto_play)??!1,controls:(null==w?void 0:w.controls)??!1,loop:(null==w?void 0:w.loop)??!1,muted:(null==w?void 0:w.muted)??!1,light:(null==w?void 0:w.light)??!0,transparent:null==w?void 0:w.transparent,showPlayIcon:(null==w?void 0:w.play_button)??!0,playIconSize:null==w?void 0:w.play_button_size,placeholderImageSrc:(null==m?void 0:m.length)>0?null==(o=null==(r=null==m?void 0:m[0])?void 0:r.image)?void 0:o.filename:null==f?void 0:f.filename,renderCustomImage:(null==m?void 0:m.length)>0?e=>(0,D.jsx)(hs,{blok:null==m?void 0:m[0],...e}):void 0,ref:t,alt:g,enableCc:v,captionLanguage:y||void 0,...l})});Xr.displayName="VideoSB";let Xa=(0,B.c6)({slots:{root:""}}),Xo=g6(()=>Promise.all([r.e(6275),r.e(7409)]).then(r.bind(r,77409)).then(e=>e.F).then(e=>e.FacebookEmbed)),Xi=g6(()=>Promise.all([r.e(6275),r.e(2050)]).then(r.bind(r,92050)).then(e=>e.I).then(e=>e.InstagramEmbed)),Xl=g6(()=>r.e(9344).then(r.bind(r,9344)).then(e=>e.L).then(e=>e.LinkedInEmbed)),Xs=g6(()=>r.e(9608).then(r.bind(r,59608)).then(e=>e.P).then(e=>e.PinterestEmbed)),Xd=g6(()=>Promise.all([r.e(6275),r.e(1544)]).then(r.bind(r,1544)).then(e=>e.T).then(e=>e.TikTokEmbed)),Xc=g6(()=>r.e(2337).then(r.bind(r,52337)).then(e=>e.X).then(e=>e.XEmbed)),Xu={facebook:Xo,instagram:Xi,linkedin:Xl,pinterest:Xs,tiktok:Xd,twitter:Xc,x:Xc},Xp=e=>{let t=/^(?:https?:\/\/)?(?:www\.)?(\w+)/.exec(e);return t?{domain:t[1]}:void 0},Xf=e=>{let{className:t,url:r,width:o="100%",themeConfig:i,placeholderImageUrl:l,...s}=e,{root:d}=(0,B.tv)(i?(0,B.RH)(Xa,i):Xa)({}),c=(0,F.cn)("ef-social-embed",d(),t),u=Xp(r);return!u||typeof Xu[u.domain]>"u"?(console.error("Invalid url for social embed, please refer to this page for valid urls https://backpack.ef.design/components/social-embed"),null):(0,D.jsx)("div",{className:c,...s,children:I.createElement(Xu[u.domain],{url:r,width:o,placeholderImageUrl:l,...s})})};Xf.displayName="SocialEmbed";let Xm=e=>{var t,r,o,i;let{blok:l}=e,{design:s,url:d,placeholder_image:c,custom_classname:u}=l,{filename:p}=c,f=(0,h5.mi)({design:s}),m=(0,h5.qm)(f),h=gn({bpHide:f.visibility}),g=(0,F.cn)(h,u);return(0,D.jsx)(Xf,{className:g,url:d,width:`${null==(t=null==m?void 0:m.embed_width)?void 0:t.value}${null==(r=null==m?void 0:m.embed_width)?void 0:r.unit}`,height:`${(null==(o=null==m?void 0:m.embed_height)?void 0:o.value)??""}${(null==(i=null==m?void 0:m.embed_height)?void 0:i.unit)??""}`,placeholderImageUrl:p,...hl(l)})};Xm.displayName="SocialEmbedSB";let Xh=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,154.8l-47.09-21.11-.18-.08a19.94,19.94,0,0,0-19,1.75,13.08,13.08,0,0,0-1.12.84l-22.31,19c-13-7.05-26.43-20.37-33.49-33.21l19.06-22.66a11.76,11.76,0,0,0,.85-1.15,20,20,0,0,0,1.66-18.83,1.42,1.42,0,0,1-.08-.18L101.2,32A20.06,20.06,0,0,0,80.42,20.15,60.27,60.27,0,0,0,28,80c0,81.61,66.39,148,148,148a60.27,60.27,0,0,0,59.85-52.42A20.06,20.06,0,0,0,224,154.8ZM176,204A124.15,124.15,0,0,1,52,80,36.29,36.29,0,0,1,80.48,44.46l18.82,42L80.14,109.28a12,12,0,0,0-.86,1.16A20,20,0,0,0,78,130.08c9.42,19.28,28.83,38.56,48.31,48A20,20,0,0,0,146,176.63a11.63,11.63,0,0,0,1.11-.85l22.43-19.07,42,18.81A36.29,36.29,0,0,1,176,204Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M223.94,174.08A48.33,48.33,0,0,1,176,216,136,136,0,0,1,40,80,48.33,48.33,0,0,1,81.92,32.06a8,8,0,0,1,8.3,4.8l21.13,47.2a8,8,0,0,1-.66,7.53L89.32,117a7.93,7.93,0,0,0-.54,7.81c8.27,16.93,25.77,34.22,42.75,42.41a7.92,7.92,0,0,0,7.83-.59l25-21.3a8,8,0,0,1,7.59-.69l47.16,21.13A8,8,0,0,1,223.94,174.08Z",opacity:"0.2"}),I.createElement("path",{d:"M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M231.88,175.08A56.26,56.26,0,0,1,176,224C96.6,224,32,159.4,32,80A56.26,56.26,0,0,1,80.92,24.12a16,16,0,0,1,16.62,9.52l21.12,47.15,0,.12A16,16,0,0,1,117.39,96c-.18.27-.37.52-.57.77L96,121.45c7.49,15.22,23.41,31,38.83,38.51l24.34-20.71a8.12,8.12,0,0,1,.75-.56,16,16,0,0,1,15.17-1.4l.13.06,47.11,21.11A16,16,0,0,1,231.88,175.08Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M221.59,160.3l-47.24-21.17a14,14,0,0,0-13.28,1.22,4.81,4.81,0,0,0-.56.42l-24.69,21a1.88,1.88,0,0,1-1.68.06c-15.87-7.66-32.31-24-40-39.65a1.91,1.91,0,0,1,0-1.68l21.07-25a6.13,6.13,0,0,0,.42-.58,14,14,0,0,0,1.12-13.27L95.73,34.49a14,14,0,0,0-14.56-8.38A54.24,54.24,0,0,0,34,80c0,78.3,63.7,142,142,142a54.25,54.25,0,0,0,53.89-47.17A14,14,0,0,0,221.59,160.3ZM176,210C104.32,210,46,151.68,46,80A42.23,42.23,0,0,1,82.67,38h.23a2,2,0,0,1,1.84,1.31l21.1,47.11a2,2,0,0,1,0,1.67L84.73,113.15a4.73,4.73,0,0,0-.43.57,14,14,0,0,0-.91,13.73c8.87,18.16,27.17,36.32,45.53,45.19a14,14,0,0,0,13.77-1c.19-.13.38-.27.56-.42l24.68-21a1.92,1.92,0,0,1,1.6-.1l47.25,21.17a2,2,0,0,1,1.21,2A42.24,42.24,0,0,1,176,210Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32
50-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M220.78,162.13,173.56,141A12,12,0,0,0,162.18,142a3.37,3.37,0,0,0-.38.28L137,163.42a3.93,3.93,0,0,1-3.7.21c-16.24-7.84-33.05-24.52-40.89-40.57a3.9,3.9,0,0,1,.18-3.69l21.2-25.21c.1-.12.19-.25.28-.38a12,12,0,0,0,1-11.36L93.9,35.28a12,12,0,0,0-12.48-7.19A52.25,52.25,0,0,0,36,80c0,77.2,62.8,140,140,140a52.25,52.25,0,0,0,51.91-45.42A12,12,0,0,0,220.78,162.13ZM220,173.58A44.23,44.23,0,0,1,176,212C103.22,212,44,152.78,44,80A44.23,44.23,0,0,1,82.42,36a3.87,3.87,0,0,1,.48,0,4,4,0,0,1,3.67,2.49l21.11,47.14a4,4,0,0,1-.23,3.6l-21.19,25.2c-.1.13-.2.25-.29.39a12,12,0,0,0-.78,11.75c8.69,17.79,26.61,35.58,44.6,44.27a12,12,0,0,0,11.79-.87l.37-.28,24.83-21.12a3.93,3.93,0,0,1,3.57-.27l47.21,21.16A4,4,0,0,1,220,173.58Z"}))]]),Xg=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:Xh}));Xg.displayName="PhoneIcon";let Xv=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"}),I.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z"}))]]),Xy=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:Xv}));Xy.displayName="EnvelopeSimpleIcon";let Xb=e=>{let{blok:t}=e,{title:r,content:o}=t,{lcc:i}=(0,xB.b)(),{breakpoint:l}=(0,ib.G)(),s="s"!==l&&"m"!==l,d=s?32:24;return(0,D.jsxs)(wW.k,{direction:s?"row":"column",gap:"s",align:"center",children:[(0,D.jsx)(wK.B,{className:" ".concat(s?"w-1/2":"w-full"),children:(0,D.jsxs)(wW.k,{direction:"column",children:[(0,D.jsx)(wK.B,{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(wK.B,{children:(0,D.jsxs)(wW.k,{direction:"column",gap:"s",children:[(0,D.jsxs)("div",{className:"flex gap-s",children:[(0,D.jsx)(Xg,{size:d,weight:"bold"}),(0,D.jsx)("a",{href:"tel:".concat((null==i?void 0:i.phone)||"0000000000"),children:(0,D.jsx)(aL.x,{variant:"subheader2",children:(null==i?void 0:i.phone)?(0,xL.un)(i.phone):"XXX-XXX-XXXX"})})]}),(null==i?void 0:i.email)&&(0,D.jsxs)("div",{className:"flex gap-s",children:[(0,D.jsx)(Xy,{size:d,weight:"bold"}),(0,D.jsx)("a",{href:"mailto:".concat(i.email),children:(0,D.jsx)(aL.x,{variant:"subheader2",children:i.email})})]})]})})]})}),(0,D.jsx)(wK.B,{className:"flex gap-s ".concat(s?"w-1/2":"w-full"," [&>*]:w-full"),children:null==o?void 0:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})};Xb.displayName="ContactCardSB";let Xx=e=>{let{blok:t}=e,{title:r,defaultImage:o}=t,{lcc:i}=(0,xB.b)(),{breakpoint:l}=(0,ib.G)(),s="s"!==l&&"m"!==l;return(0,D.jsxs)(wW.k,{direction:s?"row":"column",gap:"l",align:"center",children:[(0,D.jsx)(wK.B,{className:" ".concat(s?"w-1/2":"w-full"),children:(0,D.jsx)(yx,{blok:o[0],sizes:"25vw",width:s?600:300})}),(0,D.jsx)(wK.B,{className:" ".concat(s?"w-1/2":"w-full"),children:(0,D.jsxs)(wW.k,{direction:"column",gap:"m",children:[(0,D.jsx)(wK.B,{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(wK.B,{children:(0,D.jsx)(aL.x,{variant:"body",children:(null==i?void 0:i.bio)||"As a Local Consultant with Cultural Care, my role is to support host families and au pairs in building a successful and meaningful exchange experience. From answering questions and offering guidance, to connecting you with resources and community events, Iâm here to ensure you feel supported every step of the way. Cultural Care has been helping families and au pairs connect since 1989, and together we continue to build lasting relationships across cultures."})}),(0,D.jsx)(wK.B,{children:(0,D.jsxs)(aL.x,{variant:"bodySmall",children:[(null==i?void 0:i.name)||"Your Name"," - Local Child Care Consultant"]})})]})})]})};Xx.displayName="BioCardSB";let Xw=e=>{let{blok:t}=e,{title:r,content:o,defaultImage:i}=t,{lcc:l}=(0,xB.b)(),{breakpoint:s}=(0,ib.G)(),d="s"!==s&&"m"!==s,c=d?32:24;return(0,D.jsxs)(wW.k,{direction:d?"row":"column",align:"center",justify:"center",children:[(0,D.jsx)(wK.B,{className:" ".concat(d?"w-1/2":"w-full"," py-l z-10"),children:(0,D.jsxs)(wW.k,{direction:"column",gap:"l",justify:"center",align:"center",children:[(0,D.jsx)(wK.B,{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsxs)(wK.B,{className:"[&>*]:text-center",children:[(0,D.jsx)(aL.x,{variant:"header4",children:null==l?void 0:l.name}),(0,D.jsx)(aL.x,{variant:"subheader2",children:"Local Childcare Consultant"})]}),(0,D.jsx)(wK.B,{children:(0,D.jsxs)(wW.k,{direction:"column",gap:"s",justify:"center",align:"center",children:[(0,D.jsxs)("div",{className:"flex gap-s justify-center items-center",children:[(0,D.jsx)(Xg,{size:c,weight:"bold"}),(0,D.jsx)("a",{href:"tel:".concat((null==l?void 0:l.phone)||"0000000000"),children:(0,D.jsx)(aL.x,{variant:"subheader2",children:(null==l?void 0:l.phone)?(0,xL.un)(l.phone):"XXX-XXX-XXXX"})})]}),(null==l?void 0:l.email)&&("s"===s?(0,D.jsx)(e7.Button,{as:"a",href:"mailto:".concat(l.email),variant:"ghost",size:"regular",children:"Email me"}):(0,D.jsxs)("div",{className:"flex gap-s justify-center items-center",children:[(0,D.jsx)(Xy,{size:c,weight:"bold"}),(0,D.jsx)("a",{href:"mailto:".concat(l.email),children:(0,D.jsx)(aL.x,{variant:"subheader2",children:l.email})})]}))]})}),(0,D.jsx)(wK.B,{className:"text-center",children:null==o?void 0:o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})}),(0,D.jsx)(wK.B,{className:" ".concat(d?"w-1/2":"w-full"," z-10"),children:!i[0]||(null==l?void 0:l.headshotUrl)?(0,D.jsx)(vR(),{src:null==l?void 0:l.headshotUrl,alt:l.name,loader:e=>{let{src:t}=e;return t},width:600,height:600,onError:()=>(function(e){throw Error("Function not implemented.")})(0)}):(0,D.jsx)(yx,{blok:i[0],sizes:"50vw",width:d?600:300})})]})};Xw.displayName="ProfileCardSB";var Xk=r(4298),X_=r.n(Xk);let XC="https://my.demio.com/",X$=e=>{let{blok:t}=e,{hash:r,buttonLabel:o,color:{color:i}={},formWidth:l}=t,[s,d]=(0,I.useState)(!1);return(0,I.useEffect)(()=>()=>{let e=document.getElementById("demio-js");e&&e.remove()},[]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(X_(),{id:"demio-js",src:"https://cdn.demio.com/production/d
50ashboard/embed.bundle.js",strategy:"afterInteractive",onError:()=>d(!0)}),s?(0,D.jsx)("div",{role:"alert",className:"demio-embed-error",children:(0,D.jsxs)("p",{children:["Unable to load the registration form. Please try refreshing the page or visit"," ",(0,D.jsx)("a",{href:"".concat(XC,"ref/").concat(r),target:"_blank",style:{color:"#DC0079"},rel:"noopener noreferrer",children:"my.demio.com"})," ","to register directly."]})}):(0,D.jsx)("span",{className:"demio-embed-registration",role:"region","aria-label":"Registration form","data-hash":r,"data-api":"api/v1","data-base-uri":XC,"data-form-width":"".concat(l,"%"),"data-color":i||"#e4c7f6","data-text":o||"REGISTER"})]})};function XS(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}X$.displayName="DemioFormSB";let XE={},Xj={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function XN(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let XT={date:XN({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:XN({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:XN({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},XP={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function XA(e){return(t,r)=>{let o;if("formatting"===((null==r?void 0:r.context)?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==r?void 0:r.width)?String(r.width):t;o=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==r?void 0:r.width)?String(r.width):e.defaultWidth;o=e.values[i]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function XO(e){return function(t){let r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.width,l=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(l);if(!s)return null;let d=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(c,e=>e.test(d)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(c,e=>e.test(d));return r=e.valueCallback?e.valueCallback(u):u,{value:r=o.valueCallback?o.valueCallback(r):r,rest:t.slice(d.length)}}}let XR={code:"en-US",formatDistance:(e,t,r)=>{let o;let i=Xj[e];return(o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)?r.comparison&&r.comparison>0?"in "+o:o+" ago":o},formatLong:XT,formatRelative:(e,t,r,o)=>XP[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:XA({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:XA({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:XA({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:XA({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
50ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:XA({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(j={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(j.matchPattern);if(!r)return null;let o=r[0],i=e.match(j.parsePattern);if(!i)return null;let l=j.valueCallback?j.valueCallback(i[0]):i[0];return{value:l=t.valueCallback?t.valueCallback(l):l,rest:e.slice(o.length)}}),era:XO({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:XO({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:XO({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:XO({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:XO({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function XD(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}let XM=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},XL=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},XI={p:XL,P:(e,t)=>{let r;let o=e.match(/(P+)(p+)?/)||[],i=o[1],l=o[2];if(!l)return XM(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",XM(i,t)).replace("{{time}}",XL(l,t))}},XF=/^D+$/,XB=/^Y+$/,XV=["D","DD","YY","YYYY"];function Xz(e,t,r){let o=function(e,t,r){let o="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(o," to the input `").
50concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,r);if(console.warn(o),XV.includes(e))throw RangeError(o)}class XH{validate(e,t){return!0}constructor(){this.subPriority=0}}class XU extends XH{validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}constructor(e,t,r,o,i){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}}class XZ extends XH{set(e,t){return t.timestampIsSet?e:XS(e,function(e,t){let r=t instanceof Date?XS(t,0):new t(0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,Date))}constructor(...e){super(...e),this.priority=10,this.subPriority=-1}}class XW{run(e,t,r,o){let i=this.parse(e,t,r,o);return i?{setter:new XU(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}}class XK extends XW{parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}let Xq={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},XG={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function XJ(e,t){return e?{value:t(e.value),rest:e.rest}:e}function XY(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function XX(e,t){let r=t.match(e);if(!r)return null;if("Z"===r[0])return{value:0,rest:t.slice(1)};let o="+"===r[1]?1:-1;return{value:o*(36e5*(r[2]?parseInt(r[2],10):0)+6e4*(r[3]?parseInt(r[3],10):0)+(r[5]?parseInt(r[5],10):0)*1e3),rest:t.slice(r[0].length)}}function XQ(e){return XY(Xq.anyDigitsSigned,e)}function X0(e,t){switch(e){case 1:return XY(Xq.singleDigit,t);case 2:return XY(Xq.twoDigits,t);case 3:return XY(Xq.threeDigits,t);case 4:return XY(Xq.fourDigits,t);default:return XY(RegExp("^\\d{1,"+e+"}"),t)}}function X1(e,t){switch(e){case 1:return XY(Xq.singleDigitSigned,t);case 2:return XY(Xq.twoDigitsSigned,t);case 3:return XY(Xq.threeDigitsSigned,t);case 4:return XY(Xq.fourDigitsSigned,t);default:return XY(RegExp("^-?\\d{1,"+e+"}"),t)}}function X2(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function X3(e,t){let r;let o=t>0,i=o?t:1-t;if(i<=50)r=e||100;else{let t=i+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return o?r:1-r}function X4(e){return e%400==0||e%4==0&&e%100!=0}class X6 extends XW{parse(e,t,r){let o=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return XJ(X0(4,e),o);case"yo":return XJ(r.ordinalNumber(e,{unit:"year"}),o);default:return XJ(X0(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){let o=e.getFullYear();if(r.isTwoDigitYear){let t=X3(r.year,o);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}function X8(e,t){var r,o,i,l,s,d,c,u;let p=null!==(u=null!==(c=null!==(d=null!==(s=null==t?void 0:t.weekStartsOn)&&void 0!==s?s:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(r=o.options)||void 0===r?void 0:r.weekStartsOn)&&void 0!==d?d:XE.weekStartsOn)&&void 0!==c?c:null===(l=XE.locale)||void 0===l?void 0:null===(i=l.options)||void 0===i?void 0:i.weekStartsOn)&&void 0!==u?u:0,f=XD(e),m=f.getDay();return f.setDate(f.getDate()-((m<p?7:0)+m-p)),f.setHours(0,0,0,0),f}function X9(e,t){var r,o,i,l,s,d,c,u;let p=XD(e),f=p.getFullYear(),m=null!==(u=null!==(c=null!==(d=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(r=o.options)||void 0===r?void 0:r.firstWeekContainsDate)&&void 0!==d?d:XE.firstWeekContainsDate)&&void 0!==c?c:null===(l=XE.locale)||void 0===l?void 0:null===(i=l.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:1,h=XS(e,0);h.setFullYear(f+1,0,m),h.setHours(0,0,0,0);let g=X8(h,t),v=XS(e,0);v.setFullYear(f,0,m),v.setHours(0,0,0,0);let y=X8(v,t);return p.getTime()>=g.getTime()?f+1:p.getTime()>=y.getTime()?f:f-1}class X5 extends XW{parse(e,t,r){let o=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return XJ(X0(4,e),o);case"Yo":return XJ(r.ordinalNumber(e,{unit:"year"}),o);default:return XJ(X0(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,o){let i=X9(e,o);if(r.isTwoDigitYear){let t=X3(r.year,i);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),X8(e,o)}let l="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(l,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),X8(e,o)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}function X7(e){return X8(e,{weekStartsOn:1}
50)}class Qe extends XW{parse(e,t){return"R"===t?X1(4,e):X1(t.length,e)}set(e,t,r){let o=XS(e,0);return o.setFullYear(r,0,4),o.setHours(0,0,0,0),X7(o)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class Qt extends XW{parse(e,t){return"u"===t?X1(4,e):X1(t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class Qn extends XW{parse(e,t,r){switch(t){case"Q":case"QQ":return X0(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class Qr extends XW{parse(e,t,r){switch(t){case"q":case"qq":return X0(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class Qa extends XW{parse(e,t,r){let o=e=>e-1;switch(t){case"M":return XJ(XY(Xq.month,e),o);case"MM":return XJ(X0(2,e),o);case"Mo":return XJ(r.ordinalNumber(e,{unit:"month"}),o);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class Qo extends XW{parse(e,t,r){let o=e=>e-1;switch(t){case"L":return XJ(XY(Xq.month,e),o);case"LL":return XJ(X0(2,e),o);case"Lo":return XJ(r.ordinalNumber(e,{unit:"month"}),o);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}class Qi extends XW{parse(e,t,r){switch(t){case"w":return XY(Xq.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return X0(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,o){return X8(function(e,t,r){let o=XD(e),i=function(e,t){let r=XD(e);return Math.round((+X8(r,t)-+function(e,t){var r,o,i,l,s,d,c,u;let p=null!==(u=null!==(c=null!==(d=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t?void 0:null===(o=t.locale)||void 0===o?void 0:null===(r=o.options)||void 0===r?void 0:r.firstWeekContainsDate)&&void 0!==d?d:XE.firstWeekContainsDate)&&void 0!==c?c:null===(l=XE.locale)||void 0===l?void 0:null===(i=l.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:1,f=X9(e,t),m=XS(e,0);return m.setFullYear(f,0,p),m.setHours(0,0,0,0),X8(m,t)}(r,t))/6048e5)+1}(o,r)-t;return o.setDate(o.getDate()-7*i),o}(e,r,o),o)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}class Ql extends XW{parse(e,t,r){switch(t){case"I":return XY(Xq.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return X0(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){return X7(function(e,t){let r=XD(e),o=function(e){let t=XD(e);return Math.round((+X7(t)-+function(e){let t=function(e){let t=XD(e),r=t.getFullYear(),o=XS(e,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);let i=X7(o),l=XS(e,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);let s=X7(l);return t.getTime()>=i.getTime()?r+1:t.getTime()>=s.getTime()?r:r-1}(e),r=XS(e,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),X7(r)}(t))/6048e5)+1}(r)-t;return r.setDate(r.getDate()-7*o),r}(e,r))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let Qs=[31,28,31,30,31,30,31,31,30,31,30,31],Qd=[31,29,31,30,31,30,31,31,30,31,30,31];class Qc extends XW{parse(e,t,r){switch(t){case"d":return XY(Xq.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return X0(t.length,e)}}validate(e,t){let r=X4(e.getFullYear()),o=e.getMonth();return r?t>=1&&t<=Qd[o]:t>=1&&t<=Qs[o]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class Qu extends XW{parse(e,t,r){switch(t){case"D":case"DD":return XY(Xq.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return X0(t.length,e)}}validate(e,t){return X4(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}function Qp(e,t){let r=XD(e);return isNaN(t)?XS(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Qf(e,t,r){var o,i,l,s,d,c,u,p;let f=null!==(p=null!==(u=null!==(c=null!==(d=null==r?void 0:r.weekStartsOn)&&void 0!==d?d:null==r?void 0:null===(i=r.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.weekStartsOn)&&void 0!==c?c:XE.weekStartsOn)&&void 0!==u?u:null===(s=XE.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==p?p:0,m=XD(e),h=m.getDay(),g=7-f;return Qp(m,t<0||t>6?t-(h+g)%7:((t%7+7)%7+g)%7-(h+g)%7)}class Qm extends XW{parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,o){return(e=Qf(e,r,o)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class Qh extends XW{parse(e,t,r,o){let i=e=>(e+o.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"e":case"ee":return XJ(X0(t.length,e),i);case"eo":return XJ(r.ordinalNumber(e,{unit:"day"}),i);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,o){return(e=Qf(e,r,o)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class Qg extends XW{parse(e,t,r,o){let i=e=>(e+o.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"c":case"cc":return XJ(X0(t.length,e),i);case"co":return XJ(r.ordinalNumber(e,{unit:"day"}),i);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,o){return(e=Qf(e,r,o)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class Qv extends XW{parse(e,t,r){let o=e=>0===e?7:e;switch(t){case"i":case"ii":return X0(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return XJ(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return XJ(r.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return XJ(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),o);default:return XJ(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),o)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){return(e=function(e,t){let r;let o=XD(e),i=(0===(r=XD(o).getDay())&&(r=7),r);return Qp(o,t-i)}(e,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class Qy extends XW{parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(X2(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}
50class Qb extends XW{parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(X2(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class Qx extends XW{parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(X2(r),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class Qw extends XW{parse(e,t,r){switch(t){case"h":return XY(Xq.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return X0(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){let o=e.getHours()>=12;return o&&r<12?e.setHours(r+12,0,0,0):o||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class Qk extends XW{parse(e,t,r){switch(t){case"H":return XY(Xq.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return X0(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class Q_ extends XW{parse(e,t,r){switch(t){case"K":return XY(Xq.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return X0(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.getHours()>=12&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class QC extends XW{parse(e,t,r){switch(t){case"k":return XY(Xq.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return X0(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){return e.setHours(r<=24?r%24:r,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class Q$ extends XW{parse(e,t,r){switch(t){case"m":return XY(Xq.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return X0(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class QS extends XW{parse(e,t,r){switch(t){case"s":return XY(Xq.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return X0(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class QE extends XW{parse(e,t){return XJ(X0(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,r){return e.setMilliseconds(r),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}function Qj(e){let t=XD(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}class QN extends XW{parse(e,t){switch(t){case"X":return XX(XG.basicOptionalMinutes,e);case"XX":return XX(XG.basic,e);case"XXXX":return XX(XG.basicOptionalSeconds,e);case"XXXXX":return XX(XG.extendedOptionalSeconds,e);default:return XX(XG.extended,e)}}set(e,t,r){return t.timestampIsSet?e:XS(e,e.getTime()-Qj(e)-r)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class QT extends XW{parse(e,t){switch(t){case"x":return XX(XG.basicOptionalMinutes,e);case"xx":return XX(XG.basic,e);case"xxxx":return XX(XG.basicOptionalSeconds,e);case"xxxxx":return XX(XG.extendedOptionalSeconds,e);default:return XX(XG.extended,e)}}set(e,t,r){return t.timestampIsSet?e:XS(e,e.getTime()-Qj(e)-r)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class QP extends XW{parse(e){return XQ(e)}
50set(e,t,r){return[XS(e,1e3*r),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class QA extends XW{parse(e){return XQ(e)}set(e,t,r){return[XS(e,r),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let QO={G:new XK,y:new X6,Y:new X5,R:new Qe,u:new Qt,Q:new Qn,q:new Qr,M:new Qa,L:new Qo,w:new Qi,I:new Ql,d:new Qc,D:new Qu,E:new Qm,e:new Qh,c:new Qg,i:new Qv,a:new Qy,b:new Qb,B:new Qx,h:new Qw,H:new Qk,K:new Q_,k:new QC,m:new Q$,s:new QS,S:new QE,X:new QN,x:new QT,t:new QP,T:new QA},QR=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,QD=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,QM=/^'([^]*?)'?$/,QL=/''/g,QI=/\S/,QF=/[a-zA-Z]/,QB=e=>"popup-shown-".concat(e),QV=e=>{let{blok:t}=e,[r,o]=(0,I.useState)(!1),i=t.body;(0,I.useEffect)(()=>{if(!(null==i?void 0:i.length))return;try{if(sessionStorage.getItem(QB(t._uid)))return}catch(e){}let e=!1,r=1e3*(Number(t.delay)||0),l=window.setTimeout(()=>{e||o(!0)},r);return()=>{e=!0,window.clearTimeout(l)}},[]);let l=(0,I.useCallback)(e=>{if(o(e),!e)try{sessionStorage.setItem(QB(t._uid),"true")}catch(e){console.error("Error setting data in session!")}},[t._uid]);return(null==i?void 0:i.length)?(0,D.jsx)(vz,{variant:"content",open:r,onOpenChange:l,modal:!0,children:(0,D.jsx)(o8,{"data-clicksubregion":"sb-popup-module",children:i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})}):null};QV.displayName="PopupModuleSB";let Qz={page:vA,"sb-accordion":YP,"sb-accordion-item":YP,"sb-banner":SK,"sb-blockquote":YL,"sb-table":YQ,"sb-image":yx,"sb-content-group":e=>{var t,r,o;let i=null===(r=e.blok)||void 0===r?void 0:null===(t=r.content)||void 0===t?void 0:t.filter(e=>!e||!e.is_hidden);return(null==e?void 0:null===(o=e.blok)||void 0===o?void 0:o.hide_content)?(0,D.jsx)(D.Fragment,{}):(0,D.jsx)(WF,{blok:{...e.blok,content:i}})},"sb-link":xV,"sb-link-text":xU,"sb-link-icon":xW,"sb-link-icon-animated":x1,"sb-link-tile":e=>{let{blok:t}=e,{link:r}=t,{preview:o}=xR(xD),{locale:i}=(0,xB.b)(),[l]=(0,xM.Z)("status_overlay",{listenStorageChange:!0});return o&&(null==l?void 0:l.areLinksDisabled)?(0,D.jsx)(xf,{...e,href:"#_"}):(0,D.jsx)(b9(),{href:xz({locale:i,link:r}),passHref:!0,legacyBehavior:!0,children:(0,D.jsx)(xf,{...e})})},"sb-list":ws,"sb-list-item":e=>{var t;return(null===(t=e.blok)||void 0===t?void 0:t.is_hidden)?null:(0,D.jsx)(Ww,{blok:e.blok})},"sb-tag":b6,"sb-icon":YB,"sb-editorial-card":wH,"sb-flex-group":Wb,"sb-section-background-layer":w0,"sb-surface":wg,"sb-text":gP,"sb-breadcrumbs":YV,"sb-headline":vo,"sb-body-text":H2,"sb-content-card":e=>(0,D.jsx)(wZ,{...e,renderCustomLink:e=>{var t;return(0,D.jsx)(b9(),{passHref:!0,legacyBehavior:!0,href:null!==(t=(0,xL.I)(e.href))&&void 0!==t?t:"",children:(0,D.jsx)("a",{...e})})}}),"sb-cta-card":w1,"sb-teaser-card":e=>(0,D.jsx)(w2,{...e,renderCustomLink:e=>(0,D.jsx)(xV,{...e})}),"sb-video-card":Y9,"sb-button":e=>{var t,r,o;let i=e.blok,{action:l}=i,s=null==l?void 0:l[0],{locale:d}=(0,xB.b)();if((null==s?void 0:s.component)==="sb-link-button"&&(null==s?void 0:null===(t=s.link)||void 0===t?void 0:t.linktype)==="story"){let e=xz({locale:d,link:s.link});(null==e?void 0:e.startsWith("/"))&&(e=e.substring(1));let t=(0,xL.I)(e),r=/^https?:\/\//.test(t),o=t;if(r)try{let e=new URL(t),r=(0,xL.v0)(e.pathname,d);o="".concat(e.origin,"/").concat(r).replace(/([^:]\/)\/+/g,"$1")}catch(e){o=t}i={...i,action:[{...s,link:{...s.link,linktype:r?"url":"story",url:o,cached_url:r?o:t}}]}}else if((null==s?void 0:s.component)==="sb-link-button"&&(null==s?void 0:null===(r=s.link)||void 0===r?void 0:r.linktype)==="url"){let e=(0,xL._U)(s.link.url);e!==s.link.url&&(i={...i,action:[{...s,link:{...s.link,url:e,cached_url:e}}]})}return(0,D.jsx)(DG,{...e,blok:i,"data-info":null==s?void 0:null===(o=s.link)||void 0===o?void 0:o.data_info})},"sb-divider":WE,"sb-drawer":W8,"sb-social-embed":Xm,"sb-carousel":e=>{let t={...e},r=!1,o=!1;return(t.blok&&t.blok.slides&&Array.isArray(t.blok.slides)&&(r=t.blok.slides.some(e=>"blog-card"===e.component),t.blok={...t.blok,slides:t.blok.slides.filter(e=>"blog-card"!==e.component||"object"==typeof e.blog_content&&null!==e.blog_content&&void 0!==e.blog_content.content)},r&&t.blok.slides.every(e=>"blog-card"!==e.component)&&(o=!0)),r&&o)?(0,D.jsx)(_W,{}):(0,D.jsx)(_Z,{...t})},"sb-video":Xr,"sb-modal":wc,"sb-tabs":CW,"sb-tab-item":CW,"sb-trustpilot":S0,"sb-collapsible":$v,"sb-collapsible-trigger":$E,"sb-collapsible-content":$S,"sb-gallery":Sv,"sb-gallery-group":$7,"sb-gallery-image":Sy,"sb-gallery-label":Sg,"sb-position-layer":$C,"sb-card-video":_t,"sb-social-author-button":Sb,"sb-sticky-promo-bar":e=>{var t;let{blok:r}=e,{design:o,product_name:i,description:l,icon:s,hidden_in_sections:d,custom_classname:c,button:u,content_width:p,position:f}=r,m=(0,h5.mi)({design:o},D4),h=(0,h5.qm)(m),g=gn({bpHide:m.visibility}),v=(0,hr.t0)(null==h?void 0:h.background_color),y=(0,hr.t0)(null==h?void 0:h.text_color),b=!!(v.light||v.dark),x=!!(y.light||y.dark),w=(0,F.cn)("sb-sticky-bar",g,c),k=d?null==d?void 0:d.selectedSections:void 0,_={...b?{"--sb-sticky-bar-background-color-light":v.light,"--sb-sticky-bar-background-color-dark":v.dark,"--sticky-bar-background-color":"var(--sb-sticky-bar-background-color)","--color-system-surface-default":"var(--sb-sticky-bar-background-color)"}:{},...x?{"--sb-sticky-bar-text-color-light":y.light,"--sb-sticky-bar-text-color-dark":y.dark,"--color-system-text-default":"var(--sb-sticky-bar-text-color)","--color-system-vector-default":"var(--sb-sticky-bar-text-color)"}:{}},C=(0,F.cn)(w,b?"[--sb-sticky-bar-background-color:var(--sb-sticky-bar-background-color-light)] dark:[--sb-sticky-bar-background-color:var(--sb-sticky-bar-background-color-dark)]":"",x?"[--sb-sticky-bar-text-color:var(--sb-sticky-bar-text-color-light)] dark:[--sb-sticky-bar-text-color:var(--sb-sticky-bar-text-color-dark)]":"");return(0,D.jsxs)(D3,{className:C,hiddenInSections:k,style:_,withoutBorder:null==h?void 0:h.without_border,contentWidth:p??"default",position:f??"auto",...hl(r),children:[i?(0,D.jsx)(DQ,{children:i}):null,l?(0,D.jsxs)(DX,{children:[(0,D.jsx)(b4,{height:"16px",width:"16px",icon:(null==(t=null==s?void 0:s.selectedIcon)?void 0:t.data)||""}),l]}):null,u[0]?(0,D.jsx)(DG,{blok:u[0]}):null]})},"sb-table-row":Y1,"sb-table-cell":Y3,"sb-surface-card":e=>{var t,r;let o=e.blok,{action:i}=o,l=null==i?void 0:i[0],{locale:s}=(0,xB.b)();if((null==l?void 0:l.component)==="sb-link-surface-card"&&(null==l?void 0:null===(t=l.link)||void 0===t?void 0:t.linktype)==="story"){let e=xz({locale:s,link:l.link});(null==e?void 0:e.startsWith("/"))&&(e=e.substring(1)),o={...o,action:[{...l,link:{...l.link,cached_url:e}}]}}return(0,D.jsx)(Sw,{...e,"data-info":null==l?void 0:null===(r=l.link)||void 0===r?void 0:r.data_info,blok:o})},"sb-card":e=>{var t,r;let o=e.blok,{action:i}=o,l=null==i?void 0:i[0],{locale:s}=(0,xB.b)();if((null==l?void 0:l.component)==="sb-link-card"&&(null==l?void 0:null===(t=l.link)||void 0===t?void 0:t.linktype)==="story"){let e=xz({locale:s,link:l.link});(null==e?void 0:e.startsWith("/"))&&(e=e.substring(1)),o={...o,action:[{...l,link:{...l.link,cached_url:e}}]}}return(0,D.jsx)(_d,{...e,"data-info":null==l?void 0:null===(r=l.link)||void 0===r?void 0:r.data_info,blok:o})},"sb-card-media":_n,"sb-card-primitive-body":_r,"sb-card-primitive-footer":_a,"sb-card-header":_o,"sb-card-banner":_l,"sb-image-video":_t,"sb-section":e=>{let t=e.blok,{name:r}=t;return(0,D.jsx)(bO,{...e,blok:t,"data-clicksubregion":r})},"sb-banner-section":SK,"sb-text-section":gP,"sb-accordion-section":YP,"sb-blockquote-section":YL,"sb-flex-group-section":Wb,"sb-image-section":yx,"sb-editorial-card-section":wH,"sb-body-text-section":e=>{var t;let{design:r}=e.blok,o=(0,h5.mi)({design:r},hL),i=(0,h5.qm)(o);return H0(null==e?void 0:null===(t=e.blok)||void 0===t?void 0:t.content),(0,D.jsx)(vx,{...e,resolvers:{markResolvers:{link:(e,t)=>{var r,o,l,s,d,c;let{href:u,target:p,anchor:f,linktype:m,custom:{data_info:h}={}}=t,g=f?"".concat(u,"#").concat(f):u,v=g?gr.r:"span",y=(null==i?void 0:null===(r=i.link_text_color)||void 0===r?void 0:r.selected)?{"--color-component-link-text-color":null==i?void 0:null===(l=i.link_text_color)||void 0===l?void 0:null===(o=l.selected)||void 0===o?void 0:o.value}:{},b=(null==i?void 0:null===(s=i.link_text_hover_color)||void 0===s?void 0:s.selected)?{"--color-component-link-hover-text-color":null==i?void 0:null===(c=i.link_text_hover_color)||void 0===c?void 0:null===(d=c.selected)||void 0===d?void 0:d.value}:{};return(0,D.jsx)(gr.r,{asChild:!0,href:"email"===m?"mailto:".concat(g):g,target:p,children:(0,D.jsx)(v,{style:{...y,...b},"data-info":h,children:(0,D.jsx)(ga.u,{children:e})})})}}}})},"sb-headline-section":vo,"sb-section-background-layer":w0,"sb-trustpilot-section":S0,"sb-flex-group":Wb,"sb-flex-group-group":Wb,"sb-accordion-group":YP,"sb-button-group":wo,"sb-button-group-group":wo,"sb-group-group":Wb,"sb-group":Wb,"sb-image-group":yx,"sb-link-group":xV,"sb-text-group":gP,"sb-icon-group":YB,"sb-divider-group":WE,"sb-icon-selector-group":YB,"sb-surface-card-arrow-cta":SA,settings:"internal","sb-backpack-header":vT,"sb-image-card":yx,"sb-icon-button":_h,"sb-link-button":RZ,"sb-modal-button":void 0,"sb-text-button":_f,"sb-text-icon":_h,"flippable-teaser-card":H6,"info-tooltip":HY,"stipend-calculator":D9,"cost-calculator":z$,trustpilot:L()(()=>r.e(422).then(r.bind(r,90422)).then(e=>e.TrustpilotSB),{loadableGenerated:{webpack:()=>[90422]},ssr:!1}),"google-reviews":L()(()=>r.e(5202).then(r.bind(r,35202)).then(e=>e.GoogleReviewsSB),{loadableGenerated:{webpack:()=>[35202]},ssr:!1}),"hero-grid":H5,"hero-grid-content-card":Ut,"au-pair-info-card":Ur,"au-pair-info-carousel":Ua,"consult-booking-form":e=>{let{blok:t}=e,{cta_text:r,personal_details_header:o,legal_text:i,address_legal_text:l,hidden_fields:s,failed_content:d,success_content:c,show_were_you_referred_by_someone:u,design:p}=t,f=(0,h5.mi)({design:p}),m=(0,h5.qm)(f),h=(0,hr.oQ)({bpTheme:null==f?void 0:f.theme,bpMono:null==f?void 0:f.mono}),g=Uo("referralId",(0,xF.useRouter)()),v=zh(s),y=zv(),b=(0,I.useMemo)(()=>u&&!g,[u,g]),[x,w]=(0,I.useState)(!1),[k,_]=(0,I.useState)(!1),[C,$]=(0,I.useState)(!1),[S,E]=(0,I.useState)(null),j=(0,I.useMemo)(()=>F9().shape({...Up.fields,...b?{wereYouReferredBySomeone:FU().required("This field is required"),referralFirstName:FU().when("wereYouReferredBySomeone",{is:e=>e&&"No"!==e,then:e=>e.required("This field is required").max(40,"First name cannot exceed 40 characters"),otherwise:e=>e}),referralLastName:FU().when("wereYouReferredBySomeone",{is:e=>e&&"No"!==e,then:e=>e.required("This field is required").max(80,"Last name cannot exceed 80 characters"),otherwise:e=>e}),...ze("referralPhone",{required:e=>e.wereYouReferredBySomeone===UN}),referralState:FU().when("wereYouReferredBySomeone",{is:e=>e&&"No"!==e,then:e=>e.required("This field is required"),otherwise:e=>e})}:{}}
50),[b]),N=async(e,t)=>{let{setSubmitting:r}=t;try{let t=await Bs({postalCode:e.zipCode,state:e.stateCode,lat:e.location.lat,lng:e.location.lng}),r={firstName:e.firstName,lastName:e.lastName,email:e.email,...V3({value:e.phone,isoCountryCode:e.phoneCountry}),street:e.street,postalCode:e.zipCode,city:e.city,state:e.stateCode||e.state,country:e.country,countryCode:e.countryCode,longitude:0!==e.location.lng?e.location.lng:null,latitude:0!==e.location.lat?e.location.lat:null,isHFAddressServiced:t,wereYouReferredBySomeone:e.wereYouReferredBySomeone,...e.wereYouReferredBySomeone===UN?{referralFirstName:e.referralFirstName,referralLastName:e.referralLastName,referralState:e.referralState,...V4(e),referralInformationDate:new Date().toISOString()}:e.wereYouReferredBySomeone&&"No"!==e.wereYouReferredBySomeone?{referralFirstName:e.referralFirstName,referralLastName:e.referralLastName,referralState:e.referralState,referralInformationDate:new Date().toISOString()}:{}};await Bm({...r,...v,...y}),E(r),$(t),_(!0)}catch(e){console.error("Form submission error:",e)}finally{r(!1)}},T=()=>{_(!1),$(!1),E(null)},P=e=>{Ud.forEach(t=>{e(t,!0)})},A=async(e,t,r)=>{let{location:o,components:i}=e,l=await t(e=>({...e,location:o,street:"".concat(i.street_number," ").concat(i.route),city:i.locality||i.sublocality_level_1,state:i.administrative_area_level_1,stateCode:i.administrative_area_level_1_short,zipCode:i.postal_code,country:i.country,countryCode:i.country_short}));l&&r(l)},O=Un(null==m?void 0:m.background_color,"#FCF2EC");return(0,D.jsxs)(vz,{"data-clickregion":"modal",modal:x,className:(0,vP.Z)(h),trapFocus:!1,themeConfig:{slots:{content:"bg-[var(--consult-modal-bg)]",dismiss:"[&>span]:bg-transparent"}},variant:"content",children:[(0,D.jsx)(ii,{asChild:!0,children:(0,D.jsx)(e7.Button,{as:"button",variant:"filled","data-info":"start-consultBooking",bgClassName:"!bg-[var(--ccap-pink)]",onClick:()=>{T(),w(!0)},children:r&&r})}),(0,D.jsx)(o8,{"data-clicksubregion":"consult-booking-modal",onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),style:{"--consult-modal-bg":O},children:k?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(Us,{isSuccess:C,successContent:c,failedContent:d}),C?(0,D.jsx)(e7.Button,{as:"a",shape:"square",className:"mt-4 float-right",bgClassName:"!bg-[var(--ccap-pink)]",href:"".concat("https://hostfamily.culturalcare.com/#/signup","?").concat(Object.entries(S).filter(e=>{let[t,r]=e;return r}).map(e=>{let[t,r]=e;return"".concat(t,"=").concat(encodeURIComponent(r))}).join("&")),children:"Start profile"}):(0,D.jsx)(e7.Button,{shape:"square",className:"mt-4 float-right",bgClassName:"!bg-[var(--ccap-pink)]",onPress:()=>{w(!1),T()},children:"Okay"})]}):(0,D.jsx)(I2,{enableReinitialize:!0,initialValues:Uj,validationSchema:j,onSubmit:N,children:e=>{let{values:t,errors:r,touched:s,isSubmitting:d,setErrors:c,setFieldValue:u,setFieldTouched:p,setValues:f}=e;return(0,D.jsxs)(I9,{children:[(0,D.jsxs)("div",{className:"!relative flex flex-col gap-4",children:[o&&o.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid)),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ef.y,{placeholder:"First name",id:"firstName",name:"firstName",value:t.firstName,onChange:e=>u("firstName",e.target.value),onBlur:()=>p("firstName",!0),valid:s.firstName&&!r.firstName,touched:s.firstName}),(0,D.jsx)(S2,{children:r.firstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ef.y,{placeholder:"Last name",id:"lastName",name:"lastName",value:t.lastName,onChange:e=>u("lastName",e.target.value),onBlur:()=>p("lastName",!0),valid:s.lastName&&!r.lastName,touched:s.lastName}),(0,D.jsx)(S2,{children:r.lastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ef.y,{placeholder:"Email",id:"email",name:"email",value:t.email,onChange:e=>u("email",e.target.value),onBlur:()=>p("email",!0),valid:s.email&&!r.email,touched:s.email}),(0,D.jsx)(S2,{children:r.email})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ul,{error:Uf(r)[0],placeholder:"Full addrâess*",required:!0,forceTouched:!!s.location,onBlur:e=>{P(p)},onChange:async e=>{if(!e){f(e=>({...e,location:{lat:0,lng:0},street:"",city:"",state:"",stateCode:"",zipCode:"",country:"",countryCode:""}));return}P(p),A(e,f,c)}}),(0,D.jsx)(S2,{children:Uf(r)[0]}),(0,D.jsxs)("div",{className:"mt-2 flex items-start gap-2",children:[(0,D.jsx)("div",{children:(0,D.jsx)(vR(),{src:"/privacy_eye.svg",alt:"Address privacy",loader:e=>{let{src:t}=e;return t},className:"shrink-0",width:16,height:16})}),Array.isArray(l)&&l.length>0?(0,D.jsx)(ha.Xj,{blok:l[0]}):(0,D.jsxs)(aL.x,{className:"text-[var(--color-text-secondary)]",variant:"uiLabelSmall",children:["We use your ",(0,D.jsx)("b",{children:"Full Address"})," only to check if we have a representative in your area"]})]})]}),(0,D.jsx)(zt,{name:"phone",placeholder:"Phone number",countries:zu,defaultCountry:zc,required:!0}),b&&(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:"wereYouReferredBySomeone",label:"Were you referred by someone?",placeholder:"Choose an option...",value:t.wereYouReferredBySomeone,valid:s.wereYouReferredBySomeone?!r.wereYouReferredBySomeone:void 0,onValueChange:e=>{u("wereYouReferredBySomeone",e),e!==UN&&(u("referralFirstName",""),u("referralLastName",""),u("referralState",""),u("referralPhone",""),u("referralPhoneCode",""),u("referralPhoneCountry",""))},touched:s.wereYouReferredBySomeone,children:US.map(e=>(0,D.jsx)(AY,{value:e,children:e},e))}),(0,D.jsx)(S2,{children:r.wereYouReferredBySomeone}),t.wereYouReferredBySomeone&&"No"!==t.wereYouReferredBySomeone&&(0,D.jsxs)("div",{className:"!relative flex flex-col gap-4",children:[(0,D.jsx)("div",{className:"mt-2 flex items-start gap-2",children:(0,D.jsx)(aL.x,{variant:"bodySmall",children:"That's great! Please let us know who so we can say thank you."})}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ef.y,{placeholder:"Referral first name",id:"referralFirstName",name:"referralFirstName",value:t.referralFirstName,onChange:e=>u("referralFirstName",e.target.value),onBlur:()=>p("referralFirstName",!0),valid:s.referralFirstName&&!r.referralFirstName,touched:s.referralFirstName}),(0,D.jsx)(S2,{children:r.referralFirstName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(Ef.y,{placeholder:"Referral last name",id:"referralLastName",name:"referralLastName",value:t.referralLastName,onChange:e=>u("referralLastName",e.target.value),onBlur:()=>p("referralLastName",!0),valid:s.referralLastName&&!r.referralLastName,touched:s.referralLastName}),(0,D.jsx)(S2,{children:r.referralLastName})]}),(0,D.jsxs)("div",{children:[(0,D.jsx)(AG,{name:"referralState",placeholder:"State",value:t.referralState,valid:s.referralState?!r.referralState:void 0,onValueChange:e=>u("referralState",e),touched:s.referralState,children:zn.map((e,t)=>(0,D.jsx)(AY,{value:e.stateCode,children:e.state},t))}),(0,D.jsx)(S2,{children:r.referralState})]}),t.wereYouReferredBySomeone===UN&&(0,D.jsx)(zt,{name:"referralPhone",placeholder:"Referral phone number",countries:zu,defaultCountry:zc,required:!0})]})]}),i&&(0,D.jsx)("div",{children:i.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]}),(0,D.jsx)(e7.Button,{type:"submit","data-info":"submit-consultation-form",shape:"square",className:"mt-12 w-full md:float-right md:w-auto",bgClassName:"!bg-[var(--ccap-pink)]",disabled:d,children:d?"Submitting...":"Next"})]})}})})]})},"advanced-accordion":e=>{let{blok:t}=e,{items:r}=t,[o,i]=I.useState(null),l=e=>{i(t=>t===e?null:e)};return(0,D.jsx)("div",{className:UR().container,children:r.map(e=>(0,D.jsx)(UA,{blok:e,isOpen:o===e._uid,onClick:()=>l(e._uid)},e._uid))})},"advanced-accordion-item":UA,"hf-surface-card":UL,"hf-surface-card-carousel":UB,"hf-signup-form":UH,"hf-mql-form":UU,"lcc-signup-form":e=>{let{blok:t}=e,{design:r,submitted_content:o,submit_button_text:i,legal_text:l,hidden_fields:s}=t,d=(0,h5.mi)({design:r}),c=(0,h7.N)(null==d?void 0:d.spacing),[u,p]=I.useState("editing"),f=zh(s);return(0,I.useEffect)(()=>{"finished"===u&&(0,xL.cx)("lccSignUpContent")}),(0,D.jsx)("div",{id:"lccSignUpContent",className:(0,vP.W)(c,UW().container),children:["editing","submitted"].includes(u)?(0,D.jsx)(UG,{state:u,setState:p,legalText:l,buttonText:i,hiddenFields:f}):(0,D.jsx)(UK,{content:o})})},"lcc-signup-steps-indicator":UX,"faq-search":e=>{let{blok:t}=e,{header:r,searchBarLabel:o,categoriesLabel:i,categories:l}=t,[s,d]=(0,I.useState)(""),c="",u=""===s?l:l.reduce((e,t)=>
50{var r;let o=s.toLowerCase();if((null==t?void 0:null===(r=t.name)||void 0===r?void 0:r.toLowerCase())===o)e.push(t);else{let r=t.items.filter(e=>{var t,r,i,l;let s=JSON.parse(JSON.stringify(e));return null==s||s.content.map(e=>{var t;c="",Array.isArray(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.content)&&e.content.content.map(e=>{var t;null==(t=e.content)||t.forEach(e=>{Array.isArray(null==e?void 0:e.content)?c+=" "+e.content.flatMap(e=>e.text).filter(e=>"string"==typeof e).join(""):c+=" "+e.text})})}),(null===(t=e.title)||void 0===t?void 0:t.toLowerCase().includes(o))||(null==c?void 0:null===(l=c.toLowerCase())||void 0===l?void 0:null===(i=l.replace(/\s+/g," "))||void 0===i?void 0:null===(r=i.trim())||void 0===r?void 0:r.includes(o))});r.length>0&&e.push({...t,items:r})}return e},[]);return(0,D.jsxs)("div",{className:"py-12 md:py-20",children:[(0,D.jsx)(U3,{header:r}),(0,D.jsxs)(wW.k,{gap:"xl",align:"flex-start",justify:"space-between",className:"flex-col md:flex-row md:pt-20",children:[(0,D.jsx)(U4,{categories:u,handleClick:e=>{document.getElementById("categoryTitle"+e).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},faqQuery:s,handleChange:e=>{d(e.target.value)},categoriesLabel:i,searchBarLabel:o}),(0,D.jsx)(U6,{categories:u,faqQuery:s})]})]})},"load-more-list":U5,"ap-signup-form":e=>{let{blok:t}=e,{content:r,design:o,form_header:i,hidden_fields:l,legal_text:s,is_gender_optional:d,optional_fields:c,show_country_of_residence:u,dob_dropdown_up:p,redirect_url:f,create_account_cta:m,is_brochure:h,submitted_content:g,show_modal:v}=t,y=(0,h5.mi)({design:o}),b=(0,h7.N)(null==y?void 0:y.spacing),{flexClasses:x,basisClasses:w}=(0,wq.k)({flexProps:{flex:y.item_flex,basis:y.item_basis},type:"item"}),{alignClasses:k,justifyClasses:_,directionClasses:C,wrapClasses:$,gapClasses:S}=$p({flexProps:{direction:null==y?void 0:y.direction,justify:null==y?void 0:y.justify,align:null==y?void 0:y.align,gap:null==y?void 0:y.gap},type:"group"}),E=(0,vP.W)(b,h?Ze().brochureContent:Ze().container,[x].flat(),[w].flat(),[k,_,$,S].flat()),{breakpoint:j}=(0,ib.G)(),N="s"!==j,[T,P]=(0,I.useState)(768),[A,O]=I.useState("editing"),[R,M]=I.useState(null),L=e=>{let t=document.getElementById(e);null==t||t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})};(0,I.useEffect)(()=>{"finished"===A&&L("successContent")},[A]);let F=()=>P(window.innerWidth);return(0,I.useEffect)(()=>(window.addEventListener("resize",F),()=>{window.removeEventListener("resize",F)}),[T]),v?(0,D.jsxs)(wW.k,{direction:N?"row":"column",gap:N?"xl":"l",className:(0,vP.W)(E,h?Ze().brochureContentLayout:null),children:[["editing","submitted"].includes(A)||T<400?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:Ze().content,children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(Zx,{formHeader:i,hiddenFields:l,legalText:s,optionalFields:c,showCountryOfResidence:u,dobDropdownOpenUp:p,state:A,setState:O,setRedirectData:M})]}):null,["finished"].includes(A)?(0,D.jsx)(Zw,{signUpData:R,content:g,create_account_cta:m,isBrochure:h,width:T,showModal:v}):null]}):(0,D.jsx)(wW.k,{direction:N?"row":"column",gap:N?"xl":"l",className:(0,vP.W)(E,h?Ze().brochureContentLayout:null),children:["editing","submitted"].includes(A)?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:Ze().content,children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(Zx,{formHeader:i,hiddenFields:l,legalText:s,optionalFields:c,showCountryOfResidence:u,dobDropdownOpenUp:p,state:A,setState:O,setRedirectData:M})]}):(0,D.jsx)(Zw,{signUpData:R,content:g,create_account_cta:m,isBrochure:h,width:T,showModal:v})})},"au-pair-profile-card":Z_,timeline:ZS,"steps-timeline":ZN,"lcc-info-card":ZA,"comment-bubble":ZO,"cookies-button":ZR,"blog-card":Zq,reeler:ZJ,"news-article-card":ZG,"info-meetings":Wt,"text-parser":WP,"ap-form":e=>{let{blok:t,infoMeetingId:r,isModal:o}=e,{content:i,design:l,form_header:s,hidden_fields:d,legal_text:c,optional_fields:u,show_country_of_residence:p,submitted_content:f}=t,m=(0,h5.mi)({design:l}),h=(0,h7.N)(null==m?void 0:m.spacing),{flexClasses:g,basisClasse
50s:v}=(0,wq.k)({flexProps:{flex:m.item_flex,basis:m.item_basis},type:"item"}),{alignClasses:y,justifyClasses:b,directionClasses:x,wrapClasses:w,gapClasses:k}=$p({flexProps:{direction:null==m?void 0:m.direction,justify:null==m?void 0:m.justify,align:null==m?void 0:m.align,gap:null==m?void 0:m.gap},type:"group"}),_=(0,vP.W)(h,Ze().container,[g].flat(),[v].flat(),[y,b,x,w,k].flat()),{breakpoint:C}=(0,ib.G)(),$="s"!==C,[S,E]=(0,I.useState)(768),j=()=>E(window.innerWidth),[N,T]=I.useState("editing"),[P,A]=I.useState(null);return(0,I.useEffect)(()=>(window.addEventListener("resize",j),()=>{window.removeEventListener("resize",j)}),[S]),(0,D.jsx)(wW.k,{className:_,direction:$?"row":"column",gap:$?"xl":"l",children:["editing","submitted"].includes(N)?(0,D.jsx)(D.Fragment,{children:(0,D.jsx)(Zx,{infoMeetingId:r,isModal:o,formHeader:s,hiddenFields:d,legalText:c,optionalFields:u,showCountryOfResidence:p,state:N,setState:T,setRedirectData:A})}):(0,D.jsx)(Zw,{signUpData:P,content:f,width:S})})},"ap-ambassador-form":e=>{let{blok:t}=e,{content:r,design:o,form_header:i,hidden_fields:l,legal_text:s,consent:d,optional_fields:c,submitted_content:u}=t,p=(0,h5.mi)({design:o}),f=(0,h7.N)(null==p?void 0:p.spacing),{flexClasses:m,basisClasses:h}=(0,wq.k)({flexProps:{flex:p.item_flex,basis:p.item_basis},type:"item"}),{alignClasses:g,justifyClasses:v,wrapClasses:y,gapClasses:b}=$p({flexProps:{justify:null==p?void 0:p.justify,align:null==p?void 0:p.align,gap:null==p?void 0:p.gap},type:"group"}),{breakpoint:x}=(0,ib.G)(),w=(0,vP.W)(f,Wr().container,[m].flat(),[h].flat(),[g,v,y,b].flat()),[k,_]=I.useState("editing"),[C,$]=I.useState(null);return(0,D.jsx)(wW.k,{className:w,direction:"s"!==x?"row":"column-reverse",gap:"s"!==x&&"m"!==x?"xl":"l",children:["editing","submitted"].includes(k)?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(Wo,{formHeader:i,hiddenFields:l,legalText:s,consent:d,optionalFields:c,state:k,setState:_,setRedirectData:$}),(0,D.jsx)("div",{className:Wr().content,children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]}):(0,D.jsx)(Wi,{content:u})})},"ap-partner-form":e=>{let{blok:t}=e,{content:r,design:o,form_header:i,hidden_fields:l,legal_text:s,optional_fields:d,submitted_content:c,submit_button_text:u}=t,p=(0,h5.mi)({design:o}),f=(0,h7.N)(null==p?void 0:p.spacing),m=I.useMemo(()=>Wc(t),[t]),[h,g]=I.useState("editing"),[v,y]=I.useState(null);return(0,D.jsx)("div",{className:(0,vP.W)(f,"w-full flex flex-col md:flex-row gap-6 lg:gap-10"),children:["editing","submitted"].includes(h)?(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:"w-full md:flex-1",children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))}),(0,D.jsx)(Ws,{formHeader:i,hiddenFields:l,legalText:s,submitButtonText:u,translations:m,state:h,setState:g,setRedirectData:y})]}):(0,D.jsx)(Wd,{content:c})})},"brochure-button-modal":WC,instagram:e=>{let{blok:t}=e,{design:r}=t,o=(0,h5.mi)({design:r}),i=(0,h5.qm)(o),[l,s]=(0,I.useState)(0),[d,c]=(0,I.useState)([]),u=null==t?void 0:t.instagram_locale_based_username,[p,f]=(0,I.useState)(""),[m,h]=(0,I.useState)(null);async function g(){try{let e=await fetch("/api/instagram/instagram-cached-content?username="+u);if(!e.ok)throw Error("HTTP error! Status: ".concat(e.status));let t=await e.json();t&&t.length>0?c(t):c([]),c(t)}catch(e){console.log("Fetch error: ",e)}}return(0,I.useEffect)(()=>{function e(){s(window.innerWidth)}window.addEventListener("resize",e),e()}),(0,I.useEffect)(()=>{(null==t?void 0:t.content_preference_api)==="manual"?c(null==t?void 0:t.instagram_content):g()},[]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(WD,{props:t}),l<700?(0,D.jsx)(_g.l,{controls:{s:!1,m:"bold"},showPagination:!0,slidesInView:{s:1,m:2},gap:{s:8},layout:"contained",children:null==d?void 0:d.map((e,r)=>(0,D.jsx)(WR,{instaItem:e,index:r,bpCurrentDesign:i,username:t.instagram_username,user_profile_link:t.instagram_user_profile_link,content_preference_api:t.content_preference_api},null==e?void 0:e._uid))}):(0,D.jsx)("div",{className:"grid w-full grid-cols-3 grid-rows-2 gap-x-[2%] gap-y-[2%] pb-6 pt-8",children:null==d?void 0:d.map((e,r)=>(0,D.jsx)(WR,{instaItem:e,index:r,bpCurrentDesign:i,username:t.instagram_username,user_profile_link:t.instagram_user_profile_link,
50content_preference_api:t.content_preference_api},null==e?void 0:e._uid))})]})},"clickable-image":WH,video:WW,"custom-text":WK,"hero-section":WJ,"article-banner":W2,visibility:W3,"pricing-cards-container":e=>{let{blok:t}=e,{content:r}=t,{breakpoint:o}=(0,ib.G)();return(0,D.jsx)(wW.k,{direction:"s"!==o?"row":"column",justify:"space-between",align:"stretch",gap:"m",className:"box-border flex h-full w-full [&[data-direction=row]>*]:min-h-0 [&[data-direction=row]>*]:flex-1",style:{height:"100%",width:"100%"},children:r&&r.length>0&&r.map(e=>(0,D.jsx)("div",{className:"flex flex-1",children:(0,D.jsx)(W4,{blok:e})},e._uid))})},"comparison-table-container":e=>{let{blok:t}=e,{columnsHeading:r,rowContent:o,design:i}=t,l=(0,h5.mi)({design:i}),s=(0,h5.qm)(l),d=(0,h7.N)(null==l?void 0:l.spacing),c=(0,hr.oQ)({bpTheme:null==l?void 0:l.theme,bpMono:null==l?void 0:l.mono}),u=(0,I.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e&&parseInt(e.replace("px",""))||t},[]),p=(e=>{let t=U8(null==e?void 0:e.background_color)||"transparent",r=(null==e?void 0:e.border_radius)||"8px",o=(null==e?void 0:e.border_outline_width)||"2px",i=U8(null==e?void 0:e.outline_color)||"transparent",l=U8(null==e?void 0:e.border_shadow_color),s="".concat(o," solid ").concat(i),d=4*u(o),c=l?"0 0 0 ".concat(d,"px ").concat(l):"none",p=U8(null==e?void 0:e.divider_color)||"transparent";return{backgroundColor:t,borderRadius:r,border:s,width:"100%",height:"100%",boxShadow:c,divider:{color:p,height:(null==e?void 0:e.divider_radius)||"4px",margin:(null==e?void 0:e.divider_padding)||"8px 0"},padding:(null==e?void 0:e.container_padding)||"8px"}})(s),f=(0,I.useCallback)(e=>({padding:null==e?void 0:e.padding}),[]);return(0,D.jsx)("div",{className:(0,vP.Z)(l,d,"box-border flex h-full w-full flex-1 self-stretch",c),style:p,children:(0,D.jsxs)("div",{className:"grid w-full grid-cols-[1.5fr_repeat(var(--columns-count,3),1fr)] grid-rows-[auto] gap-px",style:{...f(p.padding),"--columns-count":r.length},children:[(0,D.jsx)("div",{className:"flex min-h-[60px] flex-1 items-center justify-center py-2 pb-10"}),r.length>0?r.map(e=>(0,D.jsx)("div",{className:"flex min-h-[60px] flex-1 items-center justify-center py-2 pb-10",children:(0,D.jsx)(ha.Xj,{blok:e})},"columnheading-".concat(e._uid))):null,o.length>0&&o.map((e,t)=>(0,D.jsxs)(I.Fragment,{children:[(0,D.jsx)(W6,{blok:e},"row-".concat(e._uid)),t<o.length-1&&(0,D.jsx)("div",{className:"relative col-[1/-1] row-span-1 py-4 after:absolute after:left-0 after:right-0 after:top-1/2 after:h-0.5 after:-translate-y-1/2 after:rounded-[var(--divider-radius,4px)] after:bg-white after:content-['']",style:{"--divider-color":p.divider.color,"--divider-radius":p.divider.height}})]},"row-fragment-".concat(e._uid)))]})})},"question-video-card":e=>{var t;let{blok:r}=e,{video_url:o,image:i,video_timestamp:l,title:s}=r;return(0,D.jsx)(D.Fragment,{children:(0,D.jsxs)(wO,{social:!0,onPress:void 0,border:"none",children:[(0,D.jsx)(_e,{aspectRatios:"9/16",audioControl:!0,autoplay:!1,interactive:!0,playButton:!0,muted:!1,radius:"s",url:o.url,variant:"inline-full",customImagePreviewSrc:Array.isArray(i)&&i.length>0?null===(t=i[0])||void 0===t?void 0:t.image.filename:void 0}),(0,D.jsx)(wR,{children:(0,D.jsxs)(wW.k,{justify:"center",gap:"s",align:"center",children:[(0,D.jsx)(aL.x,{variant:"title3",align:"start",children:s}),(0,D.jsx)(aL.x,{children:l})]})})]})})},location:e=>{let{blok:t}=e,{design:r}=t,o=(0,h5.mi)({design:r}),i=(0,h5.qm)(o),l=(0,h7.N)(null==o?void 0:o.spacing),{locations:s}=(0,xB.b)(),d=(e=>{let t=U8(null==e?void 0:e.background_color)||"transparent",r=(null==e?void 0:e.border_radius)||"8px",o=(null==e?void 0:e.border_outline_width)||"2px",i=U8(null==e?void 0:e.outline_color)||"transparent";return{backgroundColor:t,borderRadius:r,border:"".concat(o," solid ").concat(i),width:"100%",height:"100%"}})(i),c=Object.keys(s).sort();return(0,D.jsx)("div",{className:l,style:d,children:(0,D.jsx)(wW.k,{className:"flex-wrap",children:c.map(e=>{let t=[...s[e]||[]].sort((e,t)=>e.city.localeCompare(t.city));return(0,D.jsxs)(wK.B,{className:"w-full sm:w-1/2 md:w-1/3 lg:w-1/4 xl:w-1/5 mb-6",children:[(0,D.jsx)("div",{className:"mb-2",children:(0,D.jsx)(aL.x,{variant:"title3",children:e})}),(0,D.jsx)("div",{className:"flex flex-col gap-1",children:t.map((e,t)=>(0,D.jsx)("div",{children:(0,D.jsx)(aL.x,{variant:"body",children:e.city})},"".concat(e.city,"-").concat(t)))})]},e)})})})},"lcc-contact-card":Xb,"lcc-bio-card":Xx,"lcc-profile-card":Xw,"demio-form":X$,template:e=>{let{blok:t}=e,{_uid:r,body:o,expirationDate:i}=t;if(i){let e=function(e,t,r,o){var i,l,s,d,c,u,p,f,m,h,g,v,y,b,x,w,k,_,C;let $=Object.assign({}
50,XE),S=null!==(m=$.locale)&&void 0!==m?m:XR,E=null!==(y=null!==(g=(h=void 0,void 0),v=void 0!==g?g:$.firstWeekContainsDate)&&void 0!==v?v:null===(d=$.locale)||void 0===d?void 0:null===(s=d.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==y?y:1,j=null!==(k=null!==(w=null!==(x=null!==(b=null==o?void 0:o.weekStartsOn)&&void 0!==b?b:null==o?void 0:null===(u=o.locale)||void 0===u?void 0:null===(c=u.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==x?x:$.weekStartsOn)&&void 0!==w?w:null===(f=$.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==k?k:0;if(""===t)return""===e?XD(r):XS(r,NaN);let N={firstWeekContainsDate:E,weekStartsOn:j,locale:S},T=[new XZ],P=t.match(QD).map(e=>{let t=e[0];return t in XI?(0,XI[t])(e,S.formatLong):e}).join("").match(QR),A=[];for(let i of P){!(null==o?void 0:o.useAdditionalWeekYearTokens)&&(_=i,XB.test(_))&&Xz(i,t,e),!(null==o?void 0:o.useAdditionalDayOfYearTokens)&&(C=i,XF.test(C))&&Xz(i,t,e);let l=i[0],s=QO[l];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=A.find(e=>t.includes(e.token)||e.token===l);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(i,"` at the same time"))}else if("*"===s.incompatibleTokens&&A.length>0)throw RangeError("The format string mustn't contain `".concat(i,"` and any other token at the same time"));A.push({token:l,fullToken:i});let o=s.run(e,i,S.match,N);if(!o)return XS(r,NaN);T.push(o.setter),e=o.rest}else{if(l.match(QF))throw RangeError("Format string contains an unescaped latin alphabet character `"+l+"`");if("''"===i?i="'":"'"===l&&(i=i.match(QM)[1].replace(QL,"'")),0!==e.indexOf(i))return XS(r,NaN);e=e.slice(i.length)}}if(e.length>0&&QI.test(e))return XS(r,NaN);let O=T.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,r)=>r.indexOf(e)===t).map(e=>T.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),R=XD(r);if(isNaN(R.getTime()))return XS(r,NaN);let D={};for(let e of O){if(!e.validate(R,N))return XS(r,NaN);let t=e.set(R,D,N);Array.isArray(t)?(R=t[0],Object.assign(D,t[1])):R=t}return XS(r,R)}(i,"yyyy-MM-dd HH:mm",new Date);if(+XD(e)<Date.now())return null}return(null==o?void 0:o.content)?(0,D.jsx)(ha.Xj,{blok:o.content},"template-".concat(r)):null},"sb-popup-module":QV,"ap-signup-form-block":e=>{let{blok:t}=e,{design:r,form_header:o,hidden_fields:i,legal_text:l,optional_fields:s,show_country_of_residence:d,dob_dropdown_up:c,create_account_cta:u,submitted_content:p,show_modal:f}=t,m=(0,h5.mi)({design:r}),h=(0,h7.N)(null==m?void 0:m.spacing),[g,v]=I.useState("editing"),[y,b]=I.useState(null),[x,w]=(0,I.useState)(768),k=()=>w(window.innerWidth),_=e=>{let t=document.getElementById(e);null==t||t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})};return(0,I.useEffect)(()=>{"finished"===g&&_("successContent")},[g]),(0,I.useEffect)(()=>(k(),window.addEventListener("resize",k),()=>{window.removeEventListener("resize",k)}),[]),(0,D.jsx)("div",{className:(0,vP.W)(h,Ze().formOnly),children:["editing","submitted"].includes(g)?(0,D.jsx)(Zx,{formHeader:o,hiddenFields:i,legalText:l,optionalFields:s,showCountryOfResidence:d,dobDropdownOpenUp:c,state:g,setState:v,setRedirectData:b}):(0,D.jsx)(Zw,{signUpData:y,content:p,create_account_cta:u,showModal:f,width:x})})},"ap-form-block":e=>{let{blok:t,infoMeetingId:r,isModal:o}=e,{create_account_cta:i,design:l,form_header:s,hidden_fields:d,legal_text:c,optional_fields:u,show_country_of_residence:p,submitted_content:f}=t,m=(0,h5.mi)({design:l}),h=(0,h7.N)(null==m?void 0:m.spacing),[g,v]=I.useState("editing"),[y,b]=I.useState(null),x=e=>{let t=document.getElementById(e);null==t||t.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})};return(0,I.useEffect)(()=>{"finished"===g&&x("successContent")},[g]),(0,D.jsx)("div",{className:(0,vP.W)(h,Ze().formOnly),children:["editing","submitted"].includes(g)?(0,D.jsx)(Zx,{infoMeetingId:r,isModal:o,formHeader:s,hiddenFields:d,legalText:c,optionalFields:u,showCountryOfResidence:p,state:g,setState:v,setRedirectData:b}):(0,D.jsx)(Zw,{signUpData:y,content:f,create_account_cta:i})})},"hf-signup-form-block":UH,"hf-mql-form-block":UU,"sb-form-fieldset":Eo,"sb-form-group":Ed,"sb-form-input"
50:Ne,"sb-form-hidden-input":Nt,"sb-form-textarea":Od,"sb-form-switch":OA,"sb-form-select":OM,"sb-form-row":OH,"sb-form-phone-input":On,"sb-form-radio":Ni,"sb-form-checkbox":Nx,"sb-form-checkbox-tile":NE,"sb-form-date-picker":W1,"sb-form-pronouns":RP,"sb-form-radio-item":OQ,"sb-form-radio-tile-item":OY,"sb-form-submission-success-content":e=>{let{blok:t}=e,{content:r}=t;return(0,D.jsx)(D.Fragment,{children:null==r?void 0:r.map(e=>(0,D.jsx)(hs,{blok:e},e._uid))})},"sb-form-button":e=>{var t,r;let{blok:o}=e,{design:i}=o,l=(0,h5.mi)({design:i},RM),{flexClasses:s,basisClasses:d}=(0,wq.k)({flexProps:{flex:l.item_flex,basis:l.item_basis},type:"item"}),{formState:{isSubmitting:c,isSubmitSuccessful:u}}=S9(),p=(0,F.cn)("sb-form-button",[s].flat(),[d].flat()),f=(null==(r=null==(t=null==o?void 0:o.action)?void 0:t[0])?void 0:r.component)==="sb-submit-button";return(0,D.jsx)(wK.B,{className:p,children:(0,D.jsx)(DG,{blok:{...o},...f&&{disabled:c||u}})})},"related-articles":e=>{let{blok:t}=e,[r,o]=(0,I.useState)(!1);(0,I.useEffect)(()=>{o(!0)},[]);let i=K5(t.design),l=parseInt(null==i?void 0:i.items_to_show)||3,s=(0,I.useMemo)(()=>{if(!t.articles)return[];let e=[...t.articles];return t.prioritise_featured&&(e=e.sort((e,t)=>{var r,o;let i=(null===(r=e.tag_list)||void 0===r?void 0:r.includes("featured"))||!1,l=(null===(o=t.tag_list)||void 0===o?void 0:o.includes("featured"))||!1;return i&&!l?-1:!i&&l?1:0})),e},[t.articles,t.prioritise_featured]),d=l>0?s.slice(0,l):s;return(0,D.jsx)(JJ,{articles:d,layout:null==i?void 0:i.carousel_layout,gap:null==i?void 0:i.carousel_gap,renderCard:e=>(0,D.jsx)(JG,{article:e,design:r?i:void 0,card_image:e.list_image,card_title:e.list_title,card_description:e.list_description,card_link_text:e.list_link_text,href:e.full_slug,tag_list:e.tag_list,show_date:t.show_dates,show_reading_time:t.show_reading_time},e.uuid)})},"filterable-articles":e=>(0,D.jsx)(GF,{client:Yb,children:(0,D.jsx)(Yy,{...e})}),article:JO,category:e=>{var t;let{blok:r}=e;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(JA,{customSchema:null==r?void 0:r.structured_data}),(0,D.jsx)("div",{className:"category-page",children:null===(t=r.body)||void 0===t?void 0:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})},blog:vA,"article-categories":e=>{var t,r,o,i,l,s,d;let{blok:c}=e,{show_author:u,show_last_updated:p,show_reading_time:f,categories:m=[],last_updated_date:h,reading_time_minutes:g,author:v}=c,y=(0,xF.useRouter)().locale||"en",b=KW(),x=b.translations,w=b.design,k=(null==x?void 0:x.categories)||"Categories",_=(null==x?void 0:x.author_label)||"By",C=(null==x?void 0:x.last_updated)||"Last updated",$=!0===u||null===(l=null==b?void 0:null===(t=b.general)||void 0===t?void 0:t.show_article_author)||void 0===l||l,S=!0===p||null!==(s=null==b?void 0:null===(r=b.general)||void 0===r?void 0:r.show_article_last_updated)&&void 0!==s&&s,E=!0===f||null!==(d=null==b?void 0:null===(o=b.general)||void 0===o?void 0:o.show_reading_time_default)&&void 0!==d&&d,j=(null==x?void 0:x.reading_time_text)||"min read",N="object"==typeof g&&(null==g?void 0:g.s)?g.s:g||0,T=(0,h5.mi)({design:c.design}),P=(0,h5.qm)(T),A=(0,h7.N)(null==T?void 0:T.spacing);if(!m||0===m.length)return null;let O=null==P?void 0:P.order,R=(null==P?void 0:P.borders)!==!1,M=JH(null==P?void 0:P.border_color),L=JH(null==w?void 0:w.article_categories_border_color),I=M||L,B=JH(null==P?void 0:P.text_color),V=JH(null==w?void 0:w.article_categories_text_color),z=B||V,H={...I&&{borderTopColor:I,borderBottomColor:I},...z&&{color:z}},U=h?KQ(h,(null==b?void 0:null===(i=b.general)||void 0===i?void 0:i.date_format)||"long",y):null;return(0,D.jsx)("div",{...(0,ha.LF)(c),className:(0,F.cn)("article-categories",R?"border-t border-b border-system-stroke-default":"",A,c.custom_classname),style:{order:O,...H},children:(0,D.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-3",children:[(0,D.jsxs)("div",{className:"flex flex-row items-center flex-1",children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmallBold",className:"uppercase whitespace-nowrap mr-3",children:k}),(0,D.jsx)("div",{className:"flex flex-wrap gap-2",children:m.map(e=>(0,D.jsx)(e7.Button,{variant:"outlined",size:"xSmall",as:"a",href:e.url,className:"category-tag text-xs",renderCustomLink:e=>(0,D.jsx)(JM,{href:e.href,passHref:!0,...e}),children:e.name},e.uuid))})]}),($&&v||S&&U||E&&N)&&(0,D.jsx)("div",{className:"meta-info flex-shrink-0 text-start sm:text-end",children:(0,D.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center gap-1 sm:gap-2",children:[$&&v&&(0,D.jsx)("div",{className:"author-info",children:(0,D.jsxs)(aL.x,{variant:"uiLabelSmall",children:[_," ",(0,D.jsx)(JM,{href:v.url,children:v.name})]})}),$&&v&&(S&&U||E&&N)&&(0,D.jsx)("div",{className:"hidden sm:block opacity-50 text-sm",children:"â¢"}),S&&U&&(0,D.jsx)("div",{className:"last-updated",children:(0,D.jsxs)(aL.x,{variant:"uiLabelSmall",children:[C,": ",U]})}),S&&U&&E&&N&&(0,D.jsx)("div",{className:"hidden sm:block opacity-50 text-sm",children:"â¢"}),E&&N>0&&(0,D.jsx)("div",{className:"reading-time",children:(0,D.jsxs)(aL.x,{variant:"uiLabelSmall",children:[String(N)," ",String(j)]})})]})})]})})},"category-articles-section":J6,"blog-articles-section":e=>(0,D.jsx)(GF,{client:Yg,children:(0,D.jsx)(Yv,{...e})}),"article-author":e=>{var t,r,o,i,l,s;let{blok:d,author:c}=e,{author:u,layout_variant:p="condensed"}=d,f,m;try{f=KK(),m=Kq()}catch(e){f={author:"Author"},m={}}let h=(null==f?void 0:f.author)||"Author",g=K3(),v=c||u||g,y=(0,h5.mi)({design:d.design}),b=(0,h5.qm)(y),x=(0,h7.N)((null==y?void 0:y.surface_spacing)||{s:{mt:"m",pt:"m",pb:"m",pl:"m",pr:"m"}});if(!v)return null;let w=null==b?void 0:b.order,k=null==b?void 0:b.text_color,_=(null==b?void 0:b.title_variant)||"uiLabelSmallBold",C=(null==b?void 0:b.name_variant)||"header4",$=(null==b?void 0:b.name_element)||"h2",S=(null==b?void 0:b.bio_variant)||"bodySmall",E=(null==b?void 0:b.role_variant)||"bodySmall",j=(null==b?void 0:b.image_border_radius)||(null==m?void 0:m.author_image_border_radius)||"full",N={"--color-system-text-default":null==b?void 0:null===(r=b.surface_text_color)||void 0===r?void 0:null===(t=r.selected)||void 0===t?void 0:t.value,"--color-system-surface-default":null==b?void 0:null===(i=b.surface_background_color)||void 0===i?void 0:null===(o=i.selected)||void 0===o?void 0:o.value,"--color-system-stroke-weak":null==b?void 0:null===(s=b.surface_outline_color)||void 0===s?void 0:null===(l=s.selected)||void 0===l?void 0:l.value},{container:T,extendedContent:P,condensedContent:A,extendedAvatar:O,condensedAvatar:R,extendedSocialLinks:M,condensedSocialLinks:L}=(0,B.tv)(JD)(),I={content:"extended"===p?P():A(),avatar:"extended"===p?O():R(),socialLinks:"extended"===p?M():L()};return(0,D.jsx)(wu.T,{...(0,ha.LF)(d),className:(0,F.cn)(T(),x,d.custom_classname),variant:(null==b?void 0:b.surface_variant)||(null==m?void 0:m.author_surface_variant),radius:(null==b?void 0:b.surface_border_radius)||(null==m?void 0:m.author_surface_border_radius),style:{order:w,containerType:"inline-size",...N},"aria-labelledby":"author-section-title",itemScope:!0,itemType:"https://schema.org/Person",children:(0,D.jsx)(J5,{author:v,title:h,layoutClasses:I,textColor:k,titleVariant:_,nameVariant:C,nameElement:$,bioVariant:S,roleVariant:E,imageBorderRadius:j})})},"author-image":yx,"article-breadcrumbs":e=>{var t,r;let{blok:o}=e,{breadcrumbs:i=[]}=o,l=KW(),s=l.translations,d=K5(o.design),c=(0,h7.N)(null==d?void 0:d.spacing);if(!i||0===i.length)return null;let u=null==d?void 0:d.order,p=null===(r=null==l?void 0:null===(t=l.general)||void 0===t?void 0:t.show_home_breadcrumb)||void 0===r||r,f=s.home||"Home",m=[...p?[{label:f,url:"/"}]:[],...i],h=(0,W9.n)(),g=m.map(e=>({...e,url:h?h(e.url):e.url}));return(0,D.jsx)("div",{...(0,ha.LF)(o),className:"article-breadcrumbs ".concat(c," ").concat(o.custom_classname||""),style:{order:u},children:(0,D.jsx)(qv,{children:g.map((e,t)=>(0,D.jsx)(qb,{link:e.url,children:e.label},t))})})},author:e=>{var t;let{blok:r,seoTitle:o,seoDescription:i,articles:l,customSchema:s}=e,d={name:"".concat(r.first_name||""," ").concat(r.last_name||"").trim(),uuid:"",slug:r.slug||"",url:"",bio:r.bio,role:r.role,profile_image:r.profile_image,social_links:r.social_links};
50return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(JA,{seoTitle:o,seoDescription:i,articles:l,customSchema:s}),(0,D.jsx)(K2,{author:d,children:(0,D.jsx)("div",{className:"author-page-content",children:null===(t=r.body)||void 0===t?void 0:t.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})})]})},"author-articles-section":J6};var QH=function(){try{if("undefined"!=typeof window&&"undefined"!=typeof document){var e={getLinkInstances:function(e,t){return e.filter(function(e){return e===t}).length},addOnClickAttributes:function(){for(var e=this.dataRegionsValues,t=0;t<e.length;t++){var r=e[t],o=document.querySelectorAll('[data-clickregion="'+r+'"]')[0];if(o){var i,l,s=o.getElementsByTagName("a"),d=o.querySelectorAll("[data-info]:not(a)");if(s&&s.length)for(var c=0;c<s.length;c++){var u=(i=s[c]).getAttribute("href");this.getLinks().push(u);var p=r+":"+r;(l=i.closest("[data-clicksubregion]"))&&(p=r+":"+l.getAttribute("data-clicksubregion")),i.setAttribute("data-clicklabel",p)}if(d&&d.length)for(var f=0;f<d.length;f++)u=(i=d[f]).getAttribute("href"),p=r+":"+r,(l=i.closest("[data-clicksubregion]"))&&(p=r+":"+l.getAttribute("data-clicksubregion")),i.setAttribute("data-clicklabel",p)}}},getLinks:function(){return this.links},getDataRegionsValues:function(){for(var e=this.dataRegions,t=[],r=0;r<e.length;r++){var o=e[r];t.push(o.getAttribute("data-clickregion"))}return t},isClickMapActive:function(){for(var e=!1,t=this.dataRegions,r=0;r<t.length;r++){var o=t[r];(o.dataset&&"true"==o.dataset.clickmapactive||o.dataset&&"1"==o.dataset.clickmapactive)&&(e=!0)}return e},init:function(){this.links=[],this.dataRegions=document.querySelectorAll("[data-clickregion]"),this.dataRegionsValues=this.getDataRegionsValues(),this.addOnClickAttributes()}};window&&!window.EFClickMapActivator&&(window.EFClickMapActivator=e),e.init()}}catch(e){"undefined"!=typeof console&&(console.info("[CLICKMAP] Click Map Activator was not able to add click events"),console.error(e))}};class QU extends I.Component{componentDidMount(){QH()}componentDidUpdate(){QH()}render(){return null}}var QZ=r(11967),QW=r.n(QZ),QK=r(82687),Qq=r.n(QK),QG=r(15718),QJ=r.n(QG);let QY="#E01272",QX={"--header-logo-fill":QY,"--header-primary":QY,"--color-system-text-selected-default":QY,"--color-system-surface-selected-weak":"color-mix(in srgb, ".concat(QY," 10%, white)")},QQ=e=>{var t,r,o;let{settings:i,overrideHeader:l=!1,headerOverride:s}=e,d=(0,xF.useRouter)(),{locale:c}=(0,xB.b)();(0,I.useEffect)(()=>{let e=window.setTimeout(()=>{var e;null===(e=window.EFClickMapActivator)||void 0===e||e.init()},0);return()=>window.clearTimeout(e)},[]);let u=l&&s?null==s?void 0:s.content:null==i?void 0:null===(t=i.default_header)||void 0===t?void 0:t.content,p=(l&&s||(null==i?void 0:i.default_header))&&!(l&&!s),f=!(null==u?void 0:null===(r=u.nav_links)||void 0===r?void 0:r.length)&&!(null==u?void 0:null===(o=u.cta_links)||void 0===o?void 0:o.length),m=d.asPath.split("?")[0],h="default"===c?m:"/".concat(c).concat(m.replace(new RegExp("^/".concat(c)),""));return p?(0,D.jsx)(vT,{style:QX,className:f?QJ().nonNavigational:void 0,blok:u,mainContentId:"main",currentSegment:h,renderCustomLink:e=>{var t;return(0,D.jsx)(b9(),{passHref:!0,legacyBehavior:!0,href:(0,xL.v0)(null!==(t=e.href)&&void 0!==t?t:"",c),children:(0,D.jsx)("a",{...e})})}}):null};QQ.displayName="HeaderSB";var Q0=r(53592),Q1=r.n(Q0);let Q2=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm66.59-84.36a12,12,0,0,1-16.24,4.93,106.7,106.7,0,0,0-100.7,0A11.83,11.83,0,0,1,72,134a12,12,0,0,1-5.66-22.58,130.61,130.61,0,0,1,123.3,0A12,12,0,0,1,194.59,127.64Zm-16,36a12,12,0,0,1-16.23,5,73,73,0,0,0-68.72,0,12,12,0,0,1-11.28-21.18,97,97,0,0,1,91.28,0A12,12,0,0,1,178.59,163.64Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm31.07-46.26a8,8,0,0,1-10.81,3.33,42.79,42.79,0,0,0-40.52,0,8,8,0,0,1-7.48-14.14,59.33,59.33,0,0,1,55.48,0A8,8,0,0,1,159.07,169.74Zm32-56a8,8,0,0,1-10.83,3.29,110.62,110.
5062,0,0,0-104.46,0,8,8,0,0,1-7.54-14.12,126.67,126.67,0,0,1,119.54,0A8,8,0,0,1,191.06,113.76Zm-16,28a8,8,0,0,1-10.82,3.3,77.07,77.07,0,0,0-72.48,0,8,8,0,0,1-7.52-14.12,93,93,0,0,1,87.52,0A8,8,0,0,1,175.06,141.76Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm31.07,145.74a8,8,0,0,1-10.81,3.33,42.79,42.79,0,0,0-40.52,0,8,8,0,0,1-7.48-14.14,59.33,59.33,0,0,1,55.48,0A8,8,0,0,1,159.07,169.74Zm16-28a8,8,0,0,1-10.82,3.3,77.07,77.07,0,0,0-72.48,0,8,8,0,0,1-7.52-14.12,93,93,0,0,1,87.52,0A8,8,0,0,1,175.06,141.76Zm16-28a8,8,0,0,1-10.83,3.29,110.62,110.62,0,0,0-104.46,0,8,8,0,0,1-7.54-14.12,126.67,126.67,0,0,1,119.54,0A8,8,0,0,1,191.06,113.76Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm29.31-49.2a6,6,0,0,1-8.11,2.51,44.75,44.75,0,0,0-42.4,0,6,6,0,1,1-5.6-10.62,57.37,57.37,0,0,1,53.6,0A6,6,0,0,1,157.31,168.8Zm32-56a6,6,0,0,1-8.12,2.46,112.67,112.67,0,0,0-106.34,0,6,6,0,1,1-5.66-10.58,124.65,124.65,0,0,1,117.66,0A6,6,0,0,1,189.29,112.82Zm-16,28A6,6,0,0,1,168,144a6.07,6.07,0,0,1-2.82-.7,79,79,0,0,0-74.36,0,6,6,0,1,1-5.64-10.6,91,91,0,0,1,85.64,0A6,6,0,0,1,173.3,140.82Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm31.07-46.26a8,8,0,0,1-10.81,3.33,42.79,42.79,0,0,0-40.52,0,8,8,0,0,1-7.48-14.14,59.33,59.33,0,0,1,55.48,0A8,8,0,0,1,159.07,169.74Zm32-56a8,8,0,0,1-10.83,3.29,110.62,110.62,0,0,0-104.46,0,8,8,0,0,1-7.54-14.12,126.67,126.67,0,0,1,119.54,0A8,8,0,0,1,191.06,113.76Zm-16,28a8,8,0,0,1-10.82,3.3,77,77,0,0,0-72.48,0,8,8,0,0,1-7.52-14.12,93,93,0,0,1,87.52,0A8,8,0,0,1,175.06,141.76Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm27.54-52.13a4,4,0,0,1-5.41,1.67,46.73,46.73,0,0,0-44.26,0A4.07,4.07,0,0,1,104,170a4,4,0,0,1-1.87-7.54,55.39,55.39,0,0,1,51.74,0A4,4,0,0,1,155.54,167.87Zm32-56a4,4,0,0,1-5.41,1.65,114.67,114.67,0,0,0-108.24,0,4,4,0,0,1-3.76-7.06,122.65,122.65,0,0,1,115.76,0A4,4,0,0,1,187.53,111.87Zm-16,28a4,4,0,0,1-5.41,1.65,81,81,0,0,0-76.24,0,4,4,0,0,1-3.76-7.06,89,89,0,0,1,83.76,0A4,4,0,0,1,171.53,139.88Z"}))]]),Q3=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:Q2}));Q3.displayName="SpotifyLogoIcon";let Q4=e=>{let{instagram:t,tiktok:r,facebook:o,youtube:i,spotify:l,isClickable:s}=e;return s?Q1().socialLinksUnclickable:Q1().socialLinksClickable,(0,D.jsxs)("div",{className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),children:[o&&(0,D.jsx)("a",{href:(0,xL.I)(o),target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook page",className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),"data-info":"fb",children:(0,D.jsx)(zV,{})}),t&&(0,D.jsx)("a",{href:(0,xL.I)(t),target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram page",className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),"data-info":"ig",children:(0,D.jsx)(zz,{})}),r&&(0,D.jsx)("a",{href:(0,xL.I)(r),target:"_blank",rel:"noopener noreferrer","aria-label":"Tiktok page",className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),"data-info":"tt",children:(0,D.jsx)(zU,{})}),i&&(0,D.jsx)("a",{href:(0,xL.I)(i),target:"_blank",rel:"noopener noreferrer","aria-label":"Youtube page",className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),"data-info":"yt",children:(0,D.jsx)(zH,{})}),l&&(0,D.jsx)("a",{href:(0,xL.I)(l),target:"_blank",rel:"noopener noreferrer","aria-label":"Spotify page",className:(0,vP.Z)(Q1().socialLinks,Q1().socialLinksClickable),"data-info":"sp",children:(0,D.jsx)(Q3,{})})]})},Q6=e=>{let{title:t,content:r}=e;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(UQ.U,{className:"md:hidden",type:"multiple",children:(0,D.jsxs)(U0.Q,{value:"item",children:[(0,D.jsx)(U1.S,{className:(0,vP.W)(Q1().bgColorWhite),children:(0,D.jsx)(aL.x,{variant:"uiLabelSmallBold",as:"h5",className:Q1().bgColorWhite,children:t})}),(0,D.jsx)(U2._,{children:null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))})]})}),(0,D.jsxs)("div",{className:"hidden md:block",children:[(0,D.jsx)(aL.x,{variant:"uiLabelSmallBold",as:"h5",className:"mb-xs",children:t}),(0,D.jsx)(i7,{className:"dark ".concat((0,vP.W)(Q1().footerDivi
50der,"mt-s","mb-s"))}),null==r?void 0:r.map(e=>(0,D.jsx)(ha.Xj,{blok:e},e._uid))]})]})};Q6.displayName="FooterGroup";let Q8=(e,t)=>null==e?void 0:e.map(e=>{var r;let o=null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.map(e=>{var r;let o=null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.filter(e=>{var r,o,i;return t.includes(null==e?void 0:null===(i=e.link)||void 0===i?void 0:null===(o=i.cached_url)||void 0===o?void 0:null===(r=o.replace(/^\/[^\/]*\//,""))||void 0===r?void 0:r.replace(/^\//,""))});return{...e,content:o}});return{...e,content:o}}),Q9=e=>{let{links:t,copyright:r,minimalFooter:o,isLgOrLarger:i,isMdOrLarger:l}=e,s=o?Q8(t,["privacy-policy","terms-of-use"]):t;return(0,D.jsxs)(wW.k,{direction:l?"row":"column",align:"center",justify:i?"flex-end":"center",gap:"l",className:(0,vP.W)(Q1().footerTerms,"flex-grow"),children:[s&&(null==s?void 0:s.map(e=>(0,D.jsx)(wK.B,{children:(0,D.jsx)(ha.Xj,{blok:e})},e._uid))),(0,D.jsx)(wK.B,{children:(0,D.jsxs)(aL.x,{className:"md:text-small-print",variant:"uiLabelSmall",children:["\xa9 ",new Date().getFullYear()," ",r]})})]})};Q9.displayName="FooterTerms";let Q5=e=>{let{minimalFooter:t}=e,{settings:r}=(0,I.useContext)(Zn),{breakpoint:o}=(0,ib.G)(),i="s"!==o,l="s"!==o&&"m"!==o,s=WB(null==r?void 0:r.playStoreLink),d=WB(null==r?void 0:r.appStoreLink);return r?(0,D.jsx)("footer",{className:(0,vP.W)(Q1().footer,"pt-l","pb-xxl","lg:pt-l","lg:pb-xxl"),"data-clickregion":"global-footer",children:(0,D.jsxs)(yE.r,{className:Q1().footerGrid,children:[(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"]},"data-clicksubregion":"top-section",children:(0,D.jsxs)(wW.k,{direction:"row",gap:"m",align:"center",justify:i?"space-between":"center",children:[(0,D.jsx)(wK.B,{children:(0,D.jsx)(vR(),{alt:"cultural care au pair logo",width:142,height:24,loading:"lazy",loader:e=>{let{src:t}=e;return t},src:"/ccap-logo.svg"})}),(0,D.jsx)(wK.B,{className:"hidden md:block",children:(0,D.jsx)(Q4,{instagram:null==r?void 0:r.instagram,facebook:null==r?void 0:r.facebook,tiktok:null==r?void 0:r.tiktok,youtube:null==r?void 0:r.youtube,spotify:null==r?void 0:r.spotify,isClickable:t})})]})}),!t&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"],m:["main-start","col-6-end"],l:["col-1-start","col-3-end"]},className:"mt-m md:mt-xxl","data-clicksubregion":"main-section-1",children:(0,D.jsx)(Q6,{title:null==r?void 0:r.footer_group_1_title,content:null==r?void 0:r.footer_group_1_content})}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"],m:["col-7-start","main-end"],l:["col-4-start","col-6-end"]},className:(0,vP.W)(Q1().linksWithoutUnderline,"mt-l md:mt-xxl"),"data-clicksubregion":"main-section-2",children:(0,D.jsx)(Q6,{title:null==r?void 0:r.footer_group_2_title,content:null==r?void 0:r.footer_group_2_content})}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"],m:["main-start","col-6-end"],l:["col-7-start","col-9-end"]},className:(0,vP.W)(Q1().linksWithoutUnderline,"mt-l md:mt-xxl"),"data-clicksubregion":"main-section-3",children:(0,D.jsx)(Q6,{title:null==r?void 0:r.footer_group_3_title,content:null==r?void 0:r.footer_group_3_content})}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"],m:["col-7-start","main-end"],l:["col-10-start","col-12-end"]},className:"mt-l md:mt-xxl","data-clicksubregion":"main-section-4",children:(0,D.jsx)(Q6,{title:null==r?void 0:r.footer_group_4_title,content:null==r?void 0:r.footer_group_4_content})})]}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"]},className:"block md:hidden mt-l",children:(0,D.jsx)(wW.k,{direction:"row",gap:"m",align:"center",justify:i?"space-between":"center","data-clicksubregion":"main-section-5",children:(0,D.jsx)(wK.B,{children:(0,D.jsx)(Q4,{instagram:null==r?void 0:r.instagram,facebook:null==r?void 0:r.facebook,tiktok:null==r?void 0:r.tiktok,youtube:null==r?void 0:r.youtube,spotify:null==r?void 0:r.spotify,isClickable:t})})})}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"]},className:(0,vP.W)("hidden md:block","mt-l"),children:(0,D.jsx)(i7,{})}),(0,D.jsx)(vD.c,{column:{s:["main-start","main-end"]},className:(0,vP.W)(Q1().terms,"mt-l"),"data-clicksubregion":"bottom-section",children:(0,D.jsxs)(wW.k,{direction:l?"row":"column",align:l?"flex-start":i?"center":"flex-start",justify:l?"space-between":"center",gap:"l",className:"lg:flex-row md:",children:[(0,D.jsxs)(wW.k,{direction:"row",gap:"xs",justify:l?"flex-start":"center",className:(0,vP.W)(Q1().iconWidthSmall,"flex-shrink"),
50children:[(0,D.jsx)("a",{href:s,target:"_blank","data-info":"android",children:(0,D.jsx)(vR(),{width:131,height:40,loading:"lazy",src:"/play-store.svg",loader:e=>{let{src:t}=e;return t},alt:"Play store"})}),(0,D.jsx)("a",{href:d,target:"_blank","data-info":"ios",children:(0,D.jsx)(vR(),{width:131,height:40,loading:"lazy",src:"/app-store.svg",loader:e=>{let{src:t}=e;return t},alt:"App store"})})]}),(0,D.jsx)(i7,{className:"block md:hidden"}),(0,D.jsx)(Q9,{copyright:null==r?void 0:r.footer_copyright_text,links:null==r?void 0:r.footer_terms_links,minimalFooter:t,isLgOrLarger:l,isMdOrLarger:i})]})})]})}):null};Q5.displayName="Footer";let Q7=new Map([["bold",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,76H188V48a20,20,0,0,0-20-20H40A20,20,0,0,0,20,48V176a12,12,0,0,0,19.54,9.33l28.46-23V184a20,20,0,0,0,20,20h92.17l36.29,29.33A12,12,0,0,0,236,224V96A20,20,0,0,0,216,76ZM44,150.87V52H164v80H71.58A12,12,0,0,0,64,134.67Zm168,48-20-16.2a12,12,0,0,0-7.54-2.67H92V156h76a20,20,0,0,0,20-20V100h24Z"}))],["duotone",I.createElement(I.Fragment,null,I.createElement("path",{d:"M224,96V224l-39.58-32H88a8,8,0,0,1-8-8V144h88a8,8,0,0,0,8-8V88h40A8,8,0,0,1,224,96Z",opacity:"0.2"}),I.createElement("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"}))],["fill",I.createElement(I.Fragment,null,I.createElement("path",{d:"M232,96a16,16,0,0,0-16-16H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8Zm-42.55,89.78a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32V207.25Z"}))],["light",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,82H182V48a14,14,0,0,0-14-14H40A14,14,0,0,0,26,48V176a6,6,0,0,0,3.42,5.41A5.86,5.86,0,0,0,32,182a6,6,0,0,0,3.77-1.33L73.71,150H74v34a14,14,0,0,0,14,14h94.29l37.94,30.67A6,6,0,0,0,224,230a5.86,5.86,0,0,0,2.58-.59A6,6,0,0,0,230,224V96A14,14,0,0,0,216,82ZM71.58,138a6,6,0,0,0-3.77,1.33L38,163.43V48a2,2,0,0,1,2-2H168a2,2,0,0,1,2,2v88a2,2,0,0,1-2,2ZM218,211.43l-29.81-24.1a6,6,0,0,0-3.77-1.33H88a2,2,0,0,1-2-2V150h82a14,14,0,0,0,14-14V94h34a2,2,0,0,1,2,2Z"}))],["regular",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,80H184V48a16,16,0,0,0-16-16H40A16,16,0,0,0,24,48V176a8,8,0,0,0,13,6.22L72,154V184a16,16,0,0,0,16,16h93.59L219,230.22a8,8,0,0,0,5,1.78,8,8,0,0,0,8-8V96A16,16,0,0,0,216,80ZM66.55,137.78,40,159.25V48H168v88H71.58A8,8,0,0,0,66.55,137.78ZM216,207.25l-26.55-21.47a8,8,0,0,0-5-1.78H88V152h80a16,16,0,0,0,16-16V96h32Z"}))],["thin",I.createElement(I.Fragment,null,I.createElement("path",{d:"M216,84H180V48a12,12,0,0,0-12-12H40A12,12,0,0,0,28,48V176a4,4,0,0,0,4,4,4,4,0,0,0,2.51-.89L73,148h3v36a12,12,0,0,0,12,12h95l38.49,31.11A4,4,0,0,0,224,228a4,4,0,0,0,4-4V96A12,12,0,0,0,216,84ZM71.58,140a4,4,0,0,0-2.51.89L36,167.62V48a4,4,0,0,1,4-4H168a4,4,0,0,1,4,4v88a4,4,0,0,1-4,4ZM220,215.62l-33.07-26.73a4,4,0,0,0-2.51-.89H88a4,4,0,0,1-4-4V148h84a12,12,0,0,0,12-12V92h36a4,4,0,0,1,4,4Z"}))]]),eee=I.forwardRef((e,t)=>I.createElement(Mt,{ref:t,...e,weights:Q7}));eee.displayName="ChatsIcon";let eet=[{pattern:"hosting an au pair",screen:"welcome",question:"welcome_message"},{pattern:(e,t)=>!!e.includes("already a member of the cultural care")&&Array.from(t.values()).map(e=>e.toLowerCase()).some(e=>"not yet"===e),screen:"looking-to-host",question:"member_check"},{pattern:(e,t)=>!!e.includes("already a member of the cultural care")&&!Array.from(t.values()).map(e=>e.toLowerCase()).some(e=>"not yet"===e),screen:"not-looking-to-host",question:"member_check"},{pattern:"how you're connected to our community",screen:"existing-member",question:"member_type"},{pattern:"chat with a member of our team to learn more about becoming a host family",screen:"prospective-host",question:"chat_with_member"}],een=[{pattern:e=>"yes"===e,normalized:"yes"},{pattern:e=>"no"===e,normalized:"no"},{pattern:e=>"not yet"===e,normalized:"not-yet"},{pattern:"yes please",normalized:"yes"},{pattern:"no thanks",normalized:"no"},{pattern:"not sure",normalized:"not sure"},{pattern:"maybe",normalized:"not sure"},{pattern:"would like to become an au pair",normalized:"no-aupair-intent"},{pattern:"yes, i am a current host family",normalized:"yes-host-family"},{pattern:"yes, i am a local childcare consultant",normalized:"yes-child-consultant"},{pattern:"yes, i am an au pair",normalized:"yes-aupair"},{pattern:"i am a local childcare consultant",normalized:"child-consultant"},{pattern:"i am a current host family",normalized:"host-family"},{pattern:"i am a current au pair",normalized:"aupair"}],eer=(e,t)=>{let r=e.toLowerCase();for(let e of eet)if("function"==typeof e.pattern?e.pattern(r,t):r.includes(e.pattern))return{screen:e.screen,question:e.question};return null},eea=e=>{let t=e.toLowerCase();for(let e of een)if("function"==typeof e.pattern?e.pattern(t):t.includes(e.pattern))return e.normalized;return e.toLowerCase().replace(/\s+/g,"-")},eeo=(e,t,r,o)=>{window.dataLayer=window.dataLayer||[];let i={event:"chat_interaction",funnel_action:e,funnel_screen:t};r&&(i.funnel_question=r),o&&(i.funnel_choice=o),console.log("Chat Tracking Event:",i),window.dataLayer.push(i)};class eei{set(e,t){this.store.set(e,t)}get(e){return this.store.get(e)}clear(){this.store.clear()}constructor(){this.store=new Map}}let eel=new eei,ees=e=>{let t=document.getElementById("embeddedMessagingFrame");(null==t?void 0:t.contentWindow)&&t.contentWindow.postMessage(e?"InputDisable":"InputEnable","*")},eed=e=>{let{abstractMessage:t}=e;if(!t.choices)return;let r=new Map;
50t.choices.optionItems.forEach(e=>{r.set(e.optionIdentifier,e.titleItem.title)}),eel.set(e.id,{text:t.choices.text,options:r}),ees(!0)},eec=e=>{let{abstractMessage:t}=e;if(!t.choicesResponse||!t.inReplyToMessageId)return;let r=eel.get(t.inReplyToMessageId);if(!r)return;let o=t.choicesResponse.selectedOptions[0],i=o.optionTitle||r.options.get(o.optionIdentifier)||"unknown",l=eer(r.text,r.options);if(l){let e=eea(i);eeo("user_interaction",l.screen,l.question,e),"welcome_message"===l.question&&eeo("user_engaged","welcome")}ees(!1)},eeu=e=>{let{abstractMessage:t}=e;if(!t.staticContent)return;let r=t.staticContent.text.toLowerCase();r.includes("thank you for scheduling a call with us")&&eeo("meeting_scheduled","prospective-host"),r.includes("checking to see")&&r.includes("available right now")&&eeo("connect_staff","transfer_to_agent"),r.includes("our team")&&r.includes("available to chat at the moment")&&eeo("create_meeting","transfer_to_agent"),r.includes("and what's your first name?")&&eeo("lead_created","lead-lookup-flow"),ees(!1)},eep=e=>{let t=e.detail;if(!(null==t?void 0:t.conversationEntry))return;let{sender:r,entryPayload:o}=t.conversationEntry;try{let e=JSON.parse(o),{abstractMessage:t}=e;if("Chatbot"===r.role&&"ChoicesMessage"===t.messageType){eed(e);return}if("Chatbot"===r.role&&"StaticContentMessage"===t.messageType){eeu(e);return}if("EndUser"===r.role&&"ChoicesResponseMessage"===t.messageType){eec(e);return}}catch(e){console.error("Error parsing message payload:",e)}},eef=e=>{let{buttonText:t="Want to save more? - Chat now!"}=e,[r,o]=(0,I.useState)(!1),[i,l]=(0,I.useState)(!1),[s,d]=(0,I.useState)(!1);(0,I.useEffect)(()=>{var e;let t=()=>{var e,t;o(!0),null===(t=window.embeddedservice_bootstrap)||void 0===t||null===(e=t.utilAPI)||void 0===e||e.hideChatButton()},r=()=>{d(!1),eeo("chat_close","chat_minimized")},i=()=>{eeo("chat_end","end_chat")},l=()=>{d(!1),eeo("chat_close","close_chat")};(null===(e=window.embeddedservice_bootstrap)||void 0===e?void 0:e.utilAPI)&&(o(!0),window.embeddedservice_bootstrap.utilAPI.hideChatButton()),window.addEventListener("onEmbeddedMessagingReady",t),window.addEventListener("onEmbeddedMessagingWindowMinimized",r),window.addEventListener("onEmbeddedMessagingWindowClosed",l),window.addEventListener("onEmbeddedMessagingConversationClosed",i),window.addEventListener("onEmbeddedMessageSent",eep);let s=setInterval(()=>{var e;(null===(e=window.embeddedservice_bootstrap)||void 0===e?void 0:e.utilAPI)&&(o(!0),clearInterval(s))},500),c=setTimeout(()=>{clearInterval(s)},1e4);return()=>{window.removeEventListener("onEmbeddedMessagingReady",t),window.removeEventListener("onEmbeddedMessagingWindowMinimized",r),window.removeEventListener("onEmbeddedMessagingWindowClosed",l),window.removeEventListener("onEmbeddedMessagingConversationClosed",i),window.removeEventListener("onEmbeddedMessageSent",eep),clearInterval(s),clearTimeout(c)}},[]);let c=(0,I.useCallback)(async()=>{if(r&&!i){l(!0);try{await window.embeddedservice_bootstrap.utilAPI.launchChat(),d(!0),eeo("chat_open","welcome")}catch(e){console.error("Error launching Salesforce chat:",e)}finally{l(!1)}}},[r,i]);return!r||s?null:(0,D.jsxs)("button",{className:"fixed bottom-4 right-4 z-[9999] flex items-center gap-2 p-3.5 rounded-full md:bottom-6 md:right-6 md:px-5 md:py-3 md:rounded-3xl bg-[var(--color-brand-primary)] text-white border-none text-sm font-semibold leading-tight cursor-pointer shadow-lg transition-all duration-200 hover:scale-105 hover:shadow-xl active:scale-100 focus:outline focus:outline-2 focus:outline-white focus:outline-offset-2 disabled:opacity-70 disabled:cursor-not-allowed disabled:scale-100",onClick:c,disabled:i,"aria-label":t,type:"button",children:[(0,D.jsx)("span",{className:"hidden md:inline whitespace-nowrap",children:t}),(0,D.jsx)("span",{className:"flex items-center justify-center flex-shrink-0","aria-hidden":"true",children:(0,D.jsx)(eee,{size:32})})]})};eef.displayName="ChatBot";let eem=e=>{},eeh=L()(()=>Promise.all([r.e(8131),r.e(2917)]).then(r.bind(r,92917)).then(e=>e.StatusOverlay),{loadableGenerated:{webpack:()=>[92917]},ssr:!1}),eeg=e=>{var t;let{children:r,settings:o,preview:i,layout:l,showChatBot:s}=e,d=(0,vP.Z)("ef-layout",QW().layout,Qq().theme);return eem(null==o?void 0:null===(t=o.theme)||void 0===t?void 0:t.selected),(0,D.jsx)(Zr,{settings:o,children:(0,D.jsx)("div",{className:d,children:(0,D.jsxs)("div",{id:"tooltip-container",children:[!(null==l?void 0:l.hideHeader)&&(0,D.jsx)(QQ,{settings:o,overrideHeader:null==l?void 0:l.overrideHeader,headerOverride:null==l?void 0:l.headerOverride}),i?(0,D.jsx)(eeh,{}):null,(0,D.jsx)("main",{id:"main","data-clickregion":"main",children:r}),s&&(0,D.jsx)(eef,{buttonText:null==o?void 0:o.chatbotLabel}),(0,D.jsx)(Q5,{minimalFooter:l.minimalFooter})]})})})};eeg.displayName="Layout";var eev=r(82944);let eey="hf"===r(84477).L?"en-US":"en",eeb=e=>{if(!e||"default"===e)return eey;let t=e.split("-");return 2===t.length?"".concat(t[0].toLowerCase(),"-").concat(t[1].toUpperCase()):e.toLowerCase()},eex=e=>e&&"default"!==e?eeb(e).replace("-","_"):"en_US",eew=e=>{var t,r,o,i,l,s,d;let{story:c,locale:u,seo:p,vanityName:f,slug:m,routerPath:h}=e,g=(0,xL.h7)(xI.Q,u),v="".concat(g),y=!1,b=null==m?void 0:m.includes(eev.P);if((null==c?void 0:null===(t=c.content)||void 0===t?void 0:t.component)==="article"&&(null==p?void 0:p.seo)&&(p.seo={...p.seo,title:(null==c?void 0:null===(i=c.content)||void 0===i?void 0:i.list_title)||"",description:(null==c?void 0:null===(l=c.content)||void 0===l?void 0:l.list_description)||""}),((null==c?void 0:null===(r=c.content)||void 0===r?void 0:r.component)==="category"||(null==c?void 0:null===(o=c.content)||void 0===o?void 0:o.component)==="blog")&&(null==p?void 0:p.seo)){let e=(null==h?void 0:h.split("/").filter(
50Boolean))||[],t=parseInt(e[e.length-1],10);if(!isNaN(t)&&t>1){if(p.seo.title&&!p.seo.title.includes("Page ".concat(t))){let e=p.seo.title.split("|");e.length>1?(e.splice(1,0," Page ".concat(t," ")),p.seo.title=e.join("|")):p.seo.title="".concat(p.seo.title," | Page ").concat(t)}p.seo.description&&!p.seo.description.includes("Page ".concat(t," of our latest blog posts"))&&(p.seo.description="".concat(p.seo.description," Page ").concat(t," of our latest blog posts."))}}let x=null;return b?v=(x=eek({canonicalUrl:v,locale:u,seo:p,story:c,vanityName:f})).canonicalUrl:(v="".concat((0,xL.I)(v)).concat(m),"home"===m&&(v=g,y=!0)),v.endsWith("/")||(v="".concat(v,"/")),y&&p&&(p={...p,seo:{...p.seo,canonical:{...null===(s=p.seo)||void 0===s?void 0:s.canonical,url:v}}}),{seoStory:null!==(d=null==x?void 0:x.seoStory)&&void 0!==d?d:c,seo:p,canonicalUrl:v,isLccTempalte:b,openGraph:b?null==x?void 0:x.openGraph:null}},eek=e=>{var t,r,o,i,l;let{canonicalUrl:s,locale:d,seo:c,story:u,vanityName:p}=e;return s="".concat(s,"/lcc/").concat(p),{seoStory:{...u,full_slug:""},canonicalUrl:s,openGraph:{type:"website",locale:eex(d),url:s,title:c.seo.og_title,description:c.seo.og_description,images:[{url:"".concat((null==c?void 0:null===(t=c.seo)||void 0===t?void 0:t.og_image)||(null==c?void 0:null===(r=c.defaultSeo)||void 0===r?void 0:r.og_image)||""),width:1200,height:630,alt:null!==(l=null==u?void 0:null===(i=u.content)||void 0===i?void 0:null===(o=i.article_image)||void 0===o?void 0:o.alt)&&void 0!==l?l:"",type:"image/jpeg"}]}}},ee_=async(e,t)=>{if(!HX.yv){let o=await Promise.all([r.e(209),r.e(6091)]).then(r.t.bind(r,26091,23)).then(e=>e.default),i=await Promise.resolve().then(r.t.bind(r,73935,19));await o(e,i,1e3,t)}},eeC=e=>{if(!e)return"www.googletagmanager.com";let t=e.split("/")[0].replace(/^[^.]+\.(?=.*culturalcare)/,"");return"sgtm.".concat(t)},ee$=e=>{var t,r,o,i,l;return(null===(t=window.location)||void 0===t?void 0:t.hostname)?window.location.hostname:e&&(null===xI.Q||void 0===xI.Q?void 0:null===(o=xI.Q.locales)||void 0===o?void 0:null===(r=o[e])||void 0===r?void 0:r.domain)?xI.Q.locales[e].domain:(null===xI.Q||void 0===xI.Q?void 0:null===(l=xI.Q.locales)||void 0===l?void 0:null===(i=l.default)||void 0===i?void 0:i.domain)?xI.Q.locales.default.domain:""},eeS=e=>eeC(ee$(e));r(80215),r(68256);var eeE=r(73998);function eej(){return(eej=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function eeN(e,t){if(null==e)return{};var r,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(i[r]=e[r]);return i}var eeT=["keyOverride"],eeP=["crossOrigin"],eeA={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},eeO=function(e,t,r){void 0===t&&(t=[]);var o=void 0===r?{}:r,i=o.defaultWidth,l=o.defaultHeight;return t.reduce(function(t,r,o){return t.push(I.createElement("meta",{key:"og:"+e+":0"+o,property:"og:"+e,content:r.url})),r.alt&&t.push(I.createElement("meta",{key:"og:"+e+":alt0"+o,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&t.push(I.createElement("meta",{key:"og:"+e+":secure_url0"+o,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&t.push(I.createElement("meta",{key:"og:"+e+":type0"+o,property:"og:"+e+":type",content:r.type.toString()})),r.width?t.push(I.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:r.width.toString()})):i&&t.push(I.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:i.toString()})),r.height?t.push(I.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:r.height.toString()})):l&&t.push(I.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:l.toString()})),t},[])},eeR=function(e){var t,r,o,i,l,s=[];e.titleTemplate&&(eeA.templateTitle=e.titleTemplate);var d="";e.title?(d=e.title,eeA.templateTitle&&(d=eeA.templateTitle.replace(/%s/g,function(){return d}))):e.defaultTitle&&(d=e.defaultTitle),d&&s.push(I.createElement("title",{key:"title"},d));var c=void 0===e.noindex?eeA.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?eeA.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,p="";if(e.robotsProps){var f=e.robotsProps,m=f.nosnippet,h=f.maxSnippet,g=f.maxImagePreview,v=f.maxVideoPreview,y=f.noarchive,b=f.
50noimageindex,x=f.notranslate,w=f.unavailableAfter;p=(m?",nosnippet":"")+(h?",max-snippet:"+h:"")+(g?",max-image-preview:"+g:"")+(y?",noarchive":"")+(w?",unavailable_after:"+w:"")+(b?",noimageindex":"")+(v?",max-video-preview:"+v:"")+(x?",notranslate":"")}if(c||u?(e.dangerouslySetAllPagesToNoIndex&&(eeA.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(eeA.nofollow=!0),s.push(I.createElement("meta",{key:"robots",name:"robots",content:(c?"noindex":"index")+","+(u?"nofollow":"follow")+p}))):s.push(I.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+p})),e.description&&s.push(I.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&s.push(I.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&s.push(I.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){s.push(I.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&s.push(I.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&s.push(I.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&s.push(I.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&s.push(I.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||d)&&s.push(I.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||d})),(null!=(r=e.openGraph)&&r.description||e.description)&&s.push(I.createElement("meta",{key:"og:description",property:"og:description",content:(null==(l=e.openGraph)?void 0:l.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&s.push(I.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var k=e.openGraph.type.toLowerCase();s.push(I.createElement("meta",{key:"og:type",property:"og:type",content:k})),"profile"===k&&e.openGraph.profile?(e.openGraph.profile.firstName&&s.push(I.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&s.push(I.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&s.push(I.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&s.push(I.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===k&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){s.push(I.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&s.push(I.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&s.push(I.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
50h(function(e,t){s.push(I.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===k&&e.openGraph.article?(e.openGraph.article.publishedTime&&s.push(I.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&s.push(I.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&s.push(I.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){s.push(I.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&s.push(I.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){s.push(I.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===k||"video.episode"===k||"video.tv_show"===k||"video.other"===k)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&s.push(I.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&s.push(I.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){s.push(I.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){s.push(I.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&s.push(I.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&s.push(I.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
50h(function(e,t){s.push(I.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&s.push(I.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(eeA.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(eeA.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&s.push.apply(s,eeO("image",e.openGraph.images,{defaultWidth:eeA.defaultOpenGraphImageWidth,defaultHeight:eeA.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(eeA.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(eeA.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&s.push.apply(s,eeO("video",e.openGraph.videos,{defaultWidth:eeA.defaultOpenGraphVideoWidth,defaultHeight:eeA.defaultOpenGraphVideoHeight})),e.openGraph.audio&&s.push.apply(s,eeO("audio",e.openGraph.audio)),e.openGraph.locale&&s.push(I.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&s.push(I.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&s.push(I.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,r,o=e.keyOverride,i=eeN(e,eeT);s.push(I.createElement("meta",eej({key:"meta:"+(null!=(t=null!=(r=null!=o?o:i.name)?r:i.property)?t:i.httpEquiv)},i)))}),null!=(o=e.additionalLinkTags)&&o.length&&e.additionalLinkTags.forEach(function(e){var t,r=e.crossOrigin,o=eeN(e,eeP);s.push(I.createElement("link",eej({key:"link"+(null!=(t=o.keyOverride)?t:o.href)+o.rel},o,{crossOrigin:"anonymous"===r||"use-credentials"===r||""===r?r:void 0})))}),s},eeD=function(e){return I.createElement(qu(),null,eeR(e))},eeM=function(e){var t=e.title,r=e.themeColor,o=e.noindex,i=e.nofollow,l=e.robotsProps,s=e.description,d=e.canonical,c=e.openGraph,u=e.facebook,p=e.twitter,f=e.additionalMetaTags,m=e.titleTemplate,h=e.defaultTitle,g=e.mobileAlternate,v=e.languageAlternates,y=e.additionalLinkTags;return I.createElement(I.Fragment,null,I.createElement(eeD,{title:t,themeColor:r,noindex:o,nofollow:i,robotsProps:l,description:s,canonical:d,facebook:u,openGraph:c,additionalMetaTags:f,twitter:p,titleTemplate:m,defaultTitle:h,mobileAlternate:g,languageAlternates:v,additionalLinkTags:y}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var eeL=({story:e,seo:t,locale:r,siteUrl:o="https://www.culturalcare.com",...i})=>{let l=(e="")=>{if(e)return`${o??""}/${e.replace(/^\//,"").replace(/\/$/,"")}/`},s=t?.seo?.description||e?.content?.subtitle||t?.defaultSeo?.description||t?.defaultSeo?.og_description||"",d=t?.defaultSeo?.title||t?.seo?.title||e?.name||void 0,c=`${t?.seo?.title||e?.name||""}${t?.defaultSeo?.og_title?` | ${t?.defaultSeo?.og_title}`:""}`,u=t?.seo?.canonical?.url||l(t?.seo?.canonical?.cached_url)||l(e?.full_slug);return I.createElement(eeM,{title:d,titleTemplate:"%s",defaultTitle:`${t?.defaultSeo?.og_title?` | ${t?.defaultSeo?.og_title}`:""}`,noindex:t?.seo?.no_index??!1,nofollow:t?.seo?.no_follow??!1,description:s,canonical:u,openGraph:{type:"website",locale:r??"en_US",url:u,title:c,description:s,images:[{url:`${t?.seo?.og_image||t?.defaultSeo.og_image||""}/m/1200x630/smart/filters:format(jpeg)`,width:1200,height:630,alt:e?.content?.article_image?.alt??"",type:"image/jpeg"}]},additionalLinkTags:[{rel:"icon",href:"/favicon.ico"},{rel:"icon",type:"image/svg+xml",href:"/icon.svg"},{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}],...i})};let eeI=e=>{if(!e||!e.expirationDate)return!1;let t=e.expirationDate.split(" ")[0];if(!t)return!1;let r=new Date;return"".concat(r.getFullYear(),"-").concat(String(r.getMonth()+1).padStart(2,"0"),"-").concat(String(r.getDate()).padStart(2,"0"))>t},eeF=e=>{var t;if(!e||"string"==typeof e)return null;let r=null!==(t=e.content)&&void 0!==t?t:null;return eeI(r)?null:r},eeB=(e,t)=>{var r;if(!e)return null;let o=Array.isArray(t)&&"lp"===t[0];return null!==(r=eeF(e.popupAllPages))&&void 0!==r?r:o?eeF(e.popupLpPages):eeF(e.popupNonLpPages)};ee_(I).catch(console.error);var eeV=e=>{var t,r,o,i,l,s;let{Component:d,pageProps:c}=e,{seo:u,locale:p,story:f,settings:m,preview:h,trustpilotReviews:g,trustpilot:v,googleReviews:y,infoMeetings:b,useGoogleMaps:x,lcc:w,reeler:k,schemaMarkup:_,hreflangAlternates:C,tags:$,vanityName:S,locations:E,referralInfo:j,slug:N,excludePopupModules:T}=c,P=null!==(l=null==f?void 0:null===(t=f.content)||void 0===t?void 0:t.minimal_footer)&&void 0!==l&&l,A=null!==(s=null==f?void 0:null===(r=f.content)||void 0===r?void 0:r.override_header)&&void 0!==s&&s,O=null==f?void 0:null===(o=f.content)||void 0===o?void 0:o.header,R=(null==f?void 0:null===(i=f.content)||void 0===i?void 0:i.component)===b5.Jd,M=(0,xF.useRouter)(),L=eeS(p);(0,eeE.oZ)({bridge:h,languageMap:xI.Q,components:Qz,use:[ha.M$],contentTypeQuery:{in:["page","article","category","author"]},relationsToResolve:b5.sU}),(0,I.useEffect)(()=>
50{if(Bn)return M.events.on("routeChangeComplete",Br),()=>{M.events.off("routeChangeComplete",Br)}},[M.events]),(0,I.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("token");e&&fetch("".concat("https://app-public-api.culturalcare.com","/preferences/double-opt-in/confirm"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})}).catch(()=>{console.log("Double Opt-In confirmation failed")})},[]);let F=eew({story:f,locale:p,seo:u,vanityName:S,slug:Array.isArray(N)?N.join("/"):"",routerPath:M.asPath}),B=(0,xL.Is)(HX.Lk,N,null==m?void 0:m.isChatbotEnabled),V=eeB(m,N),z=(0,I.useMemo)(()=>{if(!_||!Array.isArray(_)||0===_.length)return null;let e=_.filter(e=>null!=e);return 0===e.length?null:e.map((e,t)=>(0,D.jsx)(X_(),{id:"schema-markup-".concat(t),type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}},"schema-markup-".concat(t)))},[_]);return(0,D.jsxs)(D.Fragment,{children:[z,x&&(0,D.jsx)(X_(),{src:"https://maps.googleapis.com/maps/api/js?key=".concat("AIzaSyDTJbmnKLog_9rQ1k2Unk0SxbcyRo-Nwz4","&libraries=places"),strategy:"beforeInteractive"}),k&&(0,D.jsx)(X_(),{src:"https://widgets.reelertech.com/ReelerWidgets.js",strategy:"afterInteractive"}),Bn?(0,D.jsx)(X_(),{id:"gtag-base",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
50j.src=\n 'https://".concat(L,"/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','").concat(Bn,"')\n ")}}):null,v&&(0,D.jsx)(X_(),{id:"trustpilot-widget-bootstrap",src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",strategy:"afterInteractive",type:"text/javascript"}),B&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(X_(),{id:"sf-embedded-messaging-init",strategy:"afterInteractive",children:"\n function initEmbeddedMessaging() {\n try {\n embeddedservice_bootstrap.settings.language = 'en_US';\n embeddedservice_bootstrap.settings.hideChatButtonOnLoad = true;\n embeddedservice_bootstrap.settings.enableUserInputForConversationWithBot = false;\n\n embeddedservice_bootstrap.init(\n '".concat(b5.JB.orgId,"',\n '").concat(b5.JB.deploymentName,"',\n '").concat(b5.JB.siteUrl,"',\n {\n scrt2URL: '").concat(b5.JB.scrt2URL,"'\n }\n );\n } catch (err) {\n console.error('Error loading Embedded Messaging: ', err);\n }\n }\n ")}),(0,D.jsx)(X_(),{id:"sf-embedded-messaging-bootstrap",src:"".concat(b5.JB.siteUrl,"/assets/js/bootstrap.min.js"),strategy:"afterInteractive",onLoad:()=>{try{var e,t;null===(e=(t=window).initEmbeddedMessaging)||void 0===e||e.call(t)}catch(e){console.error("Error calling initEmbeddedMessaging: ",e)}}})]}),(0,D.jsx)(QU,{}),(0,D.jsx)(eeL,{story:F.seoStory,seo:F.seo,locale:eex(p),canonical:F.canonicalUrl,languageAlternates:null!=C?C:[],...(null==F?void 0:F.isLccTempalte)&&{openGraph:F.openGraph}}),(0,D.jsxs)(xB.Z.Provider,{value:{trustpilotReviews:g||[],googleReviews:y||[],infoMeetings:b||[],lcc:w||null,referralId:(null==w?void 0:w.referralId)||null,locale:p||null,blogTags:$||[],locations:E||{},referralInfo:j||null},children:[(0,D.jsx)(eeg,{preview:h,settings:m,showChatBot:B,layout:{minimalFooter:P,overrideHeader:A,headerOverride:O,hideHeader:R},children:(0,D.jsx)(KZ,{settings:m,children:(0,D.jsx)(d,{...c})})}),!T&&V&&(0,D.jsx)(QV,{blok:V},V._uid)]})]})}},87739:function(e,t,r){"use strict";r.d(t,{E3:function(){return s},JB:function(){return d},Jd:function(){return c},sU:function(){return l}});var o=r(73998),i=r(16476);let l=["template.body","settings.popupAllPages","settings.popupLpPages","settings.popupNonLpPages","settings.default_header","page.header"],s={...(0,o.UG)()},d=i.yv?{orgId:"00DDn000003ocPM",deploymentName:"HF_Web_Messaging_Public_Site",siteUrl:"https://culturalcareaupair.my.site.com/ESWHFWebMessagingPubli1768489435819",scrt2URL:"https://culturalcareaupair.my.salesforce-scrt.com"}:{orgId:"00DDQ0000008hM4",deploymentName:"HF_Web_Messaging_Public_Site",siteUrl:"https://culturalcareaupair--qa.sandbox.my.site.com/ESWHFWebMessagingPubli1764852912284",scrt2URL:"https://culturalcareaupair--qa.sandbox.my.salesforce-scrt.com"},c="sb-backpack-header"},82944:function(e,t,r){"use strict";r.d(t,{P:function(){return o}});let o="templates/lcc-lp"},16476:function(e,t,r){"use strict";r.d(t,{Lk:function(){return s},yv:function(){return l}});var o=r(84477),i=r(83454);let l=!0;i.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF,["master","main"].includes(i.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF),i.env.NEXT_PUBLIC_STORYBLOK_GRAPHQL_API_URL,i.env.NEXT_PUBLIC_STORYBLOK_REGION,i.env.NEXT_PUBLIC_STORYBLOK_DELIVERY_API_URL;let s=o.L},14922:function(e,t,r){"use strict";r.d(t,{$L:function(){return v},Bz:function(){return c},C5:function(){return d},I:function(){return p},Is:function(){return y},SV:function(){return m},_U:function(){return w},cx:function(){return l},h7:function(){return u},rM:function(){return s},un:function(){return h},v0:function(){return f},x_:function(){return g}}),r(39802);var o=r(82944),i=r(16476);let l=e=>{e&&document.getElementById(e).scrollIntoView({behavior:"auto",block:"center",inline:"center"})},s=e=>e<10?"0".concat(e):"".concat(e),d=(e,t,r)=>"".concat(e,"-").concat(t,"-").concat(r),c=()=>{var e,t;return null===(t=window.location)||void 0===t?void 0:null===(e=t.hostname)||void 0===e?void 0:e.includes("culturalcare.ch")},u=(e,t)=>
50{var r,o;return(null===(r=e.locales[t])||void 0===r?void 0:r.domain)?"https://".concat(null===(o=e.locales[t])||void 0===o?void 0:o.domain.replace("storyblok-preview","www")):"www.culturalcare.com"},p=e=>e.endsWith("/")?e:"".concat(e,"/"),f=(e,t)=>{if(!t||!e)return e||"";let r=e.startsWith("/"),o=e.replace(/^\//,"");if(o.toLowerCase().startsWith("".concat(t.toLowerCase(),"/"))){let e=o.substring(t.length+1);return"fr-ch"===t?"fr/".concat(e):e}return r?"/".concat(o):o};new Date().toLocaleDateString("en-US",{year:"numeric",month:"2-digit",day:"2-digit"});let m=(e,t)=>{let r="https://www.culturalcare.com";if(r)try{let{origin:e,hostname:t}=new URL(r);return 2===t.split(".").length?e.replace(/^(https?:\/\/)/,"$1www."):e}catch(e){console.error("Invalid SITE URL =>",r," Complete Error log =>",e)}return u(e,t)},h=e=>{let t=e.replace(/\D/g,""),r=t;return(11===t.length&&t.startsWith("1")&&(r=t.slice(1)),10===r.length)?"(".concat(r.slice(0,3),") ").concat(r.slice(3,6),"-").concat(r.slice(6)):r},g=()=>{try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){console.error("Error resolving browser timezone:",e);return}},v=e=>e?e.replace(/-\d+$/,""):e,y=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!(!r||"hf"!==e||Array.isArray(t)&&(t.join("/")===o.P||"lp"===t[0]&&t[1]))},b=e=>{try{return new URL(e).hostname}catch(e){return null}},x=e=>e.replace("-qa.","."),w=e=>{if(!e||i.yv)return e;try{let t=new URL(e),r=t.hostname,o=b("https://hostfamily.culturalcare.com/#/signup"),i=b("https://aupair.culturalcare.com/#/signup");
50if(o&&r===x(o))return t.hostname=o,t.toString();if(i&&r===x(i))return t.hostname=i,t.toString()}catch(e){}return e}},85760:function(e){e.exports={container:"advanced-accordion_container__wU__i"}},5688:function(e){e.exports={container:"advanced-accordion-item_container__vjJvK",accordionHeader:"advanced-accordion-item_accordionHeader__qq3Sp",accordionTitles:"advanced-accordion-item_accordionTitles__9Gj2o",accordionTitle:"advanced-accordion-item_accordionTitle__zVbOO",accordionHeaderContent:"advanced-accordion-item_accordionHeaderContent__2Guvb",accordionHeaderDescription:"advanced-accordion-item_accordionHeaderDescription__HkyuR",accordionContent:"advanced-accordion-item_accordionContent__Y9T9U",icon:"advanced-accordion-item_icon__3n_TD",iconOpen:"advanced-accordion-item_iconOpen__UCe1f",accordionDivider:"advanced-accordion-item_accordionDivider__Mzc4a",accordionBottomDescription:"advanced-accordion-item_accordionBottomDescription__KHrEd","accordion-title-container":"advanced-accordion-item_accordion-title-container__oW8s0"}},15718:function(e){e.exports={nonNavigational:"_backpack-header_nonNavigational__KLqnf"}},32489:function(e){e.exports={"modal-wrapper":"brochure-button-modal_modal-wrapper__5ETtr","modal-content":"brochure-button-modal_modal-content__vuXJQ","modal-image":"brochure-button-modal_modal-image__CrfAT","surface-block":"brochure-button-modal_surface-block___mNtH","surface-line":"brochure-button-modal_surface-line__sCbDa","brochure-component-wrapper":"brochure-button-modal_brochure-component-wrapper__e0WDD","button-webinar":"brochure-button-modal_button-webinar__W4ABI",listTrigger:"brochure-button-modal_listTrigger__xd_M0",tagDefaultColor:"brochure-button-modal_tagDefaultColor__2_Bvd",tagSelectedColor:"brochure-button-modal_tagSelectedColor__N6ncz",listStyle:"brochure-button-modal_listStyle__MjkZD","ef-text":"brochure-button-modal_ef-text__qWKly",alignDivider:"brochure-button-modal_alignDivider__NtFoE"}},80235:function(e){e.exports={container:"clickable-image_container__K4rMz",auPairImage:"clickable-image_auPairImage__Y1Q2b",containerSmall:"clickable-image_containerSmall__rQrT_"}},50477:function(e){e.exports={card:"flippable-teaser-card_card__q2aSd",frontImage:"flippable-teaser-card_frontImage__rv2pw",ctaArrow:"flippable-teaser-card_ctaArrow__3r2a0",cardFront:"flippable-teaser-card_cardFront__5mxs1",cardBack:"flippable-teaser-card_cardBack__3bPXQ",flipped:"flippable-teaser-card_flipped__mhuu4",cardFrontContentWrapper:"flippable-teaser-card_cardFrontContentWrapper__uZ_c4",frontContent:"flippable-teaser-card_frontContent__HIY31",backContentWrapper:"flippable-teaser-card_backContentWrapper__PYd3I",ctaText:"flippable-teaser-card_ctaText__8BlPG"}},53592:function(e){e.exports={footer:"_footer_footer__fMU02",bgColorWhite:"_footer_bgColorWhite__AcCgX",footerLogo:"_footer_footerLogo__jvR2l",socialLinks:"_footer_socialLinks__3dW8f",socialLink:"_footer_socialLink__oCX7n",socialLinksClickable:"_footer_socialLinksClickable__aKB4E",socialLinksUnclickable:"_footer_socialLinksUnclickable__n1yL6",terms:"_footer_terms__Gp6hw",footerDivider:"_footer_footerDivider__5xuNF",privacyDivider:"_footer_privacyDivider__zqttr",footerTerms:"_footer_footerTerms__TklQR",iconWidthSmall:"_footer_iconWidthSmall__3xIdO",linksWithoutUnderline:"_footer_linksWithoutUnderline__5vLvk",accordionTitleNoUnderline:"_footer_accordionTitleNoUnderline__jSC5x"}},16894:function(e){e.exports={container:"ap-signup-form_container__mRdOe",brochureContent:"ap-signup-form_brochureContent__QztRL",formOnly:"ap-signup-form_formOnly__t1_3d",content:"ap-signup-form_content__GrdY8",mainContentStyle:"ap-signup-form_mainContentStyle__NvTl3",brochureContentLayout:"ap-signup-form_brochureContentLayout__Jzw46",brochureSuccessContentAlignment:"ap-signup-form_brochureSuccessContentAlignment__zBYrj",privacyPolicyLink:"ap-signup-form_privacyPolicyLink__Ia3Tn",formInputs:"ap-signup-form_formInputs__tdKTN",addressPrivacy:"ap-signup-form_addressPrivacy__TKld4",addressPrivacyImage:"ap-signup-form_addressPrivacyImage__ieedf",addressPrivacyText:"ap-signup-form_addressPrivacyText__Wfe60",submitButtonBg:"ap-signup-form_submitButtonBg__S61dj",formFooter:"ap-signup-form_formFooter__PavOw",genderSelector:"ap-signup-form_genderSelector___nF2O",submittedContentContainer:"ap-signup-form_submittedContentContainer__qkR00",submittedContentCta:"ap-signup-form_submittedContentCta__dB1o7",apSignupDatepicker:"ap-signup-form_apSignupDatepicker__zecG5","flex-container":"ap-signup-form_flex-container__nACSe","flex-item":"ap-signup-form_flex-item__4Wbtl","inner-container":"ap-signup-form_inner-container__ddRSL"}},25380:function(e){e.exports={container:"ap-ambassador-form_container__FH3Bc",content:"ap-ambassador-form_content__yDsaU",privacyPolicyLink:"ap-ambassador-form_privacyPolicyLink__dgz5V",formInputs:"ap-ambassador-form_formInputs__wWY_w",addressPrivacy:"ap-ambassador-form_addressPrivacy__P9te2",addressPrivacyImage:"ap-ambassador-form_addressPrivacyImage__lC_n5",addressPrivacyText:"ap-ambassador-form_addressPrivacyText__OzFpg",submitButtonBg:"ap-ambassador-form_submitButtonBg__ZLLer",formFooter:"ap-ambassador-form_formFooter__3fnR6",genderSelector:"ap-ambassador-form_genderSelector__Rwtd8",submittedContentContainer:"ap-ambassador-form_submittedContentContainer__O263x",submittedContentCta:"ap-ambassador-form_submittedContentCta__vEe3F",apSignupDatepicker:"ap-ambassador-form_apSignupDatepicker__8R_B1"}},38122:function(e){e.exports={container:"hf-signup-form_container__mx_Y7",content:"hf-signup-form_content__UM
50RFv",privacyPolicyLink:"hf-signup-form_privacyPolicyLink__5_yeQ",formInputs:"hf-signup-form_formInputs__Vekww",addressPrivacy:"hf-signup-form_addressPrivacy__mPSao",addressPrivacyImage:"hf-signup-form_addressPrivacyImage__W8IOe",addressPrivacyText:"hf-signup-form_addressPrivacyText__e_R66",successContent:"hf-signup-form_successContent__1WuMy",submitButtonBg:"hf-signup-form_submitButtonBg__bA_dy",buttonContainer:"hf-signup-form_buttonContainer__Snew1"}},57202:function(e){e.exports={container:"lcc-signup-form_container__EhULm",content:"lcc-signup-form_content__ce_YT",privacyPolicyLink:"lcc-signup-form_privacyPolicyLink___IOPu",formInputs:"lcc-signup-form_formInputs__X3DrB",addressPrivacy:"lcc-signup-form_addressPrivacy__Rhd6k",addressPrivacyImage:"lcc-signup-form_addressPrivacyImage__6LUWW",addressPrivacyText:"lcc-signup-form_addressPrivacyText__yGCs5",submitButtonBg:"lcc-signup-form_submitButtonBg__v2Ooh",formRowInputs:"lcc-signup-form_formRowInputs__jA_WS",formButtonContainer:"lcc-signup-form_formButtonContainer__tgOjW",lccFormFinishedText:"lcc-signup-form_lccFormFinishedText__KPvWv"}},94909:function(e){e.exports={container:"hf-surface-card_container__zWb6O",hfSurfaceCardImage:"hf-surface-card_hfSurfaceCardImage__OEkR8",hfSurfaceCardContent:"hf-surface-card_hfSurfaceCardContent__IVblf",hfSurfaceCardTextBasicContainer:"hf-surface-card_hfSurfaceCardTextBasicContainer__1zt09",hfSurfaceCardDetails:"hf-surface-card_hfSurfaceCardDetails__sypoH",dividerColor:"hf-surface-card_dividerColor__wOmGE",hfSurfaceCardBottomText:"hf-surface-card_hfSurfaceCardBottomText__cXGti"}},35784:function(e){e.exports={hfCardCarouselContainer:"hf-surface-card-carousel_hfCardCarouselContainer__la2Hi"}},76403:function(e){e.exports={outerContainer:"hero-grid_outerContainer__DepGy",innerContainer:"hero-grid_innerContainer__G4byN",contentWrapper:"hero-grid_contentWrapper__WBhW2",background:"hero-grid_background__fZEaq",placeholder:"hero-grid_placeholder__TVtQG",layout7Content:"hero-grid_layout7Content__PWwrX",item_1:"hero-grid_item_1__ni8zZ",item_3:"hero-grid_item_3__vjifI",item_2:"hero-grid_item_2__eHzNw",item_4:"hero-grid_item_4__rqeuZ",item_6:"hero-grid_item_6__0zzXI",item_5:"hero-grid_item_5___4KHJ",item_7:"hero-grid_item_7__XI83U",layout12Content:"hero-grid_layout12Content__qlR2e",item_9:"hero-grid_item_9__jZc25",item_10:"hero-grid_item_10__eTkkI",item_8:"hero-grid_item_8__9C9si",item_11:"hero-grid_item_11__r0zoJ",item_12:"hero-grid_item_12__zXkS3",heroGridImage:"hero-grid_heroGridImage__M5lzZ"}},14011:function(e){e.exports={container:"hero-grid-content-card_container__OmLFt",topText:"hero-grid-content-card_topText__xmTN4",bottomText:"hero-grid-content-card_bottomText__ofs7F",midText:"hero-grid-content-card_midText__fNo0N"}},20340:function(e){e.exports={mainContentWrap:"hero-section_mainContentWrap__Tuqyw",innerItemContainer:"hero-section_innerItemContainer__oHOW_",innerItemContainerSmall:"hero-section_innerItemContainerSmall__qzTQD",imgContainer:"hero-section_imgContainer__RRSX0",mainContentHeight:"hero-section_mainContentHeight__ArTdf",mainContentHeightSmall:"hero-section_mainContentHeightSmall__36hMJ",topImage:"hero-section_topImage__uoB_Q",topImageSmall:"hero-section_topImageSmall__1hPqh",imgContainerDefaultPosition:"hero-section_imgContainerDefaultPosition__BC2CY"}},43762:function(e){e.exports={"modal-wrapper":"info-meetings_modal-wrapper__t0pkx","modal-content":"info-meetings_modal-content__wI32_","flex-content":"info-meetings_flex-content__MTR4k","flex-main-content":"info-meetings_flex-main-content__4kAfK","modal-image":"info-meetings_modal-image__gUoyb","surface-block":"info-meetings_surface-block__uWn96","surface-line":"info-meetings_surface-line__mRPi5",contentWrap:"info-meetings_contentWrap__wRJzI",contentTextWrap:"info-meetings_contentTextWrap__jrFWf","infomeeting-component-wrapper":"info-meetings_infomeeting-component-wrapper__RGroP","visible-list":"info-meetings_visible-list__tlW7G","button-webinar":"info-meetings_button-webinar__mMDzO",listTrigger:"info-meetings_listTrigger__N348s",tagDefaultColor:"info-meetings_tagDefaultColor__87g8g",tagSelectedColor:"info-meetings_tagSelectedColor__m2ekr",specailTag:"info-meetings_specailTag__gpAJr",listStyle:"info-meetings_listStyle__pMauG","ef-text":"info-meetings_ef-text__u0gTu",alignDivider:"info-meetings_alignDivider__NP_hN"}},56882:function(e){e.exports={container:"lcc-info-card_container__tzSj5",profilePicture:"lcc-info-card_profilePicture__stVlb",profileInfo:"lcc-info-card_profileInfo___TG_N",profileInfoRow:"lcc-info-card_profileInfoRow__tJC4H",contactInfo:"lcc-info-card_contactInfo__eCOfJ",contactInfoButtons:"lcc-info-card_contactInfoButtons__HXmp_",contactInfoElementMobile:"lcc-info-card_contactInfoElementMobile__Gc8ck",contactEmail:"lcc-info-card_contactEmail__IP9z0",textWrapLcc:"lcc-info-card_textWrapLcc___l9nn",textBottomMargin:"lcc-info-card_textBottomMargin__0ceYM"}},11967:function(e){e.exports={layout:"_layout_layout__EYIob",inner:"_layout_inner__y_7Ml"}},82687:function(){},20778:function(e){e.exports={stepIndicatorContainer:"steps-indicator_stepIndicatorContainer__QByBb",stepIndicatorElement:"steps-indicator_stepIndicatorElement__JXPmx",stepIndicatorStepNumber:"steps-indicator_stepIndicatorStepNumber__S0HZx",stepIndicatorElementLabel:"steps-indicator_stepIndicatorElementLabel__3T_wC",stepIndicatorConnector:"steps-indicator_stepIndicatorConnector__PV9Yw",stepIndicatorConnectorDashedContainer:"steps-indicator_stepIndicatorConnectorDashedContainer__4qv4t",stepIndicatorConnectorDashed:"steps-indicator_stepIndicatorConnectorDashed___nD8E"}},37346:function(e){e.exports={stepsTimelineContainer:"steps-timeline_stepsTimelineContainer__LGoK2",stepsTimelineItem:"steps-timeline_stepsTimelineItem__qh3Tg",stepsTimelineItemHeader:"steps-timeline_stepsTimelineItemHeader__IIZzD",stepsTimelineItemContent:"steps-timeline_stepsTimelineItemContent__ljUQf",stepLabel:"steps-timeline_stepLabel__UBwlF",separator:"steps-timeline_separator__GhfVE"}},54695:function(e){e.exports={timelineContainer:"timeline_timelineContainer__sVjtq",timeline:"timeline_timeline__LhGHG",timelineElement:"timeline_timelineElement__VvbXo",timelineElementConnector:"timeline_timelineElementConnector__xCIaK",timelineElementContent:"timeline_timelineElementContent__c1Y6d",timelineMainContentSpacing:"timeline_timelineMainContentSpacing__fvAbW",circle:"timeline_circle__PTIk2",separator:"timeline_separator__NxBb0",timelineLeft:"timeline_timelineLeft__E9_N5",timelineRight:"timeline_timelineRight__estV6",sideSeparator:"timeline_sideSeparator__OOq9v",verticalLine:"timeline_verticalLine__H5YDT",midContentConnector:"timeline_midContentConnector__da7O1",midContent:"timeline_midContent__IMP3s",midTimeline:"timeline_midTimeline__83WrJ",sideSeparators:"timeline_sideSeparators__2mN2p"}},3539:function(e){e.exports={muteButton:"video_muteButton__yJxDN",videoWrapper:"video_videoWrapper__0iz15",video:"video_video__Uf9jv",playButton:"video_playButton__OA_2w"}},68256:function(){},80215:function(){},77663:function(e){!function(){var t={229:function(e){var t,r,o,i=e.exports={};function l(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function d(e){if(t===setTimeout)return setTimeout(e,0);if((t===l||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:l}catch(e){t=l}try{r="function"==typeof clearTimeout?clearTimeout:s}
50catch(e){r=s}}();var c=[],u=!1,p=-1;function f(){u&&o&&(u=!1,o.length?c=o.concat(c):p=-1,c.length&&m())}function m(){if(!u){var e=d(f);u=!0;for(var t=c.length;t;){for(o=c,c=[];++p<t;)o&&o[p].run();p=-1,t=c.length}o=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||u||d(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function o(e){var i=r[e];if(void 0!==i)return i.exports;var l=r[e]={exports:{}},s=!0;try{t[e](l,l.exports,o),s=!1}finally{s&&delete r[e]}return l.exports}o.ab="//";var i=o(229);e.exports=i}()},5152:function(e,t,r){e.exports=r(32602)},9008:function(e,t,r){e.exports=r(23867)},25675:function(e,t,r){e.exports=r(76210)},41664:function(e,t,r){e.exports=r(98342)},11163:function(e,t,r){e.exports=r(43079)},4298:function(e,t,r){e.exports=r(23381)},55760:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),!(e in this._values)&&this._size++,this._values[e]=t};var r=/[^.^\]^[]+|(?=\[\]|\.\.)/g,o=/^\d+$/,i=/^\d/,l=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,s=/^\s*(['"]?)(.*?)(\1)\s*$/,d=new t(512),c=new t(512),u=new t(512);function p(e){return d.get(e)||d.set(e,f(e).map(function(e){return e.replace(s,"$2")}))}function f(e){return e.match(r)||[""]}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}e.exports={Cache:t,split:f,normalizePath:p,setter:function(e){var t=p(e);return c.get(e)||c.set(e,function(e,r){for(var o=0,i=t.length,l=e;o<i-1;){var s=t[o];if("__proto__"===s||"constructor"===s||"prototype"===s)return e;l=l[t[o++]]}l[t[o]]=r})},getter:function(e,t){var r=p(e);return u.get(e)||u.set(e,function(e){for(var o=0,i=r.length;o<i;){if(null==e&&t)return;e=e[r[o++]]}return e})},join:function(e){return e.reduce(function(e,t){return e+(m(t)||o.test(t)?"["+t+"]":(e?".":"")+t)},"")},forEach:function(e,t,r){!function(e,t,r){var s,d,c,u,p,f=e.length;for(c=0;c<f;c++){(d=e[c])&&(!m(s=d)&&(s.match(i)&&!s.match(o)||l.test(s))&&(d='"'+d+'"'),u=!(p=m(d))&&/^\d+$/.test(d),t.call(r,d,p,u,c,e))}}(Array.isArray(e)?e:f(e),t,r)}}},69590:function(e){"use strict";var t=Array.isArray,r=Object.keys,o=Object.prototype.hasOwnProperty,i="undefined"!=typeof Element;e.exports=function(e,l){try{return function e(l,s){if(l===s)return!0;if(l&&s&&"object"==typeof l&&"object"==typeof s){var d,c,u,p=t(l),f=t(s);if(p&&f){if((c=l.length)!=s.length)return!1;for(d=c;0!=d--;)if(!e(l[d],s[d]))return!1;return!0}if(p!=f)return!1;var m=l instanceof Date,h=s instanceof Date;if(m!=h)return!1;if(m&&h)return l.getTime()==s.getTime();var g=l instanceof RegExp,v=s instanceof RegExp;if(g!=v)return!1;if(g&&v)return l.toString()==s.toString();var y=r(l);if((c=y.length)!==r(s).length)return!1;for(d=c;0!=d--;)if(!o.call(s,y[d]))return!1;if(i&&l instanceof Element&&s instanceof Element)return l===s;for(d=c;0!=d--;)if(("_owner"!==(u=y[d])||!l.$$typeof)&&!e(l[u],s[u]))return!1;return!0}return l!=l&&s!=s}(e,l)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},69921:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,m=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,g=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,x=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case p:case f:case l:case d:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case m:case y:case v:case c:return e;default:return t}}case i:return t}}}function C(e){return _(e)===f}t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=o,t.ForwardRef=m,t.Fragment=l,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=d,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||_(e)===
50p},t.isConcurrentMode=C,t.isContextConsumer=function(e){return _(e)===u},t.isContextProvider=function(e){return _(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return _(e)===m},t.isFragment=function(e){return _(e)===l},t.isLazy=function(e){return _(e)===y},t.isMemo=function(e){return _(e)===v},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===d},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===f||e===d||e===s||e===h||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===u||e.$$typeof===m||e.$$typeof===x||e.$$typeof===w||e.$$typeof===k||e.$$typeof===b)},t.typeOf=_},59864:function(e,t,r){"use strict";e.exports=r(69921)},59885:function(e){let t=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,r=e=>e.match(t)||[],o=e=>e[0].toUpperCase()+e.slice(1),i=(e,t)=>r(e).join(t).toLowerCase(),l=e=>r(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:r,upperFirst:o,camelCase:l,pascalCase:e=>o(l(e)),snakeCase:e=>i(e,"_"),kebabCase:e=>i(e,"-"),sentenceCase:e=>o(i(e," ")),titleCase:e=>r(e).map(o).join(" ")}},94633:function(e){function t(e,t){var r=e.length,o=Array(r),i={},l=r,s=function(e){for(var t=new Map,r=0,o=e.length;r<o;r++){var i=e[r];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),d=function(e){for(var t=new Map,r=0,o=e.length;r<o;r++)t.set(e[r],r);return t}(e);for(t.forEach(function(e){if(!d.has(e[0])||!d.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});l--;)i[l]||function e(t,l,c){if(c.has(t)){var u;try{u=", node was:"+JSON.stringify(t)}catch(e){u=""}throw Error("Cyclic dependency"+u)}if(!d.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[l]){i[l]=!0;var p=s.get(t)||new Set;if(l=(p=Array.from(p)).length){c.add(t);do{var f=p[--l];e(f,d.get(f),c)}while(l);c.delete(t)}o[--r]=t}}(e[l],l,new Set);return o}e.exports=function(e){return t(function(e){for(var t=new Set,r=0,o=e.length;r<o;r++){var i=e[r];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},80054:function(e,t,r){"use strict";r.d(t,{RL:function(){return l},fm:function(){return i},t:function(){return o}});var o="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{};
50function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),r}},48399:function(e,t,r){"use strict";r.d(t,{cn:function(){return en}});var o=r(63890);let i=/^(\d+(\.\d+)?)?(xxs|xs|s|m|l|xl|xxl|xxxl|none)$/,l=/^\d+-\d+$/,s=e=>i.test(e),d=/^\[(.+)\]$/;function c(e,t){let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}let u=/\s+/;function p(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=function e(t){if("string"==typeof t)return t;let r,o="";for(let i=0;i<t.length;i++)t[i]&&(r=e(t[i]))&&(o&&(o+=" "),o+=r);return o}(t))&&(o&&(o+=" "),o+=r);return o}function f(e,...t){let r,o,i,l=function(u){var p;return o=(r={cache:function(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function i(i,l){r.set(i,l),++t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}}((p=t.reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,r=1===t.length,o=t[0],i=t.length;return function(e){let l=[],s=0,d=0,c;for(let u=0;u<e.length;u++){let p=e[u];if(0===s){if(p===o&&(r||e.slice(u,u+i)===t)){l.push(e.slice(d,u)),d=u+i;continue}if("/"===p){c=u;continue}}"["===p?s++:"]"===p&&s--}let u=0===l.length?e:e.substring(d),p=u.startsWith("!"),f=p?u.substring(1):u;return{modifiers:l,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:c&&c>d?c-d:void 0}}}(p),...function(e){let t=function(e){var t;let{theme:r,prefix:o}=e,i={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),o?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?o+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[o+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,r,o,i){t.forEach(t=>{if("string"==typeof t){(""===t?r:c(r,t)).classGroupId=o;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),r,o,i);return}r.validators.push({validator:t,classGroupId:o});return}Object.entries(t).forEach(([t,l])=>{e(l,c(r,t),o,i)})})})(t,i,e,r)}),i}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(t,r){var o;if(0===t.length)return r.classGroupId;let i=t[0],l=r.nextPart.get(i),s=l?e(t.slice(1),l):void 0;if(s)return s;if(0===r.validators.length)return;let d=t.join("-");return null==(o=r.validators.find(({validator:e})=>e(d)))?void 0:o.classGroupId}(r,t)||function(e){if(d.test(e)){let t=d.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){let i=r[e]||[];return t&&o[e]?[...i,...o[e]]:i}}}(p)}).cache.get,i=r.cache.set,l=s,s(u)};function s(e){let t=o(e);if(t)return t;let l=function(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,l=new Set;return e.trim().split(u).map(e=>{let{modifiers:t,hasImportantModifier:i,baseClassName:l,maybePostfixModifierPosition:s}=r(e),d=o(s?l.substring(0,s):l),c=!!s;if(!d){if(!s||!(d=o(l)))return{isTailwindClass:!1,originalClassName:e};c=!1}let u=(function(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:i?u+"!":u,classGroupId:d,originalClassName:e,hasPostfixModifier:c}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,s=t+r;return!l.has(s)&&(l.add(s),i(r,o).forEach(e=>l.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return i(e,l),l}return function(){return l(p.apply(null,arguments))}}function m(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let h=/^\[(?:([a-z-]+):)?(.+)\]$/i,g=/^\d+\/\d+$/,v=new Set(["px","full","screen"]),y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,x=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,w=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function _(e){return $(e)||v.has(e)||g.test(e)}function C(e){return I(e,"length",F)}function $(e){return!!e&&!Number.isNaN(Number(e))}function S(e){return I(e,"number",$)}function E(e){return!!e&&Number.isInteger(Number(e))}function j(e){return e.endsWith("%")&&$(e.slice(0,-1))}function N(e){return h.test(e)}function T(e){return y.test(e)}let P=new Set(["length","size","percentage"]);function A(e){return I(e,P,B)}function O(e){return I(e,"position",B)}let R=new Set(["image","url"]);function D(e){return I(e,R,z)}function M(e){return I(e,"",V)}function L(){return!0}function I(e,t,r){let o=h.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function F(e){return b.test(e)&&!x.test(e)}function B(){return!1}function V(e){return w.test(e)}function z(e){return k.test(e)}function H(){let e=m("colors"),t=m("spacing"),r=m("blur"),o=m("brightness"),i=m("borderColor"),l=m("borderRadius"),s=m("borderSpacing"),d=m("borderWidth"),c=m("contrast"),u=m("grayscale"),p=m("hueRotate"),f=m("invert"),h=m("gap"),g=m("gradientColorStops"),v=m("gradientColorStopPositions"),y=m("inset"),b=m("margin"),x=m("opacity"),w=m("padding"),k=m("saturate"),P=m("scale"),R=m("sepia"),I=m("skew"),F=m("space"),B=m("translate"),V=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",N,t],U=()=>[N,t],Z=()=>["",_,C],W=()=>["auto",$,N],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",N],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[$,S],ee=()=>[$,N];return{cacheSize:500,separator:":",theme:{colors:[L],spacing:[_,C],blur:["none","",T,N],brightness:Q(),borderColor:[e],borderRadius:["n
50one","","full",T,N],borderSpacing:U(),borderWidth:Z(),contrast:Q(),grayscale:Y(),hueRotate:ee(),invert:Y(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[j,C],inset:H(),margin:H(),opacity:Q(),padding:U(),saturate:Q(),scale:Q(),sepia:Y(),skew:ee(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),N]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",E,N]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",E,N]}],"grid-cols":[{"grid-cols":[L]}],"col-start-end":[{col:["auto",{span:["full",E,N]},N]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[L]}],"row-start-end":[{row:["auto",{span:[E,N]},N]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[F]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[F]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",T,C]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",S]}],"font-family":[{font:[L]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",$,S]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_,C]}],"underline-offset":[{"underline-offset":["auto",_,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),O]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",A]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 5,058 bytes, line 50
50],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:q()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[_,N]}],"outline-w":[{outline:[_,C]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[_,C]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",T,M]}],"shadow-color":[{shadow:[L]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":G()}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",T,N]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[f]}],saturate:[{saturate:[k]}],sepia:[{sepia:[R]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[P]}],"scale-x":[{"scale-x":[P]}],"scale-y":[{"scale-y":[P]}],rotate:[{rotate:[E,N]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
50],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_,C,S]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function U(e,t,r){void 0!==r&&(e[t]=r)}function Z(e,...t){return"function"==typeof e?f(H,e,...t):f(()=>(function(e,{cacheSize:t,prefix:r,separator:o,extend:i={},override:l={}}){for(let i in U(e,"cacheSize",t),U(e,"prefix",r),U(e,"separator",o),l)!function(e,t){if(t)for(let r in t)U(e,r,t[r])}(e[i],l[i]);for(let t in i)!function(e,t){if(t)for(let r in t){let o=t[r];void 0!==o&&(e[r]=(e[r]||[]).concat(o))}}(e[t],i[t]);return e})(H(),e),...t)}var W=r(98069);let K=["col-start-1","col-start-2","col-start-3","col-start-4","col-start-5","col-start-6","col-start-7","col-start-8","col-start-9","col-start-10","col-start-11","col-start-12","col-start-13","col-start-14","col-start-15","col-start-16","col-start-17","col-start-bounds","col-start-main","md:col-start-1","md:col-start-2","md:col-start-3","md:col-start-4","md:col-start-5","md:col-start-6","md:col-start-7","md:col-start-8","md:col-start-9","md:col-start-10","md:col-start-11","md:col-start-12","md:col-start-13","md:col-start-14","md:col-start-15","md:col-start-16","md:col-start-17","md:col-start-bounds","md:col-start-main","lg:col-start-1","lg:col-start-2","lg:col-start-3","lg:col-start-4","lg:col-start-5","lg:col-start-6","lg:col-start-7","lg:col-start-8","lg:col-start-9","lg:col-start-10","lg:col-start-11","lg:col-start-12","lg:col-start-13","lg:col-start-14","lg:col-start-15","lg:col-start-16","lg:col-start-17","lg:col-start-bounds","lg:col-start-main","xl:col-start-1","xl:col-start-2","xl:col-start-3","xl:col-start-4","xl:col-start-5","xl:col-start-6","xl:col-start-7","xl:col-start-8","xl:col-start-9","xl:col-start-10","xl:col-start-11","xl:col-start-12","xl:col-start-13","xl:col-start-14","xl:col-start-15","xl:col-start-16","xl:col-start-17","xl:col-start-bounds","xl:col-start-main","xxl:col-start-1","xxl:col-start-2","xxl:col-start-3","xxl:col-start-4","xxl:col-start-5","xxl:col-start-6","xxl:col-start-7","xxl:col-start-8","xxl:col-start-9","xxl:col-start-10","xxl:col-start-11","xxl:col-start-12","xxl:col-start-13","xxl:col-start-14","xxl:col-start-15","xxl:col-start-16","xxl:col-start-17","xxl:col-start-bounds","xxl:col-start-main","col-end-1","col-end-2","col-end-3","col-end-4","col-end-5","col-end-6","col-end-7","col-end-8","col-end-9","col-end-10","col-end-11","col-end-12","col-end-13","col-end-14","col-end-15","col-end-16","col-end-17","col-end-bounds","col-end-main","md:col-end-1","md:col-end-2","md:col-end-3","md:col-end-4","md:col-end-5","md:col-end-6","md:col-end-7","md:col-end-8","md:col-end-9","md:col-end-10","md:col-end-11","md:col-end-12","md:col-end-13","md:col-end-14","md:col-end-15","md:col-end-16","md:col-end-17","md:col-end-bounds","md:col-end-main","lg:col-end-1","lg:col-end-2","lg:col-end-3","lg:col-end-4","lg:col-end-5","lg:col-end-6","lg:col-end-7","lg:col-end-8","lg:col-end-9","lg:col-end-10","lg:col-end-11","lg:col-end-12","lg:col-end-13","lg:col-end-14","lg:col-end-15","lg:col-end-16","lg:col-end-17","lg:col-end-bounds","lg:col-end-main","xl:col-end-1","xl:col-end-2","xl:col-end-3","xl:col-end-4","xl:col-end-5","xl:col-end-6","xl:col-end-7","xl:col-end-8","xl:col-end-9","xl:col-end-10","xl:col-end-11","xl:col-end-12","xl:col-end-13","xl:col-end-14","xl:col-end-15","xl:col-end-16","xl:col-end-17","xl:col-end-bounds","xl:col-end-main","xxl:col-end-1","xxl:col-end-2","xxl:col-end-3","xxl:col-end-4","xxl:col-end-5","xxl:col-end-6","xxl:col-end-7","xxl:col-end-8","xxl:col-end-9","xxl:col-end-10","xxl:col-end-11","xxl:col-end-12","xxl:col-end-13","xxl:col-end-14","xxl:col-end-15","xxl:col-end-16","xxl:col-end-17","xxl:col-end-bounds","xxl:col-end-main","col-start-col-1-start","col-start-col-2-start","col-start-col-3-start","col-start-col-4-start","col-start-col-5-start","col-start-col-6-start","col-start-col-7-start","col-start-col-8-start","col-start-col-9-start","col-start-col-10-start","col-start-col-11-start","col-start-col-12-start","col-start-col-13-start","col-start-col-14-start","col-start-col-15-start","col-start-col-16-start","col-start-col-17-start","col-start-col-1-end","col-start-col-2-end","col-start-col-3-end","col-start-col-4-end","col-start-col-5-end","col-start-col-6-end","col-start-col-7-en
50d","col-start-col-8-end","col-start-col-9-end","col-start-col-10-end","col-start-col-11-end","col-start-col-12-end","col-start-col-13-end","col-start-col-14-end","col-start-col-15-end","col-start-col-16-end","col-start-col-17-end","md:col-start-col-1-start","md:col-start-col-2-start","md:col-start-col-3-start","md:col-start-col-4-start","md:col-start-col-5-start","md:col-start-col-6-start","md:col-start-col-7-start","md:col-start-col-8-start","md:col-start-col-9-start","md:col-start-col-10-start","md:col-start-col-11-start","md:col-start-col-12-start","md:col-start-col-13-start","md:col-start-col-14-start","md:col-start-col-15-start","md:col-start-col-16-start","md:col-start-col-17-start","md:col-start-col-1-end","md:col-start-col-2-end","md:col-start-col-3-end","md:col-start-col-4-end","md:col-start-col-5-end","md:col-start-col-6-end","md:col-start-col-7-end","md:col-start-col-8-end","md:col-start-col-9-end","md:col-start-col-10-end","md:col-start-col-11-end","md:col-start-col-12-end","md:col-start-col-13-end","md:col-start-col-14-end","md:col-start-col-15-end","md:col-start-col-16-end","md:col-start-col-17-end","lg:col-start-col-1-start","lg:col-start-col-2-start","lg:col-start-col-3-start","lg:col-start-col-4-start","lg:col-start-col-5-start","lg:col-start-col-6-start","lg:col-start-col-7-start","lg:col-start-col-8-start","lg:col-start-col-9-start","lg:col-start-col-10-start","lg:col-start-col-11-start","lg:col-start-col-12-start","lg:col-start-col-13-start","lg:col-start-col-14-start","lg:col-start-col-15-start","lg:col-start-col-16-start","lg:col-start-col-17-start","lg:col-start-col-1-end","lg:col-start-col-2-end","lg:col-start-col-3-end","lg:col-start-col-4-end","lg:col-start-col-5-end","lg:col-start-col-6-end","lg:col-start-col-7-end","lg:col-start-col-8-end","lg:col-start-col-9-end","lg:col-start-col-10-end","lg:col-start-col-11-end","lg:col-start-col-12-end","lg:col-start-col-13-end","lg:col-start-col-14-end","lg:col-start-col-15-end","lg:col-start-col-16-end","lg:col-start-col-17-end","xl:col-start-col-1-start","xl:col-start-col-2-start","xl:col-start-col-3-start","xl:col-start-col-4-start","xl:col-start-col-5-start","xl:col-start-col-6-start","xl:col-start-col-7-start","xl:col-start-col-8-start","xl:col-start-col-9-start","xl:col-start-col-10-start","xl:col-start-col-11-start","xl:col-start-col-12-start","xl:col-start-col-13-start","xl:col-start-col-14-start","xl:col-start-col-15-start","xl:col-start-col-16-start","xl:col-start-col-17-start","xl:col-start-col-1-end","xl:col-start-col-2-end","xl:col-start-col-3-end","xl:col-start-col-4-end","xl:col-start-col-5-end","xl:col-start-col-6-end","xl:col-start-col-7-end","xl:col-start-col-8-end","xl:col-start-col-9-end","xl:col-start-col-10-end","xl:col-start-col-11-end","xl:col-start-col-12-end","xl:col-start-col-13-end","xl:col-start-col-14-end","xl:col-start-col-15-end","xl:col-start-col-16-end","xl:col-start-col-17-end","xxl:col-start-col-1-start","xxl:col-start-col-2-start","xxl:col-start-col-3-start","xxl:col-start-col-4-start","xxl:col-start-col-5-start","xxl:col-start-col-6-start","xxl:col-start-col-7-start","xxl:col-start-col-8-start","xxl:col-start-col-9-start","xxl:col-start-col-10-start","xxl:col-start-col-11-start","xxl:col-start-col-12-start","xxl:col-start-col-13-start","xxl:col-start-col-14-start","xxl:col-start-col-15-start","xxl:col-start-col-16-start","xxl:col-start-col-17-start","xxl:col-start-col-1-end","xxl:col-start-col-2-end","xxl:col-start-col-3-end","xxl:col-start-col-4-end","xxl:col-start-col-5-end","xxl:col-start-col-6-end","xxl:col-start-col-7-end","xxl:col-start-col-8-end","xxl:col-start-col-9-end","xxl:col-start-col-10-end","xxl:col-start-col-11-end","xxl:col-start-col-12-end","xxl:col-start-col-13-end","xxl:col-start-col-14-end","xxl:col-start-col-15-end","xxl:col-start-col-16-end","xxl:col-start-col-17-end","col-end-col-1-start","col-end-col-2-start","col-end-col-3-start","col-end-col-4-start","col-end-col-5-start","col-end-col-6-start","col-end-col-7-start","col-end-col-8-start","col-end-col-9-start","col-end-col-10-start","col-end-col-11-start","col-end-col-12-start","col-end-col-13-start","col-end-col-14-start","col-end-col-15-start","col-end-col-16-start","col-end-col-17-start","col-end-col-1-end","col-end-col-2-end","col-end-col-3-end","col-end-col-4-end","col-end-col-5-end","col-end-col-6-end","col-end-col-7-en
50d","col-end-col-8-end","col-end-col-9-end","col-end-col-10-end","col-end-col-11-end","col-end-col-12-end","col-end-col-13-end","col-end-col-14-end","col-end-col-15-end","col-end-col-16-end","col-end-col-17-end","md:col-end-col-1-start","md:col-end-col-2-start","md:col-end-col-3-start","md:col-end-col-4-start","md:col-end-col-5-start","md:col-end-col-6-start","md:col-end-col-7-start","md:col-end-col-8-start","md:col-end-col-9-start","md:col-end-col-10-start","md:col-end-col-11-start","md:col-end-col-12-start","md:col-end-col-13-start","md:col-end-col-14-start","md:col-end-col-15-start","md:col-end-col-16-start","md:col-end-col-17-start","md:col-end-col-1-end","md:col-end-col-2-end","md:col-end-col-3-end","md:col-end-col-4-end","md:col-end-col-5-end","md:col-end-col-6-end","md:col-end-col-7-end","md:col-end-col-8-end","md:col-end-col-9-end","md:col-end-col-10-end","md:col-end-col-11-end","md:col-end-col-12-end","md:col-end-col-13-end","md:col-end-col-14-end","md:col-end-col-15-end","md:col-end-col-16-end","md:col-end-col-17-end","lg:col-end-col-1-start","lg:col-end-col-2-start","lg:col-end-col-3-start","lg:col-end-col-4-start","lg:col-end-col-5-start","lg:col-end-col-6-start","lg:col-end-col-7-start","lg:col-end-col-8-start","lg:col-end-col-9-start","lg:col-end-col-10-start","lg:col-end-col-11-start","lg:col-end-col-12-start","lg:col-end-col-13-start","lg:col-end-col-14-start","lg:col-end-col-15-start","lg:col-end-col-16-start","lg:col-end-col-17-start","lg:col-end-col-1-end","lg:col-end-col-2-end","lg:col-end-col-3-end","lg:col-end-col-4-end","lg:col-end-col-5-end","lg:col-end-col-6-end","lg:col-end-col-7-en
50d","lg:col-end-col-8-end","lg:col-end-col-9-end","lg:col-end-col-10-end","lg:col-end-col-11-end","lg:col-end-col-12-end","lg:col-end-col-13-end","lg:col-end-col-14-end","lg:col-end-col-15-end","lg:col-end-col-16-end","lg:col-end-col-17-end","xl:col-end-col-1-start","xl:col-end-col-2-start","xl:col-end-col-3-start","xl:col-end-col-4-start","xl:col-end-col-5-start","xl:col-end-col-6-start","xl:col-end-col-7-start","xl:col-end-col-8-start","xl:col-end-col-9-start","xl:col-end-col-10-start","xl:col-end-col-11-start","xl:col-end-col-12-start","xl:col-end-col-13-start","xl:col-end-col-14-start","xl:col-end-col-15-start","xl:col-end-col-16-start","xl:col-end-col-17-start","xl:col-end-col-1-end","xl:col-end-col-2-end","xl:col-end-col-3-end","xl:col-end-col-4-end","xl:col-end-col-5-end","xl:col-end-col-6-end","xl:col-end-col-7-end","xl:col-end-col-8-end","xl:col-end-col-9-end","xl:col-end-col-10-end","xl:col-end-col-11-end","xl:col-end-col-12-end","xl:col-end-col-13-end","xl:col-end-col-14-end","xl:col-end-col-15-end","xl:col-end-col-16-end","xl:col-end-col-17-end","xxl:col-end-col-1-start","xxl:col-end-col-2-start","xxl:col-end-col-3-start","xxl:col-end-col-4-start","xxl:col-end-col-5-start","xxl:col-end-col-6-start","xxl:col-end-col-7-start","xxl:col-end-col-8-start","xxl:col-end-col-9-start","xxl:col-end-col-10-start","xxl:col-end-col-11-start","xxl:col-end-col-12-start","xxl:col-end-col-13-start","xxl:col-end-col-14-start","xxl:col-end-col-15-start","xxl:col-end-col-16-start","xxl:col-end-col-17-start","xxl:col-end-col-1-end","xxl:col-end-col-2-end","xxl:col-end-col-3-end","xxl:col-end-col-4-end","xxl:col-end-col-5-end","xxl:col-end-col-6-end","xxl:col-end-col-7-en
50d","xxl:col-end-col-8-end","xxl:col-end-col-9-end","xxl:col-end-col-10-end","xxl:col-end-col-11-end","xxl:col-end-col-12-end","xxl:col-end-col-13-end","xxl:col-end-col-14-end","xxl:col-end-col-15-end","xxl:col-end-col-16-end","xxl:col-end-col-17-end","col-start-bounds-start","col-start-bounds-end","md:col-start-bounds-start","md:col-start-bounds-end","lg:col-start-bounds-start","lg:col-start-bounds-end","xl:col-start-bounds-start","xl:col-start-bounds-end","xxl:col-start-bounds-start","xxl:col-start-bounds-end","col-start-main-start","col-start-main-end","md:col-start-main-start","md:col-start-main-end","lg:col-start-main-start","lg:col-start-main-end","xl:col-start-main-start","xl:col-start-main-end","xxl:col-start-main-start","xxl:col-start-main-end","col-start-offset-start","col-start-offset-end","md:col-start-offset-start","md:col-start-offset-end","lg:col-start-offset-start","lg:col-start-offset-end","xl:col-start-offset-start","xl:col-start-offset-end","xxl:col-start-offset-start","xxl:col-start-offset-end","col-end-bounds-start","col-end-bounds-end","md:col-end-bounds-start","md:col-end-bounds-end","lg:col-end-bounds-start","lg:col-end-bounds-end","xl:col-end-bounds-start","xl:col-end-bounds-end","xxl:col-end-bounds-start","xxl:col-end-bounds-end","col-end-main-start","col-end-main-end","md:col-end-main-start","md:col-end-main-end","lg:col-end-main-start","lg:col-end-main-end","xl:col-end-main-start","xl:col-end-main-end","xxl:col-end-main-start","xxl:col-end-main-end","col-end-offset-start","col-end-offset-end","md:col-end-offset-start","md:col-end-offset-end","lg:col-end-offset-start","lg:col-end-offset-end","xl:col-end-offset-start","xl:col-end-offset-end","xxl:col-end-offset-start","xxl:col-end-offset-end"],q=K.filter(e=>e.includes("col-start")).map(e=>e.replace("col-start-","")),G=K.filter(e=>e.includes("col-end")).map(e=>e.replace("col-end-","")),J={extend:{theme:{spacing:[s],borderRadius:[s]},classGroups:{"font-size":[{text:["mobile-display-caps","mobile-display-1","mobile-display-2","desktop-display-caps","desktop-display-1","desktop-display-2","mobile-header-1","mobile-header-2","mobile-header-3","mobile-header-4","mobile-header-5","mobile-header-6","desktop-header-1","desktop-header-2","desktop-header-3","desktop-header-4","desktop-header-5","desktop-header-6","mobile-title-1","mobile-title-2","mobile-title-3","desktop-title-1","desktop-title-2","desktop-title-3","mobile-subheader-1","mobile-subheader-2","desktop-subheader-1","desktop-subheader-2","body","body-book","body-small","ui-label","ui-label-bold","ui-label-large","ui-label-large-bold","ui-label-small","ui-label-small-bold","small-print","small-print-bold","eyebrow","eyebrow-small","eyebrow-large"]}],aspect:[{aspect:[e=>l.test(e)]}],shadow:[{shadow:Object.keys({enabled:"0 2px 8px 0 var(--color-system-shadow-enabled)","dark-s-10":"var(--shadow-shadow-dark-s-10)","dark-s-15":"var(--shadow-shadow-dark-s-15)","dark-s-30":"var(--shadow-shadow-dark-s-30)","dark-m-15":"var(--shadow-shadow-dark-m-15)","dark-m-20":"var(--shadow-shadow-dark-m-20)","dark-m-25":"var(--shadow-shadow-dark-m-25)","dark-m-30":"var(--shadow-shadow-dark-m-30)","dark-l-10":"var(--shadow-shadow-dark-l-10)","dark-l-15":"var(--shadow-shadow-dark-l-15)","dark-l-30":"var(--shadow-shadow-dark-l-30)","dark-xl-15":"var(--shadow-shadow-dark-xl-15)","dark-xl-30":"var(--shadow-shadow-dark-xl-30)","dark-xxl-30":"var(--shadow-shadow-dark-xxl-30)","focus-shadow":"var(--shadow-focus-shadow)"}??{})}],"col-start":[{"col-start":q}],"col-end":[{"col-end":G}],"color-theme":["light","dark"],"mono-theme":["mono","non-mono","mono-light","mono-dark"]}}},Y=new Set(Object.keys(H().classGroups)),X=Object.fromEntries(Object.entries(J.extend.classGroups).filter(([e])=>!Y.has(e))),Q=(0,W.cn)(J),ee=(0,W.MT)(),et=Z(ee.get(Q));ee.sub(Q,()=>{let e=ee.get(Q);et=Z({...e,extend:{...e.extend||{},classGroups:{...(e.extend||{}).classGroups||{},...X}}})});let en=(...e)=>et((0,o.W)(e))},35715:function(e,t,r){"use strict";r.d(t,{U:function(){return m}});var o=r(85893),i=r(48399),l=r(43201),s=r(4382),d=r(37578),c=r(67294),u=r(76366),p=r(36581),f=r(96974);let m=(0,c.forwardRef)((e,t)=>{let{children:r,className:m,type:h="multiple",defaultValue:g,hoverEffect:v=!0,disabled:y=!1,value:b,themeConfig:x,...w}=e,[k,_]=(0,c.useState)(g||""),{root:C,title:$,content:S}=(0,s.tv)(x?(0,s.RH)(p.T,x):p.T)({hoverEffect:v,disabled:y}),E=(0,i.cn)("ef-accordion",C(),m),j=[[u.J,{className:$()}],[u.I,{className:S()}]],N={ref:t,disabled:y,className:E,...w};switch(h){case"single":return(0,o.jsx)(f.zt,{children:(0,o.jsx)(d.fC,{...
50N,type:"single",value:b??k,defaultValue:g,onValueChange:t=>{var r;_(t),null==(r=e.onValueChange)||r.call(e,t)},children:(0,o.jsx)(l.o,{atomValues:j,children:r})})});case"multiple":return(0,o.jsx)(f.zt,{children:(0,o.jsx)(d.fC,{...N,type:"multiple",value:b??k,defaultValue:g,onValueChange:t=>{var r;let o=Array.from(new Set(t));_(o),null==(r=e.onValueChange)||r.call(e,o)},children:(0,o.jsx)(l.o,{atomValues:j,children:r})})})}});m.displayName="Accordion"},98327:function(e,t,r){"use strict";r.d(t,{Q:function(){return u}});var o=r(85893),i=r(67294),l=r(37578),s=r(48399),d=r(36581),c=r(4382);let u=(0,i.forwardRef)((e,t)=>{let{children:r,value:i,className:u,inline:p,disabled:f,themeConfig:m,...h}=e,{item:g}=(0,c.tv)(m?(0,c.RH)(d.T,m):d.T)({inline:p,disabled:f}),v=(0,s.cn)("ef-accordion-item",g(),u);return(0,o.jsx)(l.ck,{ref:t,value:i,className:v,disabled:f,"data-inline":p,...h,children:r})});u.displayName="AccordionItem"},88407:function(e,t,r){"use strict";r.d(t,{_:function(){return m}});var o=r(85893),i=r(67294),l=r(37578),s=r(48399),d=r(83491),c=r(76366),u=r(96974);let p=new Set(["enter-height","exit-height","enter-exit-height"]),f=e=>"open"===e.dataset.state?"open":"closed",m=(0,i.forwardRef)((e,t)=>{let{children:r,className:m,onAnimationEnd:h,style:g,...v}=e,[y,b]=(0,i.useState)(0),[x,w]=(0,i.useState)("closed"),[k,_]=(0,i.useState)(!1),C=(0,i.useRef)(null),$=(0,i.useCallback)((e,t=!1)=>{let r=f(e);w(r),_(t&&"open"===r)},[]),S=(0,i.useCallback)(e=>{C.current=e,"function"==typeof t?t(e):t&&(t.current=e),e&&(b(e.scrollHeight||0),$(e,!0))},[t,$]),{height:E}=(0,d.h)(C),{className:j}=(0,u.Dv)(c.I),N=(0,s.cn)("ef-accordion-item-content",j,m);return(0,i.useEffect)(()=>{let e=C.current;if(!e)return;let t=new MutationObserver(()=>$(e));return t.observe(e,{attributeFilter:["data-state"],attributes:!0}),()=>t.disconnect()},[$]),(0,o.jsx)(l.VY,{ref:S,className:N,forceMount:!0,onAnimationEnd:e=>{var t;E>0&&!y&&b(Math.ceil(E)),(null==(t=C.current)?void 0:t.dataset.state)==="open"&&e.target===e.currentTarget&&p.has(e.animationName)&&_(!0),null==h||h(e)},style:{...y>0?{"--radix-collapsible-content-height":`${y}px`}:{},...k?{overflow:"visible"}:{},...g},"aria-hidden":"closed"===x,...v,children:r})});m.displayName="AccordionItemContent"},62162:function(e,t,r){"use strict";r.d(t,{S:function(){return v}});var o=r(85893),i=r(37578),l=r(67294),s=r(48399),d=r(49190),c=r(75077),u=r(4382),p=r(36581);let f=(0,l.createContext)({isOpen:!1}),m=(0,l.forwardRef)((e,t)=>{let{children:r,className:l,...m}=e,h="open"===e["data-state"],{title:g,icon:v}=(0,u.tv)(p.T)(),y=(0,s.cn)("ef-accordion-item-trigger",g(),l);return(0,o.jsx)(c.t,{children:(0,o.jsxs)(i.xz,{className:y,ref:t,"data-info":h?"open":"close",...m,children:[(0,o.jsx)(f.Provider,{value:{isOpen:h},children:r}),(0,o.jsx)(d.AnimatedChevron,{active:h,className:(0,s.cn)(v())})]})})});m.displayName="AccordionItemTrigger";var h=r(76366),g=r(96974);let v=(0,l.forwardRef)((e,t)=>{let{children:r,className:d,...c}=e,{className:u}=(0,g.Dv)(h.J),p=(0,s.cn)("ef-accordion-item-title",u,d),f=(0,l.useRef)(null);return(0,o.jsx)(i.h4,{asChild:!0,ref:t,...c,children:(0,o.jsx)(m,{className:p,ref:f,children:r})})});v.displayName="AccordionItemTitle"},76366:function(e,t,r){"use strict";r.d(t,{I:function(){return l},J:function(){return i}});var o=r(98069);let i=(0,o.cn)({className:void 0}),l=(0,o.cn)({className:void 0})},36581:function(e,t,r){"use strict";r.d(t,{T:function(){return o}});let o=(0,r(4382).c6)({slots:{root:"",title:'[&>.ef-text]:after:from-system-text [&>.ef-text]:after:to-system-text gap-xs py-s text-mobile-title-3 motion-safe:[&>.ef-text]:after:duration-system-short motion-safe:[&>.ef-text]:after:ease-system-easing-standard flex w-full max-w-none cursor-pointer select-none items-center justify-between px-0 text-start disabled:cursor-not-allowed [&>.ef-text]:relative [&>.ef-text]:after:visible [&>.ef-text]:after:block [&>.ef-text]:after:h-[2.5px] [&>.ef-text]:after:w-full [&>.ef-text]:after:bg-gradient-to-r [&>.ef-text]:after:bg-[length:100%_0] [&>.ef-text]:after:bg-center [&>.ef-text]:after:bg-no-repeat [&>.ef-text]:after:content-[""] [&>.ef-text]:hover:after:bg-[length:100%_2.5px] motion-safe:[&>.ef-text]:after:transition-[background-size]',item:"border-components-dividers-default border-b",icon:"text-system-vector-default ms-auto shrink-0",content:"!animation-fill-mode-none hide-children-on-closed *:last:mb-m data-[state=closed]:animate-in-height data-[state=open]:animate-in-out-height data-[state=closed]:animate-from-h-[--radix-accordion-content-height] data-[state=closed]:animate-to-h-0 data-[state=open]:animate-from-h-0 data-[state=open]:animate-to-h-[--radix-accordion-content-height] motion-safe:animation-duration-system-medium motion-safe:animation-ease-system-easing-expressive overflow-hidden data-[state=closed]:pointer-events-none data-[state=closed]:h-0"},variants:{inline:{true:{item:"[&_svg]:ms-xs border-none [&>button>*]:after:hidden [&>button]:inline-flex [&>button]:w-auto [&>button]:justify-start [&>button]:p-0"}},disabled:{true:{title:"[&>*]:text-system-text-disabled-default cursor-not-allowed [&>.ef-text]:after:hidden",item:"[&>*]:text-system-text-disabled-default [&>*]:cursor-not-allowed [&>*]:after:hidden [&>button>*]:after:hidden"}},hoverEffect:{false:{title:"[&>.ef-text]:after:invisible"}}}})},22953:function(e,t,r){"use strict";r.d(t,{$:function(){return p}});var o=r(85893),i=r(48399),l=r(92692);r(67294);var s=r(1319),d=r(11084),c=r(4382),u=r(38898);let p=e=>{let{active:t,themeConfig:r,className:p,width:f=24,height:m=24,...h}=e,{root:g,left:v,right:y,leftMask:b,rightMask:x}
50=(0,c.tv)(r?(0,c.RH)(l.ZX,r):l.ZX)({checked:t}),w=(0,i.cn)("ef-animated-checkmark",g(),p),k=Date.now();return(0,s.T)()?(0,o.jsx)(d.a,{iconSize:"m",children:(0,o.jsx)(u.J,{weight:"bold"})}):(0,o.jsxs)("svg",{className:(0,i.cn)(w),viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",width:f,height:m,strokeWidth:2.3,...h,children:[(0,o.jsxs)("defs",{children:[(0,o.jsx)("mask",{id:`left-line-mask-${k}`,children:(0,o.jsx)("line",{className:(0,i.cn)(b()),x1:"0",y1:"9.8",x2:"9",y2:"18.8"})}),(0,o.jsx)("mask",{id:`right-line-mask-${k}`,children:(0,o.jsx)("line",{className:(0,i.cn)(x()),x1:"9",y1:"18.8",x2:"24",y2:"3.8"})})]}),(0,o.jsx)("g",{children:(0,o.jsx)("line",{className:(0,i.cn)(v()),x1:"0",y1:"9.8",x2:"9",y2:"18.8",mask:`url(#left-line-mask-${k})`})}),(0,o.jsx)("g",{children:(0,o.jsx)("line",{className:(0,i.cn)(y()),x1:"9",y1:"18.8",x2:"24",y2:"3.8",mask:`url(#right-line-mask-${k})`})})]})}},61376:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedExternalArrow:function(){return c}});var o=r(85893),i=r(67294),l=r(4382),s=r(92692),d=r(48399);let c=(0,i.forwardRef)((e,t)=>{let{active:r=!1,themeConfig:i,className:c,...u}=e,{root:p,arrow:f}=(0,l.tv)(i?(0,l.RH)(s.Cr,i):s.Cr)({active:r}),m=(0,d.cn)("ef-animated-external-arrow",p(),c);return(0,o.jsxs)("svg",{ref:t,className:m,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid","aria-hidden":!0,...u,children:[(0,o.jsxs)("g",{className:(0,d.cn)(f()),children:[(0,o.jsx)("line",{x1:"12.75",y1:"11.25",x2:"20.25",y2:"3.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,o.jsx)("polyline",{points:"20.25 9.75 20.25 3.75 14.25 3.75",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}),(0,o.jsx)("path",{d:"M17.25,13.125v6.375a0.75,0.75,0,0,1-0.75,0.75H4.5a0.75,0.75,0,0,1-0.75-0.75V7.5a0.75,0.75,0,0,1,0.75-0.75h6.375",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]})});c.displayName="AnimatedExternalArrow"},1753:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedArrowRight:function(){return c}});var o=r(85893),i=r(67294),l=r(92692),s=r(4382),d=r(48399);let c=(0,i.forwardRef)((e,t)=>{let{active:r=!1,themeConfig:i,className:c,...u}=e,{root:p,top:f,bottom:m}=(0,s.tv)(i?(0,s.RH)(l.qz,i):l.qz)({active:r,icon:"arrow"}),h=(0,d.cn)("ef-animated-arrow-right","rtl-flip",p(),c);return(0,o.jsxs)("svg",{ref:t,className:h,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid","aria-hidden":!0,...u,children:[(0,o.jsx)("g",{children:(0,o.jsx)("line",{x1:"4",y1:"12",x2:"20",y2:"12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})}),(0,o.jsx)("g",{className:f(),children:(0,o.jsx)("line",{x1:"20",y1:"12",x2:"13",y2:"5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})}),(0,o.jsx)("g",{className:m(),children:(0,o.jsx)("line",{x1:"20",y1:"12",x2:"13",y2:"19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})})]})});c.displayName="AnimatedArrowRight"},49190:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedChevron:function(){return d}});var o=r(85893),i=r(4382),l=r(92692),s=r(48399);let d=e=>{let{active:t=!1,themeConfig:r,className:d,...c}=e,{root:u,left:p,right:f}=(0,i.tv)(r?(0,i.RH)(l.Iq,r):l.Iq)({active:t}),m=(0,s.cn)("ef-animated-chevron",u(),d);return(0,o.jsxs)("svg",{className:m,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid","aria-hidden":!0,...c,children:[(0,o.jsx)("g",{className:(0,s.cn)(p()),children:(0,o.jsx)("line",{x1:"1",y1:"12",x2:"12",y2:"12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})}),(0,o.jsx)("g",{className:(0,s.cn)(f()),children:(0,o.jsx)("line",{x1:"12",y1:"12",x2:"23",y2:"12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})})]})};d.displayName="AnimatedChevron"},38845:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedChevronLeft:function(){return d}});var o=r(85893),i=r(92692),l=r(4382),s=r(48399);let d=e=>{let{active:t=!1,themeConfig:r,className:d,...c}=e,{root:u,top:p,bottom:f}=(0,l.tv)(r?(0,l.RH)(i.wK,r):i.wK)({active:t}),m=(0,s.cn)("ef-animated-chevron-left",u(),"rtl-flip",d);return(0,o.jsxs)("svg",{className:m,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid","aria-hidden":!0,...c,children:[(0,o.jsx)("g",{className:p(),children:(0,o.jsx)("line",{x1:"15",y1:"5",x2:"8",y2:"12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})}),(0,o.jsx)("g",{className:f(),children:(0,o.jsx)("line",{x1:"8",y1:"12",x2:"15",y2:"19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})})]})};d.displayName="AnimatedChevronLeft"},89840:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedChevronRight:function(){return d}});var o=r(85893),i=r(92692),l=r(4382),s=r(48399);let d=e=>{let{active:t=!1,themeConfig:r,className:d,...c}=e,{root:u,top:p,bottom:f}=(0,l.tv)(r?(0,l.RH)(i.qz,r):i.qz)({active:t}),m=(0,s.cn)("ef-animated-chevron-right","rtl-flip",u(),d);return(0,o.jsxs)("svg",{className:m,version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid","aria-hidden":!0,...c,children:[(0,o.jsx)("g",{className:p(),children:(0,o.jsx)("line",{x1:"9",y1:"5",x2:"16",y2:"12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})}),(0,o.jsx)("g",{className:f(),children:(0,o.jsx)("line",{x1:"16",y1:"12",x2:"9",y2:"19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3"})})]})};d.displayName="AnimatedChevronRight"},79355:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedDoubleChevronLeft:function(){return k}});var o=r(85893),i=r(92692),l=r(4382),s=r(48399),d=r(67294),c=r(16018);let u=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]);var p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&y(e,r,t[r]);if(h)for(var r of h(t))v.call(t,r)&&y(e,r,t[r]);return e},x=(e,t)=>f(e,m(t));let w=(0,d.forwardRef)((e,t)=>d.createElement(c.Z,x(b({ref:t},e),{weights:u})));
50w.displayName="CaretDoubleLeft";let k=e=>{let{active:t=!1,themeConfig:r,className:d,...c}=e,{root:u}=(0,l.tv)(r?(0,l.RH)(i.J$,r):i.J$)({active:t,direction:"left"}),p=(0,s.cn)("ef-animated-double-chevron-left",u(),"rtl-flip",d);return(0,o.jsx)(w,{className:p,height:24,width:24,weight:"bold",...c})};k.displayName="AnimatedDoubleChevronLeft"},59237:function(e,t,r){"use strict";r.r(t),r.d(t,{AnimatedDoubleChevronRight:function(){return k}});var o=r(85893),i=r(48399),l=r(4382),s=r(92692),d=r(67294),c=r(16018);let u=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]);var p=Object.defineProperty,f=Object.defineProperties,m=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&y(e,r,t[r]);if(h)for(var r of h(t))v.call(t,r)&&y(e,r,t[r]);return e},x=(e,t)=>f(e,m(t));let w=(0,d.forwardRef)((e,t)=>d.createElement(c.Z,x(b({ref:t},e),{weights:u})));w.displayName="CaretDoubleRight";let k=e=>{let{active:t=!1,themeConfig:r,className:d,...c}=e,{root:u}=(0,l.tv)(r?(0,l.RH)(s.J$,r):s.J$)({active:t,direction:"right"}),p=(0,i.cn)("ef-animated-double-chevron-right",u(),"rtl-flip",d);return(0,o.jsx)(w,{className:p,height:24,width:24,weight:"bold",...c})};k.displayName="AnimatedDoubleChevronRight"},92692:function(e,t,r){"use strict";r.d(t,{Cr:function(){return p},Iq:function(){return i},J$:function(){return c},Ww:function(){return f},ZX:function(){return u},qz:function(){return s},wK:function(){return d}});var o=r(4382);let i=(0,o.c6)({slots:{root:"h-[1em] w-[1em] origin-center stroke-current stroke-2 [stroke-linejoin:round] motion-safe:transition-transform",left:"origin-center motion-safe:transition-transform motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive",right:"origin-center motion-safe:transition-transform motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive"},variants:{active:{false:{left:"translate-y-[19%] rotate-45",right:"translate-y-[19%] -rotate-45"},true:{left:"translate-y-[-19%] -rotate-45",right:"translate-y-[-19%] rotate-45"}}}}),l="h-[1em] w-[1em] translate-x-0 overflow-visible stroke-current stroke-2 motion-safe:animation-duration-system-medium motion-safe:animation-ease-out [stroke-linejoin:round]",s=(0,o.c6)({slots:{root:l,top:"origin-bottom-right rotate-0 motion-safe:animation-duration-system-medium motion-safe:animation-ease-out",bottom:"origin-top-right rotate-0 motion-safe:animation-duration-system-medium motion-safe:animation-ease-out"},variants:{active:{true:{root:"motion-safe:animate-out motion-safe:animate-to-right-[10%]",top:"motion-safe:animate-out motion-safe:animate-to-rotate-[7deg] motion-safe:animate-to-bottom-[3%]",bottom:"motion-safe:animate-out motion-safe:animate-to-rotate-[-7deg] motion-safe:animate-to-top-[3%]"},false:{root:"motion-safe:animate-in motion-safe:animate-from-right-[10%]",top:"motion-safe:animate-in motion-safe:animate-from-rotate-[7deg] motion-safe:animate-from-bottom-[3%]",bottom:"motion-safe:animate-in motion-safe:animate-from-rotate-[-7deg] motion-safe:animate-from-top-[3%]"}},icon:{chevron:{},arrow:{}}},compoundVariants:[{active:!0,icon:"arrow",class:{root:"motion-safe:animate-to-right-[8px]",top:"motion-safe:animate-to-bottom-[1%]",bottom:"motion-safe:animate-to-top-[1%]"}},{active:!1,icon:"arrow",class:{root:"motion-safe:animate-from-right-[8px]",top:"motion-safe:animate-from-bottom-[1%]",bottom:"motion-safe:animate-from-bottom-[1%]"}}]}),d=(0,o.c6)({slots:{root:l,top:"origin-bottom-left rotate-0 motion-safe:animation-duration-system-medium motion-safe:animation-ease-out",bottom:"origin-top-left rotate-0 motion-safe:animation-duration-system-medium motion-safe:animation-ease-out"},variants:{active:{true:{root:"motion-safe:animate-out motion-safe:animate-to-right-[-10%]",top:"motion-safe:animate-out motion-safe:animate-to-rotate-[-7deg] motion-safe:animate-to-bottom-[3%]",bottom:"motion-safe:animate-out motion-safe:animate-to-rotate-[7deg] motion-safe:animate-to-top-[3%]"},false:{root:"motion-safe:animate-in motion-safe:animate-from-right-[-10%]",top:"motion-safe:animate-in motion-safe:animate-from-rotate-[-7deg] motion-safe:animate-from-bottom-[3%]",bottom:"motion-safe:animate-in motion-safe:animate-from-rotate-[7deg] motion-safe:animate-from-top-[3%]"}},icon:{chevron:{},arrow:{}}},compoundVariants:[{active:!0,icon:"arrow",class:{root:"motion-safe:animate-to-right-[-8px]",top:"motion-safe:animate-to-bottom-[1%]",bottom:"motion-safe:animate-to-top-[1%]"}},{active:!1,icon:"arrow",class:{root:"motion-safe:animate-from-right-[-8px]",top:"motion-safe:animate-from-bottom-[1%]",bottom:"motion-safe:animate-from-bottom-[1%]"}}]}),c=(0,o.c6)({slots:{root:"h-[1em] w-[1em] origin-center overflow-visible fill-current rtl-flip motion-safe:animation-duration-system-medium motion-safe:animation-ease-out"},variants:{active:{true:{root:""},false:{root:""}},direction:{right:{root:""},left:{root:""}}},compoundVariants:[{active:!0,direction:"left",class:{root:"motion-safe:animate-out motion-safe:animate-to-left-[20%]"}},{active:!1,direction:"left",class:{root:"motion-safe:animate-in motion-safe:animate-from-left-[20%]"}},{active:!0,direction:"right",class:{root:"motion-safe:animate-out motion-safe:animate-to-right-[20%]"}},{active:!1,direction:"right",class:{root:"motion-safe:animate-in motion-safe:animate-from-right-[20%]"}}]}),u=(0,o.c6)({slots:{root:"[stroke-linecap:round] [stroke-linejoin:round]",left:"opacity-1 stroke-current transition-all duration-[500ms] [stroke-dasharray:8] [stroke-dashoffset:19]",right:"opacity-1 stroke-current [stroke-dasharray:17]",leftMask:"opacity-1 stroke-white transition-all duration-[500ms] [stroke-dasharray:17] [stroke-dashoffset:22]",rightMask:"opacity-1 stroke-white [stroke-dasharray:34]"},variants:{checked:{true:{left:"animate-out animate-to-stroke-dashoffset-[11] animation-duration-system-medium [stroke-dashoffset:19]",leftMask:"animate-out animate-to-stroke-dashoffset-[5] animation-duration-system-medium [stroke-dashoffset:22]",right:"animate-in animate-from-stroke-dashoffset-[86] animation-delay-[200ms] [stroke-dashoffset:68] motion-safe:animation-duration-system-medium",rightMask:"animate-in animate-from-stroke-dashoffset-[89] animation-delay-[200ms] [stroke-dashoffset:71] motion-safe:animation-duration-system-medium"},false:{left:"opacity-0",leftMask:"opacity-0",right:"[stroke-dashoffset:20] motion-safe:transition-all motion-safe:duration-[400ms] motion-safe:ease-system-easing-expressive",rightMask:"[stroke-dashoffset:23] motion-safe:transition-all motion-safe:duration-[400ms] motion-safe:ease-system-easing-expressive"}}}}),p=(0,o.c6)({slots:{root:"h-[1em] w-[1em] stroke-current [stroke-linecap:round] [stroke-linejoin:round] motion-safe:transition-transform rtl:scale-x-[-1]",arrow:"motion-safe:transition-transform motion-safe:duration-system-medium motion-safe:ease-system-easing-expressive"},variants:{active:{true:{arrow:"translate-x-[0.1em] translate-y-[-0.1em]"},false:{arrow:"translate-x-[0] translate-y-[0]"}}}}),f=(0,o.c6)({slots:{root:"fill-current",play:"motion-safe:transition-[d,opacity] motion-safe:duration-[calc(var(--motion-system-duration-medium)*2/3)]",pause:"motion-safe:transition-opacity motion-safe:duration-[calc(var(--motion-system-duration-medium)*2/3)] motion-safe:ease-system-easing-expressive"},variants:{active:{true:{play:'opacity-0 [d:path("M216,208a16,16,0,0,1,-16,16L56,224a16,16,0,0,1,-11.31,-4.69A16,16,0,0,1,40,208V48a16,16,0,0,1,4.69,-11.31a16,16,0,0,1,11.31,-4.69L200,32A16,16,0,0,1,216,48Z")] motion-safe:[transition-delay:0s,calc(var(--motion-system-duration-medium)/3)] motion-safe:[transition-timing-function:var(--motion-system-easing-expressive),cubic-bezier(0.32,0,0.67,0)]',pause:"opacity-1 motion-safe:delay-[calc(var(--motion-system-duration-medium)/3)]"},false:{play:'opacity-1 [d:path("M240,128a15.74,15.74,0,0,1,-7.6,13.51L88.32,229.65a16,16,0,0,1,-16.2,0.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12,-13.82a16,16,0,0,1,16.2,0.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z")] motion-safe:ease-system-easing-expressive motion-safe:[transition-delay:calc(var(--motion-system-duration-medium)/3),0s]',pause:"opacity-0"}}}})},56896:function(e,t,r){"use strict";r.r(t),r.d(t,{Button:function(){return y}});var o=r(85893),i=r(48399),l=r(75077),s=r(95537),d=r(4382),c=r(76121),u=r(75607),p=r(25146),f=r(67294);let m="before:inset-[2px] before:ring-[2px] after:inset-0 after:ring-[2px] dark:before:ring-system-stroke-focus-effect-outer dark:after:ring-system-stroke-focus-effect-inner",h=(0,d.c6)({slots:{root:"group/button relative z-10 inline-flex max-w-full cursor-pointer appearance-none items-center justify-center rounded-full border-none text-base leading-6 no-underline outline-none [--button-scale-pressed:1] disabled:cursor-not-allowed",buttonBg:"absolute bottom-0 left-0 top-0 block h-full w-full rounded-[inherit] group-hover/button:scale-[1.03] group-active/button:scale-100 group-disabled/button:hover:scale-100 motion-safe:transition-[transform,background-color] motion-safe:animation-duration-system-short motion-safe:animation-ease-system-easing-standard",buttonText:"max-w-full overflow-hidden overflow-ellipsis whitespace-nowrap",buttonSpinner:"inset-0",buttonContent:"pointer-events-none isolate z-20 flex max-w-full select-none flex-row items-center justify-center gap-xs whitespace-nowrap text-ui-label md:mx-auto [&>
50svg]:h-[var(--icon-size,16px)] [&>svg]:w-[var(--icon-size,16px)] [&>svg]:flex-none",focusRing:""},variants:{variant:{filled:{root:"text-components-buttons-filled-foreground",buttonBg:"bg-components-buttons-filled-background",focusRing:""},outlined:{root:"text-components-buttons-outlined-foreground",buttonBg:"bg-components-buttons-outlined-background ring-1 ring-components-buttons-outlined-foreground",focusRing:m},ghost:{root:"text-components-buttons-ghost-enabled-foreground",buttonBg:"bg-components-buttons-ghost-enabled-background group-hover/button:bg-components-buttons-ghost-hover-background",focusRing:m},text:{root:"rounded-none !p-0 text-system-text-brand-primary hover:text-system-text-default",buttonBg:"hidden",buttonContent:"underline decoration-[8%] underline-offset-[12%] [text-decoration-skip-ink:auto]",focusRing:m}},isLoading:{true:{root:"pointer-events-none",buttonContent:"invisible",buttonBg:"shadow-none"}},disabled:{true:{}},multiline:{true:{buttonContent:"whitespace-normal",buttonText:"line-clamp-2 whitespace-normal text-center"}},shape:{round:{root:"ef-button-round aspect-square h-12 w-12 rounded-full p-4",buttonContent:"gap-0",buttonText:"w-0"},square:{root:"!rounded-sm"}},size:{xSmall:{root:"px-2 py-1 leading-none hit-area-small",buttonContent:"text-ui-label-small"},small:{root:"px-4 py-1.5 leading-none",buttonContent:"text-ui-label-small"},regular:{root:"px-6 py-3",buttonContent:"text-ui-label"},large:{root:"px-8 py-4",buttonContent:"text-ui-label-large"},xLarge:{root:"px-10 py-5",buttonContent:"text-ui-label-large-bold"}},as:{span:{root:"pointer-events-none can-hover:hover:!cursor-auto can-hover:hover:![--button-scale-pressed:1.00]",buttonBg:"group-hover/button:scale-100"},a:"",button:"",div:""},isFocusVisible:{true:{root:""},false:{root:""}}},compoundVariants:[{disabled:!0,variant:"filled",class:{root:"text-system-text-disabled-on-default",buttonBg:"bg-system-surface-disabled-default"}},{disabled:!0,variant:"outlined",class:{root:"text-system-text-disabled-default",buttonBg:"ring-1 ring-system-stroke-disabled"}},{disabled:!0,variant:"ghost",class:{root:"text-system-text-disabled-default",buttonBg:"group-hover/button:bg-transparent"}},{size:"xSmall",shape:"round",class:{root:"h-4 w-4 p-[2px]",buttonContent:"[--icon-size:16px]"}},{size:"small",shape:"round",class:{root:"h-8 w-8 p-[9px]",buttonContent:"[--icon-size:16px]"}},{size:"regular",shape:"round",class:{root:"h-12 w-12 p-2",buttonContent:"[--icon-size:24px]"}},{size:"large",shape:"round",class:{root:"h-14 w-14 p-4",buttonContent:"[--icon-size:24px]"}},{size:"xLarge",shape:"round",class:{root:"h-[72px] w-[72px] p-6",buttonContent:"[--icon-size:32px]"}},{size:["small","xSmall"],shape:"square",class:{root:"!rounded-xs"}},{isLoading:!0,size:"small",class:{buttonSpinner:"h-4 w-4"}},{isLoading:!0,variant:["outlined","ghost"],class:{buttonSpinner:"border-components-buttons-outlined-foreground/30 border-l-components-buttons-outlined-foreground"}},{pointerPress:!1,isFocusVisible:!1,disabled:!1,class:{root:"can-hover:hover:cursor-pointer can-hover:hover:[--button-scale-pressed:1.05]",buttonBg:"motion-safe:scale-[--button-scale-pressed]"}},{touchPress:!0,disabled:!1,class:{root:"[--button-scale-touched:0.95]",buttonBg:"motion-safe:scale-[--button-scale-touched]"}},{isLoading:!0,variant:"filled",class:{buttonSpinner:"dark mono dark:light"}},{variant:"text",disabled:!0,class:{root:"text-system-text-disabled-default hover:text-system-text-disabled-default",buttonBg:"bg-transparent group-hover/button:bg-transparent"}},{variant:"text",isLoading:!0,class:{buttonSpinner:"border-system-text-brand-primary/30 border-l-system-text-brand-primary"}}]}),g={primary:"filled",secondary:"outlined",link:"ghost"},v=e=>g[e]||e,y=(0,f.forwardRef)((e,t)=>{let{as:r="button",variant:m="filled",shape:g,size:y="regular",disabled:b=!1,isLoading:x,className:w,children:k,onClick:_,onPress:C,bgClassName:$,multiline:S,contentClassName:E,themeConfig:j,...N}=e,T=(0,f.useRef)(null),{isFocusVisible:P,focusProps:A}=(0,u.F)();(0,f.useImperativeHandle)(t,()=>T.current,[]);let{buttonProps:O}=(0,c.U)({...e,onPress:e=>{C&&C(e)},elementType:r,isDisabled:b},T),R=(0,d.tv)(j?(0,d.RH)(h,j):h),D=v(m),{root:M,buttonBg:L,buttonText:I,buttonSpinner:F,buttonContent:B,focusRing:V}=R({variant:D,isLoading:x,disabled:b,isFocusVisible:P,multiline:S,size:y,shape:g,as:r}),z=(0,i.cn)("ef-button",`ef-button-${D}`,M(),w),H=f.Children.map(k,e=>"string"==typeof e?(0,o.jsx)("span",{className:(0,i.cn)(I()),children:e}):e),{renderCustomLink:U,...Z}=N,W={a:b?"button":U??"a",button:"button",div:"div",span:"span"}[r],K="function"==typeof _?{onClick:_,disabled:b}:O;return(0,o.jsx)(l.t,{themeConfig:V()?{slots:{root:V()}}:void 0,children:(0,o.jsxs)(W,{...(0,p.d)(A,K),...Z,className:z,ref:U?void 0:T,"aria-disabled":b,children:[(0,o.jsx)("span",{className:(0,i.cn)("ef-button-bg",L(),$||"")}),x?(0,o.jsx)(s.T,{size:y,className:(0,i.cn)(F())}):null,(0,o.jsx)("span",{className:(0,i.cn)(B(),E),children:H})]})})});y.displayName="Button"},97292:function(e,t,r){"use strict";r.d(t,{h:function(){return d}});var o=r(85893),i=r(48399),l=r(4382),s=r(53129);let d=({children:e,layout:t,align:r="stack"===t||"stack-stretch"===t?"center":"start",className:d,themeConfig:c,...u})=>{let{root:p}=(0,l.tv)(c?(0,l.RH)(s.H,c):s.H)({layout:t,align:r}),f=(0,i.cn)("ef-button-group",p(),d);return(0,o.jsx)("div",{className:f,...u,children:e})};d.displayName="ButtonGroup"},53129:function(e,t,r){"use strict";r.d(t,{E:function(){return i},H:function(){return l}});var o=r(4382);let i={s:{grow:"[&>.ef-button:not(.ef-button-round)]:grow",reset:"[&>.ef-button:not(.ef-button-round)]:grow-0"},m:{grow:"md:[&>.ef-button:not(.ef-button-round)]:grow",reset:"md:[&>.ef-button:not(.ef-button-round)]:grow-0"},l:{grow:"lg:[&>.ef-button:not(.ef-button-round)]:grow",reset:"lg:[&>.ef-button:not(.ef-button-round)]:grow-0"},xl:{grow:"xl:[&>.ef-button:not(.ef-button-round)]:grow",reset:"xl:[&>.ef-button:not(.ef-button-round)]:grow-0"},xxl:{grow:"xxl:[&>.ef-button:not(.ef-button-round)]:grow",reset:"xxl:[&>.ef-button:not(.ef-button-round)]:grow-0"}},l=(0,o.c6)({slots:{root:"flex flex-wrap items-center gap-s"},variants:{layout:{stretch:{root:"[&>.ef-button:not(.ef-button-round)]:grow"},pack:{root:"gap-xs"},stack:{root:"flex-col"},"stack-stretch":{root:"flex-col [&>.ef-button:not(.ef-button-icon):not(.ef-button-round)]:w-full"}},align:{start:{root:"justify-start"},center:{root:"justify-center"},end:{root:"justify-end"},inherit:{}}},compoundVariants:[{layout:"stack",align:"start",class:{root:"items-start"}},{layout:"stack",align:"center",class:{root:"items-center"}},{layout:"stack",align:"end",class:{root:"items-end"}}]})},29890:function(e,t,r){"use strict";r.d(t,{l:function(){return Q}});
50var o=r(85893),i=r(67294),l=r(36297),s=r(4382),d=r(43201),c=r(48399);let u=(e,t)=>{(0,i.useEffect)(()=>{let r=e.current;if(!r)return;let o='a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])';t?r.querySelectorAll(o).forEach(e=>{e.dataset.originalTabIndex||(e.dataset.originalTabIndex=String(e.tabIndex)),e.tabIndex=-1}):r.querySelectorAll(o).forEach(e=>{let t=e.dataset.originalTabIndex;void 0!==t&&(e.tabIndex=""===t?0:Number(t),delete e.dataset.originalTabIndex)})},[e,t])};var p=r(7777),f=r(17486),m=r(1319),h=r(96974);let g=(e,t,r=!1)=>{let o=(0,h.Dv)(p.j6),l=(0,h.Dv)(p.Ov),{slidesInView:s,paginated:d}=(0,h.Dv)(p.XC),c=(0,m.T)();(0,i.useEffect)(()=>{if(!r)return;let i=e.current;if(!i||!o)return;let u=()=>{if(!(0,f.fC)(t,l,s||1)&&!c){if(d&&s){let e=Math.max(0,o.slides.length-s),r=Math.floor(t/s)*s,i=r+s-1>=e;t>=e||i?o.moveToIdx(e):o.moveToIdx(Math.max(0,r))}else{let e=o.slides.length,r=Math.min(t,s?Math.max(0,e-s):e-1);o.moveToIdx(r)}}};return i.addEventListener("focusin",u),()=>i.removeEventListener("focusin",u)},[t,l,o,s,d,r,c])};var v=r(13432);let y=(0,i.memo)((0,i.forwardRef)((e,t)=>{let{index:r=0,className:d,highlightedIndex:p,inView:f,slideSize:m,onSlidePress:h,themeConfig:y,children:b,style:x,isFadeTransition:w=!1,isCurveTransition:k=!1,disableAutoScrollOnFocus:_=!1,...C}=e,$=p??0,S=$===r,E=(0,i.useRef)(null),{pressProps:j}=(0,v.r)({onPress:e=>{e.continuePropagation(),null==h||h(r)}}),N=!_&&!w&&!k;u(E,!f&&!w&&!N),g(E,r,N);let T=r-$>0?r-$-1:$&&r-$<0?r-$+1:0,{slide:P,slideContainer:A}=(0,s.tv)(y?(0,s.RH)(l.ql,y):l.ql)({}),O=(0,c.cn)("ef-carousel-slide",!w&&!k&&"keen-slider__slide",S?"highlighted":"",f?"active":"inactive",A());return(0,o.jsx)("div",{ref:e=>{E.current=e,"function"==typeof t?t(e):t&&"current"in t&&(t.current=e)},className:O,role:"group","data-highlighted":S,...f||w||N?{}:{"aria-hidden":!0},...h?j:{},...C,children:(0,o.jsx)("div",{className:(0,c.cn)(P(),d),style:{"--delay":`${150*r}ms`,"--slide-size":m,"--highlight-index":T,...x},children:b})})}));y.displayName="CarouselSlide";let b=(e,t,r,o)=>{let[l,s]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let i=r?0:Math.floor(Number(t)/2);s(i+e),null==o||o(i+e)},[e,t,r]),l};var x=r(29398),w=r(19457),k=r(41424),_=r(11078),C={};function $(e){return Array.prototype.slice.call(e)}function S(e,t){var r=Math.floor(e);return r===t||r+1===t?e:t}function E(){return Date.now()}function j(e,t,r){if(t="data-keen-slider-"+t,null===r)return e.removeAttribute(t);e.setAttribute(t,r||"")}function N(e,t){return t=t||document,"function"==typeof e&&(e=e(t)),Array.isArray(e)?e:"string"==typeof e?$(t.querySelectorAll(e)):e instanceof HTMLElement?[e]:e instanceof NodeList?$(e):[]}function T(e){e.raw&&(e=e.raw),e.cancelable&&!e.defaultPrevented&&e.preventDefault()}function P(e){e.raw&&(e=e.raw),e.stopPropagation&&e.stopPropagation()}function A(){var e=[];return{add:function(t,r,o,i){t.addListener?t.addListener(o):t.addEventListener(r,o,i),e.push([t,r,o,i])},input:function(e,t,r,o){this.add(e,t,function(e){e.nativeEvent&&(e=e.nativeEvent);var t=e.changedTouches||[],o=e.targetTouches||[],i=e.detail&&e.detail.x?e.detail:null;return r({id:i?i.identifier?i.identifier:"i":o[0]?o[0]?o[0].identifier:"e":"d",idChanged:i?i.identifier?i.identifier:"i":t[0]?t[0]?t[0].identifier:"e":"d",raw:e,x:i&&i.x?i.x:o[0]?o[0].screenX:i?i.x:e.pageX,y:i&&i.y?i.y:o[0]?o[0].screenY:i?i.y:e.pageY})},o)},purge:function(){e.forEach(function(e){e[0].removeListener?e[0].removeListener(e[2]):e[0].removeEventListener(e[1],e[2],e[3])}),e=[]}}}function O(e,t,r){return Math.min(Math.max(e,t),r)}function R(e){return(e>0?1:0)-(e<0?1:0)||+e}function D(e){var t=e.getBoundingClientRect();return{height:S(t.height,e.offsetHeight),width:S(t.width,e.offsetWidth)}}function M(e,t,r,o){var i=e&&e[t];return null==i?r:o&&"function"==typeof i?i():i}function L(e){return Math.round(1e6*e)/1e6}Object.defineProperty(C,"__esModule",{value:!0});var I=function(){return(I=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function F(e,t,r){for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function B(e){var t,r,o,i,l,s,d,c;function u(e){return 1-Math.pow(1-e,3)}function p(){return o?e.track.velocity():0}function f(e,t){void 0===t&&(t=1e3);var r=147e-9+(e=Math.abs(e))/t;return{dist:Math.pow(e,2)/r,dur:e/r}}function m(){var t=e.track.details;t&&(l=t.min,s=t.max,d=t.minIdx,c=t.maxIdx)}function h(){e.animator.stop()}e.on("updated",m),e.on("optionsChanged",m),e.on("created",m),e.on("dragStarted",function(){o=!1,h(),t=r=e.track.details.abs}),e.on("dragChecked",function(){o=!0}),e.on("dragEnded",function(){var o,m,g,v,y,b,x=e.options.mode;"snap"===x&&(o=e.track,g=(m=e.track.details).position,v=R(p()),(g>s||g<l)&&(v=0),y=t+v,0===m.slides[o.absToRel(y)].portion&&(y-=v),t!==r&&(y=r),R(o.idxToDist(y,!0))!==v&&(y+=v),y=O(y,d,c),b=o.idxToDist(y,!0),e.animator.start([{distance:b,duration:500,easing:function(e){return 1+--e*e*e*e*e}}])),"free"!==x&&"free-snap"!==x||function(){h();var t="free-snap"===e.options.mode,r=e.track,o=p();i=R(o);var m=e.track.details,g=[];if(o||!t){var v=f(o),y=v.dist,b=v.dur;if(b*=2,y*=i,t){var x=r.idxToDist(r.distToIdx(y),!0);x&&(y=x)}g.push({distance:y,duration:b,easing:u});var w=m.position,k=w+y;if(k<l||k>s){var _=k<l?l-w:s-w,C=0,$=o;if(R(_)===i){var S=Math.min(Math.abs(_)/Math.abs(y),1),E=(1-Math.pow(1-S,1/3))*b;g[0].earlyExit=E,$=o*(1-S)}else g[0].earlyExit=0,C+=_;var j=f($,100),N=j.dist*i;e.options.rubberband&&(g.push({distance:N,duration:2*j.dur,easing:u}),g.push({distance:-N+C,duration:500,easing:u}))}e.animator.start(g)}else e.moveToIdx(O(m.abs,d,c),!0,{duration:500,easing:function(e){return 1+--e*e*e*e*e}})}()}),e.on("dragged",function(){r=e.track.details.abs})}function V(e){var t,r,o,i,l,s,d,c,u,p,f,m,h,g,v,y,b,x,w=A();function k(t){if(s&&c===t.id){var h=S(t);if(u){if(!$(t))return C(t);p=h,u=!1,e.emit("dragChecked")}if(y)return p=h;T(t);var g=function(t){if(b===-1/0&&x===1/0)return t;var o=e.track.details,s=o.length,d=o.position,c=O(t,b-d,x-d);if(0===s)return 0;if(!e.options.rubberband)return c;if(d<=x&&d>=b||d<b&&r>0||d>x&&r<0)return t;var u=Math.max(0,1-Math.abs((d<b?d-b:d-x)/s*(i*s))/l*2);return u*u*t}(d(p-h)/i*o);r=R(g);var v=e.track.details.position;(v>b&&v<x||v===b&&r>0||v===x&&r<0)&&P(t),f+=g,!m&&Math.abs(f*i)>5&&(m=!0),e.track.add(g),p=h,e.emit("dragged")}}function _(t){!s&&e.track.details&&e.track.details.length&&(f=0,s=!0,m=!1,u=!0,c=t.id,$(t),p=S(t),e.emit("dragStarted"))}function C(t){s&&c===t.idChanged&&(s=!1,e.emit("dragEnded"))}function $(e){var t=E(),r=t?e.y:e.x,o=t?e.x:e.y,i=void 0!==h&&void 0!==g&&Math.abs(g-o)<=Math.abs(h-r);return h=r,g=o,i}function S(e){return E()?e.y:e.x}function E(){return e.options.vertical}function j(){i=e.size,l=E()?window.innerHeight:window.innerWidth;var t=e.track.details;t&&(b=t.min,x=t.max)}function D(e){m&&(P(e),T(e))}function M(){if(w.purge(),e.options.drag&&!e.options.disabled){d="function"==typeof(i=e.options.dragSpeed||1)?i:function(e){return e*i},o=e.options.rtl?-1:1,j(),t=e.container,r="data-keen-slider-clickable",N("[".concat(r,"]:not([").concat(r,"=false])"),t).map(function(e){w.add(e,"dragstart",P),w.add(e,"mousedown",P),w.add(e,"touchstart",P)}),w.add(t,"dragstart",function(e){T(e)}),w.add(t,"click",D,{capture:!0}),w.input(t,"ksDragStart",_),w.input(t,"ksDrag",k),w.input(t,"ksDragEnd",C),w.input(t,"mousedown",_),w.input(t,"mousemove",k),w.input(t,"mouseleave",C),w.input(t,"mouseup",C),w.input(t,"touchstart",_,{passive:!0}),w.input(t,"touchmove",k,{passive:!1}),w.input(t,"touchend",C),w.input(t,"touchcancel",C),w.add(window,"wheel",function(e){s&&T(e)}
50);var r,i,l="data-keen-slider-scrollable";N("[".concat(l,"]:not([").concat(l,"=false])"),e.container).map(function(e){var t;w.input(e,"touchstart",function(e){t=S(e),y=!0,v=!0},{passive:!0}),w.input(e,"touchmove",function(r){var o=E(),i=o?e.scrollHeight-e.clientHeight:e.scrollWidth-e.clientWidth,l=t-S(r),s=o?e.scrollTop:e.scrollLeft,d=o&&"scroll"===e.style.overflowY||!o&&"scroll"===e.style.overflowX;if(t=S(r),(l<0&&s>0||l>0&&s<i)&&v&&d)return y=!0;v=!1,T(r),y=!1}),w.input(e,"touchend",function(){y=!1})})}}e.on("updated",j),e.on("optionsChanged",M),e.on("created",M),e.on("destroyed",w.purge)}function z(e){var t,r,o=null;function i(t,r,o){e.animator.active?s(t,r,o):requestAnimationFrame(function(){return s(t,r,o)})}function l(){i(!1,!1,r)}function s(r,i,l){var s=0,d=e.size,p=e.track.details;if(p&&t){var f=p.slides;t.forEach(function(e,t){if(r)!o&&i&&c(e,null,l),u(e,null,l);else{if(!f[t])return;var p=f[t].size*d;!o&&i&&c(e,p,l),u(e,f[t].distance*d-s,l),s+=p}})}}function d(t){return"performance"===e.options.renderMode?Math.round(t):t}function c(e,t,r){var o=r?"height":"width";null!==t&&(t=d(t)+"px"),e.style["min-"+o]=t,e.style["max-"+o]=t}function u(e,t,r){if(null!==t){t=d(t);var o=r?t:0;t="translate3d(".concat(r?0:t,"px, ").concat(o,"px, 0)")}e.style.transform=t,e.style["-webkit-transform"]=t}function p(){t&&(s(!0,!0,r),t=null),e.on("detailsChanged",l,!0)}function f(){i(!1,!0,r)}function m(){p(),r=e.options.vertical,e.options.disabled||"custom"===e.options.renderMode||(o="auto"===M(e.options.slides,"perView",null),e.on("detailsChanged",l),(t=e.slides).length&&f())}e.on("created",m),e.on("optionsChanged",m),e.on("beforeOptionsChanged",function(){p()}),e.on("updated",f),e.on("destroyed",p)}var H=function(e,t,r){try{var o,i,l,s;return i=F([(o={drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"},function(t){var r,i,l,s,d,c=A();function u(e){var r;j(t.container,"reverse",(r=t.container,"rtl"!==window.getComputedStyle(r,null).getPropertyValue("direction")||e?null:"")),j(t.container,"v",t.options.vertical&&!e?"":null),j(t.container,"disabled",t.options.disabled&&!e?"":null)}function p(){f()&&v()}function f(){var e=null;if(s.forEach(function(t){t.matches&&(e=t.__media)}),e===r)return!1;r||t.emit("beforeOptionsChanged"),r=e;var o=e?l.breakpoints[e]:l;return t.options=I(I({},l),o),u(),k(),_(),b(),!0}function m(){return t.options.trackConfig.length}function h(e){for(var d in r=!1,l=I(I({},o),e),c.purge(),i=t.size,s=[],l.breakpoints||[]){var u=window.matchMedia(d);u.__media=d,s.push(u),c.add(u,"change",p)}c.add(window,"orientationchange",w),c.add(window,"resize",x),f()}function g(e){t.animator.stop();var r=t.track.details;t.track.init(e??(r?r.abs:0))}function v(e){g(e),t.emit("optionsChanged")}function y(e,r){if(e)return h(e),void v(r);k(),_();var o=m();b(),m()!==o?v(r):g(r),t.emit("updated")}function b(){var e=t.options.slides;if("function"==typeof e)return t.options.trackConfig=e(t.size,t.slides);for(var r=t.slides,o=r.length,i="number"==typeof e?e:M(e,"number",o,!0),l=[],s=M(e,"perView",1,!0),d=M(e,"spacing",0,!0)/t.size||0,c="auto"===s?d:d/s,u=M(e,"origin","auto"),p=0,f=0;f<i;f++){var m="auto"===s?function(e){var r=D(e);return(t.options.vertical?r.height:r.width)/t.size||1}(r[f]):1/s-d+c,h="center"===u?.5-m/2:"auto"===u?0:u;l.push({origin:h,size:m,spacing:d}),p+=m}if(p+=d*(i-1),"auto"===u&&!t.options.loop&&1!==s){var g=0;l.map(function(e){var t=p-g;return g+=e.size+d,t>=1||(e.origin=1-t-(p>1?0:1-p)),e})}t.options.trackConfig=l}function x(){k();var e=t.size;t.options.disabled||e===i||(i=e,y())}function w(){x(),setTimeout(x,500),setTimeout(x,2e3)}function k(){var e=D(t.container);t.size=(t.options.vertical?e.height:e.width)||1}function _(){t.slides=N(t.options.selector,t.container)}t.container=(d=N(e,document)).length?d[0]:null,t.destroy=function(){c.purge(),t.emit("destroyed"),u(!0)},t.prev=function(){t.moveToIdx(t.track.details.abs-1,!0)},t.next=function(){t.moveToIdx(t.track.details.abs+1,!0)},t.update=y,h(t.options)}),z,V,B],r||[],!0),s={},l={emit:function(e){s[e]&&s[e].forEach(function(e){e(l)});var t=l.options&&l.options[e];t&&t(l)},moveToIdx:function(e,t,r){var o=l.track.idxToDist(e,t);if(o){var i=l.options.defaultAnimation;l.animator.start([{distance:o,duration:M(r||i,"duration",500),easing:M(r||i,"easing",function(e){return 1+--e*e*e*e*e})}])}},on:function(e,t,r){void 0===r&&(r=!1),s[e]||(s[e]=[]);var o=s[e].indexOf(t);o>
50-1?r&&delete s[e][o]:r||s[e].push(t)},options:t},function(){if(l.track=function(e){var t,r,o,i,l,s,d,c,u,p,f,m,h,g,v=1/0,y=[],b=null,x=0;function w(e){N(x+e)}function k(e){var t=_(x+e).abs;return S(t)===t?t:null}function _(e){var t=Math.floor(Math.abs(L(e/r))),o=L((e%r+r)%r);o===r&&(o=0);var i=R(e),l=d.indexOf(F([],d).reduce(function(e,t){return Math.abs(t-o)<Math.abs(e-o)?t:e})),c=l;return i<0&&t++,l===s&&(c=0,t+=i>0?1:-1),{abs:c+t*s*i,origin:l,rel:c}}function C(e,t,r){if(t||!i.loop)return $(e,r);if(S(e)!==e)return null;var o,l=_(r??x),d=l.abs,c=e-l.rel,u=d+c;o=$(u);var p=$(u-s*R(c));return(null!==p&&Math.abs(p)<Math.abs(o)||null===o)&&(o=p),L(o)}function $(e,t){if(null==t&&(t=L(x)),o=e,S(o)!==o||null===e)return null;e=Math.round(e);var o,i=_(t),l=i.abs,c=i.rel,u=i.origin,p=j(e),f=(t%r+r)%r,m=d[u],h=Math.floor((e-(l-c))/s)*r;return L(m-f-m+d[p]+h+(u===s?r:0))}function S(e){return O(e,u,p)}function j(e){return(e%s+s)%s}function N(t){r=t-x,y.push({distance:r,timestamp:E()}),y.length>6&&(y=y.slice(-6)),x=L(t);var r,o=T().abs;if(o!==b){var i=null!==b;b=o,i&&e.emit("slideChanged")}}function T(d){var c=d?null:function(){if(s){var e=i.loop,t=e?(x%r+r)%r:x,d=(e?x%r:x)-l[0][2],c=0-(d<0&&e?r-Math.abs(d):d),v=0,y=_(x),b=y.abs,w=y.rel,k=l[w][2],C=l.map(function(t,o){var l=c+v;(l<0-t[0]||l>1)&&(l+=(Math.abs(l)>r-1&&e?r:0)*R(-l));var d=o-w,u=R(d),p=d+b;e&&(-1===u&&l>k&&(p+=s),1===u&&l<k&&(p-=s),null!==f&&p<f&&(l+=r),null!==m&&p>m&&(l-=r));var h=l+t[0]+t[1],g=Math.max(l>=0&&h<=1?1:h<0||l>1?0:l<0?Math.min(1,(t[0]+l)/t[0]):(1-l)/t[0],0);return v+=t[0]+t[1],{abs:p,distance:i.rtl?-1*l+1-t[0]:l,portion:g,size:t[0]}});return w=j(b=S(b)),{abs:S(b),length:o,max:g,maxIdx:p,min:h,minIdx:u,position:x,progress:e?t/r:x/o,rel:w,slides:C,slidesLength:r}}}();return t.details=c,e.emit("detailsChanged"),c}return t={absToRel:j,add:w,details:null,distToIdx:k,idxToDist:C,init:function(t){var y,b,_,E;if(function(){if(s=(l=((i=e.options).trackConfig||[]).map(function(e){return[M(e,"size",1),M(e,"spacing",0),M(e,"origin",0)]})).length){r=L(l.reduce(function(e,t){return e+t[0]+t[1]},0));var t,u=s-1;o=L(r+l[0][2]-l[u][0]-l[u][2]-l[u][1]),d=l.reduce(function(e,r){if(!e)return[0];var o=l[e.length-1],i=e[e.length-1]+(o[0]+o[2])+o[1];return i-=r[2],e[e.length-1]>i&&(i=e[e.length-1]),i=L(i),e.push(i),(!t||t<i)&&(c=e.length-1),t=i,e},null),0===o&&(c=0),d.push(L(r))}}(),!s)return T(!0);y=e.options.range,f=u=(b=e.options.loop)?M(b,"min",-1/0):0,m=p=b?M(b,"max",v):c,_=M(y,"min",null),E=M(y,"max",null),null!==_&&(u=_),null!==E&&(p=E),h=u===-1/0?u:e.track.idxToDist(u||0,!0,0),g=p===v?p:C(p,!0,0),null===E&&(m=p),M(y,"align",!1)&&p!==v&&0===l[j(p)][2]&&(g-=1-l[j(p)][0],p=k(g-x)),h=L(h),g=L(g),Number(t)===t?w($(S(t))):T()},to:N,velocity:function(){var e=E(),t=y.reduce(function(t,r){var o=r.distance,i=r.timestamp;return e-i>200||(R(o)!==R(t.distance)&&t.distance&&(t={distance:0,lastTimestamp:0,time:0}),t.time&&(t.distance+=o),t.lastTimestamp&&(t.time+=i-t.lastTimestamp),t.lastTimestamp=i),t},{distance:0,lastTimestamp:0,time:0});return t.distance/t.time||0}}}(l),l.animator=function(e){var t,r,o,i,l,s;function d(e){t.active=e}function c(e){t.targetIdx=e}function u(){var t;t=l,window.cancelAnimationFrame(t),d(!1),c(null),s&&e.emit("animationStopped"),s=null}return t={active:!1,start:function(t){if(u(),e.track.details){var p=0,f=e.track.details.position;r=0,o=0,i=t.map(function(e){var t,r=Number(f),i=null!==(t=e.earlyExit)&&void 0!==t?t:e.duration,l=e.easing,s=e.distance*l(i/e.duration)||0;f+=s;var d=o;return o+=i,p+=s,[r,e.distance,d,o,e.duration,l]}),c(e.track.distToIdx(p)),function t(){var u;u=function l(u){s||(s=u),d(!0);var p=u-s;p>o&&(p=o);var f=i[r];if(f[3]<p)return r++,l(u);var m=f[2],h=f[4],g=f[0],v=f[1]*(0,f[5])(0===h?1:(p-m)/h);if(v&&e.track.to(g+v),p<o)return t();s=null,d(!1),c(null),e.emit("animationEnded")},l=window.requestAnimationFrame(u)}(),e.emit("animationStarted")}},stop:u,targetIdx:null}}(l),i)for(var e=0;e<i.length;e++)(0,i[e])(l);l.track.init(l.options.initial||0),l.emit("created")}(),l}catch(e){console.error(e)}},U=C.useKeenSlider=function(e,t){var r=i.useRef(null),o=i.useRef(!1),l=i.useRef(e),s=i.useCallback(function(i){i?(l.current=e,r.current=ne
50w H(i,e,t),o.current=!1):(r.current&&r.current.destroy&&r.current.destroy(),r.current=null)},[]);return i.useEffect(function(){(function e(t,r){if(t===r)return!0;var o=typeof t;if(o!==typeof r)return!1;if("object"!==o||null===t||null===r)return"function"===o&&t.toString()===r.toString();if(t.length!==r.length||Object.getOwnPropertyNames(t).length!==Object.getOwnPropertyNames(r).length)return!1;for(var i in t)if(!e(t[i],r[i]))return!1;return!0})(l.current,e)||(l.current=e,r.current&&r.current.update(l.current))},[e]),[s,r]};let Z=(0,i.forwardRef)((e,t)=>{var r,d;let{breakpoint:u}=(0,x.G)(),{startAtIndex:g=0,slidesInView:v,gap:C=24,children:$,centered:S,vertical:E,highlightCentralSlide:j,scrollToHighlightedSlideOnClick:N,autoplay:T=!1,autoplayInterval:P=2e3,entryAnimation:A=!0,transition:O="slide",curveRadius:R=3900,events:D,fillHeight:M=!1,renderMode:L,className:I,slideClassName:F,disableAutoScrollOnFocus:B=!1,themeConfig:V,...z}=(0,k.D)(e,u,{slidesInView:1}),{slidesInView:H,loop:Z}=(0,h.Dv)(p.XC),[W,K]=(0,h.KO)(p.Ov),[,q]=(0,h.KO)(p.Nq),[,G]=(0,h.KO)(p.j6),J=(0,h.b9)(p.lf),Y=H||v,X=b(W,Y,S,e=>{var t;return null==(t=null==D?void 0:D.onHighlightedSlideChange)?void 0:t.call(D,{highlightedSlideIndex:e})}),Q=(0,w.E)(),[ee,et]=(0,i.useState)([]),[en,er]=(0,i.useState)({slides:[],sinkPadding:0,sinkMargin:0}),ea=i.Children.count(null==(r=null==$?void 0:$.props)?void 0:r.children)||0,eo={defaultAnimation:{duration:(0,m.T)()||"fade"===O?0:(_.E["system-duration-extralong"].valueSeconds??0)*1e3},slides:"fade"===O?ea:{perView:Y,spacing:C,origin:"curve"===O||S?"center":"auto"},loop:Z||e.loop,initial:Number(g),rtl:Q,vertical:E,detailsChanged(e){if("fade"===O&&et(e.track.details.slides.map(e=>e.portion)),"curve"===O){let t=e.size,r=e.track.details;if(!t||!r)return;let o=Number(R),i=Y||1,l=(t-C*(i-1))/i,s=(t+l)/2,d=e=>o*(1-Math.cos(e))+l/2*Math.sin(e),c=Math.ceil(d(Math.asin(Math.min(1,s/o)))),u=Math.max(0,c-Math.ceil(d(Math.asin(Math.min(1,(l+C)/o))))-C);er({slides:r.slides.map(e=>{let r=e.distance+e.size/2-.5;return{style:{transform:`rotate(${180*Math.asin(Math.max(-1,Math.min(1,Math.max(-s,Math.min(s,r*t))/o)))/Math.PI}deg)`,transformOrigin:`50% calc(50% + ${o}px)`,zIndex:Math.max(0,100-Math.round(10*Math.abs(r))),opacity:Math.min(1,Math.max(0,2*e.portion))},inView:e.portion>=.5}}),sinkPadding:c,sinkMargin:u}),J(c)}},created(e){e&&(G(e),q(e.slides.length),K(Number(g)),"function"==typeof(null==D?void 0:D.onInit)&&D.onInit({carouselRef:e})),T&&(0,f.Ce)(e,P)},updated:e=>{q(null==e?void 0:e.slides.length)},slideChanged:t=>{var r;let o=t.track.details.rel;K(o),"function"==typeof(null==D?void 0:D.onSlideChange)?D.onSlideChange({currentSlide:o}):"function"==typeof(null==(r=e.events)?void 0:r.onSlideChange)&&e.events.onSlideChange({currentSlide:o})},..."fade"===O&&{selector:".ef-carousel-slide",renderMode:"custom",drag:!1},..."curve"===O&&{selector:".ef-carousel-slide",renderMode:"custom"},...void 0!==L&&{renderMode:L},...z},[ei,el]=U(eo),es=e=>{let t=el.current;if(N&&t){if(S||"curve"===O)t.moveToIdx(e);else{let r=Y||1,o=Math.floor(r/2),i=t.slides.length;e>=i-o?t.moveToIdx(i-r):t.moveToIdx(Math.max(0,e-o))}}};(0,i.useImperativeHandle)(t,()=>el.current),(0,i.useEffect)(()=>{el.current&&"function"==typeof el.current.update&&el.current.update(eo)},[S,C,Y,ea,O,R]),(0,i.useEffect)(()=>{"curve"!==O&&J(0)},[O,J]);let{root:ed,slide:ec,slideContainer:eu}=(0,s.tv)(V?(0,s.RH)(l.bW,V):l.bW)({vertical:E,entryAnimation:"fade"!==O&&"curve"!==O&&A,fillHeight:M,transition:O}),ep=(0,c.cn)("ef-carousel-core",ed(),I),ef="curve"===O?{"--curve-slide-width":`calc((100% - ${C*((Y||1)-1)}px) / ${Y||1})`,paddingBottom:en.sinkPadding,marginBottom:-en.sinkMargin}:void 0;return(0,o.jsx)("div",{ref:ei,className:ep,role:"region","aria-label":"Image carousel",...z,...ef?{style:{...z.style,...ef}}:{},children:i.Children.map(null==(d=null==$?void 0:$.props)?void 0:d.children,(e,t)=>{var r,l,s,d,c;if(!e)return null;let u=(0,f.$U)(e,t),p="fade"===O?ee[t]??0:void 0,m="curve"===O?en.slides[t]:void 0;return(0,o.jsx)(y,{index:t,className:F,highlightedIndex:j?X:void 0,inView:"curve"===O?(null==m?void 0:m.inView)??t===Number(g):(0,f.fC)(t,W,Y),slideSize:null==(c=null==(d=null==(s=null==(l=null==(r=el.current)?void 0:r.track)?void 0:l.details)?void 0:s.slides)?void 0:d[t])?void 0:c.size,isFadeTransition:"fade"===O,isCurveTransition:"curve"===O,disableAutoScrollOnFocus:B,theme
50Config:{slots:{slide:ec(),slideContainer:eu()}},style:"fade"===O?{opacity:p}:null==m?void 0:m.style,onSlidePress:N?es:void 0,children:(0,i.cloneElement)(e,{...e.props,draggable:!0})},u)})})});Z.displayName="CarouselCore";var W=r(69618),K=r(82554),q=r(99014);let G=e=>{var t,r,o,i,l,s;let{layout:d,centered:c,slidePadding:u,themeConfig:p,highlightedSlideInView:f,...m}=e;return{layout:"fullWidth"===d?"full":d,centered:c||u>0,highlightCentralSlide:"u">typeof f,themeConfig:{...p,slots:{root:null==(t=null==p?void 0:p.slots)?void 0:t.root,carouselWrapper:null==(r=null==p?void 0:p.slots)?void 0:r.carouselWrapper,carouselCoreWrapper:null==(o=null==p?void 0:p.slots)?void 0:o.sliderContainer,carouselCore:null==(i=null==p?void 0:p.slots)?void 0:i.sliderInnerContainer,slideContainer:null==(l=null==p?void 0:p.slots)?void 0:l.slideContainer,slide:null==(s=null==p?void 0:p.slots)?void 0:s.slide}},...m}},J=e=>{var t,r,i,l,s,d,u,p,f;let{breakpoint:m}=(0,x.G)(),{controls:h,showPagination:g,paginationPosition:v,previousControlAriaLabel:y,nextControlAriaLabel:b,themeConfig:w}=(0,k.D)(e,m,{controls:"minimal",showPagination:!0,paginationPosition:"outside"}),_={...w,slots:{root:null==(t=null==w?void 0:w.slots)?void 0:t.controlsGroup,paginationCounter:null==(r=null==w?void 0:w.slots)?void 0:r.paginationCounter,buttonPrev:(0,c.cn)(null==(i=null==w?void 0:w.slots)?void 0:i.boldButtonPrev,null==(l=null==w?void 0:w.slots)?void 0:l.boldButtons),buttonNext:(0,c.cn)(null==(s=null==w?void 0:w.slots)?void 0:s.boldButtonNext,null==(d=null==w?void 0:w.slots)?void 0:d.boldButtons),buttonGroup:null==(u=null==w?void 0:w.slots)?void 0:u.minimalButtons,dotsPagination:null==(p=null==w?void 0:w.slots)?void 0:p.pagination,dotsPaginationIndicator:null==(f=null==w?void 0:w.slots)?void 0:f.paginationIndicator}};return(0,o.jsx)(K.J,{controlsVariant:h?"bold"===h?"bold":"minimal":"none",paginationVariant:g?"counter"===g?"counter":"dots":"none",paginationPosition:v,previousAriaLabel:y,nextAriaLabel:b,themeConfig:_})};J.displayName="CarouselControlsAdapter";let Y=e=>{let{children:t,className:r,...i}=e,{CarouselSlidesSlot:l}=(0,q.F)(t,{CarouselSlides:W.h}),s=(0,c.cn)("ef-vertical-carousel",r);return(0,o.jsx)(Z,{className:s,slidesInView:1,vertical:!0,entryAnimation:!1,...i,children:l})};Y.displayName="VerticalCarousel";var X=r(83637);let Q=(0,i.forwardRef)((e,t)=>{let{breakpoint:r}=(0,x.G)(),{slidesInView:i,layout:u="full",paginated:f,fillHeight:m=!1,loop:g,sizes:v,centered:y,highlightCentralSlide:b,transition:w,children:_,className:C,style:$,themeConfig:S,controls:E,showPagination:j,paginationPosition:N,axis:T,slidePadding:P,previousControlAriaLabel:A,nextControlAriaLabel:O,highlightedSlideInView:R,isRTL:D,...M}=(0,k.D)(e,r,{slidesInView:1,layout:"full"}),{CarouselSlidesSlot:L,CarouselControlsSlot:I}=(0,q.F)(_,{CarouselSlides:W.h,CarouselControls:K.J}),{className:F}=(0,h.Dv)(p.oI),B=Array.isArray(_)&&_.length>0&&!L,V=!!I||B&&(E||j),z=G({layout:u,centered:y,slidePadding:P,themeConfig:S,highlightedSlideInView:R,isRTL:D});if("y"===T)return(0,o.jsx)(Y,{...e,...z,children:(0,o.jsx)(W.h,{children:_})});let{root:H,carouselWrapper:U,carouselCoreWrapper:Q,carouselCore:ee,slideContainer:et,slide:en}=(0,s.tv)(S?(0,s.RH)(l.ql,S):l.ql)({hasSizes:!!v,layout:z.layout,isLegacyCarousel:B,fillHeight:m,hasControls:V,transition:w}),er=(0,c.cn)("ef-carousel",H(),C,F);return(0,o.jsx)("div",{className:er,style:$,children:(0,o.jsx)("div",{className:(0,c.cn)(v,U()),children:(0,o.jsx)(X.$,{atoms:[p.XC,p.Ov,p.lf,p.Nq,p.j6],children:(0,o.jsx)(d.o,{atomValues:[[p.XC,{slidesInView:Number(i),paginated:f,loop:g,highlightAllSlides:(b||z.highlightCentralSlide)&&y||"curve"===w}]],children:(0,o.jsxs)("div",{className:(0,c.cn)(Q()),children:[(0,o.jsx)(Z,{ref:t,className:(0,c.cn)(ee()),slidesInView:i,centered:y,fillHeight:m,transition:w,highlightCentralSlide:b||z.highlightCentralSlide,themeConfig:{slots:{slideContainer:(0,c.cn)(et()),slide:(0,c.cn)(en())}},...M,children:B?(0,o.jsx)(W.h,{children:_}):L}),B?(0,o.jsx)(J,{controls:E,showPagination:j,paginationPosition:N,previousControlAriaLabel:A,nextControlAriaLabel:O,themeConfig:S}):I]})})})})})});
50Q.displayName="Carousel"},82554:function(e,t,r){"use strict";r.d(t,{J:function(){return q}});var o=r(85893),i=r(48399),l=r(97292),s=r(7777),d=r(36297),c=r(56896),u=r(96974);let p=()=>{var e,t;let{slidesInView:r,paginated:o}=(0,u.Dv)(s.XC),i=(0,u.Dv)(s.Nq),[l]=(0,u.KO)(s.j6),d=(null==(t=null==(e=null==l?void 0:l.track)?void 0:e.details)?void 0:t.rel)||0;return{goToNext:()=>{if(o&&i&&r&&r>=2){let e=Math.floor(r),t=i-e,o=d+e;o>t&&(o=t),null==l||l.moveToIdx(o)}else null==l||l.next()},goToPrevious:()=>{if(o&&r&&r>=2){let e=d-Math.floor(r);e<0&&(e=0),null==l||l.moveToIdx(e)}else null==l||l.prev()}}};var f=r(17486),m=r(19457),h=r(4382),g=r(67294),v=r(16018);let y=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M112,56V200L40,128Z",opacity:"0.2"}),g.createElement("path",{d:"M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"}))]]);var b=Object.defineProperty,x=Object.defineProperties,w=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,$=(e,t,r)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))_.call(t,r)&&$(e,r,t[r]);if(k)for(var r of k(t))C.call(t,r)&&$(e,r,t[r]);return e},E=(e,t)=>x(e,w(t));let j=(0,g.forwardRef)((e,t)=>g.createElement(v.Z,E(S({ref:t},e),{weights:y})));j.displayName="ArrowLeft";let N=new Map([["bold",g.createElement(g.Fragment,null,g.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",g.createElement(g.Fragment,null,g.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),g.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",g.createElement(g.Fragment,null,g.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",g.createElement(g.Fragment,null,g.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",g.createElement(g.Fragment,null,g.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",g.createElement(g.Fragment,null,g.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]);var T=Object.defineProperty,P=Object.defineProperties,A=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(e,t,r)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L=(e,t)=>{for(var r in t||(t={}))R.call(t,r)&&M(e,r,t[r]);if(O)for(var r of O(t))D.call(t,r)&&M(e,r,t[r]);return e},I=(e,t)=>P(e,A(t));let F=(0,g.forwardRef)((e,t)=>g.createElement(v.Z,I(L({ref:t},e),{weights:N})));F.displayName="ArrowRight";var B=r(54474),V=r(65243);let z=e=>{let{controlsVariant:t,currentSlide:r,paginationLength:l,previousAriaLabel:g="Previous",nextAriaLabel:v="Next",position:y="sides",themeConfig:b,...x}=e,{loop:w,slidesInView:k,paginated:_}=(0,u.Dv)(s.XC),{goToPrevious:C,goToNext:$}=p(),S=(0,m.E)(),E={variant:"bold"===t?"outlined":"ghost",size:"bold"===t?"large":"small"},N={onPress:()=>$(),disabled:(0,f.Ob)(r,l,k,w,_),"aria-label":S?g:v},T="minimal"===t?(0,o.jsx)(j,{weight:"bold"}):(0,o.jsx)(B.W,{weight:"bold"}),P="minimal"===t?(0,o.jsx)(F,{weight:"bold"}):(0,o.jsx)(V.T,{weight:"bold"}),{previous:A,next:O,previousBg:R,nextBg:D}=(0,h.tv)(b?(0,h.RH)(d.Ms,b):d.Ms)({controlsVariant:t,position:y,isRTL:S});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.Button,{as:"button",shape:"round",themeConfig:{variants:{variant:{outlined:{root:A(),buttonBg:R()},ghost:{root:A(),buttonBg:R()}}}},...E,onPress:()=>C(),disabled:!w&&0===r,"aria-label":S?v:g,...x,children:S?P:T}),(0,o.jsx)(c.Button,{className:(0,i.cn)(O()),as:"button",shape:"round",themeConfig:{variants:{variant:{outlined:{root:O(),buttonBg:D()},ghost:{root:O(),buttonBg:D()}}}},...E,...N,...x,children:S?T:P})]})};
50z.displayName="CarouselButtons";let H=e=>{let{currentSlide:t,slidesLength:r,slidesInView:l=0,paginated:s,className:c,...u}=e,{root:p}=(0,h.tv)(d.Fr)(),f=(0,i.cn)("ef-carousel-counter-pagination",p(),c);if(!r||typeof t>"u"||typeof r>"u")return null;let m=Math.ceil(s&&l>=2?r/l:r+l-1),g=l>0?t+l:t+1,v=s&&l>=2?Math.ceil(g/l):g;return(0,o.jsx)("div",{className:f,...u,children:(0,o.jsx)("span",{className:"z-20",children:`${v>m?r:v}/${m}`})})};H.displayName="CarouselCounterPagination";let U=e=>{let{slidesLength:t,currentSlide:r,slidesInView:l,paginated:s,themeConfig:c,className:u,...p}=e,f=Math.ceil(s&&l>=2?t/l:t),m=Array(f>0?f:1).fill(""),{root:g,indicator:v}=(0,h.tv)(c?(0,h.RH)(d.vJ,c):d.vJ)(),y=(0,i.cn)("ef-carousel-dots-pagination",g(),u);return(0,o.jsx)("div",{className:y,role:"group","aria-label":"Carousel pagination",...p,children:m.map((e,t)=>{let d=(s&&l>=2?Math.ceil(r/Number(l)):Number(r))===t;return(0,o.jsx)("div",{className:(0,i.cn)(v()),"data-active":d,role:"presentation"},t)})})};var Z=r(29398),W=r(83491),K=r(41424);let q=e=>{let{breakpoint:t}=(0,Z.G)(),{controlsVariant:r="minimal",paginationVariant:c="dots",paginationPosition:p="outside",controlsPosition:f="default",previousAriaLabel:m,nextAriaLabel:v,className:y,style:b,themeConfig:x,...w}=(0,K.D)(e,t,{controlsVariant:"minimal",paginationVariant:"dots",paginationPosition:"outside",controlsPosition:"default"}),k=(0,g.useRef)(null),{height:_}=(0,W.h)(k),{slidesInView:C,loop:$,paginated:S,highlightAllSlides:E}=(0,u.Dv)(s.XC),j=(0,u.Dv)(s.Nq),N=(0,u.Dv)(s.Ov),T=(0,u.Dv)(s.lf),P=E||$||S?j:j-C+1,A=j<=C,O="center"===f,R=P>1&&("none"!==c||"minimal"===r||"bold"===r&&O&&!A),D=O&&R&&!A&&"outside"===p&&T>0,{root:M,paginationCounter:L,footer:I,buttonGroup:F,dotsPagination:B,dotsPaginationIndicator:V,buttonPrev:q,buttonNext:G}=(0,h.tv)(x?(0,h.RH)(d.IR,x):d.IR)({paginationPosition:p,controlsPosition:f}),J=(0,i.cn)("ef-carousel-controls",M(),D?"relative z-10":null,y),Y={currentSlide:N,loop:$,paginationLength:P,previousAriaLabel:m||void 0,nextAriaLabel:v||void 0,position:O?"center":"sides",themeConfig:{slots:{previous:(0,i.cn)(q()),next:(0,i.cn)(G())}}};return(0,o.jsxs)("div",{ref:k,className:J,style:{"--controls-height":`${_}px`,...D?{marginTop:-T}:{},...b},...w,children:["bold"!==r||A||O?null:(0,o.jsx)(z,{controlsVariant:"bold",...Y}),"counter"!==c||A?null:(0,o.jsx)(H,{className:(0,i.cn)(L()),slidesLength:P,currentSlide:N,slidesInView:C,paginated:S}),R?(0,o.jsxs)("div",{className:(0,i.cn)(I()),children:["dots"!==c||A?null:(0,o.jsx)(U,{slidesLength:P,currentSlide:N,slidesInView:C,paginated:S,themeConfig:{slots:{root:(0,i.cn)(B()),indicator:(0,i.cn)(V())}}}),"minimal"!==r||A?null:(0,o.jsx)(l.h,{className:(0,i.cn)("ef-carousel-minimal-buttons",F()),children:(0,o.jsx)(z,{controlsVariant:"minimal",...Y})}),"bold"===r&&!A&&O?(0,o.jsx)(l.h,{className:(0,i.cn)("ef-carousel-bold-buttons",F()),children:(0,o.jsx)(z,{controlsVariant:"bold",...Y})}):null]}):null]})};q.displayName="CarouselControls"},69618:function(e,t,r){"use strict";r.d(t,{h:function(){return l}});var o=r(85893),i=r(48399);let l=e=>{let{children:t,className:r,...l}=e,s=(0,i.cn)("ef-carousel-slides",r);return(0,o.jsx)("div",{className:s,...l,children:t})};l.displayName="CarouselSlides"},7777:function(e,t,r){"use strict";r.d(t,{Nq:function(){return s},Ov:function(){return l},XC:function(){return i},j6:function(){return c},lf:function(){return d},oI:function(){return u}});var o=r(98069);let i=(0,o.cn)({slidesInView:0,paginated:!1,loop:!1,highlightAllSlides:void 0}),l=(0,o.cn)(0),s=(0,o.cn)(0),d=(0,o.cn)(0),c=(0,o.cn)(null),u=(0,o.cn)({})},36297:function(e,t,r){"use strict";r.d(t,{Fr:function(){return d},IR:function(){return s},Ms:function(){return u},bW:function(){return l},ql:function(){return i},v$:function(){return p},vJ:function(){return c}});var o=r(4382);r(67294);let i=(0,o.c6)({slots:{root:"",carouselWrapper:"relative isolate",carouselCoreWrapper:"-mx-s px-s has-[.ef-card-banner]:pt-l",carouselCore:"",slideContainer:"relative w-full scroll-m-0 overflow-visible",slide:"grid h-full"},variants:{hasSizes:{true:{root:"overflow-x-clip"}},layout:{contained:{carouselCoreWrapper:"overflow-x-clip"},full:{}},isLegacyCarousel:{true:{carouselCoreWrapper:"pt-s"}},fillHeight:{true:{root:"h-full",carouselWrapper:"h-full",carouselCoreWrapper:"h-full"}},hasControls:{true:{}},transition:{slide:{},fade:{carouselCoreWrapper:"h-full",slide:"z-0 col-start-1 row-start-1 transition-opacity duration-system-extralong ease-system-easing-expressive",slideContainer:"z-0 col-start-1 row-start-1 w-full"},curve:{carouselCoreWrapper:"mx-0 overflow-x-clip px-0"}}},compoundVariants:[{fillHeight:!0,hasControls:!0,class:{carouselCoreWrapper:"h-[calc(100%-48px)]"}},{fillHeight:!0,hasControls:!0,transition:"fade",class:{carouselCoreWrapper:"h-full"}}]}
50),l=(0,o.c6)({slots:{root:"relative flex w-full touch-pan-y select-none rtl:flex-row-reverse",slide:"scroll-m-0",slideContainer:"scroll-m-0"},variants:{vertical:{true:{root:"h-[100dvh] flex-col"}},entryAnimation:{true:{slide:"motion-safe:animate-in motion-safe:animate-from-opacity-10 motion-safe:animate-to-opacity-100 motion-safe:animate-from-right-10 motion-safe:animate-to-left-0 motion-safe:animation-duration-system-extralong motion-safe:animation-delay-[--delay]"}},fillHeight:{true:{root:"h-full"}},transition:{slide:{},fade:{root:"z-0 !grid h-full !transform-none grid-cols-1 grid-rows-1",slide:"z-0 col-start-1 row-start-1 h-full !transform-none transition-opacity duration-system-extralong ease-system-easing-expressive",slideContainer:"z-0 col-start-1 row-start-1 h-full w-full !transform-none"},curve:{root:"z-0 !grid !transform-none grid-cols-1 grid-rows-1",slide:"relative mx-auto w-[var(--curve-slide-width)]",slideContainer:"col-start-1 row-start-1 w-full !transform-none"}}}}),s=(0,o.c6)({slots:{root:"[--bg-components-buttons-ghost-hover-background:var(--color-mono-black-15)] [--color-components-buttons-ghost-enabled-foreground:var(--color-mono-black-100)]",paginationCounter:"bottom-[--controls-height]",footer:"flex items-center justify-center pt-s",buttonGroup:"m-surface-default ms-auto gap-xs ",dotsPagination:"",dotsPaginationIndicator:"",buttonPrev:"",buttonNext:""},variants:{paginationPosition:{outside:{root:""},inside:{root:"pointer-events-none absolute inset-x-0 bottom-[4.5rem] z-20 lg:bottom-m",footer:"pointer-events-auto mx-auto h-[20px] w-fit justify-center rounded-full bg-mono-black-30 px-s pt-0",dotsPagination:"relative z-20 h-full",dotsPaginationIndicator:"bg-mono-white-100"}},controlsPosition:{default:{},center:{footer:"flex-col gap-xs",buttonGroup:"ms-0"}}},defaultVariants:{paginationPosition:"outside",controlsPosition:"default"}}),d=(0,o.c6)({slots:{root:"align-center absolute bottom-0 right-0 z-20 mb-s me-s flex justify-center rounded-xs bg-mono-black-60 px-xs py-xs text-system-text-on-inverse text-ui-label-small rtl:left-0 rtl:right-[unset]"}}),c=(0,o.c6)({slots:{root:"flex h-l items-center gap-xs self-center justify-self-center",indicator:"block h-xxs w-xxs rounded-full bg-system-vector-default data-[active=true]:w-s motion-safe:transition-all motion-safe:duration-200 motion-safe:ease-linear"}}),u=(0,o.c6)({slots:{previous:"",next:"",previousBg:"",nextBg:""},variants:{controlsVariant:{bold:{previous:"mono:mono-dark mono:dark:mono-light enabled:text-system-text-default",previousBg:"bg-system-surface-default ring-1 ring-system-stroke-weak",next:"mono:mono-dark mono:dark:mono-light enabled:text-system-text-default",nextBg:"bg-system-surface-default ring-1 ring-system-stroke-weak"},minimal:{previous:"enabled:text-system-text-default",next:"enabled:text-system-text-default",nextBg:"bg-transparent group-hover/button:bg-system-surface-hover",previousBg:"bg-transparent group-hover/button:bg-system-surface-hover"},none:{}},position:{sides:{},center:{}},isRTL:{true:{}}},compoundVariants:[{controlsVariant:"bold",position:"sides",class:{previous:"absolute left-0 top-[calc(50%-calc(var(--controls-height)/2))] z-10 -translate-y-1/2 xl:left-[-28px]",next:"absolute right-0 top-[calc(50%-calc(var(--controls-height)/2))] z-10 -translate-y-1/2 xl:right-[-28px]"}},{controlsVariant:"bold",position:"sides",isRTL:!0,class:{previous:"absolute left-[unset] right-0 top-[calc(50%-calc(var(--controls-height)/2))] z-10 -translate-y-1/2 bg-white xl:right-[-28px]",next:"absolute left-0 right-[unset] top-[calc(50%-calc(var(--controls-height)/2))] z-10 -translate-y-1/2 bg-white xl:left-[-28px]"}}],defaultVariants:{position:"sides"}}),p=(0,o.c6)({slots:{root:"",slideContainer:"group",slide:"origin-center scale-[0.8] group-data-[highlighted=true]:scale-100 motion-safe:transition-all motion-safe:duration-system-long motion-safe:ease-system-easing-expressive md:translate-x-[calc(calc(-65%*var(--slide-size))*var(--highlight-index))]"}})},17486:function(e,t,r){"use strict";r.d(t,{$U:function(){return s},Ce:function(){return o},Ob:function(){return i},fC:function(){return l},oU:function(){return c}});let o=(e,t)=>{let r,o=!1,i=()=>{clearTimeout(r)},l=()=>{clearTimeout(r),o||(r=setTimeout(()=>{e.next()},t))};e.container.addEventListener("mouseover",()=>{o=!0,i()}),e.container.addEventListener("mouseout",()=>{o=!1,l()}),l(),e.on("dragStarted",i),e.on("animationEnded",l),e.on("updated",l)},i=(e,t,r,o,i)=>!o&&(i&&r>=2?e>=t-Math.ceil(r):e>=t-1),l=(e,t,r)=>e>=t&&e<=t+(r-1),s=(e,t)=>{var r,o;
50if(null!=e.key)return String(e.key);let i="string"==typeof e.type?e.type:(null==(r=e.type)?void 0:r.displayName)||(null==(o=e.type)?void 0:o.name)||"Component",l=Object.keys(e.props||{}).sort().join(",");return`${i}-${l.length}-${t}`},d={none:0,"":0,xxs:4,xs:8,s:16,m:24,l:32,xl:48,xxl:64,xxxl:128},c=e=>{if(void 0!==e)return"object"!=typeof e?d[e]:Object.fromEntries(Object.entries(e).map(([e,t])=>[e,d[t??""]]))}},71742:function(e,t,r){"use strict";r.d(t,{E:function(){return J}});var o=r(85893),i=r(48399),l=r(49190),s=r(4382),d=r(67294),c=r(29398),u=r(56896),p=r(67350),f=r(74613),m=r(69302),h=r(89108),g=r(75077);let v=(0,s.An)({placement:"top",offset:0,className:"",themeConfig:void 0,shouldPreventScroll:!1});var y=r(43201),b=r(83520);(0,d.createContext)(null),(0,d.createContext)(null),(0,d.createContext)(null),(0,d.createContext)(null),(0,d.createContext)(null);let x=(0,d.createContext)({});var w=r(89892),k=r(25146),_=r(96194),C=r(12181);if(r(73935),"u">typeof HTMLTemplateElement){let e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}let $=(0,d.createContext)(!1);"u">typeof DocumentFragment&&new DocumentFragment;var S=r(47717),E=r(52451),j=r(8390),N=r(26319);let T=(0,d.createContext)(null),P=(0,d.forwardRef)(function(e,t){[e,t]=(0,b.pE)(e,t,T);let r=(0,d.useContext)(I),o=(0,S.d)(e),i=null==e.isOpen&&null==e.defaultOpen&&r?r:o,l=(0,b.xB)(t,i.isOpen)||e.isExiting||!1;if((0,d.useContext)($)){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),d.createElement(d.Fragment,null,t)}return!i||i.isOpen||l?d.createElement(A,{...e,triggerRef:e.triggerRef,state:i,popoverRef:t,isExiting:l}):null});function A({state:e,isExiting:t,UNSTABLE_portalContainer:r,...o}){var i;let l=(0,d.useRef)(null),[s,c]=(0,d.useState)(0);(0,C.b)(()=>{l.current&&e.isOpen&&c(l.current.getBoundingClientRect().width)},[e.isOpen,l]);let{popoverProps:u,underlayProps:p,arrowProps:f,placement:m}=(0,E.S)({...o,offset:null!==(i=o.offset)&&void 0!==i?i:8,arrowSize:s},e),h=o.popoverRef,g=(0,b.iW)(h,!!m)||o.isEntering||!1,v=(0,b.aX)({...o,defaultClassName:"react-aria-Popover",values:{trigger:o.trigger||null,placement:m,isEntering:g,isExiting:t}}),y={...u.style,...v.style};return d.createElement(N.aV,{isExiting:t,portalContainer:r},!o.isNonModal&&e.isOpen&&d.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),d.createElement("div",{...(0,k.d)((0,_.z)(o),u),...v,ref:h,slot:o.slot||void 0,style:y,"data-trigger":o.trigger,"data-placement":m,"data-entering":g||void 0,"data-exiting":t||void 0},!o.isNonModal&&d.createElement(j.U,{onDismiss:e.close}),d.createElement(w.O.Provider,{value:{...f,placement:m,ref:l}},v.children),d.createElement(j.U,{onDismiss:e.close})))}var O=r(11214),R=r(7997),D=r(21181),M=r(33889);let L=(0,d.createContext)(null),I=(0,d.createContext)(null);function F(e){let t=(0,S.d)(e),r=(0,d.useRef)(null),{triggerProps:o,overlayProps:i}=(0,D.I)({type:"dialog"},t,r);return o.id=(0,O.Me)(),i["aria-labelledby"]=o.id,d.createElement(b.zt,{values:[[I,t],[L,i],[T,{trigger:"DialogTrigger",triggerRef:r}]]},d.createElement(R.N,{...o,ref:r,isPressed:t.isOpen},e.children))}let B=(0,d.forwardRef)(function(e,t){var r;let o=e["aria-labelledby"];[e,t]=(0,b.pE)(e,t,L);let{dialogProps:i,titleProps:l}=(0,M.R)({...e,"aria-labelledby":o},t),s=(0,d.useContext)(I),c=e.children;return"function"==typeof c&&(c=c({close:(null==s?void 0:s.close)||(()=>{})})),i["aria-label"]||i["aria-labelledby"]||(e["aria-labelledby"]?i["aria-labelledby"]=e["aria-labelledby"]:console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.')),d.createElement("section",{...(0,_.z)(e),...i,ref:t,slot:e.slot||void 0,style:e.style,className:null!==(r=e.className)&&void 0!==r?r:"react-aria-Dialog"},d.createElement(b.zt,{values:[[x,{slots:{[b.hO]:{},title:{...l,level:2}}}]]}
50,c))});var V=r(96974);let z=e=>{let{placement:t="top",offset:r=0,className:i,themeConfig:l,children:s,onOpenChange:c,isOpen:u,shouldPreventScroll:p=!1,...f}=e,[m,h]=(0,d.useState)(!1),g=void 0!==u,b=g?u:m,x=(0,d.useRef)(null),w=e=>{g||h(e),null==c||c(e)};return(0,d.useEffect)(()=>{if(!x.current||!b)return;let e=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting||w(!1)},{threshold:.1,rootMargin:"0px"});return e.observe(x.current),()=>{e.disconnect()}},[b]),(0,o.jsx)(V.zt,{children:(0,o.jsx)("div",{ref:x,children:(0,o.jsx)(F,{"aria-haspopup":"true",isOpen:b,onOpenChange:w,...f,children:(0,o.jsx)(y.o,{atomValues:[[v,{placement:t,offset:r,themeConfig:l,className:i,shouldPreventScroll:p}]],children:s})})})})};z.displayName="Popover";let H=(0,s.c6)({slots:{root:"group/popover isolate min-w-[327px] max-w-[960px] rounded-xs border border-system-stroke-mono bg-system-surface-default p-4 shadow-enabled motion-safe:data-[placement=bottom]:animate-slideDownAndFade motion-safe:data-[placement=left]:animate-slideLeftAndFade motion-safe:data-[placement=right]:animate-slideRightAndFade motion-safe:data-[placement=top]:animate-slideUpAndFade data-[placement=bottom]:mt-2 data-[placement=left]:mr-2 data-[placement=right]:ml-2 data-[placement=top]:mb-2",title:"mb-2 line-clamp-1 overflow-hidden text-ellipsis",body:"mb-2 line-clamp-5 overflow-hidden text-ellipsis",link:"line-clamp-1 overflow-hidden text-ellipsis text-ui-label-small",arrow:"fill-system-surface-default text-system-stroke-mono group-data-[placement=bottom]/popover:rotate-180 group-data-[placement=left]/popover:-rotate-90 group-data-[placement=right]/popover:rotate-90"},variants:{}}),U=e=>{let{children:t,portalContainer:r,...l}=e,{placement:d,offset:c,themeConfig:u,className:p,shouldPreventScroll:f}=(0,V.Dv)(v),{root:m}=(0,s.tv)(u?(0,s.RH)(H,u):H)({}),h=(0,i.cn)("ef-popover",m(),p);return(0,o.jsx)(P,{className:h,placement:d,offset:c,isNonModal:!f,trigger:"SubmenuTrigger",UNSTABLE_portalContainer:r,...l,children:(0,o.jsx)(B,{children:t})})};U.displayName="PopoverContent";var Z=r(14307),W=r(20268),K=r(32197);let q=e=>void 0===e||""===e?[]:Array.isArray(e)?e:[e],G=({value:e,onValueChange:t,defaultValue:r=[],name:o})=>{let[i,l]=(0,d.useState)(r),s=(0,V.Dv)(K.I),c=null!==s&&"select"===s.variant,u=(0,d.useCallback)(()=>c&&o&&s?q(s.selectValues[o]):void 0!==e?e:i,[c,o,s,e,i])(),p=(0,d.useCallback)(r=>{let i=q(r);c&&o&&s&&s.updateSelectValue(o,i),void 0===e&&l(i),null==t||t(i)},[c,o,s,e,t]),f=(0,d.useCallback)(e=>{p(u.includes(e)?u.filter(t=>t!==e):[...u,e])},[u,p]),m=(0,d.useCallback)(e=>{p(u.filter(t=>t!==e))},[u,p]);return(0,d.useEffect)(()=>{c&&o&&s&&(o in s.selectValues||s.updateSelectValue(o,r))}
50,[c,o,s,r]),{currentValue:u,handleValueChange:p,toggleValue:f,removeValue:m,isInChipGroup:c}},J=({label:e,count:t,children:r,type:v="filter",value:y,onValueChange:b,defaultValue:x=[],name:w,disabled:k=!1,className:_,themeConfig:C})=>{let[$,S]=(0,d.useState)(!1),{breakpoint:E}=(0,c.G)(),j=(0,c.w)({currentBp:E,bp:"s",range:"down"}),[N,T]=(0,d.useState)({}),P=(0,d.useRef)({}),{currentValue:A,handleValueChange:O,toggleValue:R,removeValue:D}=G({value:y,onValueChange:b,defaultValue:x,name:w}),M=(0,d.useCallback)((e,t)=>{P.current[e]!==t&&(P.current[e]=t,T(r=>r[e]===t?r:{...r,[e]:t}))},[]),L=(0,d.useCallback)(e=>{let t=P.current[e],r=N[e];return t??r??e},[N]),I=(0,d.useMemo)(()=>({type:v,value:A,onValueChange:O,toggleValue:R,removeValue:D,labelMap:N,registerLabel:M,getLabel:L}),[v,A,O,R,D,N,M,L]),{root:F,label:B,chevron:H,buttonBg:K}=(0,s.tv)(C?(0,s.RH)(Z.Rt,C):Z.Rt)({disabled:k,isOpen:$});(0,d.useEffect)(()=>{if("radio"===v&&M){let e=t=>"string"==typeof t||"number"==typeof t?String(t):Array.isArray(t)?t.map(e).join(""):d.isValidElement(t)&&t.props.children?e(t.props.children):"",t=r=>{d.Children.forEach(r,r=>{if(!d.isValidElement(r))return;let o=r.props,i=r.type;if((null==i?void 0:i.displayName)==="ChipSelectPopover"||(null==i?void 0:i.name)==="ChipSelectPopover"){o.children&&t(o.children);return}if("value"in o&&o.children){let t=o.value,r=e(o.children);r&&t&&(P.current[t]=r,M(t,r))}o.children&&t(o.children)})};t(r)}},[r,v,M]);let q=(0,d.useMemo)(()=>{if("string"==typeof e&&A.length>0){let t=A[0],r=P.current[t],o=N[t],i=r??o??t;if(("Sort by"===e||"sort by"===e.toLowerCase())&&i!==t)return`${e}: ${i}`;if(e.includes(":")){let[t]=e.split(":");return`${t}: ${i}`}return e.endsWith(":")?`${e.slice(0,-1)}: ${i}`:A.includes(e)?P.current[e]??N[e]??L(e):(e.includes("(")&&e.includes(")"),e)}return e},[e,A,N,L]),J="string"==typeof e?e:"",Y=t&&t>0?`${e} (${t})`:e,X=(0,o.jsx)(g.t,{children:(0,o.jsx)(u.Button,{type:"button",variant:"outlined",size:"small",disabled:k,className:(0,i.cn)("ef-chip",_),"data-disabled":k||void 0,"data-open":$||void 0,onClick:()=>S(!0),themeConfig:{variants:{variant:{outlined:{root:F(),buttonBg:K()}}}},children:(0,o.jsxs)("span",{className:B(),children:[void 0!==t?Y:q,(0,o.jsx)(l.AnimatedChevron,{active:$,className:H()})]})})});return(0,o.jsx)(W.T.Provider,{value:I,children:j?(0,o.jsxs)(o.Fragment,{children:[X,$?(0,o.jsx)(V.zt,{children:(0,o.jsx)(p.d,{open:$,onOpenChange:S,title:J,direction:{s:"bottom",m:"right"},children:(0,o.jsxs)(m.x,{children:[(0,o.jsx)(f.O,{}),(0,o.jsx)(h.s,{className:"w-full max-w-full pb-8 pt-4",children:r})]})})}):null]}):(0,o.jsxs)(z,{placement:"bottom start",isOpen:$,onOpenChange:S,children:[X,(0,o.jsx)(U,{children:r})]})})};J.displayName="ChipSelect"},64069:function(e,t,r){"use strict";r.d(t,{a:function(){return m}});var o=r(85893),i=r(48399),l=r(4382),s=r(14307),d=r(20268),c=r(67294);let u=e=>"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(u).join(""):c.isValidElement(e)&&e.props.children?u(e.props.children):"",p=(e,t)=>{let{type:r,value:o,onValueChange:i,registerLabel:l}=t;return c.Children.map(e,e=>{if(!c.isValidElement(e))return e;let s=e.props;if("checkbox"===r&&"value"in s){let t=s.value;if(l&&s.children){let e=u(s.children);e&&l(t,e)}return c.cloneElement(e,{checked:o.includes(t),onCheckedChange:e=>{i(e?[...o,t]:o.filter(e=>e!==t))}})}if("radio"===r){let t="onValueChange"in s&&"function"==typeof s.onValueChange;if(s.children&&!t){let t=e=>c.Children.map(e,e=>{if(!c.isValidElement(e))return e;let r=e.props;if("value"in r&&l&&r.children){let e=r.value,t=u(r.children);t&&l(e,t)}return r.children?c.cloneElement(e,{children:t(r.children)}):e});return c.cloneElement(e,{...s,value:o.length>0?o[0]:void 0,onValueChange:e=>i([e]),children:t(s.children)})}if("value"in s){let t=s.value;if(l&&s.children){let e=u(s.children);e&&l(t,e)}return c.cloneElement(e,{checked:o.includes(t),onChange:()=>{i([t])}})}}return null!=s&&s.children?c.cloneElement(e,{children:p(s.children,t)}):e})},f=(0,l.tv)(s.UX),m=({children:e})=>{let t=(0,d.F)(),r=(null==t?void 0:t.type)??"filter",l=(null==t?void 0:t.value)??[],s=(null==t?void 0:t.onValueChange)??(()=>{}),c=null==t?void 0:t.registerLabel;if("function"==typeof e)return(0,o.jsx)(o.Fragment,{children:e({value:l,onValueChange:s})});let u=p(e,{type:r,value:l,onValueChange:s,registerLabel:c}),{root:m}=f({type:r});return(0,o.jsx)("div",{className:(0,i.cn)(m()),children:u})};m.displayName="ChipSelectPopover"},14307:function(e,t,r){"use strict";r.d(t,{Rt:function(){return s},UX:function(){return d},nP:function(){return i},uH:function(){return l}});var o=r(4382);let i=(0,o.c6)({slots:{root:"inline-flex h-8 w-fit cursor-default items-center gap-[2px] rounded-full border border-solid border-system-stroke-default bg-system-surface-default py-[2px] pl-3 pr-[2px] text-system-text-default",label:"whitespace-nowrap text-ui-label-small",removeButton:"mono inline-flex h-7 w-7 flex-none cursor-pointer items-center justify-center p-1.5 transition-colors duration-system-short",removeIcon:"h-full w-full"}}),l=(0,o.c6)({slots:{root:"inline-flex w-fit cursor-pointer items-center gap-2 rounded-full bg-system-surface-default px-3 py-2 leading-none text-system-text-default ring-1 ring-inset ring-system-stroke-default transition-[color,background-color,box-shadow] duration-system-short hit-area-small hover:ring-system-stroke-hover dark:bg-transparent",label:"inline-flex items-center text-ui-label-small",check:"h-4 w-0 scale-0 opacity-0 transition-all duration-system-short"},variants:{selected:{true:{root:"bg-system-surface-selected-weak text-system-text-selected-on-weak ring-2 ring-system-stroke-selected-on-weak hover:ring-system-stroke-hover",label:"text-ui-label-small-bold",check:"mr-2 w-4 scale-100 text-system-vector-selected-on-weak opacity-100"},false:{}},disabled:{true:{root:"pointer-events-none cursor-not-allowed bg-system-surface-disabled-weak text-system-text-disabled-default ring-system-stroke-disabled hover:ring-system-stroke-disabled"},false:{}}},compoundVariants:[{disabled:!0,selected:!0,class:{root:"text-system-text-disabled-default ring-1",check:"text-system-text-disabled-default"}}]}
50),s=(0,o.c6)({slots:{root:"h-8 w-fit rounded-full text-system-text-default",buttonBg:"!scale-100 ring-system-stroke-default hover:ring-system-stroke-hover",label:"inline-flex items-center text-ui-label-small",chevron:"ml-1 h-4 w-4"},variants:{disabled:{true:{root:"pointer-events-none cursor-not-allowed text-system-text-disabled-default",buttonBg:"bg-system-surface-disabled-weak ring-system-stroke-disabled hover:ring-system-stroke-disabled",chevron:"text-system-vector-disabled-default"},false:{}},isOpen:{true:{},false:{}}}}),d=(0,o.c6)({slots:{root:"min-w-0"},variants:{type:{filter:{root:"flex min-w-0 flex-wrap gap-2"},input:{root:"flex min-w-0 flex-wrap gap-2"},checkbox:{root:"flex min-w-0 flex-col gap-2"},radio:{root:"min-w-0"}}},defaultVariants:{type:"filter"}})},32197:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});let o=(0,r(98069).cn)(null)},20268:function(e,t,r){"use strict";r.d(t,{F:function(){return l},T:function(){return i}});var o=r(67294);let i=(0,o.createContext)(null),l=()=>(0,o.useContext)(i)},67350:function(e,t,r){"use strict";r.d(t,{d:function(){return v}});var o=r(85893),i=r(48399);r(67294);var l=r(29398),s=r(19457),d=r(41424),c=r(66780),u=r(43201),p=r(4382),f=r(42217),m=r(3820),h=r(20961);let g={direction:{s:"bottom",m:"right"},dismissible:!0,children:null},v=e=>{let{breakpoint:t}=(0,l.G)(),{themeConfig:r,title:v,subtitle:y,closeButtonAttributes:b,container:x,portalClassName:w,...k}=e,{className:_,direction:C,dismissible:$=!0,open:S,onOpenChange:E,defaultOpen:j,children:N,...T}=(0,d.D)(k,t,g),P=(0,p.tv)(r?(0,p.RH)(h.Kn,r):h.Kn),A=(0,s.E)()?({right:"left",left:"right",top:"top",bottom:"bottom"})[C]:C,{overlay:O,content:R,root:D,handle:M}=P({direction:A,title:!!v,subtitle:!!y}),L=[[m.hw,{rootClassname:(0,i.cn)(D(),_,w),overlayClassname:(0,i.cn)(O(),w),handleClassname:M(),direction:A}],[m.$E,{className:R()}],[m.sE,{title:v,subtitle:y,closeButtonAttributes:b}]];return(0,o.jsx)(f.dy.Root,{modal:!0,dismissible:$,direction:A,open:S,onOpenChange:e=>{c.x.emit("drawer_open",{name:"drawer_open",payload:{open:e}}),null==E||E(e)},defaultOpen:j,"aria-labelledby":v?"drawer-title":void 0,"aria-describedby":y?"drawer-subtitle":void 0,container:x,...T,children:(0,o.jsx)(u.o,{atomValues:L,children:N})})};v.displayName="Drawer"},89108:function(e,t,r){"use strict";r.d(t,{s:function(){return d}});var o=r(85893),i=r(48399),l=r(3820),s=r(96974);let d=({className:e,...t})=>{let{className:r}=(0,s.Dv)(l.$E);return(0,o.jsx)("div",{className:(0,i.cn)("ef-drawer-content",r,e),...t})};d.displayName="DrawerContent"},69302:function(e,t,r){"use strict";r.d(t,{x:function(){return m}});var o=r(85893),i=r(48399),l=r(3820),s=r(67294),d=r(29398),c=r(39564),u=r(42217),p=r(96974),f=r(48356);let m=(0,s.forwardRef)((e,t)=>{let{className:r,children:s,...m}=e,{rootClassname:h,overlayClassname:g,handleClassname:v,direction:y}=(0,p.Dv)(l.hw),{breakpoint:b}=(0,d.G)(),x=(0,c.s0)(),w=(0,c.pP)(x),k=(0,i.cn)("ef-drawer-content-wrapper",w,h,r),_=(0,d.w)({currentBp:b,bp:"l",range:"up"});return(0,o.jsxs)(u.h_,{children:[(0,o.jsx)(u.aV,{className:(0,i.cn)(w,g)}),(0,o.jsxs)(u.VY,{ref:t,className:k,"data-direction":y,..._&&{"data-vaul-no-drag":!0},"aria-describedby":void 0,...m,children:[(0,o.jsx)("div",{className:(0,i.cn)(v)}),(0,o.jsx)(f.MT,{autoFocus:!0,children:s})]})]})});m.displayName="DrawerContentContainer"},74613:function(e,t,r){"use strict";r.d(t,{O:function(){return h}});var o=r(85893),i=r(48399),l=r(56896),s=r(3900),d=r(4382),c=r(17729),u=r(42217),p=r(3820),f=r(20961),m=r(96974);let h=({className:e,themeConfig:t,children:r,closeButtonAttributes:h,...g})=>{let{title:v,subtitle:y,closeButtonAttributes:b}=(0,m.Dv)(p.sE),{wrapper:x,root:w,titleClasses:k,subtitleClasses:_,dismissButton:C}=(0,d.tv)(t?(0,d.RH)(f.fR,t):f.fR)({title:v,subtitle:y});return(0,o.jsxs)("div",{className:(0,i.cn)(x(),e),...g,children:[(0,o.jsxs)("div",{className:(0,i.cn)(w()),children:[(0,o.jsx)(u.dy.Title,{asChild:!!v,className:(0,i.cn)(!v&&"hidden"),children:v&&(0,o.jsx)(s.x,{variant:"uiLabelBold",className:(0,i.cn)(k()),children:v})}),y&&(0,o.jsx)(s.x,{variant:"uiLabel",className:(0,i.cn)(_()),children:y}),r]}),(0,o.jsx)(u.dy.Close,{asChild:!0,className:(0,i.cn)("ef-drawer-dismiss-button",C()),children:(0,o.jsx)(l.Button,{variant:"ghost",size:"small",shape:"round","aria-label":"Close",...h??b,children:(0,o.jsx)(c.X,{weight:"bold","aria-hidden":"true"})})})]})};h.displayName="DrawerHeader"},3820:function(e,t,r){"use strict";r.d(t,{$E:function(){return i},hw:function(){return l},sE:function(){return s}});var o=r(98069);let i=(0,o.cn)({className:void 0}),l=(0,o.cn)({rootClassname:void 0,overlayClassname:void 0,handleClassname:void 0,direction:void 0}),s=(0,o.cn)({title:void 0,subtitle:void 0,closeButtonAttributes:void 0})},20961:function(e,t,r){"use strict";r.d(t,{Bk:function(){return s},Kn:function(){return i},fR:function(){return l}});var o=r(4382);let i=(0,o.c6)({slots:{root:"fixed isolate z-[9999] flex flex-col bg-system-surface-default text-system-text-default animation-ease-system-easing-expressive data-[state=closed]:animation-duration-system-short data-[state=open]:animation-duration-system-medium",overlay:"fixed inset-0 z-[9999] bg-black/40",content:"isolate h-full select-text overflow-y-auto px-6 pt-4 md:pt-6",handle:"m-2 mx-auto block h-1 w-20 flex-shrink-0 rounded-full bg-mono-gray-600 opacity-100 hover:bg-mono-gray-600 md:hidden"},variants:{direction:{right:{root:"inset-y-0 right-0 w-[480px] rounded-s-sm"},left:{root:"inset-y-0 left-0 w-[480px] rounded-e-sm"},top:{root:"inset-x-0 top-0 max-h-[calc(100%-40px)] min-h-[128px] rounded-b-sm"},bottom:{root:"inset-x-0 bottom-0 max-h-[calc(100%-40px)] min-h-[128px] rounded-t-sm"}},title:{true:{}},subtitle:{true:{}}},compoundVariants:[{title:!1,subtitle:!1,class:{content:"pt-0 md:pt-0"}}]}),l=(0,o.c6)({slots:{wrapper:"flex h-fit w-full items-start justify-between border-b border-components-dividers-default pb-3 pe-4 ps-6 md:py-3",root:"flex h-full select-text flex-col items-start",titleClasses:"my-auto",subtitleClasses:"",dismissButton:"mono ms-auto hidden md:block"},compoundVariants:[{title:void 0,subtitle:void 0,class:{wrapper:"border-none max-md:hidden md:py-1"}}]}),s=(0,o.c6)({slots:{root:"flex w-full flex-row justify-between border-t border-components-dividers-default px-6 py-4"}})},45729:function(e,t,r){"use strict";r.d(t,{YB:function(){return l},iI:function(){return i},vd:function(){return s}});let o=(e,t)=>{if("values"in e)return{...e,values:e.values.filter(e=>t.some(t=>t.value===e.value))};if("range"===e.type&&t.length>0){let r=t[0].value;if(r&&"object"==typeof r&&"min"in r&&"max"in r)return{...e,min:r.min,max:r.max}}return e},i=(e,t)=>{let r;if(!t)return{selected:[],selectedCount:0};let i=t.filters.map(t=>{let r=e.filter(e=>e.groupLabel===t.label&&e.filterId===t.filter.id);return 0===r.length?null:{label:t.label,filter:o(t.filter,r),sortByOptions:t.sortByOptions,sortBy:t.sortBy}}
50).filter(Boolean),l=t.filters.find(e=>e.sortBy);return null!=l&&l.sortBy&&(r=l.sortBy),{selected:i,selectedCount:e.length,...r?{sortBy:r}:{}}},l=(e,t,r)=>{let o=null==r?void 0:r.filters[e];return null!=o&&o.sortByOptions?{selected:[],selectedCount:0,sortBy:t}:{selected:[],selectedCount:0}},s=e=>{var t,r,o;let i={},l=e.sortBy||(null==(t=e.selected.find(e=>e.sortBy))?void 0:t.sortBy);for(let t of(l&&(i["sort-by"]=l),e.selected)){let e=t.filter;e&&("values"in e&&e.values.length>0?i[e.id]=e.values.map(e=>e.value):"range"===e.type&&e.min!==e.max?i[e.id]={min:e.min,max:e.max}:"date"===e.type&&e.minValue?i[e.id]=e.minValue.toString():"date-range"===e.type&&(e.minValue||e.maxValue)&&(i[e.id]=`${(null==(r=e.minValue)?void 0:r.toString())||""}-${(null==(o=e.maxValue)?void 0:o.toString())||""}`))}return i}},40679:function(e,t,r){"use strict";r.d(t,{Vs:function(){return d},YG:function(){return s},cR:function(){return c},lr:function(){return u},vw:function(){return p}});let o=e=>e.reduce((e,t)=>{let r=t.addedOrder??-1;return r>e?r:e},-1)+1,i=e=>"string"==typeof e||"number"==typeof e,l=(e,t)=>{let r=o(e);return"radio"===t.type?[...e.filter(e=>e.filterId!==t.filterId),{...t,addedOrder:r}]:e.some(e=>e.filterId===t.filterId&&e.value===t.value)?e:[...e,{...t,addedOrder:r}]},s=(e,t,r)=>void 0===r?e.filter(e=>e.filterId!==t):e.filter(e=>e.filterId!==t||("object"==typeof e.value&&null!==e.value&&"min"in e.value&&"max"in e.value&&"object"==typeof r&&null!==r&&"min"in r&&"max"in r?!(e.value.min===r.min&&e.value.max===r.max):e.value!==r)),d=(e,t)=>e.some(e=>e.filterId===t.filterId&&e.value===t.value)?s(e,t.filterId,t.value):l(e,t),c=(e,t)=>{let r=o(e);return[...e.filter(e=>e.filterId!==t.filterId),{...t,addedOrder:r}]},u=(e,t)=>{let r=new Set(t.filter(e=>!1===e.clearable).map(e=>e.filter.id));return 0===r.size?[]:e.filter(e=>r.has(e.filterId))},p=(e,t,r)=>{let l=new Map;for(let e of t){let t=e.filter;("chip"===t.type||"radio"===t.type||"checkbox"===t.type)&&l.set(t.id,{groupLabel:e.label,filterLabel:t.label,type:t.type,options:t.values,allowed:new Set(t.values.map(e=>e.value).filter(i))})}let s=new Map,d=new Map;for(let t of e){let e=l.get(t.filterId);if(!e||!i(t.value))continue;let r=e.allowed.has(t.value)?d:s,o=r.get(t.filterId)??[];o.push(t.value),r.set(t.filterId,o)}if(0===s.size)return{next:e,changed:!1};let c=new Map;for(let[e,t]of s){let o=l.get(e),i=d.get(e)??[],s=r?r({groupLabel:o.groupLabel,filterId:e,filterType:o.type,options:o.options,orphanedValues:t,validValues:i}):i,u=new Set;c.set(e,s.filter(e=>!(!o.allowed.has(e)||u.has(e))&&(u.add(e),!0)))}let u=new Map;for(let t of e)i(t.value)&&u.set(`${t.filterId}::${t.value}`,t.addedOrder);let p=o(e),f=(e,t)=>{let r=l.get(e),o=r.options.find(e=>e.value===t),i=u.get(`${e}::${t}`);return{filterId:e,filterLabel:r.filterLabel,groupLabel:r.groupLabel,value:o.value,valueLabel:o.label,type:r.type,addedOrder:i??p++}},m=new Set,h=[];for(let t of e){if(!c.has(t.filterId)){h.push(t);continue}if(!m.has(t.filterId))for(let e of(m.add(t.filterId),c.get(t.filterId)))h.push(f(t.filterId,e))}return{next:h,changed:!0}}},58956:function(e,t,r){"use strict";r.d(t,{$P:function(){return p},BO:function(){return c},L0:function(){return s},OX:function(){return d},lt:function(){return l},nC:function(){return u}});var o=r(45729),i=r(98069);let l=(0,i.cn)(!1),s=(0,i.cn)(null),d=(0,i.cn)([]),c=(0,i.cn)([]),u=((0,i.cn)(0),(0,i.cn)(e=>e(d).length)),p=((0,i.cn)(e=>{let t=e(d),r={};for(let e of t)r[e.groupLabel]||(r[e.groupLabel]=[]),r[e.groupLabel].push(e);return r}),(0,i.cn)(e=>{let t=e(d),r=e(s);return(0,o.iI)(t,r)}));(0,i.cn)(e=>{let t=e(c),r=e(s);return(0,o.iI)(t,r)})},88446:function(e,t,r){"use strict";r.d(t,{BU:function(){return i},Ok:function(){return s},XF:function(){return l}});var o=r(4382);let i=(0,o.c6)({slots:{root:"flex flex-col gap-3",triggerContainer:"mono flex items-center justify-between gap-3 lg:justify-start",trigger:"",triggerIcon:"",triggerCount:"",inlineContainer:"flex flex-wrap items-center gap-2",inlineScrollContainer:"flex items-center gap-2 overflow-x-auto scrollbar-hide",selectedContainer:"flex flex-wrap items-center gap-2",divider:"my-2",clearLink:"text-components-links-link-enabled duration-system-short text-ui-label hover:underline",moreChip:"cursor-pointer whitespace-nowrap"},variants:{variant:{drawer:{root:""},inline:{root:""}},hasSelections:{true:{trigger:""}}}}),l=(0,o.c6)({slots:{container:"bg-system-surface-default",content:"flex h-full flex-col",header:"flex items-center justify-between border-b border-components-dividers-default px-4 py-3",footer:"flex items-center justify-between gap-4 border-t border-components-dividers-default px-6 py-4",footerActions:"flex w-full items-center justify-between gap-3"}}),s=(0,o.c6)({slots:{root:"flex flex-col",selectedAccordionContent:"flex flex-wrap gap-2 pb-4",accordionContent:"flex flex-col gap-3 pb-4 pt-4",checkboxGroup:"flex flex-col gap-4",radioGroup:"flex flex-col gap-2",chipsGroup:"flex flex-wrap gap-2",rangeContainer:"px-2",dateContainer:""}})},17739:function(e,t,r){"use strict";r.d(t,{k:function(){return p}});var o=r(85893),i=r(48399),l=r(33806),s=r(77292),d=r(89671),c=r(67294),u=r(4382);let p=(0,c.forwardRef)((e,t)=>{let{children:r,className:c,gap:p,direction:f,align:m,justify:h,wrap:g,themeConfig:v,style:y,...b}=e,{alignClasses:x,justifyClasses:w,directionClasses:k,wrapClasses:_,gapClasses:C}
50=(0,d.k)({flexProps:{direction:"string"==typeof f?{s:f}:f,justify:"string"==typeof h?{s:h}:h,align:"string"==typeof m?{s:m}:m,wrap:"boolean"==typeof g?{s:g}:g,gap:"string"==typeof p?{s:p}:p},type:"group"}),$={...(0,l.i)(p),...y},{root:S}=(0,u.tv)(v?(0,u.RH)(s.h,v):s.h)(),E=(0,i.cn)("ef-flex",S(),[x,w,k,_,C].flat(),c);return(0,o.jsx)("div",{className:E,...b,style:$,ref:t,children:r})});p.displayName="Flex"},92993:function(e,t,r){"use strict";r.d(t,{B:function(){return u}});var o=r(85893),i=r(48399),l=r(77292),s=r(89671),d=r(67294),c=r(4382);let u=(0,d.forwardRef)((e,t)=>{let{flex:r,basis:d,width:u,children:p,className:f,style:m,themeConfig:h,...g}=e,{flexClasses:v,basisClasses:y}=(0,s.k)({flexProps:{flex:"string"==typeof r?{s:r}:r,basis:"string"==typeof d?{s:d}:d},type:"item"}),b=(0,c.tv)(h?(0,c.RH)(l.i,h):l.i),x=Number(u)?{width:`${u}%`,...m}:m,{root:w}=b(),k=(0,i.cn)("ef-flex-item",w(),[v].flat(),[y].flat(),f);return(0,o.jsx)("div",{className:k,style:x,ref:t,...g,children:p})});u.displayName="FlexItem"},77292:function(e,t,r){"use strict";r.d(t,{h:function(){return i},i:function(){return l}});var o=r(4382);let i=(0,o.c6)({slots:{root:"relative flex w-full text-system-text-default"}}),l=(0,o.c6)({slots:{root:""}})},75077:function(e,t,r){"use strict";r.d(t,{t:function(){return m}});var o=r(85893),i=r(48399),l=r(4382);let s=(0,i.cn)('relative before:pointer-events-none after:pointer-events-none before:content-[""] before:absolute before:inset-0 before:z-[1] before:rounded-[var(--focus-ring-radius,inherit)] before:ring-2 before:ring-system-stroke-focus-effect-inner after:content-[""] after:absolute after:inset-0 after:z-[0] after:rounded-[var(--focus-ring-radius,inherit)] after:ring-4 after:ring-system-stroke-focus-effect-outer'),d=(0,l.c6)({slots:{root:s}});var c=r(75607),u=r(25146),p=r(67294);function f(e){let{children:t,focusClass:r,focusRingClass:o}=e,{isFocused:i,isFocusVisible:l,focusProps:s}=(0,c.F)(e),d=p.Children.only(t);return p.cloneElement(d,(0,u.d)(d.props,{...s,className:function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}({[r||""]:i,[o||""]:l})}))}let m=({children:e,themeConfig:t,className:r,...s})=>{let{root:c}=(0,l.tv)(t?(0,l.RH)(d,t):d)(),u=(0,i.cn)("ef-focus-ring",c(),r);return(0,o.jsx)(f,{focusRingClass:u,...s,children:e})};m.displayName="FocusRing"},47566:function(e,t,r){"use strict";r.d(t,{T:function(){return p},O:function(){return u}});var o=r(85893),i=r(67294),l=r(4382);let s=(0,l.c6)({slots:{root:"pointer-events-none absolute left-[17px] top-s z-10 block w-[calc(100%-34px)] cursor-text overflow-hidden text-ellipsis whitespace-nowrap text-start text-system-text-weak transition-all duration-system-short ease-in"},variants:{active:{true:{root:"translate-y-[-8px] text-ui-label-small"}},shimmed:{true:{root:'before:absolute before:left-[-16px] before:top-[-7px] before:-z-[1] before:block before:h-[24px] before:w-[calc(100%+32px)] before:rounded-t-xs before:content-[""]'}}}});var d=r(48399);let c=e=>"u">typeof e&&"undefined"!==e&&"false"!==e&&!!e,u=e=>{let{onFocus:t,onBlur:r,value:o,placeholder:d,shimmed:u,themeConfig:p}=e,f=c(o)?o:"",[m,h]=(0,i.useState)(!!f||!!d),g=(0,i.useRef)(!1);(0,i.useEffect)(()=>{g.current||h(!!f||!!d)},[f]);let v=()=>{h(!0)},y=e=>{""===e.target.value&&(""===f||typeof f>"u")&&!d&&h(!1)},{root:b}=(0,l.tv)(p?(0,l.RH)(s,p):s)({active:m,shimmed:u});return{labelClassName:b(),inputOnFocus:e=>{t&&t(e),g.current=!0,(""===e.target.value||f)&&v()},inputOnBlur:e=>{r&&r(e),g.current=!1,y(e)}}},p=(e,t,r,i,l)=>(0,o.jsxs)("label",{htmlFor:e,style:i?{left:i}:void 0,className:(0,d.cn)(t,"ef-input-label"),children:[r,l&&"*"]},`floating-label_${e}`)},75068:function(e,t,r){"use strict";r.d(t,{f:function(){return x},$:function(){return b}});var o=r(85893),i=r(48399),l=r(13794),s=r(87067),d=r(43201),c=r(4382),u=r(45634),p=r(32855),f=r(54181),m=r(67294),h=r(40629),g=r(96974),v=r(26009);let y=(0,m.createContext)(null),b=()=>(0,m.useContext)(y),x=e=>{let{headerDropdowns:t=!1,view:r="day",touched:b,valid:x,children:w,themeConfig:k,disabled:_,className:C,onStateChange:$,stateProps:S,firstDayOfWeek:E,disabledVariant:j="default",...N}=e,{locale:T}=(0,f.j)(),P=(0,g.Dv)(l.tJ),A=(null==S?void 0:S.locale)||T||"en-US",O=(0,v.F)({...N,...P,isDisabled:_,firstDayOfWeek:E,isInvalid:b?!x:void 0,createCalendar:u.Y,...S,locale:A}),R=(0,m.useRef)(null),{calendarProps:D,prevButtonProps:M,nextButtonProps:L,title:I}=(0,p.z)(N,O);(0,m.useEffect)(()=>{$&&O&&null!=$&&$(O)},[O,$]);let{root:F,header:B,monthText:V,button:z,icon:H}=(0,c.tv)(k?(0,c.RH)(s.S_,k):s.S_)(),U=(0,i.cn)("ef-calendar",F(),C);return(0,o.jsxs)("div",{...D,ref:R,className:U,children:[(0,o.jsx)(h.v,{state:O,title:I,showDropdowns:t,ariaPrevButtonProps:M,ariaNextButtonProps:L,disabled:_,themeConfig:{slots:{root:(0,i.cn)(B()),title:(0,i.cn)(V()),button:(0,i.cn)(z()),icon:(0,i.cn)(H())}}}),(0,o.jsx)(y.Provider,{value:O,children:(0,o.jsx)(d.o,{atomValues:[[l.eb,{view:r,firstDayOfWeek:E}],[l.Cl,{disabledVariant:j}]],children:w})})]})};
50x.displayName="Calendar"},89412:function(e,t,r){"use strict";r.d(t,{l:function(){return f}});var o=r(85893),i=r(48399),l=r(75077),s=r(4382),d=r(67294),c=r(87067),u=r(13794),p=r(96974);let f=(0,d.forwardRef)((e,t)=>{let{label:r,icon:d,isSelected:f,isDisabled:m=!1,isInvalid:h=!1,isHighlighted:g,isDateHighlighted:v=!1,hidden:y,className:b,children:x,themeConfig:w,isInRange:k=!1,isVisuallyDisabled:_=!1,disabledVariant:C,...$}=e,{disabledVariant:S}=(0,p.Dv)(u.Cl),{root:E,icon:j,bg:N,content:T,label:P}=(0,s.tv)(w?(0,s.RH)(c.Rx,w):c.Rx)({selected:f,disabled:m,invalid:h,highlight:g,inRange:k,visuallyDisabled:_,dateHighlighted:v,disabledVariant:C??S}),A=(0,i.cn)("ef-calendar-cell-button",E(),b);return(0,o.jsx)(l.t,{children:(0,o.jsxs)("button",{ref:t,type:"button",disabled:m,className:A,hidden:y,...$,children:[(0,o.jsx)("span",{className:(0,i.cn)("ef-grid-cell-bg",N())}),d?(0,o.jsx)("span",{className:(0,i.cn)(j()),children:d}):null,(0,o.jsx)("span",{className:(0,i.cn)("ef-grid-cell-content",T()),children:x}),r?(0,o.jsx)("span",{className:(0,i.cn)("ef-grid-cell-label",P()),children:r}):null]})})});f.displayName="CalendarCellButton"},15607:function(e,t,r){"use strict";r.d(t,{y:function(){return k}});var o=r(85893),i=r(48399),l=r(87067),s=r(67294),d=r(54181),c=r(75068),u=r(92738),p=r(12479),f=r(25146),m=r(52701),h=r(56993),g=r(4382),v=r(7545),y=r(89412),b=r(38012);let x=e=>{let{state:t,date:r,themeConfig:d,className:c,tabIndex:u,label:p="",icon:f,isDateHighlighted:m=!1,...h}=e,x=(0,s.useRef)(null),{cellProps:w,buttonProps:k,isSelected:_,isOutsideVisibleRange:C,isDisabled:$,isUnavailable:S,formattedDate:E,isInvalid:j}=(0,v.J)({date:r},t,x),N=(0,g.tv)(d?(0,g.RH)(l.Ji,d):l.Ji),T=(0,b.zk)(r),{root:P}=N(),A=(0,i.cn)("ef-calendar-cell",P(),c);return(0,o.jsx)("span",{...w,className:A,...h,children:(0,o.jsx)(y.l,{ref:x,...k,...void 0!==u?{tabIndex:u}:{},icon:f,label:p,isSelected:_,isDisabled:$||S,isInvalid:j,isHighlighted:T,isDateHighlighted:m,hidden:C,themeConfig:d,children:E})})};x.displayName="CalendarCell";let w=Array.from({length:7},(e,t)=>t);function k(e){let{state:t,themeConfig:r,className:v,cellContent:y,fixedHeight:k=!1,renderCell:_,highlightedDates:C,...$}=e,S=(0,c.$)(),E=t??S,{locale:j}=(0,d.j)(),{gridProps:N,headerProps:T,weekDays:P}=function(e,t){let{startDate:r=t.visibleRange.start,endDate:o=t.visibleRange.end,firstDayOfWeek:i}=e,{direction:l}=(0,d.j)(),c=(0,u.FK)(r,o,t.timeZone,!0),{ariaLabel:g,ariaLabelledBy:v}=u.Lh.get(t),y=(0,m.b)({"aria-label":[g,c].filter(Boolean).join(", "),"aria-labelledby":v}),b=(0,h.a)({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:x}=(0,d.j)(),w=(0,s.useMemo)(()=>{let e=(0,p.zJ)((0,p.Lg)(t.timeZone),x,i);return[...Array(7).keys()].map(r=>{let o=e.add({days:r}).toDate(t.timeZone);return b.format(o)})},[x,t.timeZone,b,i]);return{gridProps:(0,f.d)(y,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:e=>{switch(e.key){case"Enter":case" ":e.preventDefault(),t.selectFocusedDate();break;case"PageUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousSection(e.shiftKey);break;case"PageDown":e.preventDefault(),e.stopPropagation(),t.focusNextSection(e.shiftKey);break;case"End":e.preventDefault(),e.stopPropagation(),t.focusSectionEnd();break;case"Home":e.preventDefault(),e.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===l?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===l?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(e.preventDefault(),t.setAnchorDate(null))}},onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:w}}($,E),A=j||"en-US",{weeksInMonth:O,totalWeeks:R}=(0,b.GB)(E,A,$.firstDayOfWeek,k),D=(0,b.n7)(E,A,$.firstDayOfWeek),M=(0,s.useMemo)(()=>Array.from({length:R},(e,t)=>t),[R]),L=(0,s.useMemo)(()=>new Map(null==y?void 0:y.map(e=>[e.date.toString(),{label:e.label,icon:e.icon}])),[y]),I=(0,s.useMemo)(()=>new Set(null==C?void 0:C.map(e=>e.toString())),[C]),{root:F,row:B,weekDays:V,weekdayCell:z,fillHeightCell:H}=(0,g.tv)(r?(0,g.RH)(l.X9,r):l.X9)(),U=(0,i.cn)("ef-calendar-day-view",F(),v),Z=_??(e=>{var t,l,s,d;return(0,o.jsx)(x,{state:e.state,date:e.date,label:null==e?void 0:e.label,icon:null==e?void 0:e.icon,isDateHighlighted:e.isDateHighlighted,themeConfig:{slots:{root:(0,i.cn)(null==(t=null==r?void 0:r.slots)?void 0:t.cellRoot,null==(l=null==r?void 0:r.slots)?void 0:l.container),bg:null==(s=null==r?void 0:r.slots)?void 0:s.bg,content:null==(d=null==r?void 0:r.slots)?void 0:d.content}}},e.date.toString())});return(0,o.jsxs)("div",{...N,className:U,children:[(0,o.jsx)("div",{role:"row",className:(0,i.cn)(B(),V()),...T,children:P.map((e,t)=>(0,o.jsx)("span",{className:(0,i.cn)(z()),children:e},t))}),M.map(e=>(0,o.jsx)("div",{role:"row",className:(0,i.cn)(B()),children:e<O?E.getDatesInWeek(e,D).map(e=>{if(!e)return null;let t=L.get(e.toString());return Z({date:e,state:E,label:null==t?void 0:t.label,icon:null==t?void 0:t.icon,isDateHighlighted:I.has(e.toString())})}):w.map(e=>(0,o.jsx)("span",{className:(0,i.cn)(H())},e))},e))]})}
50k.displayName="CalendarDayView"},45139:function(e,t,r){"use strict";r.d(t,{P:function(){return s}});var o=r(85893),i=r(67294),l=r(33889);let s=e=>{let{children:t,...r}=e,s=i.useRef(null),{dialogProps:d}=(0,l.R)(r,s);return(0,o.jsx)("div",{...d,className:"flex min-h-0 flex-1 flex-col overflow-hidden",ref:s,children:t})};s.displayName="CalendarDialog"},10186:function(e,t,r){"use strict";r.d(t,{T:function(){return h}});var o=r(85893),i=r(48399),l=r(4382),s=r(75068),d=r(13794),c=r(87067),u=r(15607),p=r(47175),f=r(96909),m=r(96974);let h=e=>{let{state:t,minYear:r=100,maxYear:h=10,fixedHeight:g,themeConfig:v,className:y,cellContent:b,highlightedDates:x,...w}=e,{view:k,firstDayOfWeek:_}=(0,m.Dv)(d.eb),C=(0,m.Dv)(d.W3),$=(0,s.$)(),S=t||$||void 0,E=w.firstDayOfWeek??_,{root:j,scrollContainer:N,dropdown:T,dayView:P}=(0,l.tv)(v?(0,l.RH)(c.ab,v):c.ab)({view:k}),A=(0,i.cn)("ef-calendar-grid",j(),y);return(0,o.jsx)("div",{className:A,children:(0,o.jsxs)("div",{className:(0,i.cn)(N()),children:[(0,o.jsx)(u.y,{className:(0,i.cn)(P()),state:S,themeConfig:v,cellContent:null==b?void 0:b.map(e=>({date:e.date,label:e.label,icon:e.icon})),fixedHeight:C||g,highlightedDates:x,...w,firstDayOfWeek:E}),"month"===k?(0,o.jsx)(p.H,{className:(0,i.cn)(T()),state:S,themeConfig:v,...w}):"year"===k?(0,o.jsx)(f.V,{className:(0,i.cn)(T()),state:S,min:r,max:h,themeConfig:v,...w}):null]})})};h.displayName="CalendarGrid"},40629:function(e,t,r){"use strict";r.d(t,{v:function(){return w}});var o=r(85893),i=r(48399),l=r(56896),s=r(87067),d=r(3900),c=r(4382),u=r(34600),p=r(54474),f=r(65243),m=r(54181),h=r(67294),g=r(52254),v=r(75068),y=r(13794),b=r(96974),x=r(76121);let w=e=>{var t;let{title:r,showDropdowns:w,ariaPrevButtonProps:k,ariaNextButtonProps:_,disabled:C,className:$,themeConfig:S,state:E,...j}=e,{locale:N}=(0,m.j)(),[T,P]=(0,b.KO)(y.eb),A=(0,v.$)(),O=E??A,R=null==T?void 0:T.view,D="month"===R||"year"===R,M=(0,h.useRef)(null),L=(0,h.useRef)(null),{buttonProps:I}=(0,x.U)({...k,isDisabled:k.isDisabled||C},M),{buttonProps:F}=(0,x.U)({..._,isDisabled:_.isDisabled||C},L),{root:B,title:V,button:z,icon:H,dropdownsContainer:U,monthSelector:Z,monthButtonContainer:W,yearSelector:K,dropdownButton:q,dropdownIcon:G}=(0,c.tv)(S?(0,c.RH)(s.I6,S):s.I6)(),J=(0,i.cn)("ef-calendar-header",B(),$),Y={as:"button",variant:"link",size:"small"},X=(0,o.jsx)(l.Button,{...I,...Y,ref:M,className:(0,i.cn)(z()),shape:"round",disabled:D||C||k.isDisabled,"aria-label":w?"Previous Month":"Previous",children:(0,o.jsx)(p.W,{className:(0,i.cn)(H()),weight:"bold",height:18,width:18})}),Q=(0,o.jsx)(l.Button,{...F,...Y,ref:L,className:(0,i.cn)(z()),disabled:D||C||_.isDisabled,shape:"round","aria-label":w?"Next Month":"Next",children:(0,o.jsx)(f.T,{className:(0,i.cn)(H()),weight:"bold",height:18,width:18})}),ee=(0,o.jsx)(l.Button,{...Y,className:(0,i.cn)(z()),disabled:D,shape:"round","aria-label":"Previous Year",onPress:()=>{var e;if(null!=O&&O.focusedDate){let t=O.focusedDate.set({year:(null==(e=O.focusedDate)?void 0:e.year)-1});O.setFocusedDate(t)}},children:(0,o.jsx)(p.W,{className:(0,i.cn)(H()),weight:"bold",height:18,width:18})}),et=(0,o.jsx)(l.Button,{...Y,className:(0,i.cn)(z()),disabled:D,shape:"round","aria-label":"Next Year",onPress:()=>{var e;if(null!=O&&O.focusedDate){let t=O.focusedDate.set({year:(null==(e=O.focusedDate)?void 0:e.year)+1});O.setFocusedDate(t)}},children:(0,o.jsx)(f.T,{className:(0,i.cn)(H()),weight:"bold",height:18,width:18})});return(0,o.jsx)("div",{className:J,...j,children:w?(0,o.jsxs)("div",{className:(0,i.cn)(U()),children:[(0,o.jsxs)("div",{className:(0,i.cn)(Z()),children:[X,(0,o.jsx)("div",{className:(0,i.cn)(W()),children:(0,o.jsxs)(l.Button,{...Y,className:(0,i.cn)(q()),disabled:"year"===R,onPress:()=>P({...T,view:"month"===R?"day":"month"}),children:[O?(0,g.Yb)(O.focusedDate,N||"en",O.timeZone):null,(0,o.jsx)(u.p,{className:(0,i.cn)(G(),"month"===R&&"-rotate-180"),weight:"fill",height:16,width:16})]})}),Q]}),(0,o.jsxs)("div",{className:(0,i.cn)(K()),children:[ee,(0,o.jsxs)(l.Button,{...Y,className:(0,i.cn)(q()),disabled:"month"===R,onPress:()=>P({...T,view:"year"===R?"day":"year"}),children:[null==(t=null==O?void 0:O.focusedDate)?void 0:t.year,(0,o.jsx)(u.p,{className:(0,i.cn)(G(),"year"===R&&"-rotate-180"),weight:"fill",height:16,width:16})]}),et]})]}):(0,o.jsxs)(o.Fragment,{children:[X,(0,o.jsx)("div",{className:(0,i.cn)(V()),children:(0,o.jsx)(d.x,{as:"h2",variant:"uiLabelBold",children:r})}),Q]})})};
50w.displayName="CalendarHeader"},47175:function(e,t,r){"use strict";r.d(t,{H:function(){return y}});var o=r(85893),i=r(48399),l=r(4382),s=r(13794),d=r(87067),c=r(67294),u=r(52254),p=r(89412),f=r(38012),m=r(48356),h=r(54181);let g=({months:e,state:t,isMonthDisabled:r,onMonthSelect:i,initialFocusedIndex:l})=>{let s=(0,m.bO)(),d=(0,c.useRef)(null),{locale:g}=(0,h.j)();return(0,c.useEffect)(()=>{var e;let t=null==(e=d.current)?void 0:e.querySelectorAll("button:not([disabled])");t&&t[l]&&t[l].focus()},[l]),s?(0,o.jsx)("div",{ref:d,className:"contents",children:e.map(e=>{var l;let d=(null==(l=t.focusedDate)?void 0:l.month)===e.month,c=(0,f.Zc)(s,{columns:3,onSelect:()=>i(e)});return(0,o.jsx)(p.l,{tabIndex:d?0:-1,onKeyDown:c,isDisabled:r(e),isSelected:d,onClick:()=>i(e),"aria-label":(0,u.Yb)(e,"en",t.timeZone),children:(0,u.Yb)(e,g,t.timeZone)},e.toString())})}):null};g.displayName="CalendarMonthContent";var v=r(96974);let y=e=>{let{state:t,themeConfig:r,className:c}=e,[u,p]=(0,v.KO)(s.eb);if(!(null!=t&&t.focusedDate))return null;let f=[],h=t.focusedDate.calendar.getMonthsInYear(t.focusedDate);for(let e=1;e<=h;e++)f.push(t.focusedDate.set({month:e}));let y=e=>!!(t.minValue&&0>e.compare(t.minValue)||t.maxValue&&e.compare(t.maxValue)>0),b=t.focusedDate.month-1,{root:x}=(0,l.tv)(r?(0,l.RH)(d.BZ,r):d.BZ)(),w=(0,i.cn)("ef-calendar-month-view",x(),c);return(0,o.jsx)(m.MT,{children:(0,o.jsx)("div",{className:w,role:"grid","aria-label":"Months",children:(0,o.jsx)(g,{months:f,state:t,isMonthDisabled:y,onMonthSelect:e=>{y(e)||!t.setFocusedDate||(t.setFocusedDate(e),p({...u,view:"day"}))},initialFocusedIndex:b})})})};y.displayName="CalendarMonthView"},65274:function(e,t,r){"use strict";r.d(t,{z:function(){return m}});var o=r(85893),i=r(48399),l=r(87067),s=r(39564),d=r(4382),c=r(8390),u=r(52451),p=r(26319),f=r(67294);let m=e=>{let t=(0,f.useRef)(null),{state:r,children:m,className:h,themeConfig:g,portalContainer:v,...y}=e,{popoverProps:b,underlayProps:x}=(0,u.S)({...y,popoverRef:t},r),w=(0,s.s0)(),k=(0,s.pP)(w),{underlay:_,popover:C}=(0,d.tv)(g?(0,d.RH)(l.Uw,g):l.Uw)(),$=(0,i.cn)("ef-calendar-popover",C(),k,h);return(0,o.jsxs)(p.aV,{portalContainer:(null==v?void 0:v.current)??void 0,children:[(0,o.jsx)("div",{...x,className:(0,i.cn)(_())}),(0,o.jsxs)("div",{...b,ref:t,className:$,children:[(0,o.jsx)(c.U,{onDismiss:r.close}),m,(0,o.jsx)(c.U,{onDismiss:r.close})]})]})};m.displayName="CalendarPopover"},96909:function(e,t,r){"use strict";r.d(t,{V:function(){return v}});var o=r(85893),i=r(48399),l=r(4382),s=r(13794),d=r(87067),c=r(67294),u=r(89412),p=r(38012),f=r(48356);let m=({years:e,state:t,onYearSelect:r,initialFocusedIndex:i,yearCellClass:l})=>{let s=(0,f.bO)(),d=(0,c.useRef)(null);return(0,c.useEffect)(()=>{var e;
50let t=null==(e=d.current)?void 0:e.querySelectorAll("button");if(t&&t[i]){let e=t[i];e.scrollIntoView({behavior:"instant",block:"center",inline:"nearest"}),e.focus()}},[i]),s?(0,o.jsx)("div",{ref:d,className:"contents",children:e.map(e=>{var i;let d=(null==(i=t.focusedDate)?void 0:i.year)===e.year,c=(0,p.Zc)(s,{columns:3,onSelect:()=>r(e)});return(0,o.jsx)(u.l,{className:l,tabIndex:d?0:-1,onKeyDown:c,isSelected:d,isDisabled:!1,onClick:()=>r(e),"aria-label":e.year.toString(),children:e.year},e.toString())})}):null};m.displayName="CalendarYearContent";var h=r(96974),g=r(56993);let v=e=>{var t,r;let{state:c,min:u=100,max:p=10,themeConfig:v,className:y}=e,[b,x]=(0,h.KO)(s.eb),w=(0,g.a)({year:"numeric",timeZone:null==c?void 0:c.timeZone});if(!(null!=c&&c.focusedDate))return null;let k=c.focusedDate.year,_=null==(t=c.minValue)?void 0:t.year,C=null==(r=c.maxValue)?void 0:r.year,$=k-u,S=k+p;void 0!==_&&($=Math.max($,_)),void 0!==C&&(S=Math.min(S,C));let E=[];for(let e=$;e<=S;e++)E.push(c.focusedDate.set({year:e}));let j=c.focusedDate.year,N=Math.max(0,E.findIndex(e=>e.year===j)),{root:T,scrollContainer:P,yearCell:A}=(0,l.tv)(v?(0,l.RH)(d.qK,v):d.qK)(),O=(0,i.cn)("ef-calendar-year-view",T(),y);return(0,o.jsx)(f.MT,{children:(0,o.jsx)("div",{className:O,role:"grid","aria-label":"Years",children:(0,o.jsx)("div",{className:(0,i.cn)(P()),children:(0,o.jsx)(m,{years:E,state:c,onYearSelect:e=>{c.setFocusedDate&&(c.setFocusedDate(e),x({...b,view:"day"}))},initialFocusedIndex:N,yearCellClass:(0,i.cn)(A()),formatter:w})})})})};v.displayName="CalendarYearView"},13794:function(e,t,r){"use strict";r.d(t,{B3:function(){return u},Cl:function(){return s},EQ:function(){return m},W3:function(){return f},ZX:function(){return c},eb:function(){return p},tJ:function(){return d}});var o=r(85893),i=r(10186),l=r(98069);let s=(0,l.cn)({}),d=(0,l.cn)({children:(0,o.jsx)(i.T,{})}),c=(0,l.cn)({}),u=((0,l.cn)({}),(0,l.cn)({})),p=(0,l.cn)({}),f=(0,l.cn)(!1),m=(0,l.cn)({fn:void 0})},87067:function(e,t,r){"use strict";r.d(t,{BZ:function(){return f},I6:function(){return l},Ji:function(){return d},Jm:function(){return h},Rx:function(){return c},S_:function(){return i},Uw:function(){return s},X9:function(){return u},ab:function(){return p},qK:function(){return m}});var o=r(4382);let i=(0,o.c6)({slots:{root:"group/calendar relative flex max-h-full min-h-0 flex-1 flex-col overflow-x-hidden text-system-text-default lg:rounded-sm",header:"flex-shrink-0",monthText:"",button:"",icon:"rtl-flip"}}),l=(0,o.c6)({slots:{root:"grid min-h-[72px] flex-shrink-0 grid-cols-7 border-b border-system-stroke-weak py-4 motion-safe:transition-all motion-safe:duration-system-medium motion-safe:ease-in-out",dropdownsContainer:"mono col-span-7 flex min-w-0 gap-1 px-1 md:gap-2 md:px-4",monthSelector:"flex min-w-0 flex-1 items-center text-system-text-default",monthButtonContainer:"flex min-w-0 flex-1 justify-center text-system-text-default",yearSelector:"flex min-w-0 items-center",dropdownButton:"flex",dropdownIcon:"transition-transform duration-system-medium ease-in-out rtl-flip",title:"col-span-5 flex items-center justify-center",button:"mono mx-auto",icon:"rtl-flip"},variants:{hide:{true:{root:"translate-y-l opacity-0"}}}}),s=((0,o.c6)({slots:{root:"flex h-[56px] w-full items-center px-xs text-center",headerTitle:"ms-l flex-1"}}),(0,o.c6)({slots:{root:"fixed inset-0 z-10 bg-system-surface-default bg-opacity-30 animate-in animate-from-opacity-0 animation-duration-system-medium animation-ease-system-easing-standard",modal:"absolute bottom-0 w-full justify-center rounded-t-xl bg-system-surface-default shadow-lg will-change-transform animate-in animate-from-opacity-50 animate-from-bottom-m animation-duration-system-medium animation-ease-system-easing-expressive"}}),(0,o.c6)({slots:{underlay:"fixed inset-0",popover:"absolute z-10 mt-xs flex max-h-[min(600px,calc(100vh-2rem))] w-fit flex-col overflow-y-auto rounded-sm bg-system-surface-default shadow-dark-m-15 animate-in animate-from-opacity-0 animate-from-top-xs animation-duration-system-medium animation-ease-system-easing-expressive"}})),d=(0,o.c6)({slots:{root:"relative z-0 min-h-[44px] w-full min-w-0 md:min-w-[48px]",button:"",bg:"",content:"",label:""},variants:{roundedLeft:{true:{root:"rounded-s-sm"}},roundedRight:{true:{root:"rounded-e-sm"}},selectionStart:{true:{content:"bg-system-surface-selected-strong text-system-text-selected-on-strong"}},selectionEnd:{true:{content:"bg-system-surface-selected-strong text-system-text-selected-on-strong"}}},compoundVariants:[{selectionStart:!0,invalid:!0,class:{content:"bg-system-surface-warning-strong text-system-text-selected-on-strong group-hover:bg-system-surface-warning-strong"}},{selectionEnd:!0,invalid:!0,class:{content:"bg-system-surface-warning-strong text-system-text-selected-on-strong group-hover:bg-system-surface-warning-strong"}},{invalid:!0,selected:!0,class:{content:"bg-system-surface-warning-strong"}}]}),c=(0,o.c6)({slots:{root:"group relative flex h-full w-full flex-col items-center justify-center gap-0.5 rounded-sm focus-visible:z-10",bg:"absolute z-0 h-full w-full rounded-sm ring-0 ring-inset ring-system-stroke-selected-on-weak transition-all duration-system-short",content:"group-focus-visible:z-2 z-10 flex h-[18px] items-center justify-center rounded-full",icon:"absolute right-1 top-1 z-10 block self-end group-has-[.ef-gr
50id-cell-label]:relative group-has-[.ef-grid-cell-label]:inset-0 group-has-[.ef-grid-cell-label]:-mb-1",label:"pointer-events-none z-10 max-w-[5ch] truncate pt-0.5 text-center text-small-print"},variants:{selected:{true:{content:"text-system-text-selected-on-weak text-ui-label-bold",bg:"bg-system-surface-selected-weak ring-2 ring-inset ring-system-stroke-selected-on-weak",icon:"text-system-text-selected-on-weak",label:"text-system-text-brand-primary"},false:{content:"transition-all duration-system-short",bg:"bg-transparent group-hover:bg-system-surface-selected-weak"}},invalid:{true:{bg:"bg-system-surface-warning-weak ring-system-stroke-warning-on-weak group-hover:bg-system-surface-warning-weak",content:"text-system-text-warning-on-weak"}},highlight:{true:{content:"text-ui-label-bold"}},inRange:{true:{},false:{}},disabled:{true:{},false:{}},disabledVariant:{default:{},"line-through":{}},visuallyDisabled:{true:{},false:{}},dateHighlighted:{true:{bg:"bg-components-calendar-surface-highlight"}}},compoundVariants:[{inRange:!0,visuallyDisabled:!1,class:{root:"text-system-text-brand-primary no-underline",content:""}},{inRange:!1,disabled:!0,class:{root:"cursor-not-allowed text-system-text-disabled-default",bg:"group-hover:bg-transparent",content:"cursor-not-allowed text-system-text-disabled-default"}},{visuallyDisabled:!0,inRange:!1,class:{root:"pointer-events-none cursor-not-allowed text-system-text-disabled-default",bg:"group-hover:bg-transparent",content:"text-system-text-disabled-default"}},{inRange:!1,disabled:!0,disabledVariant:"line-through",class:{root:"line-through"}},{visuallyDisabled:!0,inRange:!1,disabledVariant:"line-through",class:{root:"line-through"}},{visuallyDisabled:!0,inRange:!0,class:{root:"pointer-events-none",content:""}},{selected:!0,dateHighlighted:!0,class:{bg:"bg-system-surface-selected-weak"}},{inRange:!0,dateHighlighted:!0,class:{bg:"bg-transparent"}}]}),u=(0,o.c6)({slots:{root:"mt-6 flex h-full w-full flex-1 flex-col gap-xs overflow-x-hidden px-1 pb-2 md:px-2",row:"grid grid-cols-7 gap-xxs overflow-x-clip",weekdayCell:"text-center text-system-text-disabled-default text-ui-label",weekDays:"mb-1",fillHeightCell:"flex min-h-[44px] w-full min-w-0 items-center justify-center"}}),p=(0,o.c6)({slots:{root:"relative flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto",scrollContainer:"relative h-full w-full",dayView:"motion-safe:transition-all motion-safe:duration-system-medium motion-safe:ease-in-out",dropdown:"absolute inset-0"},variants:{view:{day:{dropdown:"animation-delay-system-long",root:"delay-system-long"},month:{},year:{}}},compoundVariants:[{view:["month","year"],class:{dayView:"-translate-y-l opacity-0",dropdown:"motion-safe:animate-in motion-safe:animate-from-opacity-0 motion-safe:animate-from-top-m motion-safe:animation-duration-system-medium motion-safe:animation-delay-system-short motion-safe:animation-ease-system-easing-expressive"}}]}),f=((0,o.c6)({slots:{root:"grid gap-1",row:"grid grid-cols-7 gap-1",weekdayCell:"text-center text-system-text-disabled-default text-ui-label"}}),(0,o.c6)({slots:{root:"z-10 grid h-full auto-rows-fr grid-cols-3 gap-2 bg-system-surface-default p-2"}})),m=(0,o.c6)({slots:{root:"relative z-10 h-full bg-system-surface-default before:absolute before:left-0 before:top-0 before:z-20 before:h-2 before:w-full before:bg-gradient-to-b before:from-system-surface-default before:to-transparent after:absolute after:bottom-0 after:left-0 after:z-20 after:h-2 after:w-full after:bg-gradient-to-t after:from-system-surface-default after:to-transparent",scrollContainer:"grid h-full grid-cols-3 gap-2 overflow-y-auto p-2",yearCell:"h-[44px]"}}),h=(0,o.c6)({slots:{root:"relative min-h-[44px] w-full min-w-0 md:min-w-[48px]",rangeBg:"pointer-events-none absolute inset-y-0 -z-10 bg-system-surface-selected-weak"},variants:{rangePosition:{none:{rangeBg:"bg-transparent"},single:{rangeBg:"inset-x-0 rounded-sm"},start:{rangeBg:"-right-xs left-0 rounded-s-sm"},middle:{rangeBg:"-inset-x-xs"},end:{rangeBg:"-left-xs right-0 rounded-e-sm"}},isInFlexibleRange:{true:{},false:{}}},compoundVariants:[{isInFlexibleRange:!0,rangePosition:"none",class:{root:"[&[data-first-flexible]]:rounded-s-sm [&[data-last-flexible]]:rounded-e-sm",rangeBg:"-inset-x-xxs rounded-[inherit] border-b-2 border-t-2 border-dashed border-system-stroke-selected-on-weak [.ef-range-calendar-cell[data-first-flexible][data-last-flexible]_&]:inset-x-0 [.ef-range-calendar-cell[data-first-flexible]_&]:inset-x-0 [.ef-range-calendar-cell[data-first-flexible]_&]:-right-xxs [.ef-range-calendar-cell[data-first-flexible]_&]:border-l-2 [.ef-range-calendar-cell[data-last-flexible]_&]:inset-x-0 [.ef-range-calendar-cell[data-last-flexible]_&]:-left-xxs [.ef-range-calendar-cell[data-last-flexible]_&]:border-r-2"}}]})},38012:function(e,t,r){"use strict";r.d(t,{D7:function(){return c},GB:function(){return l},JK:function(){return u},ZQ:function(){return d},Zc:function(){return p},n7:function(){return i},zk:function(){return s}});var o=r(12479);function i(e,t,r){var i;return null!=(i=e.visibleRange)&&i.start?(0,o.zJ)(e.visibleRange.start,t,r):(0,o.Lg)((0,o.iT)())}function l(e,t,r,i=!1){var l;if(!(null!=(l=e.visibleRange)&&l.start)){let e=(0,o.Lg)((0,o.iT)()),l=(0,o.Rn)(e,t,r);return{weeksInMonth:l,totalWeeks:i?6:l}}let s=(0,o.Rn)(e.visibleRange.start,t,r);return{weeksInMonth:s,totalWeeks:i?6:s}}function s(e){return 0===e.compare((0,o.Lg)((0,o.iT)()))}function d(e,t){let r=t.highlightedRange??t.value;if(!(null!=r&&r.start)||!(null!=r&&r.end))return!1;let o=r.start,i=r.end;return e.compare(o)>
500&&0>e.compare(i)}let c=(e,t,r,o)=>!!o&&0>=t.subtract({days:o}).compare(e)&&r.add({days:o}).compare(e)>=0;function u(e,t,r,o){if(!o||!e||!t||!r)return{};let i=e.focusedDate.set({day:1}),l=[];for(let s=0;s<6;s++)for(let d of e.getDatesInWeek(s,i))d&&c(d,t,r,o)&&l.push(d);return 0===l.length?{}:(l.sort((e,t)=>e.compare(t)),{firstFlexibleDate:l[0].toString(),lastFlexibleDate:l[l.length-1].toString()})}function p(e,t){let{columns:r,onSelect:o}=t;return t=>{switch(t.key){case"ArrowRight":t.preventDefault(),e.focusNext({wrap:!1});break;case"ArrowLeft":t.preventDefault(),e.focusPrevious({wrap:!1});break;case"ArrowDown":t.preventDefault();for(let t=0;t<r;t++)e.focusNext({wrap:!1});break;case"ArrowUp":t.preventDefault();for(let t=0;t<r;t++)e.focusPrevious({wrap:!1});break;case"Home":t.preventDefault(),e.focusFirst();break;case"End":t.preventDefault(),e.focusLast();break;case"Enter":case" ":t.preventDefault(),null==o||o()}}}},25099:function(e,t,r){"use strict";r.d(t,{z:function(){return g}});var o=r(85893),i=r(48399),l=r(22953),s=r(75077),d=r(55849),c=r(77958),u=r(96655),p=r(4382),f=r(67294),m=r(70386),h=r(73765);let g=(0,f.forwardRef)((e,t)=>{let{children:r,checked:g,required:v,onChange:y,onCheckedChange:b,themeConfig:x,disabled:w,valid:k,touched:_,description:C,onClick:$,className:S}=e,E=(0,f.useRef)(null),j=(0,f.useRef)(!1),N=(0,f.useRef)(g),T=void 0!==g&&(void 0!==b||void 0!==y);f.useImperativeHandle(t,()=>E.current);let{root:P,container:A,label:O,labelRequiredSign:R,checkmarkContainer:D,animatedCheckmark:M}=(0,p.tv)(x?(0,p.RH)(d.q,x):d.q)(),L=(0,i.cn)(P(),"ef-checkbox",S),I=(0,h.l)({defaultSelected:g,onChange:e=>{w||j.current||(y&&E.current&&y({target:{checked:e,type:"checkbox",name:E.current.name}}),null==b||b(e),$&&$({}))}});(0,f.useEffect)(()=>{if(void 0!==g){if(T){if(I.isSelected===g)return;j.current=!0;try{I.setSelected(g)}finally{j.current=!1}return}if(g!==N.current&&(N.current=g,I.isSelected!==g)){j.current=!0;try{I.setSelected(g)}finally{j.current=!1}}}},[g,T,I]);let{inputProps:F,labelProps:B}=(0,m.O)({...e,onChange:void 0,"aria-label":e["aria-label"]||(0,c.V)(r),isDisabled:w,children:r},I,E);return(0,o.jsx)(u.W,{valid:k,touched:_,description:C,required:v,disabled:w,children:(0,o.jsxs)("div",{className:(0,i.cn)(A()),role:"presentation",children:[(0,o.jsxs)("div",{className:(0,i.cn)(D()),children:[(0,o.jsx)(s.t,{children:(0,o.jsx)("input",{ref:E,type:"checkbox",className:L,disabled:w,"data-valid":k,...F})}),I.isSelected&&(0,o.jsx)("div",{className:(0,i.cn)(M()),children:(0,o.jsx)(l.$,{active:I.isSelected,height:16,width:16})})," "]}),(0,o.jsxs)("label",{className:(0,i.cn)(O()),"data-disabled":w,...B,children:[r,v&&(0,o.jsxs)("abbr",{className:(0,i.cn)(R()),title:"required",children:[" ","*"]})]})]})})});g.displayName="FormCheckbox"},77958:function(e,t,r){"use strict";r.d(t,{V:function(){return x},e:function(){return w}});var o=r(85893),i=r(67294),l=r(70386),s=r(73765),d=r(96655),c=r(82696),u=r(48399),p=r(4382),f=r(43201),m=r(88151),h=r(75077),g=r(72123),v=r(22953),y=r(55849),b=r(96974);let x=e=>"string"==typeof e?e:Array.isArray(e)?e.map(x).join(""):i.isValidElement(e)?x(e.props.children):"",w=(0,i.forwardRef)((e,t)=>{let{valid:r=!0,description:w,touched:k,stack:_,required:C,radius:$="xs",className:S,children:E,isDisabled:j,checked:N,onChange:T,onCheckedChange:P,themeConfig:A,...O}=e,[R,D]=(0,i.useState)(!1),M=(0,i.useRef)(null);i.useImperativeHandle(t,()=>M.current);let{root:L,button:I,indicator:F,indicatorWrapper:B}=(0,p.tv)(A?(0,p.RH)(c.vf,A):c.vf)({type:"checkbox",stack:_,radius:$,valid:k?r:"undefined"}),{animatedCheckmark:V}=(0,p.tv)(y.q)(),z=(0,s.l)({defaultSelected:N,onChange:e=>{j||(T&&M.current&&T({target:{checked:e,type:"checkbox",name:M.current.name}}),null==P||P(e))}}),{inputProps:H}=(0,l.O)({...O,onChange:void 0,"aria-label":e["aria-label"]||x(E),isDisabled:j,onFocusChange:D,isRequired:C},z,M),U=r?"valid":"invalid",Z=z.isSelected?"enabled":"default";return(0,o.jsx)(b.zt,{children:(0,o.jsxs)(d.W,{valid:r,touched:k,description:w,required:C,disabled:j,children:[(0,o.jsx)(h.t,{within:!0,children:(0,o.jsxs)(g.O,{className:(0,u.cn)("ef-checkbox-tile",L(),S),intent:k?U:Z,disabled:j,"data-focused":R,"data-state":z.isSelected?"checked":"unchecked","data-valid":k?r:void 0,onClick:()=>{!j&&M.current&&M.current.click()},children:[(0,o.jsx)("button",{type:"button",role:"checkbox","aria-checked":z.isSelected,className:(0,u.cn)(I()),disabled:j,...O,children:(0,o.jsx)(f.o,{atomValues:[[m._$,{stack:_,required:C}]],children:E})}),(0,o.jsx)("div",{className:(0,u.cn)(B()),"data-state":z.isSelected?"checked":"unchecked",children:z.isSelected&&(0,o.jsx)("div",{className:(0,u.cn)(V(),F()),children:(0,o.jsx)(v.$,{active:z.isSelected,height:16,width:16})})})]})}),(0,o.jsx)("input",{...H,ref:M,type:"checkbox",className:"appearance-none",disabled:j,"data-valid":r,"data-state":z.isSelected?"checked":"unchecked","aria-hidden":"true",tabIndex:-1})]})})});w.displayName="FormCheckboxTile"},55849:function(e,t,r){"use strict";r.d(t,{q:function(){return l}});var o=r(4382),i=r(63890);let l=(0,o.c6)({slots:{root:(0,i.W)("peer relative flex h-full w-full cursor-pointer appearance-none items-center justify-center rounded border border-system-stroke-default bg-system-surface-default transition-colors animation-duration-system-medium","enabled:checked:border-transparent enabled:checked:bg-system-surface-selected-strong enabled:can-hover:hover:border-system-stroke-hover","disabled:cursor-not-allowed disabled:border-system-stroke-disabled disabled:bg-system-surface-disabled-weak disabled:checked:!border-transparent disabled:checked:!bg-system-surface-disabled-default","data-[val
50id=false]:border-2 data-[valid=false]:bg-system-surface-warning-weak data-[valid=false]:checked:bg-system-surface-warning-strong data-[valid=false]:enabled:border-system-stroke-warning-on-weak enabled:checked:data-[valid=false]:border-system-stroke-warning-on-weak"),container:"flex h-fit gap-[12px]",label:"cursor-pointer select-none text-system-text-default text-ui-label data-[disabled=true]:cursor-not-allowed data-[disabled=true]:text-system-text-disabled-default",labelRequiredSign:"no-underline",checkmarkContainer:"relative h-6 w-6 shrink-0",animatedCheckmark:(0,i.W)("pointer-events-none absolute inset-0 flex items-center justify-center overflow-hidden text-system-vector-selected-on-strong peer-data-[valid=false]:text-system-vector-warning-on-strong","group-data-[valid=false]:text-system-vector-warning-on-strong group-data-[valid=true]:text-system-vector-success-on-strong","group-disabled:!text-system-vector-disabled-on-default peer-disabled:!text-system-vector-disabled-on-default group-data-[disabled=true]:!text-system-vector-disabled-on-default")}})},6901:function(e,t,r){"use strict";r.d(t,{N:function(){return en}});var o=r(85893),i=r(48399),l=r(67294),s=r(2241),d=r(4382),c=r(74915),u=r(37247),p=r(54181),f=r(73849);class m{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e,t){this.locale=e,this.dictionary=t}}var h=r(54144),g=r(25286),v=r(11214),y=r(25146),b=r(52701),x=r(12181),w=r(76104),k=r(40267),_=r(36100),C=r(13543),$=r(29136);let S=RegExp("^.*\\(.*\\).*$"),E=["latn","arab","hanidec","deva","beng","fullwide"];class j{parse(e){return T(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,r){return T(this.locale,this.options,e).isValidPartialNumber(e,t,r)}getNumberingSystem(e){return T(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}}let N=new Map;function T(e,t,r){let o=P(e,t);if(!e.includes("-nu-")&&!o.isValidPartialNumber(r)){for(let i of E)if(i!==o.options.numberingSystem){let o=P(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(o.isValidPartialNumber(r))return o}}return o}function P(e,t){let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),o=N.get(r);return o||(o=new A(e,t),N.set(r,o)),o}class A{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=D(t,this.symbols.group,"")),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,"-")),t=t.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=t.indexOf("-"),r=(t=(t=t.replace("-","")).replace("+","")).indexOf(".");-1===r&&(r=t.length),t=t.replace(".",""),t=r-2==0?`0.${t}`:r-2==-1?`0.0${t}`:r-2==-2?"0.00":`${t.slice(0,r-2)}.${t.slice(r-2)}`,e>-1&&(t=`-${t}`)}let r=t?+t:NaN;if(isNaN(r))return NaN;if("percent"===this.options.style){var o,i;let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((null!==(o=this.options.minimumFractionDigits)&&void 0!==o?o:0)+2,20),maximumFractionDigits:Math.min((null!==(i=this.options.maximumFractionDigits)&&void 0!==i?i:0)+2,20)};return new j(this.locale,e).parse(new $.e(this.locale,e).format(r))}return"accounting"===this.options.currencySign&&S.test(e)&&(r*=-1),r}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=(e=e.replace(",",this.symbols.decimal)).replace("Ø",this.symbols.decimal)),this.symbols.group&&(e=D(e,".",this.symbols.group))),"â"===this.symbols.group&&e.includes("'")&&(e=D(e,"'",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&(e=D(e," ",this.symbols.group),e=D(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,r=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),!(this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits)&&(this.symbols.group&&(e=D(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}constructor(e,t={}){var r,o,i,l,s,d,c,u,p;let f,m,h,g,v,y,b,x,w,k,_,C;this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=(this.formatter,l=this.options,m=(f=new Intl.NumberFormat(e,{...l,minimumSignificantDigits:1,maximumSignificantDigits:21,roun
50dingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"})).formatToParts(-10000.111),h=f.formatToParts(10000.111),g=R.map(e=>f.formatToParts(e)),v=null!==(p=null===(s=m.find(e=>"minusSign"===e.type))||void 0===s?void 0:s.value)&&void 0!==p?p:"-",(y=null===(d=h.find(e=>"plusSign"===e.type))||void 0===d?void 0:d.value)||(null==t?void 0:t.signDisplay)!=="exceptZero"&&(null==t?void 0:t.signDisplay)!=="always"||(y="+"),b=null===(c=new Intl.NumberFormat(e,{...l,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>"decimal"===e.type))||void 0===c?void 0:c.value,x=null===(u=m.find(e=>"group"===e.type))||void 0===u?void 0:u.value,k=0===(w=[...new Set([...m.filter(e=>!O.has(e.type)).map(e=>M(e.value)),...g.flatMap(e=>e.filter(e=>!O.has(e.type)).map(e=>M(e.value)))])].sort((e,t)=>t.length-e.length)).length?RegExp("[\\p{White_Space}]","gu"):RegExp(`${w.join("|")}|[\\p{White_Space}]`,"gu"),C=new Map((_=[...new Intl.NumberFormat(l.locale,{useGrouping:!1}).format(9876543210)].reverse()).map((e,t)=>[e,t])),{minusSign:v,plusSign:y,decimal:b,group:x,literals:k,numeral:RegExp(`[${_.join("")}]`,"g"),index:e=>String(C.get(e))}),"percent"===this.options.style&&((null!==(r=this.options.minimumFractionDigits)&&void 0!==r?r:0)>18||(null!==(o=this.options.maximumFractionDigits)&&void 0!==o?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}let O=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),R=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function D(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function M(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var L=r(56993),I=r(54245),F={};F={"ar-AE":{Empty:"ÙØ§Ø±Øº"},"bg-BG":{Empty:"ÐзпÑазни"},"cs-CZ":{Empty:"Pr\xe1zdn\xe9"},"da-DK":{Empty:"Tom"},"de-DE":{Empty:"Leer"},"el-GR":{Empty:"Îδειο"},"en-US":{Empty:"Empty"},"es-ES":{Empty:"Vac\xedo"},"et-EE":{Empty:"T\xfchjenda"},"fi-FI":{Empty:"Tyhj\xe4"},"fr-FR":{Empty:"Vide"},"he-IL":{Empty:"ר××§"},"hr-HR":{Empty:"Prazno"},"hu-HU":{Empty:"\xdcres"},"it-IT":{Empty:"Vuoto"},"ja-JP":{Empty:"空"},"ko-KR":{Empty:"ë¹ì´ ìì"},"lt-LT":{Empty:"TuÅ¡Äias"},"lv-LV":{Empty:"TukÅ¡s"},"nb-NO":{Empty:"Tom"},"nl-NL":{Empty:"Leeg"},"pl-PL":{Empty:"Pusty"},"pt-BR":{Empty:"Vazio"},"pt-PT":{Empty:"Vazio"},"ro-RO":{Empty:"Gol"},"ru-RU":{Empty:"Ðе заполнено"},"sk-SK":{Empty:"Pr\xe1zdne"},"sl-SI":{Empty:"Prazen"},"sr-SP":{Empty:"Prazno"},"sv-SE":{Empty:"Tomt"},"tr-TR":{Empty:"BoÅ"},"uk-UA":{Empty:"ÐÑÑÑо"},"zh-CN":{Empty:"空"},"zh-TW":{Empty:"空ç½"}};var B=r(44759),V=r(62181),z=r(37135);let H=e=>{let{segment:t,state:r,className:$,themeConfig:S,...E}=e,N=(0,l.useRef)(null),{segmentProps:T}=function(e,t,r){let o=(0,l.useRef)(""),{locale:i,direction:s}=(0,p.j)(),d=function(){var e;let{locale:t}=(0,p.j)(),r=(0,f.K)((e=u.Z)&&e.__esModule?e.default:e,"@react-aria/datepicker");return(0,l.useMemo)(()=>{try{return new Intl.DisplayNames(t,{type:"dateTimeField"})}catch{return new m(t,r)}},[t,r])}(),{ariaLabel:$,ariaLabelledBy:S,ariaDescribedBy:E,focusManager:N}=c.Lh.get(t),T=e.isPlaceholder?"":e.text,P=(0,l.useMemo)(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),A=(0,L.a)({month:"long",timeZone:P.timeZone}),O=(0,L.a)({hour:"numeric",hour12:P.hour12,timeZone:P.timeZone});if("month"!==e.type||e.isPlaceholder)"hour"!==e.type||e.isPlaceholder||(T=O.format(t.dateValue));else{let e=A.format(t.dateValue);T=e!==T?`${T} â ${e}`:e}let{spinButtonProps:R}=function(e){var t;let r=(0,l.useRef)(void 0),{value:o,textValue:i,minValue:s,maxValue:d,isDisabled:c,isReadOnly:u,isRequired:p,onIncrement:m,onIncrementPage:h,onDecrement:g,onDecrementPage:v,onDecrementToMin:y,onIncrementToMax:b}=e,x=(0,f.q)((t=F)&&t.__esModule?t.default:t,"@react-aria/spinbutton"),w=(0,l.useRef)(!1),k=(0,l.useCallback)(()=>{clearTimeout(r.current),w.current=!1},[]),_=(0,z.i)(()=>{k()});(0,l.useEffect)(()=>()=>_(),[]);let C=(0,l.useRef)(!1),$=()=>{C.current=!0},S=()=>{C.current=!1},E=""===i?x.format("Empty"):(i||`${o}`).replace("-","â");(0,l.useEffect)(()=>{C.current&&((0,B.g)("assertive"),(0,B.x)(E,"assertive"))},[E]);let j=(0,l.useCallback)(()=>{k()},[k]),N=(0,z.i)(e=>{_(),w.current=!0,null==m||m(),r.current=window.setTimeout(()=>{(void 0===d||isNaN(d)||void 0===o||isNaN(o)||o<d)&&N(60)},e)}),T=(0,z.i)(e=>{_(),w.current=!0,null==g||g(),r.current=window.setTimeout(()=>{(void 0===s||isNaN(s)||void 0===o||isNaN(o)||o>s)&&T(60)},e)}),P=e=>{e.preventDefault()},{addGlobalListener:A,removeAllGlobalListeners:O}=(0,V.x)(),R=(0,l.useRef)(!1),[D,M]=(0,l.useState)(null);(0,l.useEffect)(()=>{"touch"===D?N(60):D&&N(400)},[D]);let[L,I]=(0,l.useState)(null);return(0,l.useEffect)(()=>{"touch"===L?T(60):L&&T(400)},[L]),{spinButtonProps:{role:"spinbutton","aria-valuenow":void 0===o||isNaN(o)?void 0:o,"aria-valuetext":E,"aria-valuemin":s,"aria-valuemax":d,"aria-disabled":c||void 0,"aria-readonly":u||void 0,"aria-required":p||void 0,onKeyDown:e=>{if(!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||u||e.nativeEvent.isComposing))switch(e.key){case"PageUp":if(h){e.preventDefault(),null==h||h();break}case"ArrowUp":case"Up":m&&(e.preventDefault(),null==m||m());break;case"PageDown":if(v){e.preventDefault(),null==v||v();break}case"ArrowDown":case"Down":g&&(e.preventDefault(),null==g||g());break;case"Home":y&&(e.preventDefault(),null==y||y());break;case"End":b&&(e.preventDefault(),null==b||b())}},onFocus:$,onBlur:S},incrementButtonProps:{onPressStart:e=>{"touch"!==e.pointerType?M("mouse"):(r.current&&k(),A(window,"pointercancel",j,{capture:!0}),R.current=!1,r.current=window.setTimeout(()=>{M("touch")},600)),A(window,"contextmenu",P)},onPressUp:e=>{"touch"===e.pointerType&&(R.current=!0),k(),O(),M(null)},onPressEnd:e=>{"touch"===e.pointerType&&!w.current&&R.current&&(null==m||m()),k(),R.current=!1,M(null)},onFocus:$,onBlur:S},decrementButtonProps:{onPressStart:e=>{"touch"!==e.pointerType?I("mouse"):(r.current&&k(),A(window,"pointercancel",j,{capture:!0}),R.current=!1,r.current=window.setTimeout(()=>{I("touch")},600))},onPressUp:e=>{"touch"===e.pointerType&&(R.current=!0),k(),O(),I(null)},onPressEnd:e=>{"touch"===e.pointerType&&!w.current&&R.current&&(null==g||g()),k(),R.current=!1,I(null)},onFocus:$,onBlur:S}}}({value:e.value,textValue:T,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{o.current="",t.increment(e.type)},onDecrement:()=>
50{o.current="",t.decrement(e.type)},onIncrementPage:()=>{o.current="",t.incrementPage(e.type)},onDecrementPage:()=>{o.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{o.current="",void 0!==e.maxValue&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{o.current="",void 0!==e.minValue&&t.setSegment(e.type,e.minValue)}}),D=(0,l.useMemo)(()=>new j(i,{maximumFractionDigits:0}),[i]),M=()=>{if(e.text===e.placeholder&&N.focusPrevious(),!D.isValidPartialNumber(e.text)||t.isReadOnly||e.isPlaceholder)"dayPeriod"===e.type&&t.clearSegment(e.type);else{let r=e.text.slice(0,-1),i=D.parse(r);0===(r=0===i?"":r).length||0===i?t.clearSegment(e.type):t.setSegment(e.type,i),o.current=r}},{startsWith:H}=(0,I.L)({sensitivity:"base"}),U=(0,L.a)({hour:"numeric",hour12:!0}),Z=(0,l.useMemo)(()=>{let e=new Date;return e.setHours(0),U.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[U]),W=(0,l.useMemo)(()=>{let e=new Date;return e.setHours(12),U.formatToParts(e).find(e=>"dayPeriod"===e.type).value},[U]),K=(0,L.a)({year:"numeric",era:"narrow",timeZone:"UTC"}),q=(0,l.useMemo)(()=>{if("era"!==e.type)return[];let r=(0,g.Mw)(new h.aw(1,1,1),t.calendar),o=t.calendar.getEras().map(e=>{let t=r.set({year:1,month:1,day:1,era:e}).toDate("UTC");return{era:e,formatted:K.formatToParts(t).find(e=>"era"===e.type).value}}),i=function(e){e.sort();let t=e[0],r=e[e.length-1];for(let e=0;e<t.length;e++)if(t[e]!==r[e])return e;return 0}(o.map(e=>e.formatted));if(i)for(let e of o)e.formatted=e.formatted.slice(i);return o},[K,t.calendar,e.type]),G=r=>{if(t.isDisabled||t.isReadOnly)return;let i=o.current+r;switch(e.type){case"dayPeriod":if(H(Z,r))t.setSegment("dayPeriod",0);else if(H(W,r))t.setSegment("dayPeriod",12);else break;N.focusNext();break;case"era":{let e=q.find(e=>H(e.formatted,r));e&&(t.setSegment("era",e.era),N.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!D.isValidPartialNumber(i))return;let l=D.parse(i),s=l,d=0===e.minValue;if("hour"===e.type&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":l>11&&(s=D.parse(r));break;case"h12":d=!1,l>12&&(s=D.parse(r))}void 0!==e.value&&e.value>=12&&l>1&&(l+=12)}else void 0!==e.maxValue&&l>e.maxValue&&(s=D.parse(r));if(isNaN(l))return;let c=0!==s||d;c&&t.setSegment(e.type,s),void 0!==e.maxValue&&(+(l+"0")>e.maxValue||i.length>=String(e.maxValue).length)?(o.current="",c&&N.focusNext()):o.current=i}}},J=(0,l.useRef)("u">typeof document?document:null);(0,_.z)(J,"selectionchange",()=>{var e;let t=window.getSelection();null!=t&&t.anchorNode&&!(null===(e=r.current)||void 0===e)&&e.contains(null==t?void 0:t.anchorNode)&&t.collapse(r.current)});let Y=(0,l.useRef)("");(0,_.z)(r,"beforeinput",o=>{if(r.current)switch(o.preventDefault(),o.inputType){case"deleteContentBackward":case"deleteContentForward":D.isValidPartialNumber(e.text)&&!t.isReadOnly&&M();break;case"insertCompositionText":Y.current=r.current.textContent,r.current.textContent=r.current.textContent;break;default:null!=o.data&&G(o.data)}}),(0,_.z)(r,"input",e=>{let{inputType:t,data:o}=e;"insertCompositionText"===t&&(r.current&&(r.current.textContent=Y.current),null!=o&&(H(Z,o)||H(W,o))&&G(o))}),(0,x.b)(()=>{let e=r.current;return()=>{document.activeElement===e&&(N.focusPrevious()||N.focusNext())}},[r,N]);let X=(0,k.gn)()||"timeZoneName"===e.type?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{};e===(0,l.useMemo)(()=>t.segments.find(e=>e.isEditable),[t.segments])||t.isInvalid||(E=void 0);let Q=(0,v.Me)(),ee=!t.isDisabled&&!t.isReadOnly&&e.isEditable,et="literal"===e.type?"":d.of(e.type),en=(0,b.b)({"aria-label":`${et}${$?`, ${$}`:""}${S?", ":""}`,"aria-labelledby":S});if("literal"===e.type)return{segmentProps:{"aria-hidden":!0}};let er={caretColor:"transparent"};if("rtl"===s){er.unicodeBidi="embed";let t=P[e.type];("numeric"===t||"2-digit"===t)&&(er.direction="ltr")}return{segmentProps:(0,y.d)(R,en,{id:Q,...X,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":E,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:ee,suppressContentEditableWarning:ee,spell
50Check:ee?"false":void 0,autoCorrect:ee?"off":void 0,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:ee?"next":void 0,inputMode:t.isDisabled||"dayPeriod"===e.type||"era"===e.type||!ee?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:e=>{if("a"===e.key&&((0,k.V5)()?e.metaKey:e.ctrlKey)&&e.preventDefault(),!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))switch(e.key){case"Backspace":case"Delete":e.preventDefault(),e.stopPropagation(),M()}},onFocus:()=>{o.current="",r.current&&(0,C.G)(r.current,{containingElement:(0,w.r)(r.current)});let e=window.getSelection();null==e||e.collapse(r.current)},style:er,onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}(t,r,N),{root:P,placeholder:A}=(0,d.tv)(S?(0,d.RH)(s.H,S):s.H)({editable:t.isEditable,disabled:r.isDisabled,isPlaceholder:t.isPlaceholder}),O=(0,i.cn)("ef-date-field-segment",P(),$);return(0,o.jsxs)("div",{...T,ref:N,style:{...T.style,minWidth:null!=t.maxValue?String(t.maxValue).length+"ch":void 0},className:O,...E,children:[(0,o.jsx)("span",{"aria-hidden":"true",className:(0,i.cn)(A()),children:t.placeholder}),t.isPlaceholder?"":t.text]})};H.displayName="DateFieldSegment";var U=r(45634),Z=r(90006);let W=new(r(23038)).J({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"áááá",month:"áá",day:"áá"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"Ø³ÙØ©",month:"Ø´ÙØ±",day:"ÙÙÙ
"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"Ù
اÙÚ¯",day:"ÚÛÚ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"ساÙ",month:"Ù
اÙ",day:"Ø±ÙØ²"},ff:{year:"hhhh",month:"ll",day:"\xf1\xf1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"×©× ×",month:"×××ש",day:"×××"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xe9\xe9\xe9\xe9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"å¹´",month:"æ",day:"æ¥"},ka:{year:"á¬á¬á¬á¬",month:"áá",day:"á á "},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮà³",day:"ದಿದಿ"},ko:{year:"ì°ë",month:"ì",day:"ì¼"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"àºàºàºàº",month:"àºàº",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷà´",month:"മാസà´",day:"à´¤àµà´¯à´¤à´¿"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},no:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"\xe5\xe5\xe5\xe5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"ÑÑÑÑ",month:"мм",day:"ÑÑ"},th:{year:"à¸à¸à¸à¸",month:"à¸à¸",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"ÑÑÑÑ",month:"мм",day:"дд"},"zh-CN":{year:"å¹´",month:"æ",day:"æ¥"},"zh-TW":{year:"å¹´",month:"æ",day:"æ¥"}},"en");var K=r(32425),q=r(12479),G=r(61448),J=r(64106),Y=r(19909);let X={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Q={year:5,month:2,day:7,hour:2,minute:15,second:15},ee={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function et(e,t,r){switch(t){case"era":{let t=e.calendar.getEras();return{value:t.indexOf(e.era),minValue:0,maxValue:t.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:(0,q.jx)(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:(0,q.PA)(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(r.hour12){let t=e.hour>=12;return{value:e.hour,minValue:t?12:0,maxValue:t?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}let en=e=>{let{className:t,...r}=e,{locale:s}=(0,p.j)(),d=function(e){var t,r,o;let{locale:i,createCalendar:s,hideTimeZone:d,isDisabled:c=!1,isReadOnly:u=!1,isRequired:p=!1,minValue:f,maxValue:m,isDateUnavailable:h}=e,v=e.value||e.defaultValue||e.placeholderValue||null,[y,b]=(0,Z.iZ)(v,e.granularity),x=b||"UTC";if(v&&!(y in v))throw Error("Invalid granularity "+y+" for value "+v.toString());let w=(0,l.useMemo)(()=>new G.C(i),[i]),k=(0,l.useMemo)(()=>s(w.resolvedOptions().calendar),[s,w]),[_,C]=(0,Y.z)(e.value,null!==(t=e.defaultValue)&&void 0!==t?t:null,e.onChange),[$]=(0,l.useState)(_),S=(0,l.useMemo)(()=>{var e;return null!==(e=(0,Z.Ai)(_,k))&&void 0!==e?e:null},[_,k]),[E,j]=(0,l.useState)(()=>(0,Z.OJ)(e.placeholderValue,y,k,b)),N="gregory"===k.identifier&&"BC"===(S||E).era,T=(0,l.useMemo)(()=>{var t;return{granularity:y,maxGranularity:null!==(t=e.maxGranularity)&&void 0!==t?t:"year",timeZone:b,hideTimeZone:d,hourCycle:e.hourCycle,showEra:N,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,y,e.hourCycle,e.shouldForceLeadingZeros,b,d,N]),P=(0,l.useMemo)(()=>(0,Z.oE)({},T),[T]),A=(0,l.useMemo)(()=>new G.C(i,P),[i,P]),O=(0,l.useMemo)(()=>A.resolvedOptions(),[A]),R=(0,l.useMemo)(()=>A.formatToParts(new Date).filter(e=>X[e.type]).reduce((e,t)=>
50(e[ee[t.type]||t.type]=!0,e),{}),[A]),[D,M]=(0,l.useState)(()=>e.value||e.defaultValue?{...R}:{}),L=(0,l.useRef)(null),I=(0,l.useRef)(k);(0,l.useEffect)(()=>{(0,q.jv)(k,I.current)||(I.current=k,j(t=>Object.keys(D).length>0?(0,g.Mw)(t,k):(0,Z.OJ)(e.placeholderValue,y,k,b)))},[k,y,D,b,e.placeholderValue]),_&&Object.keys(D).length<Object.keys(R).length&&M(D={...R}),null==_&&Object.keys(D).length===Object.keys(R).length&&(M(D={}),j((0,Z.OJ)(e.placeholderValue,y,k,b)));let F=S&&Object.keys(D).length>=Object.keys(R).length?S:E,B=t=>{if(e.isDisabled||e.isReadOnly)return;let r=Object.keys(D),o=Object.keys(R);null==t?(C(null),j((0,Z.OJ)(e.placeholderValue,y,k,b)),M({})):0===r.length&&null==L.current||r.length>=o.length||r.length===o.length-1&&R.dayPeriod&&!D.dayPeriod&&"dayPeriod"!==L.current?(0===r.length&&M(D={...R}),C(t=(0,g.Mw)(t,(null==v?void 0:v.calendar)||new K.IQ))):j(t),L.current=null},V=(0,l.useMemo)(()=>F.toDate(x),[F,x]),z=(0,l.useMemo)(()=>(function(e,t,r,o,i,l,s,d){let c=["hour","minute","second"],u=r.formatToParts(e),p=[];for(let e of u){var f;let r=ee[e.type]||e.type,u=X[r];"era"===r&&1===l.getEras().length&&(u=!1);let m=X[r]&&!t[r],h=X[r]?(f=e.value,"era"===r||"dayPeriod"===r?f:"year"===r||"month"===r||"day"===r?W.getStringForLocale(r,s):"ââ"):null,g={type:r,text:m?h:e.value,...et(i,r,o),isPlaceholder:m,placeholder:h,isEditable:u};"hour"===r?(p.push({type:"literal",text:"â¦",...et(i,"literal",o),isPlaceholder:!1,placeholder:"",isEditable:!1}),p.push(g),r===d&&p.push({type:"literal",text:"â©",...et(i,"literal",o),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.includes(r)&&r===d?(p.push(g),p.push({type:"literal",text:"â©",...et(i,"literal",o),isPlaceholder:!1,placeholder:"",isEditable:!1})):p.push(g)}return p})(V,D,A,O,F,k,i,y),[V,D,A,O,F,k,i,y]);R.era&&D.year&&!D.era?(D.era=!0,M({...D})):!R.era&&D.era&&(delete D.era,M({...D}));let H=e=>{D[e]=!0,"year"===e&&R.era&&(D.era=!0),M({...D})},U=(e,t)=>{if(D[e])B(function(e,t,r,o){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,r,{round:"year"===t})}if("hour"in e)switch(t){case"dayPeriod":{let t=e.hour;return e.set({hour:t>=12?t-12:t+12})}case"hour":case"minute":case"second":return e.cycle(t,r,{round:"hour"!==t,hourCycle:o.hour12?12:24})}throw Error("Unknown segment: "+t)}(F,e,t,O));else{H(e);let t=Object.keys(D),r=Object.keys(R);(t.length>=r.length||t.length===r.length-1&&R.dayPeriod&&!D.dayPeriod)&&B(F)}},en=(0,l.useMemo)(()=>(0,Z.p2)(_,f,m,h,T),[_,f,m,h,T]),er=(0,J.Q3)({...e,value:_,builtinValidation:en}),ea=er.displayValidation.isInvalid,eo=e.validationState||(ea?"invalid":null);return{...er,value:S,defaultValue:null!==(r=e.defaultValue)&&void 0!==r?r:$,dateValue:V,calendar:k,setValue:B,segments:z,dateFormatter:A,validationState:eo,isInvalid:ea,granularity:y,maxGranularity:null!==(o=e.maxGranularity)&&void 0!==o?o:"year",isDisabled:c,isReadOnly:u,isRequired:p,increment(e){U(e,1)},decrement(e){U(e,-1)},incrementPage(e){U(e,Q[e]||1)},decrementPage(e){U(e,-(Q[e]||1))},setSegment(e,t){H(e),B(function(e,t,r,o){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:r})}if("hour"in e&&"number"==typeof r)switch(t){case"dayPeriod":{let t=e.hour,o=t>=12;return r>=12===o?e:e.set({hour:o?t-12:t+12})}case"hour":if(o.hour12){let t=e.hour>=12;t||12!==r||(r=0),t&&r<12&&(r+=12)}case"minute":case"second":return e.set({[t]:r})}throw Error("Unknown segment: "+t)}(F,e,t,O))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let t=Object.keys(D),r=Object.keys(R);t.length===r.length-1&&R.dayPeriod&&!D.dayPeriod&&(M(D={...R}),B(F.copy()))},clearSegment(t){delete D[t],L.current=t,M({...D});let r=(0,Z.OJ)(e.placeholderValue,y,k,b),o=F;if("dayPeriod"===t&&"hour"in F&&"hour"in r){let e=F.hour>=12,t=r.hour>=12;e&&!t?o=F.set({hour:F.hour-12}):!e&&t&&(o=F.set({hour:F.hour+12}))}else"hour"===t&&"hour"in F&&F.hour>=12&&D.dayPeriod?o=F.set({hour:r.hour+12}):t in F&&(o=F.set({[t]:r[t]}));C(null),B(o)},formatValue(e){if(!S)return"";let t=(0,Z.oE)(e,T);return new G.C(i,t).format(V)},getDateFormatter(e,t){let r={...T,...t},o=(0,Z.oE)({},r);return new G.C(e,o)}}}({...r,locale:s,createCalendar:U.Y}),u=(0,l.useRef)(null),{fieldProps:f,inputProps:m}=(0,c.IZ)(e,d,u),h=(0,i.cn)("ef-date-field",t);return(0,o.jsxs)("div",{...f,ref:u,className:h,children:[d.segments.map((e,t)=>(0,o.jsx)(H,{segment:e,state:d},t)),(0,o.jsx)("input",{...m})]})};en.displayName="DateField"},41082:function(e,t,r){"use strict";r.d(t,{I:function(){return J}});
50var o=r(85893),i=r(67294),l=r(88393),s=r(13178),d=r(96655),c=r(48399),u=r(4382),p=r(86575),f=r(85013),m=r(67350),h=r(74613),g=r(69302),v=r(89108),y=r(75077),b=r(47566),x=r(45139),w=r(65274),k=r(13794),_=r(2241),C=r(29398),$=r(43201),S=r(79256),E=r(76121),j=r(6901),N=r(90006),T=r(25286),P=r(61448),A=r(64106),O=r(47717),R=r(19909),D=r(37247),M=r(74915),L=r(40953),I=r(48356),F=r(11214),B=r(25146),V=r(96194),z=r(38346),H=r(54039),U=r(90539),Z=r(54181),W=r(73849),K=r(96974);let q=(0,i.forwardRef)((e,t)=>{let{mobilePanelTitle:r,valid:l,touched:s,value:d,currentValue:p,floatingLabel:f,id:q,onBlur:G,onFocus:J,isDisabled:Y,disabled:X,required:Q,loading:ee,children:et,className:en,themeConfig:er,portalContainer:ea,...eo}=e,ei=function(e){var t,r;let o=(0,O.d)(e),[l,s]=(0,R.z)(e.value,e.defaultValue||null,e.onChange),[d]=(0,i.useState)(l),c=l||e.placeholderValue||null,[u,p]=(0,N.iZ)(c,e.granularity),f=null!=l?l.toDate(p??"UTC"):null,m="hour"===u||"minute"===u||"second"===u,h=null===(t=e.shouldCloseOnSelect)||void 0===t||t,[g,v]=(0,i.useState)(null),[y,b]=(0,i.useState)(null);if(l&&(g=l,"hour"in l&&(y=l)),c&&!(u in c))throw Error("Invalid granularity "+u+" for value "+c.toString());let x=(null==l?void 0:l.calendar.identifier)==="gregory"&&"BC"===l.era,w=(0,i.useMemo)(()=>({granularity:u,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:x}),[u,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,x]),{minValue:k,maxValue:_,isDateUnavailable:C}=e,$=(0,i.useMemo)(()=>(0,N.p2)(l,k,_,C,w),[l,k,_,C,w]),S=(0,A.Q3)({...e,value:l,builtinValidation:$}),E=S.displayValidation.isInvalid,j=e.validationState||(E?"invalid":null),D=(e,t)=>{s("timeZone"in t?t.set((0,T.WG)(e)):(0,T.IO)(e,t)),v(null),b(null),S.commitValidation()};return{...S,value:l,defaultValue:null!==(r=e.defaultValue)&&void 0!==r?r:d,setValue:s,dateValue:g,timeValue:y,setDateValue:t=>{let r="function"==typeof h?h():h;m?y||r?D(t,y||(0,N.zu)(e.defaultValue||e.placeholderValue)):v(t):(s(t),S.commitValidation()),r&&o.setOpen(!1)},setTimeValue:e=>{g&&e?D(g,e):b(e)},granularity:u,hasTime:m,...o,setOpen(t){!t&&!l&&g&&m&&D(g,y||(0,N.zu)(e.defaultValue||e.placeholderValue)),o.setOpen(t)},validationState:j,isInvalid:E,formatValue(e,t){if(!f)return"";let r=(0,N.oE)(t,w);return new P.C(e,r).format(f)},getDateFormatter(e,t){let r={...w,...t},o=(0,N.oE)({},r);return new P.C(e,o)}}}({...e,isInvalid:!l}),el=(0,i.useRef)(null),es=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,()=>el.current);let[ed]=(0,i.useState)((null==e?void 0:e.locale)||Intl.DateTimeFormat().resolvedOptions().locale),{groupProps:ec,fieldProps:eu,buttonProps:ep,dialogProps:ef,calendarProps:em}=function(e,t,r){var o;let l=(0,F.Me)(),s=(0,F.Me)(),d=(0,F.Me)(),c=(0,W.q)((o=D.Z)&&o.__esModule?o.default:o,"@react-aria/datepicker"),{isInvalid:u,validationErrors:p,validationDetails:f}=t.displayValidation,{labelProps:m,fieldProps:h,descriptionProps:g,errorMessageProps:v}=(0,U.U)({...e,labelElementType:"span",isInvalid:u,errorMessage:e.errorMessage||p}),y=(0,L.H)(t,r),b=h["aria-labelledby"]||h.id,{locale:x}=(0,Z.j)(),w=t.formatValue(x,{month:"long"}),k=w?c.format("selectedDateDescription",{date:w}):"",_=(0,z.P)(k),C=[_["aria-describedby"],h["aria-describedby"]].filter(Boolean).join(" ")||void 0,$=(0,V.z)(e),S=(0,i.useMemo)(()=>(0,I.E7)(r),[r]),E=(0,i.useRef)(!1),{focusWithinProps:j}=(0,H.L)({...e,isDisabled:t.isOpen,onBlurWithin:t=>{let r=document.getElementById(s);if(!(null!=r&&r.contains(t.relatedTarget))){var o,i;E.current=!1,null===(o=e.onBlur)||void 0===o||o.call(e,t),null===(i=e.onFocusChange)||void 0===i||i.call(e,!1)}},onFocusWithin:t=>{if(!E.current){var r,o;E.current=!0,null===(r=e.onFocus)||void 0===r||r.call(e,t),null===(o=e.onFocusChange)||void 0===o||o.call(e,!0)}}});return{groupProps:(0,B.d)($,y,h,_,j,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":b,"aria-describedby":C,onKeyDown(r){t.isOpen||e.onKeyDown&&e.onKeyDown(r)},onKeyUp(r){t.isOpen||e.onKeyUp&&e.onKeyUp(r)}}),labelProps:{...m,onClick:()=>{S.focusFirst()}},fieldProps:{...h,id:d,[M.KX]:"presentation","aria-describedby":C,value:t.value,defaultValue:t.defaultValue,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[A.tL]:t,autoFocus:e.autoFocus,name:e.name,form:e.form},descriptionProps:g,errorMessageProps:v,buttonProps:{..._,id:l,"aria-haspopup":"dialog","aria-label":c.format("calendar"),"aria-labelledby":`${l} ${b}`,"aria-describedby":C,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:s,"aria-labelledby":`${l} ${b}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:"function"==typeof e.errorMessage?e.errorMessage(t.displayValidation):e.errorMessage||t.dis
50playValidation.validationErrors.join(" "),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:u,validationErrors:p,validationDetails:f}}({isDisabled:X||Y,...eo},ei,el),eh=(0,K.b9)(k.tJ);(0,i.useEffect)(()=>eh({...em}),[em]);let{buttonProps:eg}=(0,E.U)({...ep,isDisabled:Y||X,preventFocusOnPress:!0},es),{breakpoint:ev}=(0,C.G)(),ey=(0,C.w)({currentBp:ev,bp:"s",range:"down"}),{labelClassName:eb,inputOnFocus:ex,inputOnBlur:ew}=(0,b.O)({onFocus:J,onBlur:G,value:p||d,placeholder:"Select date",themeConfig:{variants:{active:{true:{root:"translate-y-[-12px] text-ui-label-small"}}}}}),{root:ek,dateField:e_,calendarButton:eC,modalCalendarContainer:e$}=(0,u.tv)(er?(0,u.RH)(_.T,er):_.T)({disabled:X,hasFloatingLabel:!!f,valid:l,touched:s,loading:ee}),eS=(0,c.cn)("ef-date-picker",ek(),en),eE=f?{onFocus:ex,onBlur:ew}:{};return(0,o.jsxs)(Z.b,{locale:ed,children:[(0,o.jsxs)("div",{...ec,ref:el,className:eS,children:[f&&(0,b.T)(q,eb,f,ey?8:16,Q),(0,o.jsx)(j.N,{className:(0,c.cn)(e_()),touched:s,...eE,...eu}),(0,o.jsx)(y.t,{children:(0,o.jsx)("button",{...eg,ref:es,className:(0,c.cn)(eC()),children:(0,o.jsx)(S.R,{weight:"bold"})})})]}),ey?(0,o.jsx)(m.d,{open:ei.isOpen,onOpenChange:ei.setOpen,title:r??"Select date",container:null==ea?void 0:ea.current,children:(0,o.jsx)($.o,{atomValues:[[k.W3,!0],[k.tJ,em]],children:(0,o.jsxs)(g.x,{...ef,children:[(0,o.jsx)(h.O,{}),(0,o.jsx)(v.s,{className:"p-0",children:(0,o.jsx)("div",{className:(0,c.cn)(e$()),children:et})})]})})}):ei.isOpen?(0,o.jsx)(w.z,{triggerRef:el,state:ei,placement:"bottom start",portalContainer:ea,children:(0,o.jsx)(x.P,{...ef,children:(0,o.jsx)($.o,{atomValues:[[k.W3,!1],[k.tJ,em]],children:et})})}):void 0]})});q.displayName="DatePicker";var G=r(95537);let J=(0,i.forwardRef)((e,t)=>{var r,i,m,h,g,v,y,b;let{valid:x,loading:w,disabled:k=w,className:_,themeConfig:C,...$}=e,S=(0,u.tv)(p.ge),{isValidAndTouched:E,isInvalidAndTouched:j}=(0,f.jH)(e.touched,x),{markValidation:N}=S({valid:x,touched:e.touched}),{iconInvalid:P,iconValid:A,loadingIndicator:O}=(0,u.tv)(p.xk)({valid:x,validationIconOffset:"xxl"}),R=(0,c.cn)(P(),N()),D=(0,c.cn)(A(),N()),M=(0,c.cn)("ef-form-date-picker",N,_);return(0,o.jsxs)(d.W,{className:M,valid:x,touched:e.touched,required:e.required,description:e.description,label:e.label,themeConfig:C?{slots:{formField:null==(r=C.slots)?void 0:r.formField,formFieldContainer:null==(i=C.slots)?void 0:i.fieldContainer,formLabelDescription:null==(m=C.slots)?void 0:m.formLabelDescription,formLabelRequiredSign:null==(h=C.slots)?void 0:h.formLabelRequiredSign,formLabelWrapper:null==(g=C.slots)?void 0:g.formLabelWrapper}}:void 0,children:[E&&(0,o.jsx)(l.f,{weight:"fill",className:D}),j&&(0,o.jsx)(s.Q,{weight:"fill",className:R}),w&&(0,o.jsx)(G.T,{className:(0,c.cn)(O())}),(0,o.jsx)(q,{...$,onChange:e=>{$.onChange&&$.onChange({calendarDate:e??null,value:e?(0,T.IO)(e).toString():""})},loading:w,disabled:k,ref:t,valid:x,touched:e.touched,themeConfig:C?{...C,slots:{root:null==(v=C.slots)?void 0:v.root,dateField:null==(y=C.slots)?void 0:y.dateField,calendarButton:null==(b=C.slots)?void 0:b.calendarButton}}:void 0})]})});J.displayName="FormDatePicker"},2241:function(e,t,r){"use strict";r.d(t,{H:function(){return s},T:function(){return l}});var o=r(4382),i=r(63890);let l=(0,o.c6)({slots:{root:"relative flex h-[56px] flex-1 text-system-text-default",dateField:"group relative flex flex-1 items-center justify-start rounded-e-none rounded-s-sm border border-solid border-system-stroke-default bg-system-surface-default px-xs py-s hover:border-system-stroke-hover md:px-s",calendarButton:(0,i.W)("flex w-xl items-center justify-center rounded-e-sm border border-s-0 border-solid border-system-stroke-default bg-system-surface-default transition-all duration-system-short hover:border-system-stroke-hover hover:bg-system-surface-selected-weak","focus-visible:z-10 focus-visible:border-s"),modalCalendarContainer:"pb-2"},variants:{disabled:{true:{dateField:"pointer-events-none border-system-stroke-disabled bg-system-surface-disabled-weak text-system-text-disabled-default",calendarButton:"pointer-events-none border-system-stroke-disabled bg-system-surface-disabled-weak text-system-text-disabled-default"}},hasFloatingLabel:{true:{dateField:"z-0 pb-xs pt-m"}},loading:{true:{dateField:"text-system-text-weak"}},valid:{true:{}},touched:{true:{}}},compoundVariants:[{valid:!1,touched:!0,class:{dateField:"border-system-stroke-warning-on-weak bg-system-surface-warning-weak ring-1 ring-inset ring-system-stroke-warning-on-weak hover:border-system-stroke-warning-on-weak",calendarButton:"-translate-x-px border-system-stroke-warning-on-weak bg-system-surface-warning-weak ring-1 ring-inset ring-system-stroke-warning-on-weak hover:border-system-stroke-warning-on-weak"}},{valid:!0,touched:!0,class:{dateField:"border-system-stroke-success-on-weak bg-system-surface-success-weak ring-1 ring-inset ring-system-stroke-success-on-weak hover:border-system-stroke-success-on-weak",calendarButton:"-translate-x-px border-system-stroke-success-on-weak bg-system-surface-success-weak ring-1 ring-inset ring-system-stroke-success-on-weak hover:border-system-stroke-success-on-weak"}}]}),s=(0,o.c6)({slots:{root:"group z-10 box-content overflow-hidden rounded-xs text-start tabular-nums text-system-text-default outline-none focus:bg-system-surface-selected-strong focus:text-system-text-selected-on-strong focus:ring-2 focus:ring-system-surface-selected-strong",placeholder:"pointer-events-none block w-full text-center text-system-text-default"},variants:{editable:{true:{placeholder:"uppercase group-focus:bg-system-surface-selected-strong group-focus:text-system-text-selected-on-strong"},false:{root:"px-xxs text-system-text-disabled-default",false:"text-system-text-disabled-default"}},disabled:{true:{root:"text-system-text-disabled-default",placeholder:"text-system-text-disabled-default"}},isPlaceholder:{false:{placeholder:"hidden h-0"}}}})},52254:function(e,t,r){"use strict";r.d(t,{WG:function(){return c},Yb:function(){return u},p6:function(){return p}});var o=r(24579),i=r(45634),l=r(25286),s=r(12479),d=r(61448);let c=e=>{if(!e||!(0,o.Kn)(e)){console.warn('date needs to be of "CalendarDate" type');return}let t=(0,s.Lg)((0,s.iT)());return Object.entries(e).map(([e,r])=>{var o;switch(e){case"calendar":{let e=(0,i.Y)((null==(o=null==r?void 0:r.calendar)?void 0:o.identifier)??"gregorian");(0,l.Mw)(t,e);break}case"day":t.set({day:r});break;case"month":t.set({month:r});break;case"year":t.set({year:r});break;case"era":t.set({era:r})}}),t},u=(e,t="en",r="UTC")=>{let o=null==e?void 0:e.toDate(r);return null==o?void 0:o.toLocaleDateString(t,{month:"long",timeZone:r})},p=(e,t,r)=>{let o=t||Intl.DateTimeFormat().resolvedOptions().locale;return new d.C(o,{dateStyle:"medium",...r}).format(e.toDate((0,s.iT)()))}},96655:function(e,t,r){"use strict";r.d(t,{W:function(){return u}});
50var o=r(85893),i=r(67294),l=r(78218),s=r(4382),d=r(48399),c=r(86575);let u=(0,i.forwardRef)(({children:e,id:t,className:r,valid:i,touched:u=!1,label:p,required:f=!1,description:m,themeConfig:h,hidden:g,...v},y)=>{let{markValidation:b}=(0,s.tv)(c.ge)({valid:i,touched:u}),{formFieldContainer:x,formField:w,...k}=(0,s.tv)(h?(0,s.RH)(c.xk,h):c.xk)({hidden:g}),_=(0,d.cn)("ef-form-field",x(),b()),C=(0,d.cn)(w(),r);return(0,o.jsxs)("div",{ref:y,className:_,children:[p&&(0,o.jsx)(l.l,{required:f,description:m,id:t,themeConfig:{slots:{formLabelRequiredSign:k.formLabelRequiredSign(),formLabelDescription:k.formLabelDescription(),formLabelWrapper:k.formLabelWrapper()}},children:p}),(0,o.jsx)("div",{className:C,...v,children:e})]})});u.displayName="FormField"},42768:function(e,t,r){"use strict";r.d(t,{y:function(){return T}});var o=r(85893),i=r(48399),l=r(56896),s=r(86575),d=r(4382),c=r(88393),u=r(67294),p=r(16018);let f=new Map([["bold",u.createElement(u.Fragment,null,u.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",u.createElement(u.Fragment,null,u.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),u.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",u.createElement(u.Fragment,null,u.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",u.createElement(u.Fragment,null,u.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",u.createElement(u.Fragment,null,u.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",u.createElement(u.Fragment,null,u.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]);var m=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(e,t,r)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,w=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&x(e,r,t[r]);if(v)for(var r of v(t))b.call(t,r)&&x(e,r,t[r]);return e},k=(e,t)=>h(e,g(t));let _=(0,u.forwardRef)((e,t)=>u.createElement(p.Z,k(w({ref:t},e),{weights:f})));_.displayName="MagnifyingGlass";var C=r(13178),$=r(17729),S=r(96655),E=r(85013),j=r(55189),N=r(37720);let T=(0,u.forwardRef)(({className:e,valid:t,floatingLabel:r,placeholderOffset:p,type:f="text",children:m,touched:h=!1,required:g,label:v,description:y,currentValue:b,themeConfig:x,hidden:w,id:k,onClear:T,onChange:P,...A},O)=>{var R,D,M,L,I;let{isValidAndTouched:F,isInvalidAndTouched:B}=(0,E.jH)(h,t),V=(0,u.useRef)(null),[z,H]=(0,u.useState)(!1),U=A.value;(0,u.useEffect)(()=>{"search"!==f||F||B||H(void 0!==U&&""!==U)},[U,f,F,B]),(0,u.useImperativeHandle)(O,()=>V.current,[]);let{markValidation:Z}=(0,d.tv)(s.ge)({valid:t,touched:h}),{iconInvalid:W,iconValid:K,iconSearch:q,iconClear:G,inputTag:J,clearButton:Y}=(0,d.tv)(x?(0,d.RH)(s.xk,x):s.xk)({hasFloatingLabel:!!r,type:"search"}),X=(0,i.cn)("ef-form-input",e),{root:Q}
50=(0,d.tv)(N.v)({intent:B?"invalid":F?"valid":"default",interaction:"input",radius:"xs"}),ee=(0,i.cn)(W(),Z()),et=(0,i.cn)(K(),Z()),en=(0,i.cn)("ef-form-input__search-icon",q()),er=(0,i.cn)("ef-form-input__clear-icon",G()),ea=e=>{H(""!==e&&!F&&!B)};return"search"===f&&(p=36),(0,o.jsxs)(S.W,{className:X,valid:t,touched:h,description:y,label:v,required:g,hidden:w,id:k,themeConfig:x?{slots:{formField:null==(R=x.slots)?void 0:R.formField,formFieldContainer:null==(D=x.slots)?void 0:D.fieldContainer,formLabelDescription:null==(M=x.slots)?void 0:M.formLabelDescription,formLabelRequiredSign:null==(L=x.slots)?void 0:L.formLabelRequiredSign,formLabelWrapper:null==(I=x.slots)?void 0:I.formLabelWrapper}}:void 0,children:["search"===f?(0,o.jsx)(_,{weight:"bold",className:en}):null,F?(0,o.jsx)(c.f,{weight:"fill",className:et}):null,B?(0,o.jsx)(C.Q,{weight:"fill",className:ee}):null,(0,o.jsx)(j.i,{ref:V,className:(0,i.cn)(Q(),J()),type:f,placeholderOffset:p,floatingLabel:r,currentValue:b,required:g,id:k,onChange:e=>{"search"===f&&ea(e.target.value),null==P||P(e)},...A}),z?(0,o.jsx)(l.Button,{className:(0,i.cn)(Y(),"mono"),size:"small",shape:"round",variant:"link","aria-label":"Clear search",as:"button",onPress:()=>{V.current&&(V.current.value=""),H(!1),null==T||T()},children:(0,o.jsx)($.X,{weight:"bold",className:er})}):null,m]})});T.displayName="FormInput"},55189:function(e,t,r){"use strict";r.d(t,{i:function(){return s}});var o=r(85893),i=r(67294),l=r(47566);let s=(0,i.forwardRef)((e,t)=>{let{className:r,type:i="text",floatingLabel:s,placeholder:d,placeholderOffset:c,onFocus:u,onBlur:p,id:f,value:m,currentValue:h,required:g,...v}=e,{labelClassName:y,inputOnFocus:b,inputOnBlur:x}=(0,l.O)({onFocus:u,onBlur:p,value:h||m,placeholder:d});return s?(0,o.jsxs)(o.Fragment,{children:[(0,l.T)(f,y,s,c,g),(0,o.jsx)("input",{ref:t,type:i,id:f,style:"u">typeof c?{paddingLeft:c}:void 0,className:r,placeholder:d,onFocus:b,onBlur:x,value:m,...v},`input-with-floating-label_${f}`)]}):(0,o.jsx)("input",{ref:t,type:i,style:"u">typeof c?{paddingLeft:c}:void 0,className:r,placeholder:d,onFocus:u,onBlur:p,value:m,id:f,...v})});s.displayName="FormInputTag"},78218:function(e,t,r){"use strict";r.d(t,{l:function(){return u}});var o=r(85893),i=r(67294),l=r(65410),s=r(4382),d=r(86575),c=r(48399);let u=(0,i.forwardRef)(({as:e,className:t,children:r,required:u,id:p,description:f,themeConfig:m,...h},g)=>{let{required:v}=(0,i.useContext)(l.P),{formLabelWrapper:y,formLabelRequiredSign:b,formLabelDescription:x}=(0,s.tv)(m?(0,s.RH)(d.xk,m):d.xk)();return(0,o.jsxs)(({children:t,...r})=>"legend"===e?(0,o.jsx)("legend",{ref:g,...r,children:t}):(0,o.jsx)("label",{htmlFor:p,ref:g,...r,children:t}),{className:(0,c.cn)(y(),t),...h,children:[r,(u||v)&&(0,o.jsx)("abbr",{className:(0,c.cn)(b()),title:"required",children:"*"}),f?(0,o.jsx)("div",{className:(0,c.cn)(x()),children:f}):null]})});u.displayName="FormLabel"},54795:function(e,t,r){"use strict";r.d(t,{w:function(){return u}});var o=r(85893),i=r(48399),l=r(75077),s=r(21072),d=r(4382),c=r(98681);let u=(0,r(67294).forwardRef)((e,t)=>{let{valid:r=!0,required:u,className:p,themeConfig:f,...m}=e,{root:h,item:g,itemIndicator:v,innerIndicator:y,label:b,labelRequiredSign:x}=(0,d.tv)(f?(0,d.RH)(s.E,f):s.E)(),w=(0,i.cn)(h(),"ef-radio",p);return(0,o.jsx)(l.t,{children:(0,o.jsxs)(c.ck,{tabIndex:e.tabIndex??0,ref:t,className:w,"data-valid":r,...m,children:[(0,o.jsx)("div",{className:(0,i.cn)(g()),children:(0,o.jsx)(c.z$,{className:(0,i.cn)(v()),children:(0,o.jsx)("span",{className:(0,i.cn)(y())})})}),(0,o.jsxs)("label",{className:(0,i.cn)(b()),children:[e.children," ",u&&(0,o.jsx)("abbr",{className:(0,i.cn)(x()),title:"required",children:"*"})]})]})})});u.displayName="FormRadio"},74128:function(e,t,r){"use strict";r.d(t,{H:function(){return u}});var o=r(85893),i=r(48399),l=r(96655),s=r(21072),d=r(4382),c=r(98681);let u=(0,r(67294).forwardRef)((e,t)=>{let{tile:r=!1,stack:u=!1,children:p,valid:f,description:m,touched:h,label:g,required:v,value:y,className:b,themeConfig:x,...w}=e,{root:k}=(0,d.tv)(x?(0,d.RH)(s.U,x):s.U)({tile:r,stack:u}),_=(0,i.cn)("ef-radio-group",k(),b);return(0,o.jsx)(l.W,{valid:f,touched:h,description:m,label:g,required:v,children:(0,o.jsx)(c.fC,{ref:t,className:_,required:v,value:y,...w,children:p})})});u.displayName="FormRadioGroup"},21072:function(e,t,r){"use strict";r.d(t,{E:function(){return l},U:function(){return s}});var o=r(4382),i=r(63890);let l=(0,o.c6)({slots:{root:"group relative flex cursor-pointer items-center gap-3 rounded-full text-start disabled:!cursor-not-allowed max-sm:after:absolute max-sm:after:-inset-x-xxs max-sm:after:-inset-y-xs",item:(0,i.W)("h-[20px] w-[20px] shrink-0 overflow-hidden rounded-full bg-system-surface-default ring-1 ring-inset ring-system-stroke-default duration-system-short ease-system-easing-standard can-hover:group-hover:ring-system-stroke-hover motion-safe:transition-all","group-data-[state=checked]:bg-system-surface-selected-weak group-data-[state=checked]:ring-2 group-data-[state=checked]:ring-system-stroke-selected-on-weak can-hover:group-data-[state=checked]:group-hover:ring-1 can-hover:group-data-[state=checked]:group-hover:ring-system-stroke-hover","group-[.ef-form-tile]:group-data-[val
50id=true]:group-data-[state=checked]:bg-system-surface-success-weak group-[.ef-form-tile]:group-data-[valid=true]:group-data-[state=checked]:ring-2 group-[.ef-form-tile]:group-data-[valid=true]:group-data-[state=checked]:ring-system-stroke-success-on-weak can-hover:group-[.ef-form-tile]:group-data-[valid=true]:group-data-[state=checked]:group-hover:ring-1 can-hover:group-[.ef-form-tile]:group-data-[valid=true]:group-data-[state=checked]:group-hover:ring-system-stroke-hover","group-disabled:!bg-system-surface-disabled-weak group-disabled:!ring-system-stroke-disabled","group-disabled:group-data-[state=checked]:!bg-system-surface-disabled-weak group-disabled:group-data-[state=checked]:!ring-1 group-disabled:group-data-[state=checked]:!ring-system-stroke-disabled","can-hover:group-disabled:group-hover:!ring-system-stroke-disabled can-hover:group-disabled:group-data-[state=checked]:group-hover:!ring-system-stroke-disabled","group-data-[valid=false]:bg-system-surface-warning-weak group-data-[valid=false]:ring-2 group-data-[valid=false]:ring-system-stroke-warning-on-weak can-hover:group-data-[valid=false]:group-hover:ring-1 can-hover:group-data-[valid=false]:group-hover:ring-system-stroke-hover"),itemIndicator:"relative flex h-full w-full flex-none items-center justify-center",innerIndicator:(0,i.W)("opacity-1 h-3 w-3 rounded-full animation-duration-system-medium animation-ease-system-easing-expressive motion-safe:animate-in motion-safe:animate-from-scale-[1.6]","bg-system-vector-selected-on-weak group-disabled:bg-system-vector-disabled-default group-data-[valid=false]:bg-system-vector-warning-on-weak group-[.ef-form-tile]:group-data-[valid=true]:bg-system-vector-success-on-weak"),label:"cursor-pointer text-system-text-default group-disabled:cursor-not-allowed group-disabled:text-system-text-disabled-default",labelRequiredSign:"no-underline"}}),s=(0,o.c6)({slots:{root:"flex w-full flex-col items-start gap-s"},variants:{tile:{true:{root:"grid grid-cols-[repeat(auto-fill,_minmax(300px,_1fr))]"}},stack:{true:{root:"grid grid-cols-[repeat(auto-fill,_minmax(156px,_1fr))]"}}}})},72123:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var o=r(85893),i=r(48399),l=r(4382),s=r(67294),d=r(37720);let c=(0,s.forwardRef)((e,t)=>{let{radius:r="xs",children:s,intent:c="default",renderCustomComponent:u,className:p,disabled:f=!1,interaction:m="link",themeConfig:h,...g}=e,{root:v}=(0,l.tv)(h?(0,l.RH)(d.v,h):d.v)({radius:r,disabled:f,interaction:m,intent:c}),y=(0,i.cn)("ef-form-surface","ef-form-tile",v(),p);return u?(0,o.jsx)(o.Fragment,{children:u({className:y,"data-disabled":f,children:s,...g})}):(0,o.jsx)("div",{ref:t,className:y,"data-disabled":f,...g,children:s})});c.displayName="FormSurface"},37720:function(e,t,r){"use strict";r.d(t,{v:function(){return l}});var o=r(4382),i=r(48399);let l=(0,o.c6)({slots:{root:(0,i.cn)("group relative flex w-full appearance-none items-center justify-between border border-solid border-system-stroke-default bg-system-surface-default p-s text-system-text-default transition-all duration-system-short ease-system-easing-standard has-[.ef-image]:p-xs","disabled:cursor-not-allowed disabled:select-none disabled:border-system-stroke-disabled disabled:bg-system-surface-disabled-weak disabled:text-system-text-disabled-default disabled:ring-0","can-hover:hover:disabled:!border-system-stroke-disabled can-hover:hover:disabled:!bg-system-surface-disabled-weak can-hover:hover:disabled:!text-system-text-disabled-default can-hover:hover:disabled:!ring-0")},variants:{radius:{none:{},xxs:{root:"rounded-xs [--form-border-radius:var(--border-radius-xs)]"},xs:{root:"rounded-sm [--form-border-radius:var(--border-radius-s)]"},s:{root:"rounded-md [--form-border-radius:var(--border-radius-m)]"}},interaction:{link:{root:"pointer-events-auto cursor-pointer can-hover:hover:border-system-stroke-hover can-hover:hover:data-[state=checked]:border-system-stroke-hover"},input:{root:(0,i.cn)("pointer-events-auto cursor-text can-hover:hover:border-system-stroke-hover","focus-visible:border-system-stroke-focus-default focus-visible:bg-system-surface-selected-weak focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-system-stroke-focus-default can-hover:hover:focus-visible:border-system-stroke-focus-default forced-colors:focus-visible:[outline:auto]")},none:{root:"cursor-default"}},intent:{default:{root:""},invalid:{root:"border-system-stroke-warning-on-weak bg-system-surface-warning-weak ring-1 ring-inset ring-system-stroke-warning-on-weak focus-visible:bg-system-surface-warning-weak"},valid:{root:"border-system-stroke-success-on-weak bg-system-surface-success-weak ring-1 ring-inset ring-system-stroke-success-on-weak focus-visible:bg-system-surface-success-weak [&.ef-focus-ring[data-valid=true][data-state=checked]]:border-system-stroke-focus-default [&.ef-focus-ring[data-valid=true][data-state=checked]]:ring-system-stroke-focus-default"},focused:{root:"border-system-stroke-focus-default bg-system-surface-selected-weak ring-1 ring-inset ring-system-stroke-focus-default can-hover:hover:border-system-stroke-focus-default"},enabled:{root:"border-system-stroke-selected-on-weak bg-system-surface-selected-weak ring-1 ring-system-stroke-selected-on-weak can-hover:hover:data-[state=checked]:ring-0 [&.ef-focus-ring[data-state=checked]]:border-system-stroke-focus-default [&.ef-focus-ring[data-state=checked]]:ring-system-stroke-focus-default"}},disabled:{true:{root:(0,i.cn)("!cursor-not-allowed select-none border-system-stroke-disabled bg-system-surface-disabled-weak text-system-text-disabled-default ring-0 data-[state=checked]:border-system-stroke-disabled data-[state=checked]:text-system-text-disabled-default","can-hover:hover:!border-system-stroke-disabled can-hover:hover:!bg-system-surface-disabled-weak can-hover:hover:!text-system-text-disabled-default can-hover:hover:!ring-0","can-hover:hover:data-[state=checked]:!border-system-stroke-disabled can-hover:hover:data-[state=checked]:!bg-system-surface-disabled-weak can-hover:hover:data-[state=checked]:!ring-0")}}},compoundVariants:[{interaction:["link","none"],intent:["invalid","valid"],class:{root:"can-hover:hover:ring-0"}},{interaction:"input",intent:"invalid",class:{root:"can-hover:hover:border-system-stroke-warning-on-weak"}},{interaction:"input",intent:"valid",class:{root:"can-hover:hover:border-system-stroke-success-on-weak"}}]})},88151:function(e,t,r){"use strict";r.d(t,{MZ:function(){return d},Si:function(){return s},_$:function(){return i},_b:function(){return l}});var o=r(98069);let i=(0,o.cn)({}),l=(0,o.cn)({}),s=(0,o.cn)({}),d=(0,o.cn)({})},82696:function(e,t,r){"use strict";r.d(t,{Dq:function(){return d},u1:function(){return c},vf:function(){return s}});var o=r(4382),i=r(48399),l=r(63890);let s=(0,o.c6)({slots:{root:(0,i.cn)("disabled:data-[state=checked]:border-system-stroke-disabled disabled:data-[state=checked]:bg-system-surface-disabled-weak disabled:data-[state=checked]:text-system-text-disabled-default disabled:data-[state=checked]:ring-0","data-[val
50id=false]:border-system-stroke-warning-on-weak data-[valid=true]:data-[state=checked]:border-system-stroke-success-on-weak data-[valid=false]:bg-system-surface-warning-weak data-[valid=true]:data-[state=checked]:bg-system-surface-success-weak data-[valid=false]:ring-1 data-[valid=false]:ring-system-stroke-warning-on-weak data-[valid=true]:data-[state=checked]:ring-system-stroke-success-on-weak can-hover:hover:data-[state=checked]:border-system-stroke-hover can-hover:hover:data-[valid=false]:border-system-stroke-hover can-hover:hover:data-[valid=false]:data-[state=checked]:border-system-stroke-hover can-hover:hover:data-[valid=true]:data-[state=checked]:border-system-stroke-hover can-hover:hover:data-[state=checked]:ring-0 can-hover:hover:data-[valid=false]:ring-0 can-hover:hover:[&.ef-focus-ring[data-state=checked]]:border-system-stroke-hover can-hover:hover:[&.ef-focus-ring[data-state=checked]]:ring-0 [&::after]:transition-none [&::before]:transition-none"),indicatorWrapper:(0,i.cn)("relative ms-3 h-5 w-5 bg-transparent ring-1 ring-inset ring-system-stroke-default transition-all can-hover:hover:ring-system-stroke-hover","flex-none group-disabled:group-data-[state=unchecked]:ring-system-stroke-disabled can-hover:group-hover:ring-system-stroke-hover","group-data-[disabled=true]:!ring-system-stroke-disabled group-data-[disabled=true]:group-data-[state=checked]:!ring-transparent can-hover:group-data-[disabled=true]:group-data-[state=checked]:group-hover:!ring-transparent can-hover:group-data-[disabled=true]:group-hover:!ring-system-stroke-disabled","group-has-[.ef-image]:absolute group-has-[.ef-image]:right-s group-has-[.ef-image]:top-s group-has-[.ef-image]:bg-system-surface-default"),indicator:"",button:"h-full w-full disabled:!cursor-not-allowed"},variants:{radius:{none:{},xxs:{root:"rounded-xs [--form-border-radius:var(--border-radius-xs)]"},xs:{root:"rounded-sm [--form-border-radius:var(--border-radius-s)]"},s:{root:"rounded-md [--form-border-radius:var(--border-radius-m)]"}},type:{checkbox:{root:"[&.ef-focus-ring]:before:-inset-px [&.ef-focus-ring]:after:-inset-px",indicatorWrapper:(0,l.W)("flex items-center justify-center rounded-xxs group-data-[state=checked]:bg-system-surface-selected-strong group-data-[state=checked]:ring-transparent","group-data-[disabled=true]:bg-system-surface-transparent group-data-[disabled=true]:group-data-[state=checked]:!bg-system-surface-disabled-default"),indicator:"ms-0"},radio:{root:"[outline:0] focus:[outline:0] focus-visible:[outline:0] data-[state=checked]:border-system-stroke-selected-on-weak data-[valid=false]:data-[state=checked]:border-system-stroke-warning-on-weak data-[state=checked]:bg-system-surface-selected-weak data-[state=checked]:ring-1 data-[state=checked]:ring-system-stroke-selected-on-weak data-[valid=false]:data-[state=checked]:ring-system-stroke-warning-on-weak forced-colors:focus-visible:[outline:auto] [&.ef-focus-ring]:before:-inset-px [&.ef-focus-ring]:after:-inset-px"}},stack:{true:{root:"flex-col",indicatorWrapper:"absolute right-xs top-xs"}},valid:{true:{},false:{},undefined:{}}},compoundVariants:[{valid:!0,type:"checkbox",class:{indicatorWrapper:"ring-2 ring-system-stroke-success-default group-data-[state=checked]:bg-system-surface-success-strong can-hover:group-hover:ring-1"}},{valid:!1,type:"checkbox",class:{indicatorWrapper:"ring-2 ring-system-stroke-warning-default group-data-[state=checked]:bg-system-surface-warning-strong can-hover:group-hover:ring-1"}}]}),d=(0,o.c6)({slots:{root:"flex items-start gap-s text-system-text-default group-data-[disabled=true]:text-system-text-disabled-default",content:"flex flex-col items-start gap-xs",imageContainer:"h-full w-full overflow-clip rounded-[calc(var(--form-border-radius)-var(--spacing-spacing-xs)+var(--spacing-spacing-xxs))] group-data-[disabled=true]:opacity-50 group-data-[disabled=true]:grayscale group-data-[disabled=true]:[&_img]:mix-blend-saturation",tag:"",label:"text-ui-label-large group-data-[disabled=true]:cursor-not-allowed [&>abbr]:no-underline",subLabel:"text-system-text-weak text-ui-label group-data-[disabled=true]:text-system-text-disabled-default"},variants:{stack:{true:{root:"flex-col items-center gap-xs [&>svg]:[font-size:32px]",content:"flex-col items-center gap-xs"}},centered:{true:{root:"grow",content:"grow items-center"}},hasImage:{true:{root:"w-full",content:"py-xs"}}},compoundSlots:[{slots:["label","subLabel"],class:"cursor-pointer group-disabled:cursor-not-allowed group-data-[disabled=true]:cursor-not-allowed"}
50]}),c={slots:{root:""},variants:{small:{true:{root:`group-data-[state=checked]:bg-system-surface-default group-data-[state=checked]:text-system-text-default group-data-[state=checked]:border-system-surface-default 51 group-data-[valid=false]:group-data-[state=checked]:bg-system-surface-warning-strong group-data-[valid=false]:group-data-[state=checked]:text-system-text-warning-on-strong 52 group-disabled:text-system-text-disabled-on-dark group-disabled:bg-system-surface-disabled-default group-data-[state=checked]:group-disabled:text-system-text-disabled-on-dark group-data-[state=checked]:group-disabled:bg-system-surface-disabled-default`}}}}},65410:function(e,t,r){"use strict";r.d(t,{P:function(){return o}});let o=(0,r(67294).createContext)({valid:void 0,required:!1})},86575:function(e,t,r){"use strict";r.d(t,{ge:function(){return l},xk:function(){return i}});var o=r(4382);let i=(0,o.c6)({slots:{formLabelWrapper:"mb-xs inline-block text-system-text-default text-ui-label",formLabelRequiredSign:"no-underline",formLabelDescription:"text-ui-label-small",formField:"relative flex w-full items-center text-system-text-default transition-all duration-150",formFieldContainer:"relative flex flex-1 flex-col items-start text-system-text-default",iconValid:"fill-system-vector-success-on-weak text-system-vector-success-on-weak",iconIndeterminate:"",iconInvalid:"fill-system-vector-warning-on-weak text-system-vector-warning-on-weak",iconSearch:"fill-system-vector-default",iconClear:"fill-system-vector-default",clearButton:"!absolute end-xs z-10",loadingIndicator:"",inputTag:"box-border block h-[56px] w-full overflow-hidden text-ellipsis whitespace-nowrap p-s [&::placeholder]:text-system-text-weak"},variants:{hasFloatingLabel:{true:{inputTag:"pb-xs pt-m",textareaTag:"pb-s pt-m"}},type:{textarea:{inputTag:"h-auto min-h-[100px] w-full min-w-[100px] max-w-full resize-none overflow-y-auto overflow-x-hidden whitespace-pre-wrap break-words transition-shadow [field-sizing:content] [&::placeholder]:whitespace-normal",iconValid:"top-s",iconInvalid:"top-s"},search:{iconSearch:"left-xs",iconClear:"end-xs",inputTag:"[&::-moz-search-clear-button]:hidden [&::-ms-clear]:hidden [&::-webkit-search-cancel-button]:hidden"}},hidden:{true:{formFieldContainer:"hidden"}},validationIconOffset:{xxl:{iconValid:"end-xxl",iconInvalid:"end-xxl",iconIndeterminate:"end-xxl",loadingIndicator:"end-xxl"},xl:{iconValid:"end-xl",iconInvalid:"end-xl",iconIndeterminate:"end-xl",loadingIndicator:"end-xl"},s:{iconValid:"end-s",iconInvalid:"end-s",iconIndeterminate:"end-s",loadingIndicator:"end-s"}},valid:{true:{},false:{}}},defaultVariants:{valid:!0,validationIconOffset:"s"},compoundSlots:[{slots:["iconValid","iconInvalid","iconIndeterminate","iconSearch","loadingIndicator"],class:"pointer-events-none absolute z-20 block h-m w-m rounded-full transition-transform duration-system-medium ease-system-easing-expressive"},{slots:["iconSearch"],class:"h-s w-s"}]}),l=((0,o.c6)({slots:{root:"relative flex flex-col items-start",field:"relative flex w-full items-center transition-all duration-150"},variants:{touched:{true:{}},valid:{true:{},false:{}}}}),(0,o.c6)({slots:{markValidation:""},variants:{valid:{true:{}},touched:{true:{}}},compoundVariants:[{valid:!0,touched:!0,class:{markValidation:"valid touched peer"}},{valid:!0,touched:!1,class:{markValidation:"valid"}},{valid:!1,touched:!0,class:{markValidation:"invalid touched peer"}},{valid:!1,touched:!1,class:{markValidation:""}}]}))},85013:function(e,t,r){"use strict";r.d(t,{b3:function(){return l},jH:function(){return i}});var o=r(48399);(0,o.cn)("-is-valid"),(0,o.cn)("-is-invalid");let i=(e,t,r,o)=>{let i=e&&t,l=e&&!1===t,s=!1===t&&!1===e||typeof t>"u"&&typeof e>"u"||(typeof t>"u"||t)&&!e,d="";return i?d=r:l?d=o:s&&(d=""),{validationStateClasses:d,isValidAndTouched:i,isInvalidAndTouched:l,isIndeterminate:s}},l=e=>{if(!e||!e.validation)return!1;let t=!1;for(let r of e.validation.conditionGroups){for(let e of r.conditions)if("required"===e.rule&&!0===e.value){t=!0;break}if(t)break}return t}},88714:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var o=r(85893),i=r(48399);let l=e=>{let{children:t,className:r,...l}=e,s=(0,i.cn)("ef-grid","grid grid-cols-sm md:grid-cols-md lg:grid-cols-lg xl:grid-cols-xl xxl:grid-cols-xxl","gap-x-s md:gap-x-m",r);return(0,o.jsx)("div",{className:s,...l,children:t})};l.displayName="Grid"},1258:function(e,t,r){"use strict";r.d(t,{c:function(){return f},h:function(){return p}});var o=r(85893),i=r(67294),l=r(48399),s=r(83563);let d=({column:e})=>e&&0!==Object.keys(e).length?Object.entries(e).map(([e,t])=>(null==t?void 0:t.map((t,r)=>`${"s"!==e?`${s.r[e]}:`:""}col-${0===r?"start":"end"}-${t}`))??[]).flat():[];var c=r(98069),u=r(43355);let p=(0,c.cn)(void 0),f=(0,i.forwardRef)(({children:e,className:t,column:r={s:["col-1-start","col-12-end"]},order:i,style:s,position:c,...f},m)=>{let h=d({column:r}),g=(0,l.cn)("ef-grid-item","col",h,t),v={...i?{"--order":i}:{},...s};return(0,u.P)(new Map([[p,c]])),(0,o.jsx)("div",{ref:m,className:g,style:v,...f,children:e})});f.displayName="Item"},11084:function(e,t,r){"use strict";r.d(t,{a:function(){return d}});var o=r(85893),i=r(48399),l=r(4382);let s=(0,l.c6)({slots:{root:"inline-flex shrink-0 items-center justify-center overflow-hidden rounded-none border-none"}
52,variants:{radius:{none:{root:"rounded-none"},xxs:{root:"rounded"},xs:{root:"rounded-xxs"},s:{root:"rounded-xs"},m:{root:"rounded-sm"},l:{root:"rounded-md"},xl:{root:"rounded-lg"},full:{root:"rounded-full"}},iconPosition:{start:{root:"order-first"},end:{root:"order-last"}},variant:{outlined:{root:"border border-solid border-system-stroke-default text-system-vector-default"},filled:{root:"bg-system-surface-inverse text-system-vector-on-inverse"}},size:{inherit:{root:""},xs:{root:"size-4"},s:{root:"size-8"},m:{root:"size-10"},l:{root:"size-12"},xl:{root:"size-14"},xxl:{root:"size-16"}},iconSize:{inherit:{root:""},xs:{root:"[--icon-size:8px] [&>svg]:size-2"},s:{root:"[--icon-size:16px] [&>svg]:size-4"},m:{root:"[--icon-size:24px] [&>svg]:size-6"},l:{root:"[--icon-size:32px] [&>svg]:size-8"},xl:{root:"[--icon-size:40px] [&>svg]:size-10"},xxl:{root:"[--icon-size:48px] [&>svg]:size-12"}}}}),d=e=>{let{variant:t,backgroundColor:r,iconSize:d,size:c,iconColor:u,radius:p,children:f,style:m,className:h,iconPosition:g,themeConfig:v,...y}=e,{root:b}=(0,l.tv)(v?(0,l.RH)(s,v):s)({variant:t,radius:p,size:c,iconSize:d??c,iconPosition:g}),x=(0,i.cn)("ef-icon-wrapper",b(),h);return(0,o.jsx)("div",{className:x,style:{backgroundColor:r,color:u,...m},...y,children:f})};d.displayName="IconWrapper"},57842:function(e,t,r){"use strict";r.d(t,{h:function(){return k}});var o=r(85893),i=r(48399),l=r(1753),s=r(4382),d=r(67294),c=r(61376),u=r(75077),p=r(22141);let f=(0,s.c6)({slots:{root:"transition-border relative flex w-full min-w-fit cursor-pointer content-start items-start gap-xs rounded-sm border border-solid border-system-stroke-default bg-system-surface-default text-system-vector-default decoration-0 duration-system-short ease-system-easing-standard hover:border-system-stroke-hover focus:decoration-0 focus:outline-none focus-visible:decoration-0 focus-visible:outline-none active:border-system-stroke-selected-on-weak active:bg-system-surface-selected-weak",title:"text-system-text-default",description:"text-system-text-weak",icon:"flex items-start justify-start",innerContainer:"flex w-full justify-between text-system-text-default hover:decoration-0",contentContainer:"flex flex-col gap-xxs",focusRing:"",animatedIcon:"text-system-vector-default animation-duration-system-short",arrowContainer:"flex flex-col justify-center"},variants:{size:{standard:{root:"px-m py-l"},small:{root:"px-s py-m"}},hasDescription:{true:{innerContainer:"items-end"},false:{innerContainer:"items-center",arrowContainer:"h-[1.5rem]"}},stack:{true:{root:"flex-col items-start gap-xs"}}},compoundVariants:[{hasDescription:!0,stack:!0,class:{arrowContainer:"h-[1.5rem]"}}]});var m=r(43201),h=r(48905),g=r(10986),v=r(99014),y=r(78825),b=r(4908),x=r(3955),w=r(96974);let k=(0,d.forwardRef)((e,t)=>{let{children:r,size:k="standard",stack:_,className:C,as:$,themeConfig:S,...E}=e,{CrossLinkTileIconSlot:j,CrossLinkTileTitleSlot:N,CrossLinkTileDescriptionSlot:T}=(0,v.F)(r,{CrossLinkTileIcon:b.o,CrossLinkTileTitle:x.q,CrossLinkTileDescription:y.s}),{root:P,title:A,description:O,icon:R,innerContainer:D,contentContainer:M,arrowContainer:L,focusRing:I,animatedIcon:F}=(0,s.tv)(S?(0,s.RH)(f,S):f)({size:k,stack:_,hasDescription:!!(null!=T&&T.props)}),B=[[p.Qq,{className:R(),size:k}],[p.I_,{className:A(),size:k}],[p.ER,{className:O()}]],V=(0,i.cn)("ef-link-tile",P(),C),z=(0,d.useRef)(null);(0,d.useImperativeHandle)(t,()=>z.current,[]);let{hoverProps:H,isHovered:U}=(0,h.X)({}),{linkProps:Z}=(0,g.n)(e,z),{renderCustomLink:W,...K}=E;return(0,o.jsx)(w.zt,{children:(0,o.jsx)(u.t,{className:I(),children:"button"===$?(0,o.jsx)("button",{...Z,...H,type:"button",className:V,...E,ref:z,children:(0,o.jsxs)(m.o,{atomValues:B,children:[j,(0,o.jsxs)("div",{className:D(),children:[(0,o.jsxs)("div",{className:M(),children:[N,T]}),(0,o.jsx)("div",{className:(0,i.cn)(L()),children:(0,o.jsx)(l.AnimatedArrowRight,{theme
52Config:{slots:{root:F(),top:F(),bottom:F()}},active:U})})]})]})}):(0,o.jsx)(W??"a",{...Z,...H,className:V,...K,ref:W?void 0:z,children:(0,o.jsxs)(m.o,{atomValues:B,children:[j,(0,o.jsxs)("div",{className:D(),children:[(0,o.jsxs)("div",{className:M(),children:[N,T]}),(0,o.jsx)("div",{className:(0,i.cn)(L()),children:(null==e?void 0:e.target)!=="_blank"?(0,o.jsx)(l.AnimatedArrowRight,{themeConfig:{slots:{root:F(),top:F(),bottom:F()}},active:U}):(0,o.jsx)(c.AnimatedExternalArrow,{themeConfig:{slots:{root:F(),arrow:F()}},active:U})})]})]})})})})});k.displayName="CrossLinkTile"},78825:function(e,t,r){"use strict";r.d(t,{s:function(){return c}});var o=r(85893),i=r(3900),l=r(22141),s=r(48399),d=r(96974);let c=e=>{let{children:t,className:r,...c}=e,{className:u}=(0,d.Dv)(l.ER),p=(0,s.cn)("ef-crosslink-tile-description",u,r);return(0,o.jsx)(i.x,{variant:"uiLabelSmall",className:p,...c,children:t})};c.displayName="CrossLinkTileDescription"},4908:function(e,t,r){"use strict";r.d(t,{o:function(){return c}});var o=r(85893),i=r(11084),l=r(22141),s=r(48399),d=r(96974);let c=e=>{let{children:t,iconSize:r,className:c,...u}=e,{className:p,size:f}=(0,d.Dv)(l.Qq),m=(0,s.cn)(p,c);return(0,o.jsx)(i.a,{className:m,iconSize:r??("standard"===f?"m":"s"),...u,children:t})};c.displayName="CrossLinkTileIcon"},3955:function(e,t,r){"use strict";r.d(t,{q:function(){return c}});var o=r(85893),i=r(3900),l=r(22141),s=r(48399),d=r(96974);let c=e=>{let{children:t,className:r,...c}=e,{className:u,size:p}=(0,d.Dv)(l.I_),f=(0,s.cn)("ef-crosslink-tile-title",u,r);return(0,o.jsx)(i.x,{variant:"standard"===p?"uiLabelBold":"uiLabelSmallBold",className:f,...c,children:t})};c.displayName="CrossLinkTileTitle"},93042:function(e,t,r){"use strict";r.d(t,{r:function(){return g}});var o=r(85893),i=r(48399),l=r(75077),s=r(43201),d=r(4382),c=r(55811),u=r(10986),p=r(67294),f=r(98029);let m=(0,d.c6)({slots:{wrapper:"text-components-links-link-enabled hover:text-components-links-link-hover",link:(0,i.cn)("cursor-pointer","hit-area-small","[text-decoration-skip-ink:auto]","text-components-links-link-enabled","hover:text-components-links-link-hover","[:is(.ef-text,.ef-richtext,p)_&]:underline","[:is(.ef-text,.ef-richtext,p)_&]:decoration-[8%]","[:is(.ef-text,.ef-richtext,p)_&]:underline-offset-[12%]","[:is(.ef-text,.ef-richtext,p)_&]:text-components-links-in-text-enabled","[:is(.ef-text,.ef-richtext,p)_&]:hover:decoration-[12%]","[:is(.ef-text,.ef-richtext,p)_&]:hover:underline-offset-[8%]","[:is(.ef-text,.ef-richtext,p)_&]:focus-visible:decoration-[12%]","[:is(.ef-text,.ef-richtext,p)_&]:focus-visible:underline-offset-[8%]","[:is(.ef-text,.ef-richtext,p)_&]:hover:text-components-links-in-text-hover","hover:underline","hover:decoration-[12%]","hover:underline-offset-[8%]"),text:"",icon:"mb-xxs inline-block align-middle [--animation-duration:var(--motion-system-duration-short)] [--animation-ease:var(--motion-system-easing-standard)] first:pe-2 last:ps-2"},variants:{size:{small:{wrapper:"inline-block",link:"text-ui-label-small"},medium:{wrapper:"inline-block",link:"text-ui-label"},large:{wrapper:"inline-block",link:"text-ui-label-large"}},disabled:{true:{link:"pointer-events-none cursor-not-allowed bg-none text-system-text-disabled-default no-underline hover:text-system-text-disabled-default hover:no-underline active:text-system-text-disabled-default"}}}});var h=r(96974);let g=(0,p.forwardRef)((e,t)=>{let{children:r,className:g,containerClassName:v,size:y,asChild:b=!1,disabled:x=!1,href:w,themeConfig:k,..._}=e,C=(0,p.useRef)(null),$=b?c.g:"a";(0,p.useImperativeHandle)(t,()=>C.current);let{linkProps:S}=(0,u.n)(e,C);x&&(S.onClick=e=>{e.preventDefault()});let{wrapper:E,link:j,icon:N,text:T}=(0,d.tv)(k?(0,d.RH)(m,k):m)({size:y,disabled:x}),P=(0,i.cn)(j(),g),A=[[f.O,{className:N()}],[f.E,{className:T()}]];return(0,o.jsx)(h.zt,{children:(0,o.jsx)("span",{className:(0,i.cn)("ef-link",E(),v),tabIndex:-1,children:(0,o.jsx)(c.A,{children:(0,o.jsx)(s.o,{atomValues:A,children:(0,o.jsx)(l.t,{children:(0,o.jsx)($,{ref:C,...S,className:P,..._,href:x?void 0:w,tabIndex:x?-1:0,children:r})})})})})})});g.displayName="Link"},87351:function(e,t,r){"use strict";r.d(t,{x:function(){return p}});var o=r(85893),i=r(67294),l=r(1753),s=r(48399),d=r(55811),c=r(98029),u=r(96974);let p=(0,i.forwardRef)((e,t)=>{let{asChild:r,className:i,...p}=e,f=r?d.g:l.AnimatedArrowRight,{className:m}=(0,u.Dv)(c.O),h=(0,s.cn)("ef-link-icon",m,i);return(0,o.jsx)("div",{className:h,children:(0,o.jsx)(f,{ref:t,...p})})});p.displayName="LinkIcon"},10633:function(e,t,r){"use strict";r.d(t,{u:function(){return d}});var o=r(85893),i=r(48399),l=r(98029),s=r(96974);let d=({children:e="default",className:t,...r})=>{let{className:d}=(0,s.Dv)(l.E),c=(0,i.cn)("ef-link-text",d,t);return(0,o.jsx)("span",{className:c,...r,children:e})};d.displayName="LinkText"},22141:function(e,t,r){"use strict";r.d(t,{ER:function(){return s},I_:function(){return l},Qq:function(){return i}});var o=r(98069);let i=(0,o.cn)({className:void 0,size:void 0}),l=(0,o.cn)({className:void 0,size:void 0}),s=(0,o.cn)({className:void 0})},98029:function(e,t,r){"use strict";r.d(t,{E:function(){return l},O:function(){return i}});var o=r(98069);let i=(0,o.cn)({className:void 0}),l=(0,o.cn)({className:void 0})},95537:function(e,t,r){"use strict";r.d(t,{T:function(){return d}});var o=r(85893),i=r(4382);let l=(0,i.c6)({slots:{root:"border-system-stroke-default/30 border-l-system-stroke-default absolute m-auto size-6 rounded-full border-2 motion-safe:animate-spin"},variants:{size:{xSmall:{root:"size-2 border"},small:{root:"size-4"},regular:{root:"size-6"},large:{root:"size-8"},xLarge:{root:"size-8"}}}});var s=r(48399);let d=e=>{let{size:t="regular",className:r,themeConfig:d,...c}=e,{root:u}=(0,i.tv)(d?(0,i.RH)(l,d):l)({size:t}),p=(0,s.cn)("ef-loading-spinner",u(),r);return(0,o.jsx)("div",{className:p,role:"status","aria-label":e["aria-label"]||"Loading",...c})};d.displayName="LoadingSpinner"},60128:function(e,t,r){"use strict";r.d(t,{O:function(){return d}});var o=r(85893),i=r(48399),l=r(4382);let s=(0,l.c6)({slots:{root:"relative h-full w-full",base:"absolute inset-0 rounded-xs bg-system-stroke-default"},variants:{animate:{true:{base:"animate-pulse"},false:""}}}),d=e=>{let{disableAnimation:t=!1,className:r,themeConfig:d,...c}=e,{root:u,base:p}=(0,l.tv)(d?(0,l.RH)(s,d):s)({animate:!t});return(0,o.jsx)("div",{className:(0,i.cn)("ef-skeleton",u(),r),...c,children:(0,o.jsx)("span",{className:p()})})};d.displayName="Skeleton"},85399:function(e,t,r){"use strict";r.d(t,{T:function(){return u}});var o=r(85893),i=r(48399),l=r(4382);let s=(0,l.c6)({slots:{root:"relative box-border block bg-system-surface-default text-system-text-default",insetBorderSvg:"pointer-events-none absolute overflow-visible",insetBorderRect:"fill-none [rx:var(--ef-surface-inset-border-radius)] [ry:var(--ef-surface-inset-border-radius)]"},variants:{variant:{outline:{root:"border border-system-stroke-weak"},"shadow-s":{root:"shadow-dark-s-10"},"shadow-m":{root:"shadow-dark-m-15"},"shadow-l":{root:"shadow-dark-l-15"},"shadow-xl":{root:"shadow-dark-xl-15"}},radius:{none:{root:"rounded-none [--ef-surface-border-radius:0px]"},xxs:{root:"rounded-xxs [--ef-surface-border-radius:var(--border-radius-xxs)]"},xs:{root:"rounded-xs [--ef-surface-border-radius:var(--border-radius-xs)]"},s:{root:"rounded-sm [--ef-surface-border-radius:var(--border-radius-s)]"},m:{root:"rounded-md [--ef-surface-border-radius:var(--border-radius-m)]"},l:{root:"rounded-lg [--ef-surface-border-radius:var(--border-radius-l)]"},xl:{root:"rounded-xl [--ef-surface-border-radius:var(--border-radius-xl)]"},full:{root:"rounded-full [--ef-surface-border-radius:var(--border-radius-full)]"}},clipContent:{true:{root:"overflow-hidden"}},insetBorder:{true:{root:"[--ef-surface-inset-border-radius:max(0px,calc(var(--ef-surface-border-radius)-var(--ef-surface-inset-border-inset,calc(var(--ef-surface-inset-border-offset,-16px)*-1))))]"}},stretch:{fill:{root:"h-full w-full"},auto:{root:"h-fit w-fit"}}}}),d=e=>"number"==typeof e?`${e}px`:e,c={none:"0px",xxs:"var(--border-radius-xxs)",xs:"var(--border-radius-xs)",s:"var(--border-radius-s)",m:"var(--border-radius-m)",l:"var(--border-radius-l)",xl:"var(--border-radius-xl)",full:"var(--border-radius-full)"},u=e=>{let{className:t,children:r,variant:u,radius:p="s",clipContent:f,stretch:m,insetBorder:h,theme
52Config:g,style:v,...y}=e,b="object"==typeof h?h:{},x=!!h,{root:w,insetBorderSvg:k,insetBorderRect:_}=(0,l.tv)(g?(0,l.RH)(s,g):s)({variant:u,radius:p,clipContent:f,stretch:m,insetBorder:x}),C=b.dotSize??b.width,$={...void 0!==C&&{"--ef-surface-inset-border-dot-size":d(C)},...void 0!==b.inset&&{"--ef-surface-inset-border-inset":`${b.inset}px`,"--ef-surface-inset-border-offset":`${-1*b.inset}px`},...void 0!==b.radius&&{"--ef-surface-inset-border-radius":c[b.radius]},...void 0!==b.dotGap&&{"--ef-surface-inset-border-dot-gap":d(b.dotGap)}},S=b.inset??16,E=d(C??2),j={top:`calc(${S}px + ${E} / 2)`,left:`calc(${S}px + ${E} / 2)`,width:`max(0px, calc(100% - ${2*S}px - ${E}))`,height:`max(0px, calc(100% - ${2*S}px - ${E}))`};return(0,o.jsxs)("div",{className:(0,i.cn)("ef-surface",w(),t),style:{...$,...v},...y,children:[x&&(0,o.jsx)("svg",{className:k(),style:j,"aria-hidden":"true",children:(0,o.jsx)("rect",{className:_(),width:"100%",height:"100%",stroke:"currentColor",strokeLinecap:"round",style:{strokeWidth:"var(--ef-surface-inset-border-dot-size, 2px)",strokeDasharray:"0 calc(var(--ef-surface-inset-border-dot-size, 2px) + var(--ef-surface-inset-border-dot-gap, var(--ef-surface-inset-border-dot-size, 2px)))"}})}),r]})};u.displayName="Surface"},3900:function(e,t,r){"use strict";r.d(t,{x:function(){return c}});var o=r(85893),i=r(48399),l=r(36813),s=r(4382),d=r(67294);let c=(0,d.forwardRef)(({variant:e="body",as:t="p",align:r="start",text_color:c,style:u,className:p,children:f,themeConfig:m,...h},g)=>{let{root:v}=(0,s.tv)(m?(0,s.RH)(l.sq,m):l.sq)({variant:e,align:r}),y=(0,i.cn)("ef-text",v(),p),b=null!=c&&c.value?{color:c.value}:void 0,x=d.Children.map(f,e=>"string"==typeof e?(0,o.jsx)("span",{children:e}):e);return(0,d.createElement)(t,{className:y,ref:g,style:{...b,...u},...h},x)});c.displayName="Text"},36813:function(e,t,r){"use strict";r.d(t,{I2:function(){return l},sq:function(){return i}});var o=r(4382);let i=(0,o.c6)({slots:{root:"text-system-text-default isolate"},variants:{align:{center:{root:"text-center"},end:{root:"text-end"},inherit:{root:""},start:{root:"text-start"}},variant:{body:{root:"text-body"},bodyBook:{root:"text-body-book"},bodySmall:{root:"text-body-small"},uiLabel:{root:"text-ui-label"},uiLabelBold:{root:"text-ui-label-bold"},uiLabelLarge:{root:"text-ui-label-large"},uiLabelSmall:{root:"text-ui-label-small"},uiLabelSmallBold:{root:"text-ui-label-small-bold"},uiLabelLargeBold:{root:"text-ui-label-large-bold"},smallPrint:{root:"text-small-print"},smallPrintBold:{root:"text-small-print-bold"},eyebrow:{root:"text-eyebrow"},eyebrowSmall:{root:"text-eyebrow-small"},eyebrowLarge:{root:"text-eyebrow-large"},displayCaps:{root:"text-mobile-display-caps lg:text-desktop-display-caps uppercase"},display1:{root:"text-mobile-display-1 lg:text-desktop-display-1"},display2:{root:"text-mobile-display-2 lg:text-desktop-display-2"},header1:{root:"text-mobile-header-1 lg:text-desktop-header-1"},header2:{root:"text-mobile-header-2 lg:text-desktop-header-2"},header3:{root:"text-mobile-header-3 lg:text-desktop-header-3"},header4:{root:"text-mobile-header-4 lg:text-desktop-header-4"},header5:{root:"text-mobile-header-5 lg:text-desktop-header-5"},header6:{root:"text-mobile-header-6 lg:text-desktop-header-6"},title1:{root:"text-mobile-title-1 lg:text-desktop-title-1"},title2:{root:"text-mobile-title-2 lg:text-desktop-title-2"},title3:{root:"text-mobile-title-3 lg:text-desktop-title-3"},subheader1:{root:"text-mobile-subheader-1 lg:text-desktop-subheader-1"},subheader2:{root:"text-mobile-subheader-2 lg:text-desktop-subheader-2"}}}}),l=(0,o.c6)({slots:{root:"text-pretty break-words",block:"mb-m last:mb-0",list:"mb-m [&_li]:marker:text-system-text-default list-disc ps-[20px] last:mb-0",oList:"mb-m [&_li]:marker:text-system-text-default list-decimal ps-[20px] last:mb-0",listItem:"[&_p]:mb-0",viewMoreButton:"mt-s [--color-components-buttons-link-enabled:var(--color-system-text-default,var(--color-mono-black-100))]"},variants:{align:{...i.variants.align,right:{root:"text-end"},left:{root:"text-start"}}}})},67767:function(e,t,r){"use strict";r.d(t,{QB:function(){return l},Z2:function(){return s},ap:function(){return i},ke:function(){return c},sb:function(){return d},t3:function(){return o},vT:function(){return u}});let o={none:{s:"flex-none",m:"md:flex-none",l:"lg:flex-none",xl:"xl:flex-none",xxl:"xxl:flex-none"},auto:{s:"flex-grow flex-shrink",m:"md:flex-grow md:flex-shrink",l:"lg:flex-grow lg:flex-shrink",xl:"xl:flex-grow xl:flex-shrink",xxl:"xxl:flex-grow xxl:flex-shrink"},grow:{s:"flex-grow flex-shrink-0",m:"md:flex-grow md:flex-shrink-0",l:"lg:flex-grow lg:flex-shrink-0",xl:"xl:flex-grow xl:flex-shrink-0",xxl:"xxl:flex-grow xxl:flex-shrink-0"},shrink:{s:"flex-shrink flex-grow-0",m:"md:flex-shrink md:flex-grow-0 ",l:"lg:flex-shrink lg:flex-grow-0",xl:"xl:flex-shrink xl:flex-grow-0",xxl:"xxl:flex-shrink xxl:flex-grow-0"}},i={none:{s:"gap-0",m:"md:gap-0",l:"lg:gap-0",xl:"xl:gap-0",xxl:"xxl:gap-0"},xxs:{s:"gap-1",m:"md:gap-1",l:"lg:gap-1",xl:"xl:gap-1",xxl:"xxl:gap-1"},xs:{s:"gap-2",m:"md:gap-2",l:"lg:gap-2",xl:"xl:gap-2",xxl:"xxl:gap-2"},s:{s:"gap-4",m:"md:gap-4",l:"lg:gap-4",xl:"xl:gap-4",xxl:"xxl:gap-4"},m:{s:"gap-6",m:"md:gap-6",l:"lg:gap-6",xl:"xl:gap-6",xxl:"xxl:gap-6"},l:{s:"gap-8",m:"md:gap-8",l:"lg:gap-8",xl:"xl:gap-8",xxl:"xxl:gap-8"},xl:{s:"gap-12",m:"md:gap-12",l:"lg:gap-12",xl:"xl:gap-12",xxl:"xxl:gap-12"},xxl:{s:"gap-16",m:"md:gap-16",l:"lg:gap-16",xl:"xl:gap-16",xxl:"xxl:gap-16"},xxxl:{s:"gap-32",m:"md:gap-32",l:"lg:gap-32",xl:"xl:gap-32",xxl:"xxl:gap-32"}},l={true:{s:"flex-wrap",m:"md:flex-wrap",l:"lg:flex-wrap",xl:"xl:flex-wrap",xxl:"xxl:flex-wrap"},false:{s:"flex-nowrap",m:"md:flex-nowrap",l:"lg:flex-nowrap",xl:"xl:flex-nowrap",xxl:"xxl:flex-nowrap"}},s={item:{"flex-start":{s:"mr-auto ml-0",m:"md:mr-auto md:ml-0",l:"lg:mr-auto lg:ml-0",xl:"xl:mr-auto xl:ml-0",xxl:"xxl:mr-auto xxl:ml-0"},center:{s:"mr-auto ml-auto",m:"md:mr-auto md:ml-auto",l:"lg:mr-auto lg:ml-auto",xl:"xl:mr-auto xl:ml-auto",xxl:"xxl:mr-auto xxl:ml-auto"},"flex-end":{s:"ml-auto mr-0",m:"md:ml-auto md:mr-0",l:"lg:ml-auto lg:mr-0",xl:"xl:ml-auto xl:mr-0",xxl:"xxl:ml-auto xxl:mr-0"}},group:{"flex-start":{s:"justify-start",m:"md:justify-start",l:"lg:justify-start",xl:"xl:justify-start",xxl:"xxl:justify-start"},center:{s:"justify-center",m:"md:justify-center",l:"lg:justify-center",xl:"xl:justify-center",xxl:"xxl:justify-center"},"flex-end":{s:"justify-end",m:"md:justify-end",l:"lg:justify-end",xl:"xl:justify-end",xxl:"xxl:justify-end"},"space-between":{s:"justify-between",m:"md:justify-between",l:"lg:justify-between",xl:"xl:justify-between",xxl:"xxl:justify-between"},"space-evenly":{s:"justify-evenly",m:"md:justify-evenly",l:"lg:justify-evenly",xl:"xl:justify-evenly",xxl:"xxl:justify-evenly"}}},d={item:{"flex-start":{s:"self-start",m:"md:self-start",l:"lg:self-start",xl:"xl:self-start",xxl:"xxl:self-start"}
52,center:{s:"self-center",m:"md:self-center",l:"lg:self-center",xl:"xl:self-center",xxl:"xxl:self-center"},"flex-end":{s:"self-end",m:"md:self-end",l:"lg:self-end",xl:"xl:self-end",xxl:"xxl:self-end"},stretch:{s:"self-stretch",m:"md:self-stretch",l:"lg:self-stretch",xl:"xl:self-stretch",xxl:"xxl:self-stretch"},baseline:{s:"self-baseline",m:"md:self-baseline",l:"lg:self-baseline",xl:"xl:self-baseline",xxl:"xxl:self-baseline"}},group:{"flex-start":{s:"items-start",m:"md:items-start",l:"lg:items-start",xl:"xl:items-start",xxl:"xxl:items-start"},center:{s:"items-center",m:"md:items-center",l:"lg:items-center",xl:"xl:items-center",xxl:"xxl:items-center"},"flex-end":{s:"items-end",m:"md:items-end",l:"lg:items-end",xl:"xl:items-end",xxl:"xxl:items-end"},stretch:{s:"items-stretch",m:"md:items-stretch",l:"lg:items-stretch",xl:"xl:items-stretch",xxl:"xxl:items-stretch"},baseline:{s:"items-baseline",m:"md:items-baseline",l:"lg:items-baseline",xl:"xl:items-baseline",xxl:"xxl:items-baseline"}}},c={auto:{s:"basis-auto",m:"md:basis-auto",l:"lg:basis-auto",xl:"xl:basis-auto",xxl:"xxl:basis-auto"},full:{s:"basis-full",m:"md:basis-full",l:"lg:basis-full",xl:"xl:basis-full",xxl:"xxl:basis-full"},0:{s:"basis-0",m:"md:basis-0",l:"lg:basis-0",xl:"xl:basis-0",xxl:"xxl:basis-0"},"1/2":{s:"basis-[calc(50%_-_var(--gap-space-s)/2)]",m:"md:basis-[calc(50%_-_var(--gap-space-md)/2)]",l:"lg:basis-[calc(50%_-_var(--gap-space-lg)/2)]",xl:"xl:basis-[calc(50%_-_var(--gap-space-xl)/2)]",xxl:"xxl:basis-[calc(50%_-_var(--gap-space-2xl)/2)]"},"1/3":{s:"basis-[calc(33.333%_-_var(--gap-space-s)/1.5)]",m:"md:basis-[calc(33.333%_-_var(--gap-space-md)/1.5)]",l:"lg:basis-[calc(33.333%_-_var(--gap-space-lg)/1.5)]",xl:"xl:basis-[calc(33.333%_-_var(--gap-space-xl)/1.5)]",xxl:"xxl:basis-[calc(33.333%_-_var(--gap-space-2xl)/1.5)]"},"1/4":{s:"basis-[calc(25%_-_var(--gap-space-s)/1.33)]",m:"md:basis-[calc(25%_-_var(--gap-space-md)/1.33)]",l:"lg:basis-[calc(25%_-_var(--gap-space-lg)/1.33)]",xl:"xl:basis-[calc(25%_-_var(--gap-space-xl)/1.33)]",xxl:"xxl:basis-[calc(25%_-_var(--gap-space-2xl)/1.33)]"},"2/3":{s:"basis-[calc(66.667%_-_var(--gap-space-s)/1.5)]",m:"md:basis-[calc(66.667%_-_var(--gap-space-md)/1.5)]",l:"lg:basis-[calc(66.667%_-_var(--gap-space-lg)/1.5)]",xl:"xl:basis-[calc(66.667%_-_var(--gap-space-xl)/1.5)]",xxl:"xxl:basis-[calc(66.667%_-_var(--gap-space-2xl)/1.5)]"}},u={row:{s:"flex-row",m:"md:flex-row",l:"lg:flex-row",xl:"xl:flex-row",xxl:"xxl:flex-row"},column:{s:"flex-col",m:"md:flex-col",l:"lg:flex-col",xl:"xl:flex-col",xxl:"xxl:flex-col"},"row-reverse":{s:"flex-row-reverse",m:"md:flex-row-reverse",l:"lg:flex-row-reverse",xl:"xl:flex-row-reverse",xxl:"xxl:flex-row-reverse"},"column-reverse":{s:"flex-col-reverse",m:"md:flex-col-reverse",l:"lg:flex-col-reverse",xl:"xl:flex-col-reverse",xxl:"xxl:flex-col-reverse"}}},89671:function(e,t,r){"use strict";r.d(t,{Q:function(){return m},k:function(){return g}});var o=r(67767),i=r(6767);let l=({flex:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var i;return[...e,(null==(i=o.t3[r])?void 0:i[t])??[]]},[]):[],s=({wrap:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var i;return[...e,(null==(i=o.QB[r.toString()])?void 0:i[t])??""]},[]):[],d=({align:e,type:t})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[r,i])=>{var l,s;let d=(null==(s=null==(l=o.sb[t])?void 0:l[i])?void 0:s[r])??"";return!d||typeof d>"u"?e:[...e,d]},[]):[],c=({justify:e,type:t})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[r,i])=>{var l,s;let d=(null==(s=null==(l=o.Z2[t])?void 0:l[i])?void 0:s[r])??"";return!d||typeof d>"u"?e:[...e,d]},[]):[],u=({direction:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var i,l;return[...e,(null==(l=null==(i=o.vT)?void 0:i[r??"column"])?void 0:l[t])??""]},[]):[],p=({gap:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var i;return[...e,(null==(i=o.ap[r.toString()])?void 0:i[t])??""]},[]):[],f=e=>Object.prototype.hasOwnProperty.call(o.ke,e),m=e=>{if(!(null===e||typeof e>"u")){if("object"==typeof e){let t=(null==e?void 0:e.value)??(0,i.z$)(e)??void 0;return"string"==typeof t&&f(t)?t:"number"==typeof t&&f(t.toString())?t.toString():void 0}if("string"==typeof e&&f(e))return e;if("number"==typeof e&&f(e.toString()))return e.toString()}},h=({basis:e})=>e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[t,r])=>{var i;let l=m(r);if(!l)return e;let s=(null==(i=o.ke[l])?void 0:i[t])??"";return s?[...e,s]:e},[]):[],g=({flexProps:e,type:t="item"})=>
52{if(!e||0===Object.keys(e).length)return{};let{flex:r,basis:o,justify:i,align:f,direction:m,gap:g,wrap:v}=e;return{directionClasses:u({direction:m}),flexClasses:l({flex:r}),alignClasses:d({align:f,type:t}),justifyClasses:c({justify:i,type:t}),wrapClasses:s({wrap:v}),gapClasses:p({gap:g}),basisClasses:h({basis:o})}}},38726:function(e,t,r){"use strict";r.d(t,{mi:function(){return s},qm:function(){return l}});var o=r(29398),i=r(24579);let l=e=>{var t;let{breakpoint:r}=(0,o.G)();if(!e)return{};let l=Object.keys(e),s=l.length,d={};for(let o=0;o<s;o++){let s=l[o],c=(0,i.v9)(e[s],r)??"s";d[s]=null==(t=e[s])?void 0:t[c]}return d},s=(e,t)=>{var r,o;return!e.design&&t?Object.entries(t).reduce((e,[t,r])=>({...e,[t]:r.default_value}),{}):0===Object.keys((null==(r=null==e?void 0:e.design)?void 0:r.fields)??{}).length?{}:Object.entries(null==(o=null==e?void 0:e.design)?void 0:o.fields).reduce((e,[t,r])=>0===Object.keys((null==r?void 0:r.values)??{}).length?e:{...e,[t]:r.values},{})}},29398:function(e,t,r){"use strict";r.d(t,{w:function(){return p},G:function(){return u}});var o=r(33141),i=r(67294);let l=e=>{let t=Object.keys(e).sort((t,r)=>e[r]-e[t]);return t.map((r,o)=>{let i="",l=e[r],s=t[o-1],d=s?e[s]:null;return l>=0&&(i=`(min-width: ${l}px)`),null!==d&&(i&&(i+=" and "),i+=`(max-width: ${d-1}px)`),{breakpoint:r,maxWidth:d?d-1:null,minWidth:l,query:i}})},s=typeof window>"u"?i.useEffect:i.useLayoutEffect,d={breakpoint:void 0,minWidth:void 0,maxWidth:void 0},c=(e,t,r=!0)=>{let o=(0,i.useMemo)(()=>l(e),[e]),[c,u]=(0,i.useState)(()=>{for(let{query:e,...i}of o)if("u">typeof window&&!(t&&r)){if(window.matchMedia(e).matches)return i}else if(i.breakpoint===t)return i;return d}),p=(0,i.useCallback)(({matches:e},t)=>{e&&u(t)},[]);return s(()=>{let e=o.map(({query:e,...t})=>{let r=window.matchMedia(e);p(r,t);let o=e=>{p(e,t)},i="addEventListener"in r&&"removeEventListener"in r;return i?r.addEventListener("change",o):r.addListener(o),()=>{i?r.removeEventListener("change",o):r.removeListener(o)}});return()=>e.forEach(e=>e())},[o,p]),(0,i.useDebugValue)(c,e=>"string"==typeof e.breakpoint?`${e.breakpoint} (${e.minWidth} ⤠x${e.maxWidth?` < ${e.maxWidth+1}`:""})`:""),c},u=e=>c(o.AV,"unknown"===e?void 0:"s"),p=({currentBp:e,bp:t,range:r})=>{let o=["s","m","l","xl","xxl"];if(!o.includes(t))return console.error(`Breakpoint '${t}' is not supported`),!1;let i=o.indexOf(t);switch(r){case"up":return o.slice(i).includes(e);case"down":return o.slice(0,i+1).includes(e);case"only":return e===t;default:throw"Only 'up', 'down', 'only' ranges are supported"}}},83491:function(e,t,r){"use strict";let o;r.d(t,{h:function(){return er}});var i=[],l="ResizeObserver loop completed with undelivered notifications.",s=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:l}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=l),window.dispatchEvent(e)};(d=c||(c={})).BORDER_BOX="border-box",d.CONTENT_BOX="content-box",d.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var d,c,u,p=function(e){return Object.freeze(e)},f=function(e,t){this.inlineSize=e,this.blockSize=t,p(this)},m=function(){function e(e,t,r,o){return this.x=e,this.y=t,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,p(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},g=function(e){if(h(e)){var t=e.getBBox(),r=t.width,o=t.height;return!r&&!o}var i=e.offsetWidth,l=e.offsetHeight;return!(i||l||e.getClientRects().length)},v=function(e){if(e instanceof Element)return!0;var t,r=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},y=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},b="u">typeof window?window:{},x=new WeakMap,w=/auto|scroll/,k=/^tb|vertical/,_=/msie|trident/i.test(b.navigator&&b.navigator.userAgent),C=function(e){return parseFloat(e||"0")},$=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new f((r?t:e)||0,(r?e:t)||0)},S=p({devicePixelContentBoxSize:$(),borderBoxSize:$(),contentBoxSize:$(),contentRect:new m(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),x.has(e)&&!t)return x.get(e);if(g(e))return x.set(e,S),S;var r=getComputedStyle(e),o=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!_&&"border-box"===r.boxSizing,l=k.test(r.writingMode||""),s=!o&&w.test(r.overflowY||""),d=!o&&w.test(r.overflowX||""),c=o?0:C(r.paddingTop),u=o?0:C(r.paddingRight),f=o?0:C(r.paddingBottom),v=o?0:C(r.paddingLeft),y=o?0:C(r.borderTopWidth),b=o?0:C(r.borderRightWidth),E=o?0:C(r.borderBottomWidth),j=o?0:C(r.borderLeftWidth),N=v+u,T=c+f,P=j+b,A=y+E,O=d?e.offsetHeight-A-e.clientHeight:0,R=s?e.offsetWidth-P-e.clientWidth:0,D=o?o.width:C(r.width)-(i?N+P:0)-R,M=o?o.height:C(r.height)-(i?T+A:0)-O,L=D+N+R+P,I=M+T+O+A,F=p({devicePixelContentBoxSize:$(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),l),borderBoxSize:$(L,I,l),contentBoxSize:$(D,M,l),contentRect:new m(v,c,D,M)});return x.set(e,F),F},j=function(e,t,r){var o=E(e,r),i=o.borderBoxSize,l=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(t){case c.DEVICE_PIXEL_CONTENT_BOX:return s;case c.BORDER_BOX:return i;default:return l}},N=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=p([t.borderBoxSize]),this.contentBoxSize=p([t.contentBoxSize]),this.devicePixelContentBoxSize=p([t.devicePixelContentBoxSize])},T=function(e){if(g(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},P=function(){var e=1/0,t=[];
52i.forEach(function(r){if(0!==r.activeTargets.length){var o=[];r.activeTargets.forEach(function(t){var r=new N(t.target),i=T(t.target);o.push(r),t.lastReportedSize=j(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){r.callback.call(r.observer,o,r.observer)}),r.activeTargets.splice(0,r.activeTargets.length)}});for(var r=0;r<t.length;r++)(0,t[r])();return e},A=function(e){i.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(r){r.isActive()&&(T(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))})})},O=function(){var e=0;for(A(0);i.some(function(e){return e.activeTargets.length>0});)A(e=P());return i.some(function(e){return e.skippedTargets.length>0})&&s(),e>0},R=[],D=function(e){if(!u){var t=0,r=document.createTextNode("");new MutationObserver(function(){return R.splice(0).forEach(function(e){return e()})}).observe(r,{characterData:!0}),u=function(){r.textContent="".concat(t?t--:t++)}}R.push(e),u()},M=function(e){D(function(){requestAnimationFrame(e)})},L=0,I={attributes:!0,characterData:!0,childList:!0,subtree:!0},F=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],B=function(e){return void 0===e&&(e=0),Date.now()+e},V=!1,z=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!V){V=!0;var r=B(e);M(function(){var o=!1;try{o=O()}finally{if(V=!1,e=r-B(),!L)return;o?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,I)};document.body?t():b.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),F.forEach(function(t){return b.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),F.forEach(function(t){return b.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),H=function(e){!L&&e>0&&z.start(),(L+=e)||z.stop()},U=function(){function e(e,t){this.target=e,this.observedBox=t||c.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=j(this.target,this.observedBox,!0);return h(e=this.target)||y(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Z=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},W=new WeakMap,K=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return -1},q=function(){function e(){}return e.connect=function(e,t){var r=new Z(e,t);W.set(e,r)},e.observe=function(e,t,r){var o=W.get(e),l=0===o.observationTargets.length;0>K(o.observationTargets,t)&&(l&&i.push(o),o.observationTargets.push(new U(t,r&&r.box)),H(1),z.schedule())},e.unobserve=function(e,t){var r=W.get(e),o=K(r.observationTargets,t),l=1===r.observationTargets.length;o>=0&&(l&&i.splice(i.indexOf(r),1),r.observationTargets.splice(o,1),H(-1))},e.disconnect=function(e){var t=this,r=W.get(e);r.observationTargets.slice().forEach(function(r){return t.unobserve(e,r.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),G=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");q.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");q.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!v(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");q.unobserve(this,e)},e.prototype.disconnect=function(){q.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),J=r(67294);let Y=J["u">typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"],X=e=>{let t=J.useRef(e);return J.useEffect(()=>{t.current=e}),t},Q="u">typeof window&&"ResizeObserver"in window?window.ResizeObserver:G;function ee(){}let et=()=>o||(o=function(){let e=!1,t=[],r=new Map,o=new Q((o,i)=>{t=t.concat(o),e||window.requestAnimationFrame(function(){let o=new Set;for(let e=0;e<t.length;e++){if(o.has(t[e].target))continue;o.add(t[e].target);let l=r.get(t[e].target);null==l||l.forEach(r=>r(t[e],i))}t=[],e=!1}),e=!0});return{observer:o,subscribe(e,t){var i;o.observe(e);let l=null!==(i=r.get(e))&&void 0!==i?i:[];l.push(t),r.set(e,l)},unsubscribe(e,t){var i;let l=null!==(i=r.get(e))&&void 0!==i?i:[];if(1===l.length){o.unobserve(e),r.delete(e);return}let s=l.indexOf(t);-1!==s&&l.splice(s,1),r.set(e,l)}}}()),en={height:0,width:0,x:0,y:0,bottom:0,top:0,left:0,right:0,toJSON:()=>{}},er=e=>{let[t,r]=J.useState(en);return typeof window>"u"||function(e,t){let r=et(),o=X(t);Y(()=>{let t=!1,i=e&&"current"in e?e.current:e;if(!i)return ee;function l(e,r){t||o.current(e,r)}return r.subscribe(i,l),()=>{t=!0,r.unsubscribe(i,l)}},[e,r,o]),r.observer}(e,e=>r(e.contentRect)),t}},33806:function(e,t,r){"use strict";r.d(t,{i:function(){return i}});
52let o="var(--spacing-spacing-0, 0px)",i=e=>{let t={"--gap-space-s":o,"--gap-space-md":o,"--gap-space-lg":o,"--gap-space-xl":o,"--gap-space-2xl":o};if(!e)return t;let r=e=>""===e;if("string"==typeof e){if("none"===e||r(e))return t;let o=`var(--spacing-spacing-${e})`;return{"--gap-space-s":o,"--gap-space-md":o,"--gap-space-lg":o,"--gap-space-xl":o,"--gap-space-2xl":o}}if("object"==typeof e&&e){let i={...t},l=["s","m","l","xl","xxl"],s=["--gap-space-s","--gap-space-md","--gap-space-lg","--gap-space-xl","--gap-space-2xl"],d=o;for(let t=0;t<l.length;t++){let c=l[t],u=s[t],p=e[c];void 0===p||r(p)||(d="none"===p?o:`var(--spacing-spacing-${p})`),i[u]=d}return i}return t}},74752:function(e,t,r){"use strict";r.d(t,{S:function(){return i}});var o=r(67294);let i=(e,{threshold:t=0,root:r=null,rootMargin:i="0%",freezeOnceVisible:l=!0,onChange:s})=>{let[d,c]=(0,o.useState)(),u=(0,o.useRef)(s);u.current=s;let p=(null==d?void 0:d.isIntersecting)&&l,f=([e])=>{var t;c(e),null==(t=u.current)||t.call(u,e)};return(0,o.useEffect)(()=>{let o=null==e?void 0:e.current;if(!window.IntersectionObserver||p||!o)return;let l=new IntersectionObserver(f,{threshold:t,root:r,rootMargin:i});return l.observe(o),()=>l.disconnect()},[null==e?void 0:e.current,JSON.stringify(t),r,i,p]),d}},1319:function(e,t,r){"use strict";r.d(t,{T:function(){return l}});var o=r(67294);let i="(prefers-reduced-motion: no-preference)",l=()=>{let[e,t]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{let e=window.matchMedia(i);t(!window.matchMedia(i).matches);let r=e=>{t(!e.matches)};return e.addEventListener("change",r),()=>{e.removeEventListener("change",r)}},[]),e}},19457:function(e,t,r){"use strict";r.d(t,{E:function(){return i}});var o=r(67294);function i(e){let[t,r]=(0,o.useState)(!1),i=(0,o.useRef)(null),l=(0,o.useCallback)(()=>{var t;if(null!=e&&e.current){let t=e.current;for(;t;){let e=t.getAttribute("dir");if(e)return"rtl"===e;t=t.parentElement}}return!(typeof document>"u")&&"rtl"===((null==(t=null==document?void 0:document.documentElement)?void 0:t.dir)||(null==document?void 0:document.dir)||"ltr")},[e]);return(0,o.useEffect)(()=>{if(r(l()),i.current="u">typeof MutationObserver?new MutationObserver(()=>{r(l())}):null,i.current){if("u">typeof document&&document.documentElement&&i.current.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),null!=e&&e.current){let t=e.current;for(;t;)i.current.observe(t,{attributes:!0,attributeFilter:["dir"]}),t=t.parentElement}return()=>{i.current&&i.current.disconnect()}}},[l,e]),t}},96518:function(e,t,r){"use strict";r.d(t,{N:function(){return l}});var o=r(83563);let i={pl:"ps",pr:"pe",ml:"ms",mr:"me"},l=e=>!e||0===Object.keys(e).length||typeof e>"u"?"":Object.entries(e).reduce((e,[t,r])=>{if(!r||"object"!=typeof r)return e;let l=Object.entries(r).reduce((e,[r,l])=>{let s=i[r]??r;return[...e,`${"s"!==t?`${o.r[t]}:`:""}${s}-${l}`]},[]);return`${e}${e?" ":""}${l.join(" ")}`},"")},41424:function(e,t,r){"use strict";r.d(t,{D:function(){return l}});var o=r(24579);function i(e){return"object"==typeof e&&null!==e&&("s"in e||"m"in e||"l"in e||"xl"in e||"xxl"in e)}function l(e,t,r){let l={};for(let[e,s]of Object.entries(r))if(i(s)){let r=(0,o.v9)(s,t)||"s";l[e]=s[r]}else l[e]=s;for(let[r,d]of Object.entries(e))if(i(d)){let e=s(Object.entries(d).reduce((e,[t,r])=>(null!==r&&"u">typeof r&&(e[t]=r),e),{})),i=(0,o.v9)(e,t)||"s";null!==e[i]&&"u">typeof e[i]&&(l[r]=e[i])}else null!==d&&"u">typeof d&&(l[r]=d);return l}let s=e=>{var t;return"s"in e?e:(e.s=null==(t=Object.values((0,o.H2)(e)).filter(e=>"u">typeof e))?void 0:t[0],(0,o.H2)(e))}},33141:function(e,t,r){"use strict";r.d(t,{AV:function(){return l},Bn:function(){return o},GT:function(){return i},V4:function(){return s}});let o="https://s3.eu-central-1.amazonaws.com/cdn.ef.design/libs/backpack/latest/components",i="https://s3.eu-central-1.amazonaws.com/cdn.ef.design/libs/backpack/latest/src/storyblok/assets/icons",l={s:0,m:768,l:1024,xl:1240,xxl:1440},s=1440},39564:function(e,t,r){"use strict";r.d(t,{oH:function(){return s},pP:function(){return c},s0:function(){return d}});var o=r(85893),i=r(67294);let l=(0,i.createContext)(null),s=({theme:e,mono:t,children:r})=>{let s=(0,i.useContext)(l),d=(0,i.useMemo)(()=>({theme:e??(null==s?void 0:s.theme)??"light",mono:t??(null==s?void 0:s.mono)??!1}),[e,t,null==s?void 0:s.theme,null==s?void 0:s.mono]);return(0,o.jsx)(l.Provider,{value:d,children:r})},d=()=>(0,i.useContext)(l),c=e=>e?`${e.theme} ${e.mono?"mono":"non-mono"}`:""},66780:function(e,t,r){"use strict";var o;r.d(t,{x:function(){return i}});let i={all:o=o||new Map,on:function(e,t){var r=o.get(e);r?r.push(t):o.set(e,[t])},off:function(e,t){var r=o.get(e);r&&(t?r.splice(r.indexOf(t)>>>0,1):o.set(e,[]))},emit:function(e,t){var r=o.get(e);r&&r.slice().map(function(e){e(t)}),(r=o.get("*"))&&r.slice().map(function(r){r(e,t)})}}},51195:function(e,t,r){"use strict";function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return o}})},54144:function(e,t,r){"use strict";r.d(t,{AQ:function(){return b},aw:function(){return f},oz:function(){return v},qp:function(){return h}});var o=r(31308),i=r(12479),l=r(21041),s=r(32425),d=r(25286),c=r(58081);function u(e){let t="object"==typeof e[0]?e.shift():new s.IQ,r;if("string"==typeof e[0])r=e.shift();else{let e=t.getEras();r=e[e.length-1]}return[t,r,e.shift(),e.shift(),e.shift()]}var p=new WeakMap;class f{copy(){return this.era?new f(this.calendar,this.era,this.year,this.month,this.day):new f(this.calendar,this.year,this.month,this.day)}add(e){return(0,o.IH)(this,e)}subtract(e){return(0,o.$X)(this,e)}set(e){return(0,o.t8)(this,e)}cycle(e,t,r){return(0,o.GK)(this,e,t,r)}toDate(e){return(0,d.ZU)(this,e)}toString(){return(0,l.UW)(this)}compare(e){return(0,i.rm)(this,e)}constructor(...e){(0,c._)(this,p,{writable:!0,value:void 0});let[t,r,i,l,s]=u(e);this.calendar=t,this.era=r,this.year=i,this.month=l,this.day=s,(0,o.jH)(this)}}var m=new WeakMap;class h{copy(){return new h(this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,o.yG)(this,e)}subtract(e){return(0,o.U2)(this,e)}set(e){return(0,o.q_)(this,e)}cycle(e,t,r){return(0,o.xC)(this,e,t,r)}toString(){return(0,l.to)(this)}compare(e){return(0,i.Xi)(this,e)}constructor(e=0,t=0,r=0,i=0){(0,c._)(this,m,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=r,this.millisecond=i,(0,o.dW)(this)}}var g=new WeakMap;class v{copy(){return this.era?new v(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new v(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,o.IH)(this,e)}subtract(e){return(0,o.$X)(this,e)}set(e){return(0,o.t8)((0,o.q_)(this,e),e)}cycle(e,t,r){switch(e){case"era":case"year":case"month":case"day":return(0,o.GK)(this,e,t,r);default:return(0,o.xC)(this,e,t,r)}}toDate(e,t){return(0,d.ZU)(this,e,t)}toString(){return(0,l.LM)(this)}compare(e){let t=(0,i.rm)(this,e);return 0===t?(0,i.Xi)(this,(0,d.IO)(e)):t}constructor(...e){(0,c._)(this,g,{writable:!0,value:void 0});let[t,r,i,l,s]=u(e);this.calendar=t,this.era=r,this.year=i,this.month=l,this.day=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,o.jH)(this)}}var y=new WeakMap;class b{copy(){return this.era?new b(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new b(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,o.cW)(this,e)}subtract(e){return(0,o.Co)(this,e)}set(e,t){return(0,o.wC)(this,e,t)}cycle(e,t,r){return(0,o.qr)(this,e,t,r)}toDate(){return(0,d.fk)(this)}toString(){return(0,l.Rf)(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,d.fW)(e,this.timeZone).toDate().getTime()}constructor(...e){(0,c._)(this,y,{writable:!0,value:void 0});let[t,r,i,l,s]=u(e),d=e.shift(),p=e.shift();this.calendar=t,this.era=r,this.year=i,this.month=l,this.day=s,this.timeZone=d,this.offset=p,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,o.jH)(this)}}},61448:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});let o=new Map;class i{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.formatter.format(e)} â ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.formatter.formatToParts(e),o=this.formatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...o.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==c&&(c="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),c&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let r=s(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),o=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(e=>"hour"===e.type).value,10),i=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(e=>"hour"===e.type).value,10);if(0===o&&23===i)return"h23";if(24===o&&23===i)return"h24";if(0===o&&11===i)return"h11";if(12===o&&11===i)return"h12";throw Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=s(e,t),this.options=t}}let l={true:{ja:"h11"},false:{}};function s(e,t={}){if("boolean"==typeof t.hour12&&(null==d&&(d="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),d)){let r=l[String((t={...t}).hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=r??o,delete t.hour12}let r=e+(t?Object.entries(t).sort((e,t)=>
52e[0]<t[0]?-1:1).join():"");if(o.has(r))return o.get(r);let i=new Intl.DateTimeFormat(e,t);return o.set(r,i),i}let d=null,c=null},32425:function(e,t,r){"use strict";r.d(t,{Eg:function(){return s},IQ:function(){return p},J4:function(){return d},JD:function(){return c},g_:function(){return l}});var o=r(54144),i=r(29790);function l(e,t,r,o){let i=(t=d(e,t))-1,l=-2;return r<=2?l=0:s(t)&&(l=-1),1721425+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*r-362)/12+l+o)}function s(e){return e%4==0&&(e%100!=0||e%400==0)}function d(e,t){return"BC"===e?1-t:t}function c(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}let u={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class p{fromJulianDay(e){let t=e-1721426,r=Math.floor(t/146097),d=(0,i.w)(t,146097),u=Math.floor(d/36524),p=(0,i.w)(d,36524),f=Math.floor(p/1461),m=Math.floor((0,i.w)(p,1461)/365),[h,g]=c(400*r+100*u+4*f+m+(4!==u&&4!==m?1:0)),v=e-l(h,g,1,1),y=2;e<l(h,g,3,1)?y=0:s(g)&&(y=1);let b=Math.floor(((v+y)*12+373)/367),x=e-l(h,g,b,1)+1;return new o.aw(h,g,b,x)}toJulianDay(e){return l(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return u[s(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return s(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}},25286:function(e,t,r){"use strict";r.d(t,{FD:function(){return g},IO:function(){return y},Mw:function(){return b},WG:function(){return v},ZI:function(){return d},ZU:function(){return h},fW:function(){return x},fk:function(){return w},xA:function(){return m}});var o=r(54144),i=r(31308),l=r(32425),s=r(12479);function d(e){return e=b(e,new l.IQ),c((0,l.J4)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function c(e,t,r,o,i,l,s){let d=new Date;return d.setUTCHours(o,i,l,s),d.setUTCFullYear(e,t-1,r),d.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,s.iT)())return -6e4*new Date(e).getTimezoneOffset();let{year:r,month:o,day:i,hour:l,minute:d,second:u}=f(e,t);return c(r,o,i,l,d,u,0)-1e3*Math.floor(e/1e3)}let p=new Map;function f(e,t){let r=p.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),p.set(t,r));let o=r.formatToParts(new Date(e)),i={};for(let e of o)"literal"!==e.type&&(i[e.type]=e.value);return{year:"BC"===i.era||"B"===i.era?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:"24"===i.hour?0:+i.hour,minute:+i.minute,second:+i.second}}function m(e,t,r="compatible"){var o,i,c;let p=y(e);if("UTC"===t)return d(p);if(t===(0,s.iT)()&&"compatible"===r){p=b(p,new l.IQ);let e=new Date,t=(0,l.J4)(p.era,p.year);return e.setFullYear(t,p.month-1,p.day),e.setHours(p.hour,p.minute,p.second,p.millisecond),e.getTime()}let m=d(p),h=u(m-864e5,t),g=u(m+864e5,t),v=(o=p,((i=m-h)==(c=m-g)?[i]:[i,c]).filter(e=>{let r;return r=f(e,t),o.year===r.year&&o.month===r.month&&o.day===r.day&&o.hour===r.hour&&o.minute===r.minute&&o.second===r.second}));if(1===v.length)return v[0];if(v.length>1)switch(r){case"compatible":case"earlier":return v[0];case"later":return v[v.length-1];case"reject":throw RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(m-h,m-g);case"compatible":case"later":return Math.max(m-h,m-g);case"reject":throw RangeError("No such absolute time found")}}function h(e,t,r="compatible"){return new Date(m(e,t,r))}function g(e,t){let r=u(e,t),i=new Date(e+r),l=i.getUTCFullYear(),s=i.getUTCMonth()+1,d=i.getUTCDate(),c=i.getUTCHours(),p=i.getUTCMinutes(),f=i.getUTCSeconds(),m=i.getUTCMilliseconds();return new o.AQ(l<1?"BC":"AD",l<1?-l+1:l,s,d,t,r,c,p,f,m)}function v(e){return new o.aw(e.calendar,e.era,e.year,e.month,e.day)}function y(e,t){let r=0,i=0,l=0,s=0;if("timeZone"in e)({hour:r,minute:i,second:l,millisecond:s}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:i,second:l,millisecond:s}=t),new o.oz(e.calendar,e.era,e.year,e.month,e.day,r,i,l,s)}function b(e,t){if((0,s.jv)(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),o=e.copy();return o.calendar=t,o.era=r.era,o.year=r.year,o.month=r.month,o.day=r.day,(0,i.jH)(o),o}function x(e,t,r){return e instanceof o.AQ?e.timeZone===t?e:b(g(d(e)-e.offset,t),e.calendar):g(m(e,t,r),t)}function w(e){return new Date(d(e)-e.offset)}},45634:function(e,t,r){"use strict";let o,i;r.d(t,{Y:function(){return J}});var l=r(54144),s=r(32425);class d extends s.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),r=(0,s.J4)(t.era,t.year);return new l.aw(this,r- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(c(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(c(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function c(e){let[t,r]=(0,s.JD)(e.year+-543);return new l.aw(t,r,e.month,e.day)}function u(e,t,r,o){return e+365*t+Math.floor(t/4)+30*(r-1)+o-1}function p(e,t){let r=Math.floor(4*(t-e)/1461),o=1+Math.floor((t-u(e,r,1,1
52))/30),i=t+1-u(e,r,o,1);return[r,o,i]}function f(e){return Math.floor(e%4/3)}function m(e,t){return t%13!=0?30:f(e)+5}class h{fromJulianDay(e){let[t,r,o]=p(1723856,e),i="AM";return t<=0&&(i="AA",t+=5500),new l.aw(this,i,t,r,o)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=5500),u(1723856,t,e.month,e.day)}getDaysInMonth(e){return m(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+f(e.year)}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class g extends h{fromJulianDay(e){let[t,r,o]=p(1723856,e);return t+=5500,new l.aw(this,"AA",t,r,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class v extends h{fromJulianDay(e){let[t,r,o]=p(1824665,e),i="CE";return t<=0&&(i="BCE",t=1-t),new l.aw(this,i,t,r,o)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),u(1824665,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),m(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}var y=r(29790);function b(e){return 7>(0,y.w)(7*e+1,19)}function x(e){let t=Math.floor((235*e-234)/19),r=29*t+Math.floor((12084+13753*t)/25920);return 3>(0,y.w)(3*(r+1),7)&&(r+=1),r}function w(e){let t,r;return x(e)+(t=x(e-1),r=x(e),x(e+1)-r==356?2:r-t==382?1:0)}function k(e){return w(e+1)-w(e)}function _(e,t){if(t>=6&&!b(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let r=function(e){let t=k(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===r?30:29:3===t?0===r?29:30:6===t?b(e)?30:0:30}class C{fromJulianDay(e){let t=e-347997,r=Math.floor((25920*t/765433*19+234)/235)+1,o=w(r),i=Math.floor(t-o);for(;i<1;)i=Math.floor(t-(o=w(--r)));let s=1,d=0;for(;d<i;)d+=_(r,s),s++;let c=i-(d-=_(r,--s));return new l.aw(this,r,s,c)}toJulianDay(e){let t=w(e.year);for(let r=1;r<e.month;r++)t+=_(e.year,r);return t+e.day+347997}getDaysInMonth(e){return _(e.year,e.month)}getMonthsInYear(e){return b(e.year)?13:12}getDaysInYear(e){return k(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(b(t.year)&&!b(e.year)&&t.month>6?e.month--:!b(t.year)&&b(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}class $ extends s.IQ{fromJulianDay(e){let t,r,o=super.fromJulianDay(e),i=o.year-78,d=e-(0,s.g_)(o.era,o.year,1,1),c;if(d<80?(i--,d+=(c=(0,s.Eg)(o.year-1)?31:30)+155+90+10):(c=(0,s.Eg)(o.year)?31:30,d-=80),d<c)t=1,r=d+1;else{let e=d-c;e<155?(t=Math.floor(e/31)+2,r=e%31+1):(e-=155,t=Math.floor(e/30)+7,r=e%30+1)}return new l.aw(this,i,t,r)}toJulianDay(e){let t=e.year+78,[r,o]=(0,s.JD)(t),i,l;return(0,s.Eg)(o)?(i=31,l=(0,s.g_)(r,o,3,21)):(i=30,l=(0,s.g_)(r,o,3,22)),1===e.month?l+e.day-1:(l+=i+31*Math.min(e.month-2,5),e.month>=8&&(l+=(e.month-7)*30),l+=e.day-1)}getDaysInMonth(e){return 1===e.month&&(0,s.Eg)(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}function S(e,t,r,o){return o+Math.ceil(29.5*(r-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function E(e,t,r){let o=Math.floor((30*(r-t)+10646)/10631),i=Math.min(12,Math.ceil((r-(29+S(t,o,1,1)))/29.5)+1),s=r-S(t,o,i,1)+1;return new l.aw(e,o,i,s)}function j(e){return(14+11*e)%30<11}class N{fromJulianDay(e){return E(this,1948440,e)}toJulianDay(e){return S(1948440,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&j(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return j(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class T extends N{fromJulianDay(e){return E(this,1948439,e)}toJulianDay(e){return S(1948439,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}function P(e){return 460322+i[e-1300]}function A(e,t){return o[e-1300]&1<<11-(t-1)?30:29}function O(e,t){let r=P(e);for(let o=1;o<t;o++)r+=A(e,o);return r}function R(e){return i[e+1-1300]-i[e-1300]}class D extends N{fromJulianDay(e){let t=e-1948440,r=P(1300),o=P(1600);if(t<r||t>o)return super.fromJulianDay(e);{let e=1299,r=1,o=1;for(;o>0;){o=t-P(++e)+1;let i=R(e);if(o===i){r=12;break}if(o<i){let t=A(e,r);for(r=1;o>t;)o-=t,t=A(e,++r);break}}return new l.aw(this,e,r,t-O(e,r)+1)}}toJulianDay(e){return e.year<1300||e.year>1600?super.toJulianDay(e):1948440+O(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<1300||e.year>1600?super.getDaysInMonth(e):A(e.year,e.month)}getDaysInYear(e){return e.year<1300||e.year>1600?super.getDaysInYear(e):R(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",o||(o=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),e=>e.charCodeAt(0)).buffer)),!i){i=new Uint32Array(301);let e=0;for(let t=1300;t<=1600;t++){i[t-1300]=e;for(let r=1;r<=12;r++)e+=A(t,r)}}}}let M=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],L=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],I=[1867,1911,1925,1988,2018],F=["meiji","taisho","showa","heisei","reiwa"];function B(e){let t=M.findIndex(([t,r,o])=>e.year<t||e.year===t&&e.month<r||e.year===t&&e.month===r&&e.day<o);return -1===t?M.length-1:0===t?0:t-1}function V(e){let t=I[F.indexOf(e.era)];if(!t)throw Error("Unknown era: "+e.era);return new l.aw(e.year+t,e.month,e.day)}class z extends s.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),r=B(t);return new l.aw(this,F[r],t.year-I[r],t.month,t.day)}toJulianDay(e){return super.toJulianDay(V(e))}balanceDate(e){let t=V(e),r=B(t);F[r]!==e.era&&(e.era=F[r],e.year=t.year-I[r]),this.constrainDate(e)}constrainDate(e){let t=F.indexOf(e.era),r=L[t];if(null!=r){let[o,i,l]=r,s=o-I[t];e.year=Math.max(1,Math.min(s,e.year)),e.year===s&&(e.month=Math.min(i,e.month),e.month===i&&(e.day=Math.min(l,e.day)))}if(1===e.year&&t>=0){let[,r,o]=M[t];e.month=Math.max(r,e.month),e.month===r&&(e.day=Math.max(o,e.day))}}getEras(){return F}getYearsInEra(e){let t=F.indexOf(e.era),r=M[t],o=M[t+1];if(null==o)return 9999-r[0]+1;let i=o[0]-r[0];return(e.month<o[1]||e.month===o[1]&&e.day<o[2])&&i++,i}getDaysInMonth(e){return super.getDaysInMonth(V(e))}getMinimumMonthInYear(e){let t=H(e);return t?t[1]:1}
52getMinimumDayInMonth(e){let t=H(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function H(e){if(1===e.year)return M[F.indexOf(e.era)]}let U=[0,31,62,93,124,155,186,216,246,276,306,336];class Z{fromJulianDay(e){let t=e-1948320,r=1+Math.floor((33*t+3)/12053),o=t-(365*(r-1)+Math.floor((8*r+21)/33)),i=o<216?Math.floor(o/31):Math.floor((o-6)/30),s=o-U[i]+1;return new l.aw(this,r,i+1,s)}toJulianDay(e){return 1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33)+(U[e.month-1]+e.day)}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||8>(0,y.w)(25*e.year+11,33)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}function W(e){return"minguo"===e.era?e.year+1911:1-e.year+1911}function K(e){let t=e-1911;return t>0?["minguo",t]:["before_minguo",1-t]}class q extends s.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),[r,o]=K((0,s.J4)(t.era,t.year));return new l.aw(this,r,o,t.month,t.day)}toJulianDay(e){return super.toJulianDay(G(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,r]=K(W(e));e.era=t,e.year=r}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(G(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:8088}constructor(...e){super(...e),this.identifier="roc"}}function G(e){let[t,r]=(0,s.JD)(W(e));return new l.aw(t,r,e.month,e.day)}function J(e){switch(e){case"buddhist":return new d;case"ethiopic":return new h;case"ethioaa":return new g;case"coptic":return new v;case"hebrew":return new C;case"indian":return new $;case"islamic-civil":return new N;case"islamic-tbla":return new T;case"islamic-umalqura":return new D;case"japanese":return new z;case"persian":return new Z;case"roc":return new q;default:return new s.IQ}}},31308:function(e,t,r){"use strict";r.d(t,{$X:function(){return f},Co:function(){return $},GK:function(){return w},IH:function(){return l},U2:function(){return x},cW:function(){return C},dW:function(){return g},jH:function(){return u},q_:function(){return h},qr:function(){return S},t8:function(){return m},wC:function(){return E},xC:function(){return k},yG:function(){return b}});var o=r(25286),i=r(32425);function l(e,t){let r=e.copy(),o="hour"in r?y(r,t):0;s(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,d(r),c(r),r.day+=7*(t.weeks||0),r.day+=t.days||0,r.day+=o,function(e){for(;e.day<1;)e.month--,d(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,d(e)}(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let i=r.calendar.getYearsInEra(r);if(r.year>i){var l,u;let e=null===(l=(u=r.calendar).isInverseEra)||void 0===l?void 0:l.call(u,r);r.year=i,r.month=e?1:r.calendar.getMonthsInYear(r),r.day=e?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let p=r.calendar.getMonthsInYear(r);return r.month>p&&(r.month=p,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function s(e,t){var r,o;!(null===(r=(o=e.calendar).isInverseEra)||void 0===r)&&r.call(o,e)&&(t=-t),e.year+=t}function d(e){for(;e.month<1;)s(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,s(e,1)}function c(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function u(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),c(e)}function p(e){let t={};for(let r in e)"number"==typeof e[r]&&(t[r]=-e[r]);return t}function f(e,t){return l(e,p(t))}function m(e,t){let r=e.copy();return null!=t.era&&(r.era=t.era),null!=t.year&&(r.year=t.year),null!=t.month&&(r.month=t.month),null!=t.day&&(r.day=t.day),u(r),r}function h(e,t){let r=e.copy();return null!=t.hour&&(r.hour=t.hour),null!=t.minute&&(r.minute=t.minute),null!=t.second&&(r.second=t.second),null!=t.millisecond&&(r.millisecond=t.millisecond),g(r),r}function g(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function v(e,t){let r=e%t;return r<0&&(r+=t),r}function y(e,t){let r;return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,e.second+=Math.floor(e.millisecond/1e3),e.millisecond=v(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=v(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=v(e.minute,60),r=Math.floor(e.hour/24),e.hour=v(e.hour,24),r}function b(e,t){let r=e.copy();return y(r,t),r}function x(e,t){return b(e,p(t))}function w(e,t,r,o){let i=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),l=t.indexOf(e.era);if(l<0)throw Error("Invalid era: "+e.era);
52l=_(l,r,0,t.length-1,null==o?void 0:o.round),i.era=t[l],u(i);break}case"year":var l,s;!(null===(l=(s=i.calendar).isInverseEra)||void 0===l)&&l.call(s,i)&&(r=-r),i.year=_(e.year,r,-1/0,9999,null==o?void 0:o.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=_(e.month,r,1,e.calendar.getMonthsInYear(e),null==o?void 0:o.round);break;case"day":i.day=_(e.day,r,1,e.calendar.getDaysInMonth(e),null==o?void 0:o.round);break;default:throw Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),u(i),i}function k(e,t,r,o){let i=e.copy();switch(t){case"hour":{let t=e.hour,l=0,s=23;if((null==o?void 0:o.hourCycle)===12){let e=t>=12;l=e?12:0,s=e?23:11}i.hour=_(t,r,l,s,null==o?void 0:o.round);break}case"minute":i.minute=_(e.minute,r,0,59,null==o?void 0:o.round);break;case"second":i.second=_(e.second,r,0,59,null==o?void 0:o.round);break;case"millisecond":i.millisecond=_(e.millisecond,r,0,999,null==o?void 0:o.round);break;default:throw Error("Unsupported field "+t)}return i}function _(e,t,r,o,i=!1){if(i){(e+=Math.sign(t))<r&&(e=o);let i=Math.abs(t);(e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i)>o&&(e=r)}else(e+=t)<r?e=o-(r-e-1):e>o&&(e=r+(e-o-1));return e}function C(e,t){let r;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let i=l((0,o.IO)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=(0,o.xA)(i,e.timeZone)}else r=(0,o.ZI)(e)-e.offset;r+=(t.milliseconds||0)+1e3*(t.seconds||0)+6e4*(t.minutes||0)+36e5*(t.hours||0);let i=(0,o.FD)(r,e.timeZone);return(0,o.Mw)(i,e.calendar)}function $(e,t){return C(e,p(t))}function S(e,t,r,l){switch(t){case"hour":{let t=0,s=23;if((null==l?void 0:l.hourCycle)===12){let r=e.hour>=12;t=r?12:0,s=r?23:11}let d=(0,o.IO)(e),c=(0,o.Mw)(h(d,{hour:t}),new i.IQ),u=[(0,o.xA)(c,e.timeZone,"earlier"),(0,o.xA)(c,e.timeZone,"later")].filter(t=>(0,o.FD)(t,e.timeZone).day===c.day)[0],p=(0,o.Mw)(h(d,{hour:s}),new i.IQ),f=[(0,o.xA)(p,e.timeZone,"earlier"),(0,o.xA)(p,e.timeZone,"later")].filter(t=>(0,o.FD)(t,e.timeZone).day===p.day).pop(),m=(0,o.ZI)(e)-e.offset,g=Math.floor(m/36e5),v=m%36e5;return m=36e5*_(g,r,Math.floor(u/36e5),Math.floor(f/36e5),null==l?void 0:l.round)+v,(0,o.Mw)((0,o.FD)(m,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return k(e,t,r,l);case"era":case"year":case"month":case"day":{let i=w((0,o.IO)(e),t,r,l),s=(0,o.xA)(i,e.timeZone);return(0,o.Mw)((0,o.FD)(s,e.timeZone),e.calendar)}default:throw Error("Unsupported field "+t)}}function E(e,t,r){let i=(0,o.IO)(e),l=h(m(i,t),t);if(0===l.compare(i))return e;let s=(0,o.xA)(l,e.timeZone,r);return(0,o.Mw)((0,o.FD)(s,e.timeZone),e.calendar)}},12479:function(e,t,r){"use strict";r.d(t,{rm:function(){return h},Xi:function(){return g},Vf:function(){return w},vV:function(){return S},ji:function(){return p},iT:function(){return b},PA:function(){return C},jx:function(){return _},Rn:function(){return N},jv:function(){return d},N9:function(){return s},KC:function(){return l},zk:function(){return c},l7:function(){return P},Mb:function(){return T},zO:function(){return f},Nm:function(){return x},zJ:function(){return $},em:function(){return k},Lg:function(){return m}});var o=r(25286);let i={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function l(e,t){return t=(0,o.Mw)(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function s(e,t){return d(e.calendar,t.calendar)&&l(e,t)}function d(e,t){var r,o,i,l;return null!==(l=null!==(i=null===(r=e.isEqual)||void 0===r?void 0:r.call(e,t))&&void 0!==i?i:null===(o=t.isEqual)||void 0===o?void 0:o.call(t,e))&&void 0!==l?l:e.identifier===t.identifier}function c(e,t){return l(e,m(t))}let u={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function p(e,t,r){let o=Math.ceil(e.calendar.toJulianDay(e)+1-(r?u[r]:function(e){let t=j.get(e);if(!t){if(Intl.Locale){let r=new Intl.Locale(e);
52if("getWeekInfo"in r&&(t=r.getWeekInfo()))return j.set(e,t),t.firstDay}let r=function(e){if(Intl.Locale){let t=E.get(e);return t||(t=new Intl.Locale(e).maximize().region)&&E.set(e,t),t}let t=e.split("-")[1];return"u"===t?void 0:t}(e);if(e.includes("-fw-")){let r=e.split("-fw-")[1].split("-")[0];t="mon"===r?{firstDay:1}:"tue"===r?{firstDay:2}:"wed"===r?{firstDay:3}:"thu"===r?{firstDay:4}:"fri"===r?{firstDay:5}:"sat"===r?{firstDay:6}:{firstDay:0}}else t=e.includes("-ca-iso8601")?{firstDay:1}:{firstDay:r&&i[r]||0};j.set(e,t)}return t.firstDay}(t)))%7;return o<0&&(o+=7),o}function f(e){return(0,o.FD)(Date.now(),e)}function m(e){return(0,o.WG)(f(e))}function h(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function g(e,t){return v(e)-v(t)}function v(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let y=null;function b(){return null==y&&(y=new Intl.DateTimeFormat().resolvedOptions().timeZone),y}function x(e){return e.subtract({days:e.day-1})}function w(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function k(e){return x(e.subtract({months:e.month-1}))}function _(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function C(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function $(e,t,r){let o=p(e,t,r);return e.subtract({days:o})}function S(e,t,r){return $(e,t,r).add({days:6})}let E=new Map,j=new Map;function N(e,t,r){let o=e.calendar.getDaysInMonth(e);return Math.ceil((p(x(e),t,r)+o)/7)}function T(e,t){return e&&t?0>=e.compare(t)?e:t:e||t}function P(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}},21041:function(e,t,r){"use strict";r.d(t,{LM:function(){return m},Rf:function(){return h},UW:function(){return f},sG:function(){return c},to:function(){return p}});var o=r(54144),i=r(25286),l=r(32425);let s=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,d=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function c(e){let t=e.match(s);if(!t)throw d.test(e)?Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`):Error("Invalid ISO 8601 date string: "+e);let r=new o.aw(u(t[1],0,9999),u(t[2],1,12),1);return r.day=u(t[3],1,r.calendar.getDaysInMonth(r)),r}function u(e,t,r){let o=Number(e);if(o<t||o>r)throw RangeError(`Value out of range: ${t} <= ${o} <= ${r}`);return o}function p(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function f(e){let t=(0,i.Mw)(e,new l.IQ),r;return r="BC"===t.era?1===t.year?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function m(e){return`${f(e)}T${p(e)}`}function h(e){var t;let r,o,i,l,s;return`${m(e)}${r=0>Math.sign(t=e.offset)?"-":"+",o=Math.floor((t=Math.abs(t))/36e5),i=Math.floor(t%36e5/6e4),l=Math.floor(t%36e5%6e4/1e3),s=`${r}${String(o).padStart(2,"0")}:${String(i).padStart(2,"0")}`,0!==l&&(s+=`:${String(l).padStart(2,"0")}`),s}[${e.timeZone}]`}},29790:function(e,t,r){"use strict";function o(e,t){return e-t*Math.floor(e/t)}r.d(t,{w:function(){return o}})},29136:function(e,t,r){"use strict";r.d(t,{e:function(){return d}});let o=new Map,i=!1;try{i="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let l=!1;try{l="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let s={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class d{format(e){let t="";if(t=i||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,r){if("auto"===t)return e.format(r);if("never"===t)return e.format(Math.abs(r));{let o=!1;if("always"===t?o=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):o=r>0),!o)return e.format(r);{let t=e.format(-r),o=e.format(r),i=t.replace(o,"").replace(/\u200e|\u061C/,"");return 1!=[...i].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(o,"!!!").replace(i,"+").replace("!!!",o)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!l){var r;let{unit:e,unitDisplay:o="short",locale:i}=this.resolvedOptions();if(!e)return t;let l=null===(r=s[e])||void 0===r?void 0:r[o];t+=l[i]||l.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} â ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),o=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" â ",source:"shared"},...o.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return i||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),l||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!l){var i;let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!(!(null===(i=s[e])||void 0===i)&&i[r]))throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let d=e+(t?Object.entries(t).sort((e,t)=>
52e[0]<t[0]?-1:1).join():"");if(o.has(d))return o.get(d);let c=new Intl.NumberFormat(e,t);return o.set(d,c),c}(e,t),this.options=t}}},23038:function(e,t,r){"use strict";let o;r.d(t,{J:function(){return s}});let i=Symbol.for("react-aria.i18n.locale"),l=Symbol.for("react-aria.i18n.strings");class s{getStringForLocale(e,t){let r=this.getStringsForLocale(t)[e];if(!r)throw Error(`Could not find intl message ${e} in ${t} locale`);return r}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,r="en-US"){if(t[e])return t[e];let o=Intl.Locale?new Intl.Locale(e).language:e.split("-")[0];if(t[o])return t[o];for(let e in t)if(e.startsWith(o+"-"))return t[e];return t[r]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let t=window[i];if(void 0===o){let e=window[l];if(!e)return null;for(let r in o={},e)o[r]=new s({[t]:e[r]},t)}let r=null==o?void 0:o[e];if(!r)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}}},61292:function(e,t,r){"use strict";r.d(t,{E:function(){return l}});let o=new Map,i=new Map;class l{format(e,t){let r=this.strings.getStringForLocale(e,this.locale);return"function"==typeof r?r(t,this):r}plural(e,t,r="cardinal"){let i=t["="+e];if(i)return"function"==typeof i?i():i;let l=this.locale+":"+r,s=o.get(l);return s||(s=new Intl.PluralRules(this.locale,{type:r}),o.set(l,s)),"function"==typeof(i=t[s.select(e)]||t.other)?i():i}number(e){let t=i.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),i.set(this.locale,t)),t.format(e)}select(e,t){let r=e[t]||e.other;return"function"==typeof r?r():r}constructor(e,t){this.locale=e,this.strings=t}}},79256:function(e,t,r){"use strict";r.d(t,{R:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));
52v.displayName="CalendarBlank"},34600:function(e,t,r){"use strict";r.d(t,{p:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),o.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));v.displayName="CaretDown"},54474:function(e,t,r){"use strict";r.d(t,{W:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),o.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));v.displayName="CaretLeft"},65243:function(e,t,r){"use strict";r.d(t,{T:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),o.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));
52v.displayName="CaretRight"},38898:function(e,t,r){"use strict";r.d(t,{J:function(){return v}});var o=r(67294),i=r(16018),l=r(64713),s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l.Z})));v.displayName="Check"},88393:function(e,t,r){"use strict";r.d(t,{f:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));v.displayName="CheckCircle"},13178:function(e,t,r){"use strict";r.d(t,{Q:function(){return v}});var o=r(67294),i=r(16018);let l=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"}))]]);var s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l})));v.displayName="WarningCircle"},17729:function(e,t,r){"use strict";r.d(t,{X:function(){return v}});var o=r(67294),i=r(16018),l=r(61815),s=Object.defineProperty,d=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,h=(e,t)=>{for(var r in t||(t={}))p.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},g=(e,t)=>d(e,c(t));let v=(0,o.forwardRef)((e,t)=>o.createElement(i.Z,g(h({ref:t},e),{weights:l.Z})));v.displayName="X"},64713:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var o=r(67294);let i=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",o
52pacity:"0.2"}),o.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]])},61815:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var o=r(67294);let i=new Map([["bold",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",o.createElement(o.Fragment,null,o.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),o.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",o.createElement(o.Fragment,null,o.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",o.createElement(o.Fragment,null,o.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",o.createElement(o.Fragment,null,o.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",o.createElement(o.Fragment,null,o.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]])},16018:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var o=r(67294);let i=(0,o.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var l=Object.defineProperty,s=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&u(e,r,t[r]);if(s)for(var r of s(t))c.call(t,r)&&u(e,r,t[r]);return e},f=(e,t)=>{var r={};for(var o in e)d.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&s)for(var o of s(e))0>t.indexOf(o)&&c.call(e,o)&&(r[o]=e[o]);return r};let m=(0,o.forwardRef)((e,t)=>{let{alt:r,color:l,size:s,weight:d,mirrored:c,children:u,weights:m}=e,h=f(e,["alt","color","size","weight","mirrored","children","weights"]),g=(0,o.useContext)(i),{color:v="currentColor",size:y,weight:b="regular",mirrored:x=!1}=g,w=f(g,["color","size","weight","mirrored"]);return o.createElement("svg",p(p({ref:t,xmlns:"http://www.w3.org/2000/svg",width:s??y,height:s??y,fill:l??v,viewBox:"0 0 256 256",transform:c||x?"scale(-1, 1)":void 0},w),h),!!r&&o.createElement("title",null,r),u,m.get(d??b))});m.displayName="IconBase";let h=m},12361:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var o=r(67294),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>
52{for(var r in t||(t={}))s.call(t,r)&&c(e,r,t[r]);if(l)for(var r of l(t))d.call(t,r)&&c(e,r,t[r]);return e},p=(e,t)=>{var r={};for(var o in e)s.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&l)for(var o of l(e))0>t.indexOf(o)&&d.call(e,o)&&(r[o]=e[o]);return r};let f=(0,o.forwardRef)((e,t)=>{let{alt:r,color:i="currentColor",size:l="1em",weight:s="regular",mirrored:d=!1,children:c,weights:f}=e,m=p(e,["alt","color","size","weight","mirrored","children","weights"]);return o.createElement("svg",u({ref:t,xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:i,viewBox:"0 0 256 256",transform:d?"scale(-1, 1)":void 0},m),!!r&&o.createElement("title",null,r),c,f.get(s))});f.displayName="SSRBase";let m=f},92482:function(e,t,r){"use strict";function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(null==e||e(o),!1===r||!o.defaultPrevented)return null==t?void 0:t(o)}}r.d(t,{M:function(){return o}})},37578:function(e,t,r){"use strict";r.d(t,{VY:function(){return Z},ck:function(){return z},fC:function(){return V},h4:function(){return H},xz:function(){return U}});var o=r(51195),i=r(67294),l=r(53234),s=r(10074),d=r(43525),c=r(92482),u=r(15224),p=r(21563),f=r(36077),m=r(84235),h=r(83660);let g="Accordion",v=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[y,b,x]=(0,s.B)(g),[w]=(0,l.b)(g,[x,f.p_]),k=(0,f.p_)(),_=i.forwardRef((e,t)=>{let{type:r,...l}=e;return i.createElement(y.Provider,{scope:e.__scopeAccordion},"multiple"===r?i.createElement(N,(0,o.Z)({},l,{ref:t})):i.createElement(j,(0,o.Z)({},l,{ref:t})))});_.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[C,$]=w(g),[S,E]=w(g,{collapsible:!1}),j=i.forwardRef((e,t)=>{let{value:r,defaultValue:l,onValueChange:s=()=>{},collapsible:d=!1,...c}=e,[p,f]=(0,u.T)({prop:r,defaultProp:l,onChange:s});return i.createElement(C,{scope:e.__scopeAccordion,value:p?[p]:[],onItemOpen:f,onItemClose:i.useCallback(()=>d&&f(""),[d,f])},i.createElement(S,{scope:e.__scopeAccordion,collapsible:d},i.createElement(A,(0,o.Z)({},c,{ref:t}))))}),N=i.forwardRef((e,t)=>{let{value:r,defaultValue:l,onValueChange:s=()=>{},...d}=e,[c=[],p]=(0,u.T)({prop:r,defaultProp:l,onChange:s}),f=i.useCallback(e=>p((t=[])=>[...t,e]),[p]),m=i.useCallback(e=>p((t=[])=>t.filter(t=>t!==e)),[p]);return i.createElement(C,{scope:e.__scopeAccordion,value:c,onItemOpen:f,onItemClose:m},i.createElement(S,{scope:e.__scopeAccordion,collapsible:!0},i.createElement(A,(0,o.Z)({},d,{ref:t}))))}),[T,P]=w(g),A=i.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:l,dir:s,orientation:u="vertical",...f}=e,m=i.useRef(null),g=(0,d.e)(m,t),x=b(r),w="ltr"===(0,h.g)(s),k=(0,c.M)(e.onKeyDown,e=>{var t;if(!v.includes(e.key))return;let r=e.target,o=x().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),i=o.findIndex(e=>e.ref.current===r),l=o.length;if(-1===i)return;e.preventDefault();let s=i,d=l-1,c=()=>{(s=i+1)>d&&(s=0)},p=()=>{(s=i-1)<0&&(s=d)};switch(e.key){case"Home":s=0;break;case"End":s=d;break;case"ArrowRight":"horizontal"===u&&(w?c():p());break;case"ArrowDown":"vertical"===u&&c();break;case"ArrowLeft":"horizontal"===u&&(w?p():c());break;case"ArrowUp":"vertical"===u&&p()}null===(t=o[s%l].ref.current)||void 0===t||t.focus()});return i.createElement(T,{scope:r,disabled:l,direction:s,orientation:u},i.createElement(y.Slot,{scope:r},i.createElement(p.W.div,(0,o.Z)({},f,{"data-orientation":u,ref:g,onKeyDown:l?void 0:k}))))}),O="AccordionItem",[R,D]=w(O),M=i.forwardRef((e,t)=>{let{__scopeAccordion:r,value:l,...s}=e,d=P(O,r),c=$(O,r),u=k(r),p=(0,m.M)(),h=l&&c.value.includes(l)||!1,g=d.disabled||e.disabled;return i.createElement(R,{scope:r,open:h,disabled:g,triggerId:p},i.createElement(f.fC,(0,o.Z)({"data-orientation":d.orientation,"data-state":h?"open":"closed"},u,s,{ref:t,disabled:g,open:h,onOpenChange:e=>{e?c.onItemOpen(l):c.onItemClose(l)}})))}),L=i.forwardRef((e,t)=>
52{let{__scopeAccordion:r,...l}=e,s=P(g,r),d=D("AccordionHeader",r);return i.createElement(p.W.h3,(0,o.Z)({"data-orientation":s.orientation,"data-state":d.open?"open":"closed","data-disabled":d.disabled?"":void 0},l,{ref:t}))}),I="AccordionTrigger",F=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...l}=e,s=P(g,r),d=D(I,r),c=E(I,r),u=k(r);return i.createElement(y.ItemSlot,{scope:r},i.createElement(f.xz,(0,o.Z)({"aria-disabled":d.open&&!c.collapsible||void 0,"data-orientation":s.orientation,id:d.triggerId},u,l,{ref:t})))}),B=i.forwardRef((e,t)=>{let{__scopeAccordion:r,...l}=e,s=P(g,r),d=D("AccordionContent",r),c=k(r);return i.createElement(f.VY,(0,o.Z)({role:"region","aria-labelledby":d.triggerId,"data-orientation":s.orientation},c,l,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))}),V=_,z=M,H=L,U=F,Z=B},36077:function(e,t,r){"use strict";r.d(t,{Fw:function(){return _},wy:function(){return w},VY:function(){return j},fC:function(){return S},xz:function(){return E},p_:function(){return v}});var o=r(51195),i=r(67294),l=r(92482),s=r(53234),d=r(15224);let c=null!=globalThis&&globalThis.document?i.useLayoutEffect:()=>{};var u=r(43525),p=r(21563),f=r(75282),m=r(84235);let h="Collapsible",[g,v]=(0,s.b)(h),[y,b]=g(h),x=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,open:l,defaultOpen:s,disabled:c,onOpenChange:u,...f}=e,[h=!1,g]=(0,d.T)({prop:l,defaultProp:s,onChange:u});return(0,i.createElement)(y,{scope:r,disabled:c,contentId:(0,m.M)(),open:h,onOpenToggle:(0,i.useCallback)(()=>g(e=>!e),[g])},(0,i.createElement)(p.W.div,(0,o.Z)({"data-state":$(h),"data-disabled":c?"":void 0},f,{ref:t})))}),w=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,...s}=e,d=b("CollapsibleTrigger",r);return(0,i.createElement)(p.W.button,(0,o.Z)({type:"button","aria-controls":d.contentId,"aria-expanded":d.open||!1,"data-state":$(d.open),"data-disabled":d.disabled?"":void 0,disabled:d.disabled},s,{ref:t,onClick:(0,l.M)(e.onClick,d.onOpenToggle)}))}),k="CollapsibleContent",_=(0,i.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,s=b(k,e.__scopeCollapsible);return(0,i.createElement)(f.z,{present:r||s.open},({present:e})=>(0,i.createElement)(C,(0,o.Z)({},l,{ref:t,present:e})))}),C=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:r,present:l,children:s,...d}=e,f=b(k,r),[m,h]=(0,i.useState)(l),g=(0,i.useRef)(null),v=(0,u.e)(t,g),y=(0,i.useRef)(0),x=y.current,w=(0,i.useRef)(0),_=w.current,C=f.open||m,S=(0,i.useRef)(C),E=(0,i.useRef)();return(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),c(()=>{let e=g.current;if(e){E.current=E.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,w.current=t.width,S.current||(e.style.transitionDuration=E.current.transitionDuration,e.style.animationName=E.current.animationName),h(l)}},[f.open,l]),(0,i.createElement)(p.W.div,(0,o.Z)({"data-state":$(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!C},d,{ref:v,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...e.style}}),C&&s)});function $(e){return e?"open":"closed"}let S=x,E=w,j=_},10074:function(e,t,r){"use strict";r.d(t,{B:function(){return f}});var o=r(67294),i=r(53234),l=r(43525),s=r(51195);let d=(0,o.forwardRef)((e,t)=>{let{children:r,...i}=e,l=o.Children.toArray(r),d=l.find(p);if(d){let e=d.props.children,r=l.map(t=>t===d?o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null:t);return(0,o.createElement)(c,(0,s.Z)({},i,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,r):null)}return(0,o.createElement)(c,(0,s.Z)({},i,{ref:t}),r)});d.displayName="Slot";let c=(0,o.forwardRef)((e,t)=>{let{children:r,...i}=e;return(0,o.isValidElement)(r)?(0,o.cloneElement)(r,{...function(e,t){let r={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?r[o]=(...e)=>{l(...e),i(...e)}:i&&(r[o]=i):"style"===o?r[o]={...i,...l}
52:"className"===o&&(r[o]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:(0,l.F)(t,r.ref)}):o.Children.count(r)>1?o.Children.only(null):null});c.displayName="SlotClone";let u=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function p(e){return(0,o.isValidElement)(e)&&e.type===u}function f(e){let t=e+"CollectionProvider",[r,s]=(0,i.b)(t),[c,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),p=e+"CollectionSlot",f=o.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=u(p,r),c=(0,l.e)(t,s.collectionRef);return o.createElement(d,{ref:c},i)}),m=e+"CollectionItemSlot",h="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,i=o.useRef(null),l=o.useRef(new Map).current;return o.createElement(c,{scope:t,itemMap:l,collectionRef:i},r)},Slot:f,ItemSlot:o.forwardRef((e,t)=>{let{scope:r,children:i,...s}=e,c=o.useRef(null),p=(0,l.e)(t,c),f=u(m,r);return o.useEffect(()=>(f.itemMap.set(c,{ref:c,...s}),()=>void f.itemMap.delete(c))),o.createElement(d,{[h]:"",ref:p},i)})},function(t){let r=u(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},43525:function(e,t,r){"use strict";r.d(t,{F:function(){return i},e:function(){return l}});var o=r(67294);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function l(...e){return(0,o.useCallback)(i(...e),e)}},53234:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var o=r(67294);function i(e,t=[]){let r=[],i=()=>{let t=r.map(e=>(0,o.createContext)(e));return function(r){let i=(null==r?void 0:r[e])||t;return(0,o.useMemo)(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(t,i){let l=(0,o.createContext)(i),s=r.length;function d(t){let{scope:r,children:i,...d}=t,c=(null==r?void 0:r[e][s])||l,u=(0,o.useMemo)(()=>d,Object.values(d));return(0,o.createElement)(c.Provider,{value:u},i)}return r=[...r,i],d.displayName=t+"Provider",[d,function(r,d){let c=(null==d?void 0:d[e][s])||l,u=(0,o.useContext)(c);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return(0,o.useMemo)(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(i,...t)]}},80700:function(e,t,r){"use strict";let o;r.d(t,{x8:function(){return e3},VY:function(){return e1},aV:function(){return e0},h_:function(){return eQ},fC:function(){return eY},Dx:function(){return e2},xz:function(){return eX}});var i=r(67294),l=r.t(i,2);function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(null==e||e(o),!1===r||!o.defaultPrevented)return null==t?void 0:t(o)}}function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){return t=>{let r=!1,o=e.map(e=>{let o=d(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():d(e[t],null)}}}}function u(...e){return i.useCallback(c(...e),e)}var p=r(85893),f=null!=globalThis&&globalThis.document?i.useLayoutEffect:()=>{},m=l[" useId ".trim().toString()]||(()=>{}),h=0;function g(e){let[t,r]=i.useState(m());return f(()=>{r(e=>e??String(h++))},[e]),e||(t?`radix-${t}`:"")}var v=l[" useInsertionEffect ".trim().toString()]||f,y=r(73935);function b(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...o}=e;if(i.isValidElement(r)){var l,s;let e,d;let u=(e=null==(l=Object.getOwnPropertyDescriptor(r.props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=null==(s=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,p=function(e,t){let r={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?r[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[o]=i):"style"===o?r[o]={...i,...l}
52:"className"===o&&(r[o]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==i.Fragment&&(p.ref=t?c(t,u):u),i.cloneElement(r,p)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:o,...l}=e,s=i.Children.toArray(o),d=s.find(w);if(d){let e=d.props.children,o=s.map(t=>t===d?i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...l,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,o):null})}return(0,p.jsx)(t,{...l,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var x=Symbol("radix.slottable");function w(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var k=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=b(`Primitive.${t}`),o=i.forwardRef((e,o)=>{let{asChild:i,...l}=e,s=i?r:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(s,{...l,ref:o})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function _(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[])}var C,$="dismissableLayer.update",S=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),E=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:c,onDismiss:f,...m}=e,h=i.useContext(S),[g,v]=i.useState(null),y=(null==g?void 0:g.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,b]=i.useState({}),x=u(t,e=>v(e)),w=Array.from(h.layers),[E]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),T=w.indexOf(E),P=g?w.indexOf(g):-1,A=h.layersWithOutsidePointerEventsDisabled.size>0,O=P>=T,R=function(e,t=null==globalThis?void 0:globalThis.document){let r=_(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let o=function(){N("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",l.current),l.current=o,t.addEventListener("click",l.current,{once:!0})):o()}else t.removeEventListener("click",l.current);o.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",l.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...h.branches].some(e=>e.contains(t));!O||r||(null==l||l(e),null==c||c(e),e.defaultPrevented||null==f||f())},y),D=function(e,t=null==globalThis?void 0:globalThis.document){let r=_(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&N("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...h.branches].some(e=>e.contains(t))||(null==d||d(e),null==c||c(e),e.defaultPrevented||null==f||f())},y);return function(e,t=null==globalThis?void 0:globalThis.document){let r=_(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{P===h.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&f&&(e.preventDefault(),f()))},y),i.useEffect(()=>{if(g)return r&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(C=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),j(),()=>{r&&1===h.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=C)}},[g,y,r,h]),i.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),j())},[g,h]),i.useEffect(()=>{let e=()=>b({});return document.addEventListener($,e),()=>document.removeEventListener($,e)},[]),(0,p.jsx)(k.div,{...m,ref:x,style:{pointerEvents:A?O?"auto":"none":void 0,...e.style},onFocusCapture:s(e.onFocusCapture,D.onFocusCapture),onBlurCapture:s(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:s(e.onPointerDownCapture,R.onPointerDownCapture)})});function j(){let e=new CustomEvent($);document.dispatchEvent(e)}function N(e,t,r,{discrete:o}){let i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}
52),o?i&&y.flushSync(()=>i.dispatchEvent(l)):i.dispatchEvent(l)}function T(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function P(...e){return t=>{let r=!1,o=e.map(e=>{let o=T(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():T(e[t],null)}}}}E.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(S),o=i.useRef(null),l=u(t,o);return i.useEffect(()=>{let e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,p.jsx)(k.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var A=Symbol("radix.slottable");function O(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===A}var R=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:r,...o}=e;if(i.isValidElement(r)){var l,s;let e,d;let c=(e=null==(l=Object.getOwnPropertyDescriptor(r.props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=null==(s=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?r[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[o]=i):"style"===o?r[o]={...i,...l}:"className"===o&&(r[o]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==i.Fragment&&(u.ref=t?P(t,c):c),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:o,...l}=e,s=i.Children.toArray(o),d=s.find(O);if(d){let e=d.props.children,o=s.map(t=>t===d?i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null:t);return(0,p.jsx)(t,{...l,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,o):null})}return(0,p.jsx)(t,{...l,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}(`Primitive.${t}`),o=i.forwardRef((e,o)=>{let{asChild:i,...l}=e,s=i?r:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(s,{...l,ref:o})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function D(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[])}var M="focusScope.autoFocusOnMount",L="focusScope.autoFocusOnUnmount",I={bubbles:!1,cancelable:!0},F=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:o=!1,onMountAutoFocus:l,onUnmountAutoFocus:s,...d}=e,[c,u]=i.useState(null),f=D(l),m=D(s),h=i.useRef(null),g=function(...e){return i.useCallback(P(...e),e)}(t,e=>u(e)),v=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let e=function(e){if(v.paused||!c)return;let t=e.target;c.contains(t)?h.current=t:z(h.current,{select:!0})},t=function(e){if(v.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||z(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&z(c)});return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[o,c,v.paused]),i.useEffect(()=>{if(c){H.add(v);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(M,I);c.addEventListener(M,f),c.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let o of e)if(z(o,{select:t}),document.activeElement!==r)return}(B(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&z(c))}return()=>{c.removeEventListener(M,f),setTimeout(()=>{let t=new CustomEvent(L,I);c.addEventListener(L,m),c.dispatchEvent(t),t.defaultPrevented||z(e??document.body,{select:!0}),c.removeEventListener(L,m),H.remove(v)},0)}}},[c,f,m,v]);let y=i.useCallback(e=>{if(!r&&!o||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[o,l]=function(e){let t=B(e);return[V(t,e),V(t.reverse(),e)]}(t);o&&l?e.shiftKey||i!==l?e.shiftKey&&i===o&&(e.preventDefault(),r&&z(l,{select:!0})):(e.preventDefault(),r&&z(o,{select:!0})):i===t&&e.preventDefault()}},[r,o,v.paused]);return(0,p.jsx)(R.div,{tabIndex:-1,...d,ref:g,onKeyDown:y})});function B(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function V(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function z(e,{select:t=!1}={}){if(e&&e.focus){var r;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}F.displayName="FocusScope";var H=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=U(o,e)).unshift(e)},remove(e){var t;null==(t=(o=U(o,e))[0])||t.resume()}});function U(e,t){let r=[...e],o=r.indexOf(t);return -1!==o&&r.splice(o,1),r}var Z=i.forwardRef((e,t)=>
52{var r;let{container:o,...l}=e,[s,d]=i.useState(!1);f(()=>d(!0),[]);let c=o||s&&(null==(r=null==globalThis?void 0:globalThis.document)?void 0:r.body);return c?y.createPortal((0,p.jsx)(k.div,{...l,ref:t}),c):null});Z.displayName="Portal";var W=e=>{var t,r;let o,l;let{present:s,children:d}=e,c=function(e){var t,r;let[o,l]=i.useState(),s=i.useRef(null),d=i.useRef(e),c=i.useRef("none"),[u,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},i.useReducer((e,t)=>r[e][t]??e,t));return i.useEffect(()=>{let e=K(s.current);c.current="mounted"===u?e:"none"},[u]),f(()=>{let t=s.current,r=d.current;if(r!==e){let o=c.current,i=K(t);e?p("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):p(r&&o!==i?"ANIMATION_OUT":"UNMOUNT"),d.current=e}},[e,p]),f(()=>{if(o){let e;let t=o.ownerDocument.defaultView??window,r=r=>{let i=K(s.current).includes(r.animationName);if(r.target===o&&i&&(p("ANIMATION_END"),!d.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},i=e=>{e.target===o&&(c.current=K(s.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),p="function"==typeof d?d({present:c.isPresent}):i.Children.only(d),m=u(c.ref,(o=null==(t=Object.getOwnPropertyDescriptor(p.props,"ref"))?void 0:t.get)&&"isReactWarning"in o&&o.isReactWarning?p.ref:(o=null==(r=Object.getOwnPropertyDescriptor(p,"ref"))?void 0:r.get)&&"isReactWarning"in o&&o.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof d||c.isPresent?i.cloneElement(p,{ref:m}):null};function K(e){return(null==e?void 0:e.animationName)||"none"}W.displayName="Presence";var q=0;function G(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var J=r(81945),Y=r(14407),X=(0,r(46579)._)(),Q=r(44410),ee=function(){},et=i.forwardRef(function(e,t){var r=i.useRef(null),o=i.useState({onScrollCapture:ee,onWheelCapture:ee,onTouchMoveCapture:ee}),l=o[0],s=o[1],d=e.forwardProps,c=e.children,u=e.className,p=e.removeScrollBar,f=e.enabled,m=e.shards,h=e.sideCar,g=e.noRelative,v=e.noIsolation,y=e.inert,b=e.allowPinchZoom,x=e.as,w=e.gapMode,k=(0,J._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=(0,Q.q)([r,t]),C=(0,J.pi)((0,J.pi)({},k),l);return i.createElement(i.Fragment,null,f&&i.createElement(h,{sideCar:X,removeScrollBar:p,shards:m,noRelative:g,noIsolation:v,inert:y,setCallbacks:s,allowPinchZoom:!!b,lockRef:r,gapMode:w}),d?i.cloneElement(i.Children.only(c),(0,J.pi)((0,J.pi)({},C),{ref:_})):i.createElement(void 0===x?"div":x,(0,J.pi)({},C,{className:u,ref:_}),c))});et.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},et.classNames={fullWidth:Y.zi,zeroRight:Y.pF};var en=r(74689),er=r(91780),ea=!1;if("u">typeof window)try{var eo=Object.defineProperty({},"passive",{get:function(){return ea=!0,!0}});window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{ea=!1}var ei=!!ea&&{passive:!1},el=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},es=function(e,t){var r=t.ownerDocument,o=t;do{if("u">typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),ed(e,o)){var i=ec(e,o);if(i[1]>i[2])return!0}o=o.parentNode}while(o&&o!==r.body);return!1},ed=function(e,t){return"v"===e?el(t,"overflowY"):el(t,"overflowX")},ec=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},eu=function(e,t,r,o,i){var l,s=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),d=r.target,c=t.contains(d),u=!1,p=s*o>0,f=0,m=0;do{if(!d)break;var h=ec(e,d),g=h[0],v=h[1]-h[2]-s*g;(g||v)&&ed(e,d)&&(f+=v,m+=g);var y=d.parentNode;d=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&d!==document.body||c&&(t.contains(d)||t===d));return(p&&1>Math.abs(f)||!p&&1>Math.abs(m))&&(u=!0),u},ep=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ef=function(e){return[e.deltaX,e.deltaY]},em=function(e){return e&&"current"in e?e.current:e},eh=0,eg=[];let ev=(0,r(2038).L)(X,function(e){var t=i.useRef([]),r=i.useRef([0,0]),o=i.useRef(),l=i.useState(eh++)[0],s=i.useState(er.W)[0],d=i.useRef(e);i.useEffect(function(){d.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var t=(0,J.ev)([e.lockRef.current],(e.shards||[]).map(em),!0).filter(
52Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!d.current.allowPinchZoom;var i,l=ep(e),s=r.current,c="deltaX"in e?e.deltaX:s[0]-l[0],u="deltaY"in e?e.deltaY:s[1]-l[1],p=e.target,f=Math.abs(c)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===f&&"range"===p.type)return!1;var m=es(f,p);if(!m)return!0;if(m?i=f:(i="v"===f?"h":"v",m=es(f,p)),!m)return!1;if(!o.current&&"changedTouches"in e&&(c||u)&&(o.current=i),!i)return!0;var h=o.current||i;return eu(h,t,e,"h"===h?c:u)},[]),u=i.useCallback(function(e){if(!(!eg.length||eg[eg.length-1]!==s)){var r="deltaY"in e?ef(e):ep(e),o=t.current.filter(function(t){var o;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(o=t.delta)[0]===r[0]&&o[1]===r[1]})[0];if(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var i=(d.current.shards||[]).map(em).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?c(e,i[0]):!d.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),p=i.useCallback(function(e,r,o,i){var l={name:e,delta:r,target:o,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(o)};t.current.push(l),setTimeout(function(){t.current=t.current.filter(function(e){return e!==l})},1)},[]),f=i.useCallback(function(e){r.current=ep(e),o.current=void 0},[]),m=i.useCallback(function(t){p(t.type,ef(t),t.target,c(t,e.lockRef.current))},[]),h=i.useCallback(function(t){p(t.type,ep(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return eg.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",u,ei),document.addEventListener("touchmove",u,ei),document.addEventListener("touchstart",f,ei),function(){eg=eg.filter(function(e){return e!==s}),document.removeEventListener("wheel",u,ei),document.removeEventListener("touchmove",u,ei),document.removeEventListener("touchstart",f,ei)}},[]);var g=e.removeScrollBar,v=e.inert;return i.createElement(i.Fragment,null,v?i.createElement(s,{styles:` 53 .block-interactivity-`.concat(l,` {pointer-events: none;} 54 .allow-interactivity-`).concat(l,` {pointer-events: all;} 55`)}):null,g?i.createElement(en.jp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)});var ey=i.forwardRef(function(e,t){return i.createElement(et,(0,J.pi)({},e,{ref:t,sideCar:ev}))});ey.classNames=et.classNames;var eb=r(19090),ex="Dialog",[ew]=function(e,t=[]){let r=[],o=()=>{let t=r.map(e=>i.createContext(e));return function(r){let o=(null==r?void 0:r[e])||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return o.scopeName=e,[function(t,o){let l=i.createContext(o),s=r.length;r=[...r,o];let d=t=>{var r;let{scope:o,children:d,...c}=t,u=(null==(r=null==o?void 0:o[e])?void 0:r[s])||l,f=i.useMemo(()=>c,Object.values(c));return(0,p.jsx)(u.Provider,{value:f,children:d})};return d.displayName=t+"Provider",[d,function(r,d){var c;let u=(null==(c=null==d?void 0:d[e])?void 0:c[s])||l,p=i.useContext(u);if(p)return p;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:o})=>{let i=r(e)[`__scope${o}`];return{...t,...i}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(o,...t)]}(ex),[ek,e_]=ew(ex),eC=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:l,onOpenChange:s,modal:d=!0}=e,c=i.useRef(null),u=i.useRef(null),[f,m]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){let[l,s,d]=function({defaultProp:e,onChange:t}){let[r,o]=i.useState(e),l=i.useRef(r),s=i.useRef(t);return v(()=>{s.current=t},[t]),i.useEffect(()=>{var e;l.current!==r&&(null==(e=s.current)||e.call(s,r),l.current=r)},[r,l]),[r,o,s]}({defaultProp:t,onChange:r}),c=void 0!==e,u=c?e:l;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;e!==c&&console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=c},[c,o])}return[u,i.useCallback(t=>{var r;if(c){let o="function"==typeof t?t(e):t;o!==e&&(null==(r=d.current)||r.call(d,o))}else s(t)},[c,e,s,d])]}({prop:o,defaultProp:l??!1,onChange:s,caller:ex});return(0,p.jsx)(ek,{scope:t,triggerRef:c,contentRef:u,contentId:g(),titleId:g(),descriptionId:g(),open:f,onOpenChange:m,onOpenToggle:i.useCallback(()=>m(e=>!e),[m]),modal:d,children:r})};eC.displayName=ex;var e$="DialogTrigger",eS=i.forwardRef((e,t)=>
55{let{__scopeDialog:r,...o}=e,i=e_(e$,r),l=u(t,i.triggerRef);return(0,p.jsx)(k.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":eZ(i.open),...o,ref:l,onClick:s(e.onClick,i.onOpenToggle)})});eS.displayName=e$;var eE="DialogPortal",[ej,eN]=ew(eE,{forceMount:void 0}),eT=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:l}=e,s=e_(eE,t);return(0,p.jsx)(ej,{scope:t,forceMount:r,children:i.Children.map(o,e=>(0,p.jsx)(W,{present:r||s.open,children:(0,p.jsx)(Z,{asChild:!0,container:l,children:e})}))})};eT.displayName=eE;var eP="DialogOverlay",eA=i.forwardRef((e,t)=>{let r=eN(eP,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,l=e_(eP,e.__scopeDialog);return l.modal?(0,p.jsx)(W,{present:o||l.open,children:(0,p.jsx)(eR,{...i,ref:t})}):null});eA.displayName=eP;var eO=b("DialogOverlay.RemoveScroll"),eR=i.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=e_(eP,r);return(0,p.jsx)(ey,{as:eO,allowPinchZoom:!0,shards:[i.contentRef],children:(0,p.jsx)(k.div,{"data-state":eZ(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),eD="DialogContent",eM=i.forwardRef((e,t)=>{let r=eN(eD,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,l=e_(eD,e.__scopeDialog);return(0,p.jsx)(W,{present:o||l.open,children:l.modal?(0,p.jsx)(eL,{...i,ref:t}):(0,p.jsx)(eI,{...i,ref:t})})});eM.displayName=eD;var eL=i.forwardRef((e,t)=>{let r=e_(eD,e.__scopeDialog),o=i.useRef(null),l=u(t,r.contentRef,o);return i.useEffect(()=>{let e=o.current;if(e)return(0,eb.R)(e)},[]),(0,p.jsx)(eF,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:s(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:s(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:s(e.onFocusOutside,e=>e.preventDefault())})}),eI=i.forwardRef((e,t)=>{let r=e_(eD,e.__scopeDialog),o=i.useRef(!1),l=i.useRef(!1);return(0,p.jsx)(eF,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,s;null==(i=e.onCloseAutoFocus)||i.call(e,t),t.defaultPrevented||(o.current||null==(s=r.triggerRef.current)||s.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{var i,s;null==(i=e.onInteractOutside)||i.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let d=t.target;(null==(s=r.triggerRef.current)?void 0:s.contains(d))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),eF=i.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:s,...d}=e,c=e_(eD,r),f=i.useRef(null),m=u(t,f);return i.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??G()),document.body.insertAdjacentElement("beforeend",e[1]??G()),q++,()=>{1===q&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),q--}},[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(F,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:s,children:(0,p.jsx)(E,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":eZ(c.open),...d,ref:m,onDismiss:()=>c.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eG,{titleId:c.titleId}),(0,p.jsx)(eJ,{contentRef:f,descriptionId:c.descriptionId})]})]})}),eB="DialogTitle",eV=i.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=e_(eB,r);return(0,p.jsx)(k.h2,{id:i.titleId,...o,ref:t})});eV.displayName=eB;var ez="DialogDescription";i.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=e_(ez,r);return(0,p.jsx)(k.p,{id:i.descriptionId,...o,ref:t})}).displayName=ez;var eH="DialogClose",eU=i.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=e_(eH,r);return(0,p.jsx)(k.button,{type:"button",...o,ref:t,onClick:s(e.onClick,()=>i.onOpenChange(!1))})});function eZ(e){return e?"open":"closed"}eU.displayName=eH;var eW="DialogTitleWarning",[eK,eq]=function(e,t){let r=i.createContext(t),o=e=>{let{children:t,...o}=e,l=i.useMemo(()=>o,Object.values(o));return(0,p.jsx)(r.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(o){let l=i.useContext(r);if(l)return l;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}
55(eW,{contentName:eD,titleName:eB,docsSlug:"dialog"}),eG=({titleId:e})=>{let t=eq(eW),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 56 57If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 58 59For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},eJ=({contentRef:e,descriptionId:t})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${eq("DialogDescriptionWarning").contentName}}.`;return i.useEffect(()=>{var o;let i=null==(o=e.current)?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},eY=eC,eX=eS,eQ=eT,e0=eA,e1=eM,e2=eV,e3=eU},83660:function(e,t,r){"use strict";r.d(t,{g:function(){return l}});var o=r(67294);let i=(0,o.createContext)(void 0);function l(e){let t=(0,o.useContext)(i);return e||t||"ltr"}},84235:function(e,t,r){"use strict";r.d(t,{M:function(){return d}});var o=r(67294);let i=null!=globalThis&&globalThis.document?o.useLayoutEffect:()=>{},l=o.useId||(()=>{}),s=0;function d(e){let[t,r]=o.useState(l());return i(()=>{r(e=>e??String(s++))},[e]),t?`radix-${t}`:""}},75282:function(e,t,r){"use strict";r.d(t,{z:function(){return d}});var o=r(67294),i=r(73935),l=r(43525);let s=null!=globalThis&&globalThis.document?o.useLayoutEffect:()=>{},d=e=>{let{present:t,children:r}=e,d=function(e){var t,r;let[l,d]=(0,o.useState)(),u=(0,o.useRef)({}),p=(0,o.useRef)(e),f=(0,o.useRef)("none"),[m,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,o.useReducer)((e,t)=>r[e][t]??e,t));return(0,o.useEffect)(()=>{let e=c(u.current);f.current="mounted"===m?e:"none"},[m]),s(()=>{let t=u.current,r=p.current;if(r!==e){let o=f.current,i=c(t);e?h("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):h(r&&o!==i?"ANIMATION_OUT":"UNMOUNT"),p.current=e}},[e,h]),s(()=>{if(l){let e=e=>{let t=c(u.current).includes(e.animationName);e.target===l&&t&&(0,i.flushSync)(()=>h("ANIMATION_END"))},t=e=>{e.target===l&&(f.current=c(u.current))};return l.addEventListener("animationstart",t),l.addEventListener("animationcancel",e),l.addEventListener("animationend",e),()=>{l.removeEventListener("animationstart",t),l.removeEventListener("animationcancel",e),l.removeEventListener("animationend",e)}}h("ANIMATION_END")},[l,h]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:(0,o.useCallback)(e=>{e&&(u.current=getComputedStyle(e)),d(e)},[])}}(t),u="function"==typeof r?r({present:d.isPresent}):o.Children.only(r),p=(0,l.e)(d.ref,u.ref);return"function"==typeof r||d.isPresent?(0,o.cloneElement)(u,{ref:p}):null};function c(e){return(null==e?void 0:e.animationName)||"none"}d.displayName="Presence"},21563:function(e,t,r){"use strict";r.d(t,{W:function(){return p}});var o=r(51195),i=r(67294);r(73935);var l=r(43525);let s=(0,i.forwardRef)((e,t)=>{let{children:r,...l}=e,s=i.Children.toArray(r),c=s.find(u);if(c){let e=c.props.children,r=s.map(t=>t===c?i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null:t);return(0,i.createElement)(d,(0,o.Z)({},l,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,r):null)}return(0,i.createElement)(d,(0,o.Z)({},l,{ref:t}),r)});s.displayName="Slot";let d=(0,i.forwardRef)((e,t)=>{let{children:r,...o}=e;return(0,i.isValidElement)(r)?(0,i.cloneElement)(r,{...function(e,t){let r={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?r[o]=(...e)=>{l(...e),i(...e)}:i&&(r[o]=i):"style"===o?r[o]={...i,...l}:"className"===o&&(r[o]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props),ref:(0,l.F)(t,r.ref)}):i.Children.count(r)>1?i.Children.only(null):null});d.displayName="SlotClone";let c=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function u(e){return(0,i.isValidElement)(e)&&e.type===c}let p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
59{let r=(0,i.forwardRef)((e,r)=>{let{asChild:l,...d}=e,c=l?s:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(c,(0,o.Z)({},d,{ref:r}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})},98681:function(e,t,r){"use strict";r.d(t,{z$:function(){return ee},ck:function(){return Q},fC:function(){return X}});var o=r(51195),i=r(67294),l=r(92482),s=r(43525),d=r(53234),c=r(21563),u=r(10074),p=r(84235),f=r(15224),m=r(83660);let h="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[y,b,x]=(0,u.B)(v),[w,k]=(0,d.b)(v,[x]),[_,C]=w(v),$=(0,i.forwardRef)((e,t)=>(0,i.createElement)(y.Provider,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(y.Slot,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(S,(0,o.Z)({},e,{ref:t}))))),S=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:d,loop:u=!1,dir:p,currentTabStopId:v,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:x,onEntryFocus:w,...k}=e,C=(0,i.useRef)(null),$=(0,s.e)(t,C),S=(0,m.g)(p),[E=null,j]=(0,f.T)({prop:v,defaultProp:y,onChange:x}),[T,P]=(0,i.useState)(!1),A=function(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e}),(0,i.useMemo)(()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}(w),O=b(r),R=(0,i.useRef)(!1),[D,M]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=C.current;if(e)return e.addEventListener(h,A),()=>e.removeEventListener(h,A)},[A]),(0,i.createElement)(_,{scope:r,orientation:d,dir:S,loop:u,currentTabStopId:E,onItemFocus:(0,i.useCallback)(e=>j(e),[j]),onItemShiftTab:(0,i.useCallback)(()=>P(!0),[]),onFocusableItemAdd:(0,i.useCallback)(()=>M(e=>e+1),[]),onFocusableItemRemove:(0,i.useCallback)(()=>M(e=>e-1),[])},(0,i.createElement)(c.W.div,(0,o.Z)({tabIndex:T||0===D?-1:0,"data-orientation":d}
59,k,{ref:$,style:{outline:"none",...e.style},onMouseDown:(0,l.M)(e.onMouseDown,()=>{R.current=!0}),onFocus:(0,l.M)(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(h,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=O().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current))}}R.current=!1}),onBlur:(0,l.M)(e.onBlur,()=>P(!1))})))}),E=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:s=!0,active:d=!1,tabStopId:u,...f}=e,m=(0,p.M)(),h=u||m,g=C("RovingFocusGroupItem",r),v=g.currentTabStopId===h,x=b(r),{onFocusableItemAdd:w,onFocusableItemRemove:k}=g;return(0,i.useEffect)(()=>{if(s)return w(),()=>k()},[s,w,k]),(0,i.createElement)(y.ItemSlot,{scope:r,id:h,focusable:s,active:d},(0,i.createElement)(c.W.span,(0,o.Z)({tabIndex:v?0:-1,"data-orientation":g.orientation},f,{ref:t,onMouseDown:(0,l.M)(e.onMouseDown,e=>{s?g.onItemFocus(h):e.preventDefault()}),onFocus:(0,l.M)(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:(0,l.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var o;let i=(o=e.key,"rtl"!==r?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return j[i]}(e,g.orientation,g.dir);if(void 0!==t){e.preventDefault();let i=x().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,o;"prev"===t&&i.reverse();let l=i.indexOf(e.currentTarget);i=g.loop?(r=i,o=l+1,r.map((e,t)=>r[(o+t)%r.length])):i.slice(l+1)}setTimeout(()=>N(i))}})})))}),j={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}var T=r(26967),P=r(90815),A=r(75282);let O="Radio",[R,D]=(0,d.b)(O),[M,L]=R(O),I=(0,i.forwardRef)((e,t)=>{let{__scopeRadio:r,name:d,checked:u=!1,required:p,disabled:f,value:m="on",onCheck:h,...g}=e,[v,y]=(0,i.useState)(null),b=(0,s.e)(t,e=>y(e)),x=(0,i.useRef)(!1),w=!v||!!v.closest("form");return(0,i.createElement)(M,{scope:r,checked:u,disabled:f},(0,i.createElement)(c.W.button,(0,o.Z)({type:"button",role:"radio","aria-checked":u,"data-state":V(u),"data-disabled":f?"":void 0,disabled:f,value:m},g,{ref:b,onClick:(0,l.M)(e.onClick,e=>{u||null==h||h(),w&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})),w&&(0,i.createElement)(B,{control:v,bubbles:!x.current,name:d,value:m,checked:u,required:p,disabled:f,style:{transform:"translateX(-100%)"}}))}),F=(0,i.forwardRef)((e,t)=>{let{__scopeRadio:r,forceMount:l,...s}=e,d=L("RadioIndicator",r);return(0,i.createElement)(A.z,{present:l||d.checked},(0,i.createElement)(c.W.span,(0,o.Z)({"data-state":V(d.checked),"data-disabled":d.disabled?"":void 0},s,{ref:t})))}),B=e=>{let{control:t,checked:r,bubbles:l=!0,...s}=e,d=(0,i.useRef)(null),c=(0,P.D)(r),u=(0,T.t)(t);return(0,i.useEffect)(()=>{let e=d.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let o=new Event("click",{bubbles:l});t.call(e,r),e.dispatchEvent(o)}},[c,r,l]),(0,i.createElement)("input",(0,o.Z)({type:"radio","aria-hidden":!0,defaultChecked:r},s,{tabIndex:-1,ref:d,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function V(e){return e?"checked":"unchecked"}let z=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],H="RadioGroup",[U]=(0,d.b)(H,[k,D]),Z=k(),W=D(),[K,q]=U(H),G=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,name:l,defaultValue:s,value:d,required:u=!1,disabled:p=!1,orientation:h,dir:g,loop:v=!0,onValueChange:y,...b}=e,x=Z(r),w=(0,m.g)(g),[k,_]=(0,f.T)({prop:d,defaultProp:s,onChange:y});return(0,i.createElement)(K,{scope:r,name:l,required:u,disabled:p,value:k,onValueChange:_},(0,i.createElement)($,(0,o.Z)({asChild:!0},x,{orientation:h,dir:w,loop:v}),(0,i.createElement)(c.W.div,(0,o.Z)({role:"radiogroup","aria-required":u,"aria-orientation":h,"data-disabled":p?"":void 0,dir:w},b,{ref:t}))))}),J=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,disabled:d,...c}=e,u=q("RadioGroupItem",r),p=u.disabled||d,f=Z(r),m=W(r),h=(0,i.useRef)(null),g=(0,s.e)(t,h),v=u.value===c.value,y=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>
59{z.includes(e.key)&&(y.current=!0)},t=()=>y.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,i.createElement)(E,(0,o.Z)({asChild:!0},f,{focusable:!p,active:v}),(0,i.createElement)(I,(0,o.Z)({disabled:p,required:u.required,checked:v},m,c,{name:u.name,ref:g,onCheck:()=>u.onValueChange(c.value),onKeyDown:(0,l.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,l.M)(c.onFocus,()=>{var e;y.current&&(null===(e=h.current)||void 0===e||e.click())})})))}),Y=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,...l}=e,s=W(r);return(0,i.createElement)(F,(0,o.Z)({},s,l,{ref:t}))}),X=G,Q=J,ee=Y},55811:function(e,t,r){"use strict";r.d(t,{g:function(){return l},A:function(){return d}});var o=r(67294),i=r(85893),l=o.forwardRef((e,t)=>{let{children:r,...l}=e,d=o.Children.toArray(r),u=d.find(c);if(u){let e=u.props.children,r=d.map(t=>t===u?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,i.jsx)(s,{...l,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,i.jsx)(s,{...l,ref:t,children:r})});l.displayName="Slot";var s=o.forwardRef((e,t)=>{let{children:r,...i}=e;if(o.isValidElement(r)){var l,s;let e,d;let c=(e=null==(l=Object.getOwnPropertyDescriptor(r.props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=null==(s=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return o.cloneElement(r,{...function(e,t){let r={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?r[o]=(...e)=>{l(...e),i(...e)}:i&&(r[o]=i):"style"===o?r[o]={...i,...l}:"className"===o&&(r[o]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(t,c):c})}return o.Children.count(r)>1?o.Children.only(null):null});s.displayName="SlotClone";var d=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return o.isValidElement(e)&&e.type===d}},15224:function(e,t,r){"use strict";r.d(t,{T:function(){return l}});var o=r(67294);function i(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>{var r;return null===(r=t.current)||void 0===r?void 0:r.call(t,...e)},[])}function l({prop:e,defaultProp:t,onChange:r=()=>{}}){let[l,s]=function({defaultProp:e,onChange:t}){let r=(0,o.useState)(e),[l]=r,s=(0,o.useRef)(l),d=i(t);return(0,o.useEffect)(()=>{s.current!==l&&(d(l),s.current=l)},[l,s,d]),r}({defaultProp:t,onChange:r}),d=void 0!==e,c=d?e:l,u=i(r);return[c,(0,o.useCallback)(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else s(t)},[d,e,s,u])]}},90815:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var o=r(67294);function i(e){let t=(0,o.useRef)({value:e,previous:e});return(0,o.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},26967:function(e,t,r){"use strict";r.d(t,{t:function(){return l}});var o=r(67294);let i=null!=globalThis&&globalThis.document?o.useLayoutEffect:()=>{};function l(e){let[t,r]=(0,o.useState)(void 0);return i(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let o,i;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;r({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},76121:function(e,t,r){"use strict";r.d(t,{U:function(){return d}});var o=r(25146),i=r(96194),l=r(13432),s=r(73449);function d(e,t){let{elementType:r="button",isDisabled:d,onPress:c,onPressStart:u,onPressEnd:p,onPressUp:f,onPressChange:m,preventFocusOnPress:h,allowFocusWhenDisabled:g,onClick:v,href:y,target:b,rel:x,type:w="button"}=e,k;k="button"===r?{type:w,disabled:d}:{role:"button",href:"a"!==r||d?void 0:y,target:"a"===r?b:void 0,type:"input"===r?w:void 0,disabled:"input"===r?d:void 0,"aria-disabled":d&&"input"!==r?d:void 0,rel:"a"===r?x:void 0};let{pressProps:_,isPressed:C}=(0,l.r)({onPressStart:u,onPressEnd:p,onPressChange:m,onPress:c,onPressUp:f,isDisabled:d,preventFocusOnPress:h,ref:t}),{focusableProps:$}=(0,s.kc)(e,t);g&&($.tabIndex=d?-1:$.tabIndex);let S=(0,o.d)($,_,(0,i.z)(e,{labelable:!0}));return{isPressed:C,buttonProps:(0,o.d)(k,S,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],onClick:e=>{v&&(v(e),console.warn("onClick is deprecated, please use onPress"))}})}}},64165:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var o={};o={"ar-AE":{dateRange:e=>`${e.startDate} Ø¥ÙÙ ${e.endDate}`,dateSelected:e=>`${e.date} اÙÙ
ØØ¯Ø¯`,finishRangeSelectionPrompt:"اÙÙØ± ÙØ¥ÙÙØ§Ø¡ عÙ
ÙÙØ© ØªØØ¯Ùد ÙØ·Ø§Ù Ø§ÙØªØ§Ø±ÙØ®",maximumDate:"آخر ØªØ§Ø±ÙØ® Ù
تاØ",minimumDate:"Ø£ÙÙ ØªØ§Ø±ÙØ® Ù
تاØ",next:"Ø§ÙØªØ§ÙÙ",previous:"Ø§ÙØ³Ø§Ø¨Ù",selectedDateDescription:e=>`ØªØ§Ø±ÙØ® Ù
ØØ¯Ø¯: ${e.date}`,selectedRangeDescription:e=>`اÙÙ
Ø¯Ù Ø§ÙØ²Ù
Ù٠اÙÙ
ØØ¯Ø¯: ${e.dateRange}`,startRangeSelectionPrompt:"اÙÙØ± ÙØ¨Ø¯Ø¡ عÙ
ÙÙØ© ØªØØ¯Ùد ÙØ·Ø§Ù Ø§ÙØªØ§Ø±ÙØ®",todayDate:e=>`اÙÙÙÙ
Ø ${e.date}`,todayDateSelected:e=>`اÙÙÙÙ
Ø ${e.date} Ù
ØØ¯Ø¯`},"bg-BG":{dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`ÐзбÑано е ${e.date}`,finishRangeSelectionPrompt:"ÐаÑиÑнеÑе, за да довÑÑÑиÑе избоÑа на вÑемеви инÑеÑвал",maximumDate:"ÐоÑледна налиÑна даÑа",minimumDate:"ÐÑÑва налиÑна даÑа",next:"ÐапÑед",previous:"Ðазад",selectedDateDescription:e=>`ÐзбÑана даÑа: ${e.date}`,selectedRangeDescription:e=>`ÐзбÑан диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"ÐаÑиÑнеÑе, за да пÑиÑÑÑпиÑе кÑм избоÑа на вÑемеви инÑеÑвал",todayDate:e=>`ÐнеÑ, ${e.date}`,todayDateSelected:e=>`ÐнеÑ, ${e.date} Ñа избÑани`},"cs-CZ":{dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybr\xe1no ${e.date}`,finishRangeSelectionPrompt:"Kliknut\xedm dokonÄ\xedte v\xfdbÄr rozsahu dat",maximumDate:"Posledn\xed dostupn\xe9 datum",minimumDate:"Prvn\xed dostupn\xe9 datum",next:"DalÅ¡\xed",previous:"PÅedchoz\xed",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknut\xedm zah\xe1j\xedte v\xfdbÄr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybr\xe1no ${e.date}`},"da-DK":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldf\xf8re valg af datoomr\xe5de",maximumDate:"Sidste ledige dato",minimumDate:"F\xf8rste ledige dato",next:"N\xe6ste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoomr\xe5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"de-DE":{dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgew\xe4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verf\xfcgbares Datum",minimumDate:"Erstes verf\xfcgbares Datum",next:"Weiter",previous:"Zur\xfcck",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgew\xe4hlt`},"el-GR":{dateRange:e=>`${e.startDate} ÎÏÏ ${e.endDate}`,dateSelected:e=>`ÎÏιλÎÏθηκε ${e.date}`,finishRangeSelectionPrompt:"ÎάνÏε κλικ για να ολοκληÏÏÏεÏε Ïην εÏιλογή εÏÏοÏ
Ï Î·Î¼ÎµÏομηνιÏν",maximumDate:"ΤελεÏ
Ïαία διαθÎÏιμη ημεÏομηνία",minimumDate:"Î ÏÏÏη διαθÎÏιμη ημεÏομηνία",next:"ÎÏÏμενο",previous:"Î ÏοηγοÏμενο",selectedDateDescription:e=>`ÎÏιλεγμÎνη ημεÏομηνία: ${e.date}`,selectedRangeDescription:e=>`ÎÏιλεγμÎνο εÏÏοÏ: ${e.dateRange}`,startRangeSelectionPrompt:"ÎάνÏε κλικ για να ξεκινήÏεÏε Ïην εÏιλογή εÏÏοÏ
Ï Î·Î¼ÎµÏομηνιÏν",todayDate:e=>`ΣήμεÏα, ${e.date}`,todayDateSelected:e=>`ΣήμεÏα, εÏιλÎÏÏηκε ${e.date}`},"en-US":{previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`},"es-ES":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"\xdaltima fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>
59`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`},"et-EE":{dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Kl\xf5psake kuup\xe4evavahemiku valimise l\xf5petamiseks",maximumDate:"Viimane saadaolev kuup\xe4ev",minimumDate:"Esimene saadaolev kuup\xe4ev",next:"J\xe4rgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Kl\xf5psake kuup\xe4evavahemiku valimiseks",todayDate:e=>`T\xe4na, ${e.date}`,todayDateSelected:e=>`T\xe4na, ${e.date} valitud`},"fi-FI":{dateRange:e=>`${e.startDate} â ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.",maximumDate:"Viimeinen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4",minimumDate:"Ensimm\xe4inen varattavissa oleva p\xe4iv\xe4m\xe4\xe4r\xe4",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita p\xe4iv\xe4m\xe4\xe4r\xe4alueen valinta napsauttamalla t\xe4t\xe4.",todayDate:e=>`T\xe4n\xe4\xe4n, ${e.date}`,todayDateSelected:e=>`T\xe4n\xe4\xe4n, ${e.date} valittu`},"fr-FR":{dateRange:e=>`${e.startDate} \xe0 ${e.endDate}`,dateSelected:e=>`${e.date} s\xe9lectionn\xe9`,finishRangeSelectionPrompt:"Cliquer pour finir de s\xe9lectionner la plage de dates",maximumDate:"Derni\xe8re date disponible",minimumDate:"Premi\xe8re date disponible",next:"Suivant",previous:"Pr\xe9c\xe9dent",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer \xe0 s\xe9lectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourdâhui, ${e.date} s\xe9lectionn\xe9`},"he-IL":{dateRange:e=>`${e.startDate} ×¢× ${e.endDate}`,dateSelected:e=>`${e.date} × ××ר`,finishRangeSelectionPrompt:"××¥ ××× ×ס××× ×ת ×××רת ×××× ×ת×ר××××",maximumDate:"ת×ר×× ×¤× ×× ××ר××",minimumDate:"ת×ר×× ×¤× ×× ×¨×ש××",next:"×××",previous:"××§×××",selectedDateDescription:e=>`ת×ר×× × ××ר: ${e.date}`,selectedRangeDescription:e=>`×××× × ××ר: ${e.dateRange}`,startRangeSelectionPrompt:"×××¥ ××× ××ת××× ××××רת ×××× ×ת×ר××××",todayDate:e=>`××××, ${e.date}`,todayDateSelected:e=>`××××, ${e.date} × ××ר`},"hr-HR":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovrÅ¡ite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"SljedeÄi",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapoÄnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`},"hu-HU":{dateRange:e=>`${e.startDate}â${e.endDate}`,dateSelected:e=>`${e.date} kiv\xe1lasztva`,finishRangeSelectionPrompt:"Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek befejez\xe9s\xe9hez",maximumDate:"Utols\xf3 el\xe9rhetÅ d\xe1tum",minimumDate:"Az elsÅ el\xe9rhetÅ d\xe1tum",next:"K\xf6vetkezÅ",previous:"ElÅzÅ",selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a d\xe1tumtartom\xe1ny kijel\xf6l\xe9s\xe9nek ind\xedt\xe1s\xe1hoz",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijel\xf6lve`},"it-IT":{dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dellâintervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare lâintervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`},"ja-JP":{dateRange:e=>`${e.startDate} ãã ${e.endDate}`,dateSelected:e=>`${e.date} ã鏿`,finishRangeSelectionPrompt:"ã¯ãªãã¯ãã¦æ¥ä»ç¯å²ã®é¸æãçµäº",maximumDate:"æçµå©ç¨å¯è½æ¥",minimumDate:"æåã®å©ç¨å¯è½æ¥",next:"次ã¸",previous:"åã¸",selectedDateDescription:e=>`鏿ããæ¥ä» : ${e.date}`,selectedRangeDescription:e=>`鏿ç¯å² : ${e.dateRange}`,startRangeSelectionPrompt:"ã¯ãªãã¯ãã¦æ¥ä»ç¯å²ã®é¸æãéå§",todayDate:e=>`æ¬æ¥ã${e.date}`,todayDateSelected:e=>`æ¬æ¥ã${e.date} ã鏿`},"ko-KR":{dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} ì íë¨`,finishRangeSelectionPrompt:"ë ì§ ë²ì ì íì ìë£íë ¤ë©´ í´ë¦íììì¤.",maximumDate:"ë§ì§ë§ì¼ë¡ ì¬ì© ê°ë¥í ì¼ì",minimumDate:"ì²ìì¼ë¡ ì¬ì© ê°ë¥í ì¼ì",next:"ë¤ì",previous:"ì´ì ",selectedDateDescription:e=>`ì í ì¼ì: ${e.date}`,selectedRangeDescription:e=>`ì í ë²ì: ${e.dateRange}`,startRangeSelectionPrompt:"ë ì§ ë²ì ì íì ììíë ¤ë©´ í´ë¦íììì¤.",todayDate:e=>`ì¤ë, ${e.date}`,todayDateSelected:e=>`ì¤ë, ${e.date} ì íë¨`},"lt-LT":{dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"SpustelÄkite, kad baigtumÄte pasirinkti datų intervalÄ
",maximumDate:"PaskutinÄ galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"SpustelÄkite, kad pradÄtumÄte pasirinkti datų intervalÄ
",todayDate:e=>`Å iandien, ${e.date}`,todayDateSelected:e=>`Å iandien, pasirinkta ${e.date}`},"lv-LV":{dateRange:e=>`No ${e.startDate} lÄ«dz ${e.endDate}`,dateSelected:e=>`AtlasÄ«ts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"PÄdÄjais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"TÄlÄk",previous:"Atpakaļ",selectedDateDescription:e=>`AtlasÄ«tais datums: ${e.date}`,selectedRangeDescription:e=>`AtlasÄ«tais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sÄktu datumu diapazona atlasi",todayDate:e=>`Å odien, ${e.date}`,todayDateSelected:e=>`AtlasÄ«ta Å¡odiena, ${e.date}`},"nb-NO":{dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for \xe5 fullf\xf8re valg av datoomr\xe5de",maximumDate:"Siste tilgjengelige dato",minimumDate:"F\xf8rste tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for \xe5 starte valg av datoomr\xe5de",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},"nl-NL":{dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`},"pl-PL":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakoÅczyÄ wyb\xf3r zakresu dat",maximumDate:"Ostatnia dostÄpna data",minimumDate:"Pierwsza dostÄpna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpoczÄ
Ä wyb\xf3r zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>
59`Dzisiaj wybrano ${e.date}`},"pt-BR":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a sele\xe7\xe3o do intervalo de datas",maximumDate:"\xdaltima data dispon\xedvel",minimumDate:"Primeira data dispon\xedvel",next:"Pr\xf3ximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a sele\xe7\xe3o do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"pt-PT":{dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"\xdaltima data dispon\xedvel",minimumDate:"Primeira data dispon\xedvel",next:"Pr\xf3ximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para come\xe7ar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},"ro-RO":{dateRange:e=>`De la ${e.startDate} p\xe2nÄ la ${e.endDate}`,dateSelected:e=>`${e.date} selectatÄ`,finishRangeSelectionPrompt:"ApÄsaÅ£i pentru a finaliza selecÅ£ia razei pentru datÄ",maximumDate:"Ultima datÄ disponibilÄ",minimumDate:"Prima datÄ disponibilÄ",next:"UrmÄtorul",previous:"\xcenainte",selectedDateDescription:e=>`DatÄ selectatÄ: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"ApÄsaÅ£i pentru a \xeencepe selecÅ£ia razei pentru datÄ",todayDate:e=>`AstÄzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectatÄ`},"ru-RU":{dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`ÐÑбÑано ${e.date}`,finishRangeSelectionPrompt:"ЩелкниÑе, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð²ÐµÑÑиÑÑ Ð²ÑÐ±Ð¾Ñ Ð´Ð¸Ð°Ð¿Ð°Ð·Ð¾Ð½Ð° даÑ",maximumDate:"ÐоÑледнÑÑ Ð´Ð¾ÑÑÑÐ¿Ð½Ð°Ñ Ð´Ð°Ñа",minimumDate:"ÐеÑÐ²Ð°Ñ Ð´Ð¾ÑÑÑÐ¿Ð½Ð°Ñ Ð´Ð°Ñа",next:"Ðалее",previous:"Ðазад",selectedDateDescription:e=>`ÐÑбÑÐ°Ð½Ð½Ð°Ñ Ð´Ð°Ñа: ${e.date}`,selectedRangeDescription:e=>`ÐÑбÑаннÑй диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"ЩелкниÑе, ÑÑÐ¾Ð±Ñ Ð½Ð°ÑаÑÑ Ð²ÑÐ±Ð¾Ñ Ð´Ð¸Ð°Ð¿Ð°Ð·Ð¾Ð½Ð° даÑ",todayDate:e=>`СегоднÑ, ${e.date}`,todayDateSelected:e=>`СегоднÑ, вÑбÑано ${e.date}`},"sk-SK":{dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybrat\xfd d\xe1tum ${e.date}`,finishRangeSelectionPrompt:"Kliknut\xedm dokonÄ\xedte v\xfdber rozsahu d\xe1tumov",maximumDate:"Posledn\xfd dostupn\xfd d\xe1tum",minimumDate:"Prv\xfd dostupn\xfd d\xe1tum",next:"Nasleduj\xface",previous:"Predch\xe1dzaj\xface",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknut\xedm spust\xedte v\xfdber rozsahu d\xe1tumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybrat\xfd dneÅ¡n\xfd d\xe1tum ${e.date}`},"sl-SI":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokonÄanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmoÄje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za zaÄetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`},"sr-SP":{dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovrÅ¡ite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"SledeÄi",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapoÄnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`},"sv-SE":{dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka f\xf6r att avsluta val av datumintervall",maximumDate:"Sista t
59illg\xe4ngliga datum",minimumDate:"F\xf6rsta tillg\xe4ngliga datum",next:"N\xe4sta",previous:"F\xf6reg\xe5ende",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka f\xf6r att v\xe4lja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`},"tr-TR":{dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} se\xe7ildi`,finishRangeSelectionPrompt:"Tarih aralıÄı se\xe7imini tamamlamak i\xe7in tıklayın",maximumDate:"Son m\xfcsait tarih",minimumDate:"İlk m\xfcsait tarih",next:"Sonraki",previous:"\xd6nceki",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralıÄı se\xe7imini baÅlatmak i\xe7in tıklayın",todayDate:e=>`Bug\xfcn, ${e.date}`,todayDateSelected:e=>`Bug\xfcn, ${e.date} se\xe7ildi`},"uk-UA":{dateRange:e=>`${e.startDate} â ${e.endDate}`,dateSelected:e=>`ÐибÑано ${e.date}`,finishRangeSelectionPrompt:"ÐаÑиÑнÑÑÑ, Ñоб завеÑÑиÑи вибÑÑ Ð´ÑÐ°Ð¿Ð°Ð·Ð¾Ð½Ñ Ð´Ð°Ñ",maximumDate:"ÐÑÑÐ°Ð½Ð½Ñ Ð´Ð¾ÑÑÑпна даÑа",minimumDate:"ÐеÑÑа доÑÑÑпна даÑа",next:"ÐаÑÑÑпний",previous:"ÐопеÑеднÑй",selectedDateDescription:e=>`ÐибÑана даÑа: ${e.date}`,selectedRangeDescription:e=>`ÐибÑаний дÑапазон: ${e.dateRange}`,startRangeSelectionPrompt:"ÐаÑиÑнÑÑÑ, Ñоб поÑаÑи вибÑÑ Ð´ÑÐ°Ð¿Ð°Ð·Ð¾Ð½Ñ Ð´Ð°Ñ",todayDate:e=>`СÑогоднÑ, ${e.date}`,todayDateSelected:e=>`СÑогоднÑ, вибÑано ${e.date}`},"zh-CN":{dateRange:e=>`${e.startDate} è³ ${e.endDate}`,dateSelected:e=>`已鿩 ${e.date}`,finishRangeSelectionPrompt:"åå»ä»¥å®æéæ©æ¥æèå´",maximumDate:"æåä¸ä¸ªå¯ç¨æ¥æ",minimumDate:"第ä¸ä¸ªå¯ç¨æ¥æ",next:"ä¸ä¸é¡µ",previous:"ä¸ä¸é¡µ",selectedDateDescription:e=>`éå®çæ¥æï¼${e.date}`,selectedRangeDescription:e=>`éå®çèå´ï¼${e.dateRange}`,startRangeSelectionPrompt:"åå»ä»¥å¼å§éæ©æ¥æèå´",todayDate:e=>`ä»å¤©ï¼å³ ${e.date}`,todayDateSelected:e=>`已鿩ä»å¤©ï¼å³ ${e.date}`},"zh-TW":{dateRange:e=>`${e.startDate} è³ ${e.endDate}`,dateSelected:e=>`å·²é¸å ${e.date}`,finishRangeSelectionPrompt:"æä¸ä¸ä»¥å®æé¸åæ¥æç¯å",maximumDate:"æå¾ä¸åå¯ç¨æ¥æ",minimumDate:"第ä¸åå¯ç¨æ¥æ",next:"ä¸ä¸é ",previous:"ä¸ä¸é ",selectedDateDescription:e=>`é¸å®çæ¥æï¼${e.date}`,selectedRangeDescription:e=>`é¸å®çç¯åï¼${e.dateRange}`,startRangeSelectionPrompt:"æä¸ä¸ä»¥éå§é¸åæ¥æç¯å",todayDate:e=>`ä»å¤©ï¼${e.date}`,todayDateSelected:e=>`å·²é¸åä»å¤©ï¼${e.date}`}}},32855:function(e,t,r){"use strict";r.d(t,{z:function(){return h}});var o=r(92738),i=r(64165),l=r(44759),s=r(11214),d=r(25146),c=r(96194),u=r(52701),p=r(95346),f=r(73849),m=r(67294);function h(e,t){var r;let h=(0,f.q)((r=i.Z)&&r.__esModule?r.default:r,"@react-aria/calendar"),g=(0,c.z)(e),v=(0,o.FK)(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),y=(0,o.FK)(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);(0,p.r)(()=>{t.isFocused||(0,l.x)(y)},[y]);let b=(0,o.So)(t);(0,p.r)(()=>{b&&(0,l.x)(b,"polite",4e3)},[b]);let x=(0,s.mp)([!!e.errorMessage,e.isInvalid,e.validationState]);o.Lh.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:x,selectedDateDescription:b});let[w,k]=(0,m.useState)(!1),_=e.isDisabled||t.isNextVisibleRangeInvalid();_&&w&&(k(!1),t.setFocused(!0));let[C,$]=(0,m.useState)(!1),S=e.isDisabled||t.isPreviousVisibleRangeInvalid();S&&C&&($(!1),t.setFocused(!0));let E=(0,u.b)({id:e.id,"aria-label":[e["aria-label"],y].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:(0,d.d)(g,E,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":h.format("next"),isDisabled:_,onFocusChange:k},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":h.format("previous"),isDisabled:S,onFocusChange:$},errorMessageProps:{id:x},title:v}}},7545:function(e,t,r){"use strict";r.d(t,{J:function(){return b}});var o=r(92738),i=r(64165),l=r(12479),s=r(25146),d=r(59988),c=r(76104),u=r(38346),p=r(13543),f=r(10132),m=r(26874),h=r(13432),g=r(73849),v=r(56993),y=r(67294);function b(e,t,r){var b;let{date:x,isDisabled:w}=e,{errorMessageId:k,selectedDateDescription:_}=o.Lh.get(t),C=(0,g.q)((b=i.Z)&&b.__esModule?b.default:b,"@react-aria/calendar"),$=(0,v.a)({weekday:"long",day:"numeric",month:"long",year:"numeric",era:(0,o.tN)(x),timeZone:t.timeZone}),S=t.isSelected(x),E=t.isCellFocused(x);w=w||t.isCellDisabled(x);let j=t.isCellUnavailable(x),N=!w&&!j,T=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&x.compare(t.highlightedRange.start)>=0&&0>=x.compare(t.highlightedRange.end):t.value&&(0,l.KC)(t.value,x));T&&(S=!0),x=(0,f.v)(x,l.N9);let P=(0,y.useMemo)(()=>x.toDate(t.timeZone),[x,t.timeZone]),A=(0,l.zk)(x,t.timeZone),O=(0,y.useMemo)(()=>{let e="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&((0,l.KC)(x,t.value.start)||(0,l.KC)(x,t.value.end))&&
59(e=_+", "),e+=$.format(P),A?e=C.format(S?"todayDateSelected":"todayDate",{date:e}):S&&(e=C.format("dateSelected",{date:e})),t.minValue&&(0,l.KC)(x,t.minValue)?e+=", "+C.format("minimumDate"):t.maxValue&&(0,l.KC)(x,t.maxValue)&&(e+=", "+C.format("maximumDate")),e},[$,P,C,S,A,x,t,_]),R="";"anchorDate"in t&&E&&!t.isReadOnly&&N&&(R=t.anchorDate?C.format("finishRangeSelectionPrompt"):C.format("startRangeSelectionPrompt"));let D=(0,u.P)(R),M=(0,y.useRef)(!1),L=(0,y.useRef)(!1),I=(0,y.useRef)(void 0),{pressProps:F,isPressed:B}=(0,h.r)({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!N||t.isReadOnly,onPressStart(e){if(t.isReadOnly){t.setFocusedDate(x);return}if("highlightedRange"in t&&!t.anchorDate&&("mouse"===e.pointerType||"touch"===e.pointerType)){if(t.highlightedRange&&!T){if((0,l.KC)(x,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(x),t.setDragging(!0),L.current=!0;return}if((0,l.KC)(x,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(x),t.setDragging(!0),L.current=!0;return}}let r=()=>{t.setDragging(!0),I.current=void 0,t.selectDate(x),t.setFocusedDate(x),M.current=!0};"touch"===e.pointerType?I.current=setTimeout(r,200):r()}},onPressEnd(){L.current=!1,M.current=!1,clearTimeout(I.current),I.current=void 0},onPress(){"anchorDate"in t||t.isReadOnly||(t.selectDate(x),t.setFocusedDate(x))},onPressUp(e){if(!t.isReadOnly&&("anchorDate"in t&&I.current&&(t.selectDate(x),t.setFocusedDate(x)),"anchorDate"in t)){if(L.current)t.setAnchorDate(x);else if(t.anchorDate&&!M.current)t.selectDate(x),t.setFocusedDate(x);else if("keyboard"!==e.pointerType||t.anchorDate)"virtual"===e.pointerType&&(t.selectDate(x),t.setFocusedDate(x));else{t.selectDate(x);let e=x.add({days:1});t.isInvalid(e)&&(e=x.subtract({days:1})),t.isInvalid(e)||t.setFocusedDate(e)}}}}),V;w||(V=(0,l.KC)(x,t.focusedDate)?0:-1),(0,y.useEffect)(()=>{E&&r.current&&((0,d.A)(r.current),"pointer"!==(0,m.Jz)()&&document.activeElement===r.current&&(0,p.G)(r.current,{containingElement:(0,c.r)(r.current)}))},[E,r]);let z=(0,v.a)({day:"numeric",timeZone:t.timeZone,calendar:x.calendar.identifier}),H=(0,y.useMemo)(()=>z.formatToParts(P).find(e=>"day"===e.type).value,[z,P]);return{cellProps:{role:"gridcell","aria-disabled":!N||void 0,"aria-selected":S||void 0,"aria-invalid":T||void 0},buttonProps:(0,s.d)(F,{onFocus(){w||t.setFocusedDate(x)},tabIndex:V,role:"button","aria-disabled":!N||void 0,"aria-label":O,"aria-invalid":T||void 0,"aria-describedby":[T?k:void 0,D["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(e){"highlightDate"in t&&("touch"!==e.pointerType||t.isDragging)&&N&&t.highlightDate(x)},onPointerDown(e){"releasePointerCapture"in e.target&&e.target.releasePointerCapture(e.pointerId)},onContextMenu(e){e.preventDefault()}}),isPressed:B,isFocused:E,isSelected:S,isDisabled:w,isUnavailable:j,isOutsideVisibleRange:0>x.compare(t.visibleRange.start)||x.compare(t.visibleRange.end)>0,isInvalid:T,formattedDate:H}}},92738:function(e,t,r){"use strict";r.d(t,{FK:function(){return m},Lh:function(){return u},So:function(){return f},tN:function(){return p}});var o=r(64165),i=r(12479),l=r(73849),s=r(56993),d=r(67294);function c(e){return e&&e.__esModule?e.default:e}let u=new WeakMap;function p(e){return(null==e?void 0:e.calendar.identifier)==="gregory"&&"BC"===e.era?"short":void 0}function f(e){var t;let r=(0,l.q)(c(o.Z),"@react-aria/calendar"),u,f;"highlightedRange"in e?{start:u,end:f}=e.highlightedRange||{}:u=f=null!==(t=e.value)&&void 0!==t?t:void 0;let m=(0,s.a)({weekday:"long",month:"long",year:"numeric",day:"numeric",era:p(u)||p(f),timeZone:e.timeZone}),g="anchorDate"in e?e.anchorDate:null;return(0,d.useMemo)(()=>{if(!g&&u&&f){if((0,i.KC)(u,f)){let t=m.format(u.toDate(e.timeZone));return r.format("selectedDateDescription",{date:t})}{let t=h(m,r,u,f,e.timeZone);return r.format("selectedRangeDescription",{dateRange:t})}}return""},[u,f,g,e.timeZone,r,m])}function m(e,t,r,u){let f=(0,l.q)(c(o.Z),"@react-aria/calendar"),m=p(e)||p(t),g=(0,s.a)({month:"long",year:"numeric",era:m,calendar:e.calendar.identifier,timeZone:r}),v=(0,s.a)({month:"long",year:"numeric",day:"numeric",era:m,calendar:e.calendar.identifier,timeZone:r});return(0,d.useMemo)(()=>
59{if((0,i.KC)(e,(0,i.Nm)(e))){if((0,i.KC)(t,(0,i.Vf)(e)))return g.format(e.toDate(r));if((0,i.KC)(t,(0,i.Vf)(t)))return u?h(g,f,e,t,r):g.formatRange(e.toDate(r),t.toDate(r))}return u?h(v,f,e,t,r):v.formatRange(e.toDate(r),t.toDate(r))},[e,t,g,v,f,r,u])}function h(e,t,r,o,i){let l=e.formatRangeToParts(r.toDate(i),o.toDate(i)),s=-1;for(let e=0;e<l.length;e++){let t=l[e];if("shared"===t.source&&"literal"===t.type)s=e;else if("endRange"===t.source)break}let d="",c="";for(let e=0;e<l.length;e++)e<s?d+=l[e].value:e>s&&(c+=l[e].value);return t.format("dateRange",{startDate:d,endDate:c})}},70386:function(e,t,r){"use strict";r.d(t,{O:function(){return f}});var o=r(67294),i=r(25146),l=r(64106),s=r(53702),d=r(13432),c=r(96194),u=r(19887),p=r(73449);function f(e,t,r){let f=(0,l.Q3)({...e,value:t.isSelected}),{isInvalid:m,validationErrors:h,validationDetails:g}=f.displayValidation,{labelProps:v,inputProps:y,isSelected:b,isPressed:x,isDisabled:w,isReadOnly:k}=function(e,t,r){let{isDisabled:o=!1,isReadOnly:l=!1,value:s,name:f,children:m,"aria-label":h,"aria-labelledby":g,validationState:v="valid",isInvalid:y}=e;null!=m||null!=h||null!=g||console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:b,isPressed:x}=(0,d.r)({isDisabled:o}),{pressProps:w,isPressed:k}=(0,d.r)({onPress(){var e;t.toggle(),null===(e=r.current)||void 0===e||e.focus()},isDisabled:o||l}),{focusableProps:_}=(0,p.kc)(e,r),C=(0,i.d)(b,_),$=(0,c.z)(e,{labelable:!0});return(0,u.y)(r,t.isSelected,t.setSelected),{labelProps:(0,i.d)(w,{onClick:e=>e.preventDefault()}),inputProps:(0,i.d)($,{"aria-invalid":y||"invalid"===v||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":l||void 0,onChange:e=>{e.stopPropagation(),t.setSelected(e.target.checked)},disabled:o,...null==s?{}:{value:s},name:f,type:"checkbox",...C}),isSelected:t.isSelected,isPressed:x||k,isDisabled:o,isReadOnly:l,isInvalid:y||"invalid"===v}}({...e,isInvalid:m},t,r);(0,s.Q)(e,f,r);let{isIndeterminate:_,isRequired:C,validationBehavior:$="aria"}=e;(0,o.useEffect)(()=>{r.current&&(r.current.indeterminate=!!_)});let{pressProps:S}=(0,d.r)({isDisabled:w||k,onPress(){let{[l.tL]:t}=e,{commitValidation:r}=t||f;r()}});return{labelProps:(0,i.d)(v,S),inputProps:{...y,checked:b,"aria-required":C&&"aria"===$||void 0,required:C&&"native"===$},isSelected:b,isPressed:x,isDisabled:w,isReadOnly:k,isInvalid:m,validationErrors:h,validationDetails:g}}},37247:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var o={};o={"ar-AE":{calendar:"Ø§ÙØªÙÙÙÙ
",day:"ÙÙÙ
",dayPeriod:"ص/Ù
",endDate:"ØªØ§Ø±ÙØ® Ø§ÙØ§ÙØªÙØ§Ø¡",era:"Ø§ÙØ¹ØµØ±",hour:"Ø§ÙØ³Ø§Ø¹Ø§Øª",minute:"Ø§ÙØ¯ÙائÙ",month:"Ø§ÙØ´Ùر",second:"Ø§ÙØ«ÙاÙÙ",selectedDateDescription:e=>`ØªØ§Ø±ÙØ® Ù
ØØ¯Ø¯: ${e.date}`,selectedRangeDescription:e=>`اÙÙ
Ø¯Ù Ø§ÙØ²Ù
Ù٠اÙÙ
ØØ¯Ø¯: ${e.startDate} Ø¥ÙÙ ${e.endDate}`,selectedTimeDescription:e=>`اÙÙÙØª اÙÙ
ØØ¯Ø¯: ${e.time}`,startDate:"ØªØ§Ø±ÙØ® Ø§ÙØ¨Ø¯Ø¡",timeZoneName:"Ø§ÙØªÙÙÙØª",weekday:"اÙÙÙÙ
",year:"Ø§ÙØ³ÙØ©"},"bg-BG":{calendar:"ÐалендаÑ",day:"ден",dayPeriod:"пÑ.об./Ñл.об.",endDate:"ÐÑайна даÑа",era:"еÑа",hour:"ÑаÑ",minute:"минÑÑа",month:"меÑеÑ",second:"ÑекÑнда",selectedDateDescription:e=>`ÐзбÑана даÑа: ${e.date}`,selectedRangeDescription:e=>`ÐзбÑан диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`ÐзбÑано вÑеме: ${e.time}`,startDate:"ÐаÑална даÑа",timeZoneName:"ÑаÑова зона",weekday:"ден Ð¾Ñ ÑедмиÑаÑа",year:"година"},"cs-CZ":{calendar:"Kalend\xe1Å",day:"den",dayPeriod:"Ä\xe1st dne",endDate:"KoneÄn\xe9 datum",era:"letopoÄet",hour:"hodina",minute:"minuta",month:"mÄs\xedc",second:"sekunda",selectedDateDescription:e=>`Vybran\xe9 datum: ${e.date}`,selectedRangeDescription:e=>`Vybran\xe9 obdob\xed: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybran\xfd Äas: ${e.time}`,startDate:"PoÄ\xe1teÄn\xed datum",timeZoneName:"Äasov\xe9 p\xe1smo",weekday:"den v t\xfddnu",year:"rok"}
59,"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xe6ra",hour:"time",minute:"minut",month:"m\xe5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xe5r"},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xe4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgew\xe4hltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgew\xe4hlter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgew\xe4hlte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:"ÎμεÏολÏγιο",day:"ημÎÏα",dayPeriod:"Ï.μ./μ.μ.",endDate:"ÎμεÏομηνία λήξηÏ",era:"ÏεÏίοδοÏ",hour:"ÏÏα",minute:"λεÏÏÏ",month:"μήναÏ",second:"δεÏ
ÏεÏÏλεÏÏο",selectedDateDescription:e=>`ÎÏιλεγμÎνη ημεÏομηνία: ${e.date}`,selectedRangeDescription:e=>`ÎÏιλεγμÎνο εÏÏοÏ: ${e.startDate} ÎÏÏ ${e.endDate}`,selectedTimeDescription:e=>`ÎÏιλεγμÎνη ÏÏα: ${e.time}`,startDate:"ÎμεÏομηνία ÎναÏξηÏ",timeZoneName:"ζÏνη ÏÏαÏ",weekday:"καθημεÏινή",year:"ÎÏοÏ"},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:"d\xeda",dayPeriod:"a.\xa0m./p.\xa0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xeda de la semana",year:"a\xf1o"},"et-EE":{calendar:"Kalender",day:"p\xe4ev",dayPeriod:"enne/p\xe4rast l\xf5unat",endDate:"L\xf5ppkuup\xe4ev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuup\xe4ev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuup\xe4ev",timeZoneName:"ajav\xf6\xf6nd",weekday:"n\xe4dalap\xe4ev",year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:"p\xe4iv\xe4",dayPeriod:"vuorokaudenaika",endDate:"P\xe4\xe4ttymisp\xe4iv\xe4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${e.date}`,selectedRangeDescription:e=>`Valittu aikav\xe4li: ${e.startDate} â ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamisp\xe4iv\xe4",timeZoneName:"aikavy\xf6hyke",weekday:"viikonp\xe4iv\xe4",year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xe8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date s\xe9lectionn\xe9e\xa0: ${e.date}`,selectedRangeDescription:e=>`Plage s\xe9lectionn\xe9e\xa0: ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie\xa0: ${e.time}`,startDate:"Date de d\xe9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xe9e"},"he-IL":{calendar:"××× ×©× ×",day:"×××",dayPeriod:"××¤× ×״צ/×××״צ",endDate:"ת×ר×× ×¡×××",era:"תק×פ×",hour:"שע×",minute:"××§×",month:"×××ש",second:"×©× ×××",selectedDateDescription:e=>`ת×ר×× × ××ר: ${e.date}`,selectedRangeDescription:e=>`×××× × ××ר: ${e.startDate} ×¢× ${e.endDate}`,selectedTimeDescription:e=>`××× × ××ר: ${e.time}`,startDate:"ת×ר×× ×ת×××",timeZoneName:"×××ר ×××",weekday:"××× ×ש×××¢",year:"×©× ×"}
59,"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum zavrÅ¡etka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum poÄetka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:"Napt\xe1r",day:"nap",dayPeriod:"napszak",endDate:"BefejezÅ d\xe1tum",era:"\xe9ra",hour:"\xf3ra",minute:"perc",month:"h\xf3nap",second:"m\xe1sodperc",selectedDateDescription:e=>`Kijel\xf6lt d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Kijel\xf6lt tartom\xe1ny: ${e.startDate}â${e.endDate}`,selectedTimeDescription:e=>`Kijel\xf6lt idÅ: ${e.time}`,startDate:"KezdÅ d\xe1tum",timeZoneName:"idÅz\xf3na",weekday:"h\xe9t napja",year:"\xe9v"},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:"ã«ã¬ã³ãã¼",day:"æ¥",dayPeriod:"åå/åå¾",endDate:"çµäºæ¥",era:"æä»£",hour:"æ",minute:"å",month:"æ",second:"ç§",selectedDateDescription:e=>`鏿ããæ¥ä» : ${e.date}`,selectedRangeDescription:e=>`鏿ç¯å² : ${e.startDate} ãã ${e.endDate}`,selectedTimeDescription:e=>`鏿ããæé : ${e.time}`,startDate:"éå§æ¥",timeZoneName:"ã¿ã¤ã ã¾ã¼ã³",weekday:"ææ¥",year:"å¹´"},"ko-KR":{calendar:"ë¬ë ¥",day:"ì¼",dayPeriod:"ì¤ì /ì¤í",endDate:"ì¢
ë£ì¼",era:"ì°í¸",hour:"ì",minute:"ë¶",month:"ì",second:"ì´",selectedDateDescription:e=>`ì í ì¼ì: ${e.date}`,selectedRangeDescription:e=>`ì í ë²ì: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`ì í ìê°: ${e.time}`,startDate:"ììì¼",timeZoneName:"ìê°ë",weekday:"ìì¼",year:"ë
"},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutÄ",month:"mÄnuo",second:"sekundÄ",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitÄs diena",year:"metai"},"lv-LV":{calendar:"KalendÄrs",day:"diena",dayPeriod:"priekÅ¡pusdienÄ/pÄcpusdienÄ",endDate:"Beigu datums",era:"Ära",hour:"stundas",minute:"minÅ«tes",month:"mÄnesis",second:"sekundes",selectedDateDescription:e=>`AtlasÄ«tais datums: ${e.date}`,selectedRangeDescription:e=>`AtlasÄ«tais diapazons: no ${e.startDate} lÄ«dz ${e.endDate}`,selectedTimeDescription:e=>`AtlasÄ«tais laiks: ${e.time}`,startDate:"SÄkuma datums",timeZoneName:"laika josla",weekday:"nedÄļas diena",year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xe5ned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt omr\xe5de: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xe5r"},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:"dzieÅ",dayPeriod:"rano / po poÅudniu / wieczorem",endDate:"Data koÅcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiÄ
c",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data poczÄ
tkowa",timeZoneName:"strefa czasowa",weekday:"dzieÅ tygodnia",year:"rok"},"pt-BR":{calendar:"Calend\xe1rio",day:"dia",dayPeriod:"AM/PM",endD
59ate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"m\xeas",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso hor\xe1rio",weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:"Calend\xe1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xe9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xeas",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de In\xedcio",timeZoneName:"fuso hor\xe1rio",weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"DatÄ final",era:"erÄ",hour:"orÄ",minute:"minut",month:"lunÄ",second:"secundÄ",selectedDateDescription:e=>`DatÄ selectatÄ: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} p\xe2nÄ la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectatÄ: ${e.time}`,startDate:"DatÄ \xeenceput",timeZoneName:"fus orar",weekday:"ziua din sÄptÄm\xe2nÄ",year:"an"},"ru-RU":{calendar:"ÐалендаÑÑ",day:"денÑ",dayPeriod:"AM/PM",endDate:"ÐаÑа оконÑаниÑ",era:"ÑÑа",hour:"ÑаÑ",minute:"минÑÑа",month:"меÑÑÑ",second:"ÑекÑнда",selectedDateDescription:e=>`ÐÑбÑÐ°Ð½Ð½Ð°Ñ Ð´Ð°Ñа: ${e.date}`,selectedRangeDescription:e=>`ÐÑбÑаннÑй диапазон: Ñ ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>
59`ÐÑбÑанное вÑемÑ: ${e.time}`,startDate:"ÐаÑа наÑала",timeZoneName:"ÑаÑовой поÑÑ",weekday:"Ð´ÐµÐ½Ñ Ð½ÐµÐ´ÐµÐ»Ð¸",year:"год"},"sk-SK":{calendar:"Kalend\xe1r",day:"deÅ",dayPeriod:"AM/PM",endDate:"D\xe1tum ukonÄenia",era:"letopoÄet",hour:"hodina",minute:"min\xfata",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybrat\xfd d\xe1tum: ${e.date}`,selectedRangeDescription:e=>`Vybrat\xfd rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybrat\xfd Äas: ${e.time}`,startDate:"D\xe1tum zaÄatia",timeZoneName:"Äasov\xe9 p\xe1smo",weekday:"deÅ t\xfdždÅa",year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano obmoÄje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani Äas: ${e.time}`,startDate:"Datum zaÄetka",timeZoneName:"Äasovni pas",weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:"дан",dayPeriod:"пÑе подне/по подне",endDate:"Datum zavrÅ¡etka",era:"еÑа",hour:"ÑаÑ",minute:"минÑÑ",month:"меÑеÑ",second:"ÑекÑнд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum poÄetka",timeZoneName:"вÑеменÑка зона",weekday:"дан Ñ Ð½ÐµÐ´ÐµÑи",year:"година"},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xe5nad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xe5r"},"tr-TR":{calendar:"Takvim",day:"g\xfcn",dayPeriod:"\xd6\xd6/\xd6S",endDate:"BitiÅ Tarihi",era:"\xe7aÄ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Se\xe7ilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Se\xe7ilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Se\xe7ilen Zaman: ${e.time}`,startDate:"BaÅlangı\xe7 Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın g\xfcn\xfc",year:"yıl"},"uk-UA":{calendar:"ÐалендаÑ",day:"денÑ",dayPeriod:"дп/пп",endDate:"ÐаÑа завеÑÑеннÑ",era:"еÑа",hour:"година",minute:"Ñ
вилина",month:"мÑÑÑÑÑ",second:"ÑекÑнда",selectedDateDescription:e=>`ÐибÑана даÑа: ${e.date}`,selectedRangeDescription:e=>`ÐибÑаний дÑапазон: ${e.startDate} â ${e.endDate}`,selectedTimeDescription:e=>`ÐибÑаний ÑаÑ: ${e.time}`,startDate:"ÐаÑа поÑаÑкÑ",timeZoneName:"ÑаÑовий поÑÑ",weekday:"Ð´ÐµÐ½Ñ ÑижнÑ",year:"ÑÑк"},"zh-CN":{calendar:"æ¥å",day:"æ¥",dayPeriod:"ä¸å/ä¸å",endDate:"ç»ææ¥æ",era:"纪å
",hour:"å°æ¶",minute:"åé",month:"æ",second:"ç§",selectedDateDescription:e=>`éå®çæ¥æï¼${e.date}`,selectedRangeDescription:e=>`éå®çèå´ï¼${e.startDate} è³ ${e.endDate}`,selectedTimeDescription:e=>`éå®çæ¶é´ï¼${e.time}`,startDate:"å¼å§æ¥æ",timeZoneName:"æ¶åº",weekday:"工使¥",year:"å¹´"},"zh-TW":{calendar:"æ¥æ",day:"æ¥",dayPeriod:"ä¸å/ä¸å",endDate:"çµææ¥æ",era:"纪å
",hour:"å°æ¶",minute:"åé",month:"æ",second:"ç§",selectedDateDescription:e=>`é¸å®çæ¥æï¼${e.date}`,selectedRangeDescription:e=>`é¸å®çç¯åï¼${e.startDate} è³ ${e.endDate}`,selectedTimeDescription:e=>`é¸å®çæéï¼${e.time}`,startDate:"éå§æ¥æ",timeZoneName:"æ¶åº",weekday:"工使¥",year:"å¹´"}}},74915:function(e,t,r){"use strict";r.d(t,{Ff:function(){return b},IZ:function(){return x},KX:function(){return y},Lh:function(){return v}});var o=r(37247),i=r(40953),l=r(48356),s=r(25146),d=r(96194),c=r(38346),u=r(19887),p=r(54039),f=r(67294),m=r(90539),h=r(53702),g=r(73849);let v=new WeakMap,y="__role_"+Date.now(),b="__focusManager_"+Date.now();function x(e,t,r){var x,w;
59let{isInvalid:k,validationErrors:_,validationDetails:C}=t.displayValidation,{labelProps:$,fieldProps:S,descriptionProps:E,errorMessageProps:j}=(0,m.U)({...e,labelElementType:"span",isInvalid:k,errorMessage:e.errorMessage||_}),N=(0,f.useRef)(null),{focusWithinProps:T}=(0,p.L)({...e,onFocusWithin(r){var o;N.current=t.value,null===(o=e.onFocus)||void 0===o||o.call(e,r)},onBlurWithin:r=>{var o;t.confirmPlaceholder(),t.value!==N.current&&t.commitValidation(),null===(o=e.onBlur)||void 0===o||o.call(e,r)},onFocusWithinChange:e.onFocusChange}),P=(0,g.q)((w=o.Z)&&w.__esModule?w.default:w,"@react-aria/datepicker"),A="hour"===t.maxGranularity?"selectedTimeDescription":"selectedDateDescription",O="hour"===t.maxGranularity?"time":"date",R=t.value?P.format(A,{[O]:t.formatValue({month:"long"})}):"",D=(0,c.P)(R),M="presentation"===e[y]?S["aria-describedby"]:[D["aria-describedby"],S["aria-describedby"]].filter(Boolean).join(" ")||void 0,L=e[b],I=(0,f.useMemo)(()=>L||(0,l.E7)(r),[L,r]),F=(0,i.H)(t,r,"presentation"===e[y]);v.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[$.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:M,focusManager:I});let B=(0,f.useRef)(e.autoFocus),V;V="presentation"===e[y]?{role:"presentation"}:(0,s.d)(S,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":M}),(0,f.useEffect)(()=>{B.current&&I.focusFirst(),B.current=!1},[I]),(0,u.y)(e.inputRef,t.defaultValue,t.setValue),(0,h.Q)({...e,focus(){I.focusFirst()}},t,e.inputRef);let z={type:"hidden",name:e.name,form:e.form,value:(null===(x=t.value)||void 0===x?void 0:x.toString())||"",disabled:e.isDisabled};"native"===e.validationBehavior&&(z.type="text",z.hidden=!0,z.required=e.isRequired,z.onChange=()=>{});let H=(0,d.z)(e);return{labelProps:{...$,onClick:()=>{I.focusFirst()}},fieldProps:(0,s.d)(H,V,F,T,{onKeyDown(t){e.onKeyDown&&e.onKeyDown(t)},onKeyUp(t){e.onKeyUp&&e.onKeyUp(t)},style:{unicodeBidi:"isolate"}}),inputProps:z,descriptionProps:E,errorMessageProps:j,isInvalid:k,validationErrors:_,validationDetails:C}}},40953:function(e,t,r){"use strict";r.d(t,{H:function(){return c}});var o=r(48356),i=r(25146),l=r(13432),s=r(54181),d=r(67294);function c(e,t,r){let{direction:c}=(0,s.j)(),p=(0,d.useMemo)(()=>(0,o.E7)(t),[t]),f=()=>{var e;if(!t.current)return;let r=null===(e=window.event)||void 0===e?void 0:e.target,i=(0,o.QL)(t.current,{tabbable:!0});if(r&&(i.currentNode=r,r=i.previousNode()),!r){let e;do(e=i.lastChild())&&(r=e);while(e)}for(;null!=r&&r.hasAttribute("data-placeholder");){let e=i.previousNode();if(e&&e.hasAttribute("data-placeholder"))r=e;else break}r&&r.focus()},{pressProps:m}=(0,l.r)({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){"mouse"===e.pointerType&&f()},onPress(e){("touch"===e.pointerType||"pen"===e.pointerType)&&f()}});return(0,i.d)(m,{onKeyDown:o=>{if(o.currentTarget.contains(o.target)&&(o.altKey&&("ArrowDown"===o.key||"ArrowUp"===o.key)&&"setOpen"in e&&(o.preventDefault(),o.stopPropagation(),e.setOpen(!0)),!r))switch(o.key){case"ArrowLeft":if(o.preventDefault(),o.stopPropagation(),"rtl"===c){if(t.current){let e=o.target,r=u(t.current,e.getBoundingClientRect().left,-1);r&&r.focus()}}else p.focusPrevious();break;case"ArrowRight":if(o.preventDefault(),o.stopPropagation(),"rtl"===c){if(t.current){let e=o.target,r=u(t.current,e.getBoundingClientRect().left,1);r&&r.focus()}}else p.focusNext()}}})}function u(e,t,r){let i=(0,o.QL)(e,{tabbable:!0}),l=i.nextNode(),s=null,d=1/0;for(;l;){let e=l.getBoundingClientRect().left-t,o=Math.abs(e);Math.sign(e)===r&&o<d&&(s=l,d=o),l=i.nextNode()}return s}},33889:function(e,t,r){"use strict";r.d(t,{R:function(){return c}});var o=r(11214),i=r(96194),l=r(48476),s=r(67294),d=r(26319);function c(e,t){let{role:r="dialog"}=e,c=(0,o.mp)();c=e["aria-label"]?void 0:c;let u=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{if(t.current&&!t.current.contains(document.activeElement)){(0,l.e)(t.current);let e=setTimeout(()=>{document.activeElement===t.current&&(u.current=!0,t.current&&(t.current.blur(),(0,l.e)(t.current)),u.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,d.Bq)(),{dialogProps:{...(0,i.z)(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||c,onBlur:e=>{u.current&&e.stopPropagation()}},titleProps:{id:c}}}},48356:function(e,t,r){"use strict";r.d(t,{MT:function(){return y},E7:function(){return A},QL:function(){return P},cW:function(){return C},bO:function(){return b}});var o=r(29344),i=r(82689);class l{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,o.bE)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],r=e,i=e;for(this._currentNode=e;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=r,o=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=i,this._currentSetFor.add(o),r=i=e.host}else r=r.parentNode;let l=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(l),l.currentNode=i,this._currentSetFor.add(l),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,o.bE)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let r;if("function"==typeof this.filter?r=this.filter(e):!(null===(t=this.filter)||void 0===t)&&t.acceptNode&&(r=this.filter.acceptNode(e)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let o=this.nextNode();return o&&(this.currentNode=o),o}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){var r;let e;if("function"==typeof this.filter?e=this.filter(t):!(null===(r=this.filter)||void 0===r)&&r.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let o=this.lastChild();return o&&(this.currentNode=o),o}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,r,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let r=e.shadowRoot;if(r){let e=this._doc.createTreeWalker(r,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(!(null===(t=this.filter)||void 0===t)&&t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,r,this._acceptNode));let i=t.shadowRoot;if(i){let e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var s=r(25828),d=r(12181),c=r(40267),u=r(84807),p=r(26874),f=r(48476),m=r(67294);let h=m.createContext(null),g="react-aria-focus-scope-restore",v=null;function y(e){let t,r,{children:i,contain:l,restoreFocus:u,autoFocus:f}=e,y=(0,m.useRef)(null),b=(0,m.useRef)(null),C=(0,m.useRef)([]),{parentNode:A}=(0,m.useContext)(h)||{},O=(0,m.useMemo)(()=>new D({scopeRef:C}),[C]);(0,d.b)(()=>{let e=A||M.root;if(M.getTreeNode(e.scopeRef)&&v&&!$(v,e.scopeRef)){let t=M.getTreeNode(v);t&&(e=t)}e.addChild(O),M.addNode(O)},[O,A]),(0,d.b)(()=>{let e=M.getTreeNode(C);e&&(e.contain=!!l)},[l]),(0,d.b)(()=>{var e;let t=null===(e=y.current)||void 0===e?void 0:e.nextSibling,r=[],o=e=>e.stopPropagation();for(;t&&t!==b.current;)r.push(t),t.addEventListener(g,o),t=t.nextSibling;return C.current=r,()=>{for(let e of r)e.removeEventListener(g,o)}},[i]),(0,d.b)(()=>
59{if(u||l)return;let e=C.current,t=(0,s.r3)(e?e[0]:void 0),r=e=>{let t=(0,o.NI)(e);k(t,C.current)?v=C:_(t)||(v=null)};return t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1))}},[C,u,l]),t=(0,m.useRef)(void 0),r=(0,m.useRef)(void 0),(0,d.b)(()=>{let e=C.current;if(!l){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}let i=(0,s.r3)(e?e[0]:void 0),d=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!w(C)||e.isComposing)return;let t=(0,o.vY)(i),r=C.current;if(!r||!k(t,r))return;let l=P(x(r),{tabbable:!0},r);if(!t)return;l.currentNode=t;let s=e.shiftKey?l.previousNode():l.nextNode();s||(l.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,s=e.shiftKey?l.previousNode():l.nextNode()),e.preventDefault(),s&&S(s,!0)},u=e=>{(!v||$(v,C))&&k((0,o.NI)(e),C.current)?(v=C,t.current=(0,o.NI)(e)):w(C)&&!_((0,o.NI)(e),C)?t.current?t.current.focus():v&&v.current&&j(v.current):w(C)&&(t.current=(0,o.NI)(e))},f=e=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let r=(0,p.Jz)(),l=("virtual"===r||null===r)&&(0,c.Dt)()&&(0,c.i7)(),s=(0,o.vY)(i);if(!l&&s&&w(C)&&!_(s,C)){v=C;let r=(0,o.NI)(e);if(r&&r.isConnected){var d;t.current=r,null===(d=t.current)||void 0===d||d.focus()}else v.current&&j(v.current)}})};return i.addEventListener("keydown",d,!1),i.addEventListener("focusin",u,!1),null==e||e.forEach(e=>e.addEventListener("focusin",u,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",f,!1)),()=>{i.removeEventListener("keydown",d,!1),i.removeEventListener("focusin",u,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",u,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",f,!1))}},[C,l]),(0,d.b)(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r]),function(e,t,r){let i=(0,m.useRef)("u">typeof document?(0,o.vY)((0,s.r3)(e.current?e.current[0]:void 0)):null);(0,d.b)(()=>{let i=e.current,l=(0,s.r3)(i?i[0]:void 0);if(!t||r)return;let d=()=>{(!v||$(v,e))&&k((0,o.vY)(l),e.current)&&(v=e)};return l.addEventListener("focusin",d,!1),null==i||i.forEach(e=>e.addEventListener("focusin",d,!1)),()=>{l.removeEventListener("focusin",d,!1),null==i||i.forEach(e=>e.removeEventListener("focusin",d,!1))}},[e,r]),(0,d.b)(()=>{let o=(0,s.r3)(e.current?e.current[0]:void 0);if(!t)return;let i=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!w(e)||t.isComposing)return;let r=o.activeElement;if(!_(r,e)||!N(e))return;let i=M.getTreeNode(e);if(!i)return;let l=i.nodeToRestore,s=P(o.body,{tabbable:!0});s.currentNode=r;let d=t.shiftKey?s.previousNode():s.nextNode();if(l&&l.isConnected&&l!==o.body||(l=void 0,i.nodeToRestore=void 0),(!d||!_(d,e))&&l){s.currentNode=l;do d=t.shiftKey?s.previousNode():s.nextNode();while(_(d,e));t.preventDefault(),t.stopPropagation(),d?S(d,!0):_(l)?S(l,!0):r.blur()}};return r||o.addEventListener("keydown",i,!0),()=>{r||o.removeEventListener("keydown",i,!0)}},[e,t,r]),(0,d.b)(()=>{let r=(0,s.r3)(e.current?e.current[0]:void 0);if(!t)return;let l=M.getTreeNode(e);if(l){var d;return l.nodeToRestore=null!==(d=i.current)&&void 0!==d?d:void 0,()=>{let i=M.getTreeNode(e);if(!i)return;let l=i.nodeToRestore,s=(0,o.vY)(r);if(t&&l&&(s&&_(s,e)||s===r.body&&N(e))){let t=M.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let r=t.getTreeNode(e);for(;r;){if(r.nodeToRestore&&r.nodeToRestore.isConnected){T(r.nodeToRestore);return}r=r.parent}for(r=t.getTreeNode(e);r;){if(r.scopeRef&&r.scopeRef.current&&M.getTreeNode(r.scopeRef)){T(E(r.scopeRef.current,!0));return}r=r.parent}}})}}}},[e,t])}(C,u,l),function(e,t){let r=m.useRef(t);(0,m.useEffect)(()=>{if(r.current){v=e;let t=(0,s.r3)(e.current?e.current[0]:void 0);!k((0,o.vY)(t),v.current)&&e.current&&j(e.current)}r.current=!1},[e])}(C,f),(0,m.useEffect)(()=>{let e=(0,o.vY)((0,s.r3)(C.current?C.current[0]:void 0)),t=null;if(k(e,C.current)){for(let r of M.traverse())r.scopeRef&&k(e,r.scopeRef.current)&&(t=r);t===M.getTreeNode(C)&&(v=t.scopeRef)}},[C]),(0,d.b)(()=>()=>{var e,t,r;let o=null!==(r=null===(t=M.getTreeNode(C))||void 0===t||null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==r?r:null;(C===v||$(C,v))&&(!o||M.getTreeNode(o))&&(v=o),M.removeTreeNode(C)},[C]);let R=(0,m.useMemo)(()=>({focusNext(e={}){var t;let r=C.current,{from:i,tabbable:l,wrap:d,accept:c}=e,u=i||(0,o.vY)((0,s.r3)(null!==(t=r[0])&&void 0!==t?t:void 0)),p=r[0].previousElementSibling,f=P(x(r),{tabbable:l,accept:c},r);f.currentNode=k(u,r)?u:p;let m=f.nextNode();return!m&&d&&(f.currentNode=p,m=f.nextNode()),m&&S(m,!0),m},focusPrevious(e={}){var t;let r=C.current,{from:i,tabbable:l,wrap:d,accept:c}=e,u=i||(0,o.vY)((0,s.r3)(null!==(t=r[0])&&void 0!==t?t:void 0)),p=r[r.length-1].nextElementSibling,f=P(x(r),{tabbable:l,accept:c},r);f.currentNode=k(u,r)?u:p;let m=f.previousNode();return!m&&d&&(f.currentNode=p,m=f.previousNode()),m&&S(m,!0),m},focusFirst(e={}){let t=C.current,{tabbable:r,accept:o}=e,i=P(x(t),{tabbable:r,accept:o},t);i.currentNode=t[0].previousElementSibling;let l=i.nextNode();return l&&S(l,!0),l},focusLast(e={}){let t=C.current,{tabbable:r,accept:o}=e,i=P(x(t),{tabbable:r,accept:o},t);i.currentNode=t[t.length-1].nextElementSibling;let l=i.previousNode();return l&&S(l,!0),l}}),[]),L=(0,m.useMemo)(()=>({focusManager:R,parentNode:O}),[O,R]);return m.createElement(h.Provider,{value:L},m.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:y}),i,m.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:b}))}function b(){var e;return null===(e=(0,m.useContext)(h))||void 0===e?void 0:e.focusManager}function x(e){return e[0].parentElement}function w(e){let t=M.getTreeNode(v);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function k(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function _(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of M.traverse(M.getTreeNode(t)))if(r&&k(e,r.current))return!0;return!1}function C(e){return _(e,v)}function $(e,t){var r;let o=null===(r=M.getTreeNode(t))||void 0===r?void 0:r.parent;for(;o;){if(o.scopeRef===e)return!0;o=o.parent}return!1}function S(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,f.e)(e)}catch{}}function E(e,t=!0){let r=e[0].previousElementSibling,o=x(e),i=P(o,{tabbable:t},e);i.currentNode=r;let l=i.nextNode();return t&&!l&&((i=P(o=x(e),{tabbable:!1},e)).currentNode=r,l=i.nextNode()),l}function j(e,t=!0){S(E(e,t))}function N(e){let t=M.getTreeNode(v);for(;t&&t.scopeRef!==e;
59){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function T(e){e.dispatchEvent(new CustomEvent(g,{bubbles:!0,cancelable:!0}))&&S(e)}function P(e,t,r){var o,d,c;let p=null!=t&&t.tabbable?u.W:u.E,f=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,m=(0,s.r3)(f),h=(o=e||m,d=NodeFilter.SHOW_ELEMENT,c={acceptNode(e){var o;return!(null==t||null===(o=t.from)||void 0===o)&&o.contains(e)||null!=t&&t.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=[];if(e.form){var r,o;t=[...(null===(o=e.form)||void 0===o||null===(r=o.elements)||void 0===r?void 0:r.namedItem(e.name))??[]]}else t=[...(0,s.r3)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(e=>!e.form);return!!t&&!t.some(e=>e.checked)}(e)||"INPUT"===h.currentNode.tagName&&"radio"===h.currentNode.type&&h.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:p(e)&&(!r||k(e,r))&&(!(null!=t&&t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}},(0,i.W)()?new l(m,o,d,c):m.createTreeWalker(o,d,c));return null!=t&&t.from&&(h.currentNode=t.from),h}function A(e,t={}){return{focusNext(r={}){let i=e.current;if(!i)return null;let{from:l,tabbable:d=t.tabbable,wrap:c=t.wrap,accept:u=t.accept}=r,p=l||(0,o.vY)((0,s.r3)(i)),f=P(i,{tabbable:d,accept:u});i.contains(p)&&(f.currentNode=p);let m=f.nextNode();return!m&&c&&(f.currentNode=i,m=f.nextNode()),m&&S(m,!0),m},focusPrevious(r=t){let i=e.current;if(!i)return null;let{from:l,tabbable:d=t.tabbable,wrap:c=t.wrap,accept:u=t.accept}=r,p=l||(0,o.vY)((0,s.r3)(i)),f=P(i,{tabbable:d,accept:u});if(i.contains(p))f.currentNode=p;else{let e=O(f);return e&&S(e,!0),e??null}let m=f.previousNode();if(!m&&c){f.currentNode=i;let e=O(f);if(!e)return null;m=e}return m&&S(m,!0),m??null},focusFirst(r=t){let o=e.current;if(!o)return null;let{tabbable:i=t.tabbable,accept:l=t.accept}=r,s=P(o,{tabbable:i,accept:l}).nextNode();return s&&S(s,!0),s},focusLast(r=t){let o=e.current;if(!o)return null;let{tabbable:i=t.tabbable,accept:l=t.accept}=r,s=O(P(o,{tabbable:i,accept:l}));return s&&S(s,!0),s??null}}}function O(e){let t,r;do(r=e.lastChild())&&(t=r);while(r);return t}class R{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let o=this.fastMap.get(t??null);if(!o)return;let i=new D({scopeRef:e});o.addChild(i),i.parent=o,this.fastMap.set(e,i),r&&(i.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&k(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let o=t.children;r&&(r.removeChild(t),o.size>0&&o.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let r=new R;for(let o of this.traverse())r.addTreeNode(o.scopeRef,null!==(t=null===(e=o.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,o.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new D({scopeRef:null}),this.fastMap.set(null,this.root)}}class D{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let M=new R},75607:function(e,t,r){"use strict";r.d(t,{F:function(){return d}});var o=r(36698),i=r(26874),l=r(54039),s=r(67294);function d(e={}){let{autoFocus:t=!1,isTextInput:r,within:d}=e,c=(0,s.useRef)({isFocused:!1,isFocusVisible:t||(0,i.E)()}),[u,p]=(0,s.useState)(!1),[f,m]=(0,s.useState)(()=>c.current.isFocused&&c.current.isFocusVisible),h=(0,s.useCallback)(()=>m(c.current.isFocused&&c.current.isFocusVisible),[]),g=(0,s.useCallback)(e=>{c.current.isFocused=e,p(e),h()},[h]);(0,i.mG)(e=>{c.current.isFocusVisible=e,h()},[],{isTextInput:r});let{focusProps:v}=(0,o.K)({isDisabled:d,onFocusChange:g}),{focusWithinProps:y}=(0,l.L)({isDisabled:!d,onFocusWithinChange:g});return{isFocused:u,isFocusVisible:f,focusProps:d?y:v}}},53702:function(e,t,r){"use strict";r.d(t,{Q:function(){return d}});var o=r(26874),i=r(67294),l=r(12181),s=r(37135);function d(e,t,r){let{validationBehavior:d,focus:c}=e;(0,l.b)(()=>
59{if("native"===d&&null!=r&&r.current&&!r.current.disabled){var e;let o,i=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(i),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=r.current).validity.valid,validationDetails:{badInput:(o=e.validity).badInput,customError:o.customError,patternMismatch:o.patternMismatch,rangeOverflow:o.rangeOverflow,rangeUnderflow:o.rangeUnderflow,stepMismatch:o.stepMismatch,tooLong:o.tooLong,tooShort:o.tooShort,typeMismatch:o.typeMismatch,valueMissing:o.valueMissing,valid:o.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let u=(0,i.useRef)(!1),p=(0,s.i)(()=>{u.current||t.resetValidation()}),f=(0,s.i)(e=>{var i,l;t.displayValidation.isInvalid||t.commitValidation();let s=null==r||null===(i=r.current)||void 0===i?void 0:i.form;!e.defaultPrevented&&r&&s&&function(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(!r.validity.valid)return r}return null}(s)===r.current&&(c?c():null===(l=r.current)||void 0===l||l.focus(),(0,o._w)("keyboard")),e.preventDefault()}),m=(0,s.i)(()=>{t.commitValidation()});(0,i.useEffect)(()=>{let e=null==r?void 0:r.current;if(!e)return;let t=e.form,o=null==t?void 0:t.reset;return t&&(t.reset=()=>{u.current=!window.event||"message"===window.event.type&&window.event.target instanceof MessagePort,null==o||o.call(t),u.current=!1}),e.addEventListener("invalid",f),e.addEventListener("change",m),null==t||t.addEventListener("reset",p),()=>{e.removeEventListener("invalid",f),e.removeEventListener("change",m),null==t||t.removeEventListener("reset",p),t&&(t.reset=o)}},[r,d])}},54181:function(e,t,r){"use strict";r.d(t,{b:function(){return b},j:function(){return x}});let o=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function l(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return o.has(t.script)}let t=e.split("-")[0];return i.has(t)}var s=r(67294),d=r(30834);let c=Symbol.for("react-aria.i18n.locale");function u(){let e="u">typeof window&&window[c]||"u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:l(e)?"rtl":"ltr"}}let p=u(),f=new Set;function m(){for(let e of(p=u(),f))e(p)}function h(){let e=(0,d.A)(),[t,r]=(0,s.useState)(p);return(0,s.useEffect)(()=>(0===f.size&&window.addEventListener("languagechange",m),f.add(r),()=>{f.delete(r),0===f.size&&window.removeEventListener("languagechange",m)}),[]),e?{locale:"u">typeof window&&window[c]||"en-US",direction:"ltr"}:t}let g=s.createContext(null);function v(e){let{locale:t,children:r}=e,o=s.useMemo(()=>({locale:t,direction:l(t)?"rtl":"ltr"}),[t]);return s.createElement(g.Provider,{value:o},r)}function y(e){let{children:t}=e,r=h();return s.createElement(g.Provider,{value:r},t)}function b(e){let{locale:t,children:r}=e;return t?s.createElement(v,{locale:t,children:r}):s.createElement(y,{children:r})}function x(){let e=h();return(0,s.useContext)(g)||e}},94852:function(e,t,r){"use strict";r.d(t,{X:function(){return l}});var o=r(54181);let i=new Map;function l(e){let{locale:t}=(0,o.j)(),r=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(i.has(r))return i.get(r);let l=new Intl.Collator(t,e);return i.set(r,l),l}},56993:function(e,t,r){"use strict";r.d(t,{a:function(){return d}});var o=r(54181),i=r(61448),l=r(10132),s=r(67294);function d(e){e=(0,l.v)(e??{},c);let{locale:t}=(0,o.j)();return(0,s.useMemo)(()=>new i.C(t,e),[t,e])}function c(e,t){if(e===t)return!0;let r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let o of r)if(t[o]!==e[o])return!1;return!0}},54245:function(e,t,r){"use strict";r.d(t,{L:function(){return l}});var o=r(94852),i=r(67294);function l(e){let t=(0,o.X)({usage:"search",...e}),r=(0,i.useCallback)((e,r)=>0===r.length||(e=e.normalize("NFC"),r=r.normalize("NFC"),0===t.compare(e.slice(0,r.length),r)),[t]),l=(0,i.useCallback)((e,r)=>0===r.length||(e=e.normalize("NFC"),r=r.normalize("NFC"),0===t.compare(e.slice(-r.length),r)),[t]),s=(0,i.useCallback)((e,r)=>{if(0===r.length)return!0;e=e.normalize("NFC");let o=0,i=(r=r.normalize("NFC")).length;for(;o+i<=e.length;o++){let l=e.slice(o,o+i);if(0===t.compare(r,l))return!0}return!1},[t]);return(0,i.useMemo)(()=>({startsWith:r,endsWith:l,contains:s}),[r,l,s])}},73849:function(e,t,r){"use strict";r.d(t,{K:function(){return c},q:function(){return u}});var o=r(54181),i=r(23038),l=r(61292),s=r(67294);let d=new WeakMap;function c(e,t){let r;return t&&i.J.getGlobalDictionaryForPackage(t)||((r=d.get(e))||(r=new i.J(e),d.set(e,r)),r)}function u(e,t){let{locale:r}=(0,o.j)(),i=c(e,t);return(0,s.useMemo)(()=>new l.E(r,i),[r,i])}},7997:function(e,t,r){"use strict";r.d(t,{N:function(){return c},m:function(){return u}});var o=r(343),i=r(25146),l=r(16667),s=r(42752),d=r(67294);let c=d.forwardRef(({children:e,...t},r)=>{let c=(0,d.useRef)(!1),u=(0,d.useContext)(o.O);r=(0,l.B)(r||(null==u?void 0:u.ref));let p=(0,i.d)(u||{},{...t,ref:r,register(){c.current=!0,u&&u.register()}});
59return(0,s.l)(u,r),(0,d.useEffect)(()=>{c.current||(c.current=!0)},[]),d.createElement(o.O.Provider,{value:p},e)});function u({children:e}){let t=(0,d.useMemo)(()=>({register:()=>{}}),[]);return d.createElement(o.O.Provider,{value:t},e)}},343:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});let o=r(67294).createContext({register:()=>{}});o.displayName="PressResponderContext"},48476:function(e,t,r){"use strict";r.d(t,{e:function(){return c}});var o=r(26874),i=r(29344),l=r(25828),s=r(59988),d=r(80019);function c(e){let t=(0,l.r3)(e);if("virtual"===(0,o.Jz)()){let r=(0,i.vY)(t);(0,d.Q)(()=>{let o=(0,i.vY)(t);(o===r||o===t.body)&&e.isConnected&&(0,s.A)(e)})}else(0,s.A)(e)}},39822:function(e,t,r){"use strict";r.d(t,{A:function(){return p},l:function(){return u}});var o=r(25828),i=r(80019),l=r(40267);let s="default",d="",c=new WeakMap;function u(e){if((0,l.gn)()){if("default"===s){let t=(0,o.r3)(e);d=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";c.set(e,e.style[t]),e.style[t]="none"}}function p(e){if((0,l.gn)())"disabled"===s&&(s="restoring",setTimeout(()=>{(0,i.Q)(()=>{if("restoring"===s){let t=(0,o.r3)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=d||""),d="",s="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&c.has(e)){let t=c.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[r]&&(e.style[r]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),c.delete(e)}}},36698:function(e,t,r){"use strict";r.d(t,{K:function(){return d}});var o=r(17010),i=r(67294),l=r(29344),s=r(25828);function d(e){let{isDisabled:t,onFocus:r,onBlur:d,onFocusChange:c}=e,u=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return d&&d(e),c&&c(!1),!0},[d,c]),p=(0,o.d0)(u),f=(0,i.useCallback)(e=>{let t=(0,s.r3)(e.target),o=t?(0,l.vY)(t):(0,l.vY)();e.target===e.currentTarget&&o===(0,l.NI)(e.nativeEvent)&&(r&&r(e),c&&c(!0),p(e))},[c,r,p]);return{focusProps:{onFocus:!t&&(r||c||d)?f:void 0,onBlur:!t&&(d||c)?u:void 0}}}},26874:function(e,t,r){"use strict";r.d(t,{E:function(){return $},Jz:function(){return S},_w:function(){return E},mG:function(){return N}});var o=r(17010),i=r(25828),l=r(274),s=r(40267),d=r(93645),c=r(67294);let u=null,p=new Set,f=new Map,m=!1,h=!1,g={Tab:!0,Escape:!0};function v(e,t){for(let r of p)r(e,t)}function y(e){m=!0,l.nG.isOpening||e.metaKey||!(0,s.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(u="keyboard",v("keyboard",e))}function b(e){u="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(m=!0,v("pointer",e))}function x(e){!l.nG.isOpening&&(0,d.Z)(e)&&(m=!0,u="virtual")}function w(e){e.target===window||e.target===document||o.uR||!e.isTrusted||(m||h||(u="virtual",v("virtual",e)),m=!1,h=!1)}function k(){o.uR||(m=!1,h=!0)}function _(e){if(typeof window>"u"||typeof document>"u"||f.get((0,i.kR)(e)))return;let t=(0,i.kR)(e),r=(0,i.r3)(e),o=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){m=!0,o.apply(this,arguments)},r.addEventListener("keydown",y,!0),r.addEventListener("keyup",y,!0),r.addEventListener("click",x,!0),t.addEventListener("focus",w,!0),t.addEventListener("blur",k,!1),"u">typeof PointerEvent&&(r.addEventListener("pointerdown",b,!0),r.addEventListener("pointermove",b,!0),r.addEventListener("pointerup",b,!0)),t.addEventListener("beforeunload",()=>{C(e)},{once:!0}),f.set(t,{focus:o})}let C=(e,t)=>{let r=(0,i.kR)(e),o=(0,i.r3)(e);t&&o.removeEventListener("DOMContentLoaded",t),f.has(r)&&(r.HTMLElement.prototype.focus=f.get(r).focus,o.removeEventListener("keydown",y,!0),o.removeEventListener("keyup",y,!0),o.removeEventListener("click",x,!0),r.removeEventListener("focus",w,!0),r.removeEventListener("blur",k,!1),"u">typeof PointerEvent&&(o.removeEventListener("pointerdown",b,!0),o.removeEventListener("pointermove",b,!0),o.removeEventListener("pointerup",b,!0)),f.delete(r))};function $(){return"pointer"!==u}function S(){return u}function E(e){u=e,v(e,null)}"u">typeof document&&function(e){let t;let r=(0,i.r3)(void 0);"loading"!==r.readyState?_(void 0):(t=()=>{_(void 0)},r.addEventListener("DOMContentLoaded",t)),()=>C(e,t)}();let j=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t,r){_(),(0,c.useEffect)(()=>{let t=(t,o)=>{(function(e,t,r){let o=(0,i.r3)(null==r?void 0:r.target),l="u">typeof window?(0,i.kR)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,s="u">typeof window?(0,i.kR)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,d="u">typeof window?(0,i.kR)(null==r?void 0:r.target).HTMLElement:HTMLElement,c="u">typeof window?(0,i.kR)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||o.activeElement instanceof l&&!j.has(o.activeElement.type)||o.activeElement instanceof s||o.activeElement instanceof d&&o.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof c&&!g[r.key])})(!!(null!=r&&r.isTextInput),t,o)&&e($())};return p.add(t),()=>{p.delete(t)}},t)}},54039:function(e,t,r){"use strict";r.d(t,{L:function(){return c}});var o=r(17010),i=r(67294),l=r(29344),s=r(25828),d=r(62181);function c(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:c,onFocusWithinChange:u}=e,p=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:f,removeAllGlobalListeners:m}=(0,d.x)(),h=(0,i.useCallback)(e=>{e.currentTarget.contains(e.target)&&p.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(p.current.isFocusWithin=!1,m(),r&&r(e),u&&u(!1))},[r,u,p,m]),g=(0,o.d0)(h),v=(0,i.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,s.r3)(e.target),r=(0,l.vY)(t);if(!p.current.isFocusWithin&&r===(0,l.NI)(e.nativeEvent)){c&&c(e),u&&u(!0),p.current.isFocusWithin=!0,g(e);let r=e.currentTarget;f(t,"focus",e=>{if(p.current.isFocusWithin&&!(0,l.bE)(r,e.target)){let i=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,o.nh)(i,r),h((0,o.yA)(i))}},{capture:!0})}},[c,u,g,f,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}
59:{focusWithinProps:{onFocus:v,onBlur:h}}}},73449:function(e,t,r){"use strict";r.d(t,{kc:function(){return m},tB:function(){return f}});var o=r(48476),i=r(36698),l=r(97795),s=r(25146),d=r(16667),c=r(42752),u=r(67294);let p=u.createContext(null),f=u.forwardRef(function(e,t){let{children:r,...o}=e,i=(0,d.B)(t),l={...o,ref:i};return u.createElement(p.Provider,{value:l},r)});function m(e,t){let{focusProps:r}=(0,i.K)(e),{keyboardProps:d}=(0,l.v)(e),f=(0,s.d)(r,d),m=function(e){let t=(0,u.useContext)(p)||{};(0,c.l)(t,e);let{ref:r,...o}=t;return o}(t),h=e.isDisabled?{}:m,g=(0,u.useRef)(e.autoFocus);(0,u.useEffect)(()=>{g.current&&t.current&&(0,o.e)(t.current),g.current=!1},[t]);let v=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(v=void 0),{focusableProps:(0,s.d)({...f,tabIndex:v},h)}}},48905:function(e,t,r){"use strict";r.d(t,{X:function(){return f}});var o=r(29344),i=r(25828),l=r(62181),s=r(67294);let d=!1,c=0;function u(e){"touch"===e.pointerType&&(d=!0,setTimeout(()=>{d=!1},50))}function p(){if(!(typeof document>"u"))return 0===c&&"u">typeof PointerEvent&&document.addEventListener("pointerup",u),c++,()=>{!(--c>0)&&"u">typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function f(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:c,isDisabled:u}=e,[f,m]=(0,s.useState)(!1),h=(0,s.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s.useEffect)(p,[]);let{addGlobalListener:g,removeAllGlobalListeners:v}=(0,l.x)(),{hoverProps:y,triggerHoverEnd:b}=(0,s.useMemo)(()=>{let e=(e,s)=>{if(h.pointerType=s,u||"touch"===s||h.isHovered||!e.currentTarget.contains(e.target))return;h.isHovered=!0;let d=e.currentTarget;h.target=d,g((0,i.r3)(e.target),"pointerover",e=>{h.isHovered&&h.target&&!(0,o.bE)(h.target,e.target)&&l(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:d,pointerType:s}),r&&r(!0),m(!0)},l=(e,t)=>{let o=h.target;h.pointerType="",h.target=null,"touch"!==t&&h.isHovered&&o&&(h.isHovered=!1,v(),c&&c({type:"hoverend",target:o,pointerType:t}),r&&r(!1),m(!1))},s={};return"u">typeof PointerEvent&&(s.onPointerEnter=t=>{d&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&l(e,e.pointerType)}),{hoverProps:s,triggerHoverEnd:l}},[t,r,c,u,h,g,v]);return(0,s.useEffect)(()=>{u&&b({currentTarget:h.target},h.pointerType)},[u]),{hoverProps:y,isHovered:f}}},97795:function(e,t,r){"use strict";function o(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t}),t&&r.stopPropagation()}}function i(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:o(e.onKeyDown),onKeyUp:o(e.onKeyUp)}}}r.d(t,{v:function(){return i}})},13432:function(e,t,r){"use strict";r.d(t,{r:function(){return N}});var o=r(17010),i=r(39822),l=r(343);function s(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}var d=r(58081);function c(e,t,r){var o=s(e,t,"set");return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,o,r),r}var u=r(76346),p=r(29344),f=r(25828),m=r(25146),h=r(59988),g=r(274),v=r(62181),y=r(12181),b=r(42752),x=r(40267),w=r(93645),k=r(37135);r(73935);var _=r(67294),C=new WeakMap;class ${continuePropagation(){c(this,C,!1)}get shouldStopPropagation(){var e;return(e=s(this,C,"get")).get?e.get.call(this):e.value}constructor(e,t,r,o){var i;(0,d._)(this,C,{writable:!0,value:void 0}),c(this,C,!0);let l=null!==(i=null==o?void 0:o.target)&&void 0!==i?i:r.currentTarget,s=null==l?void 0:l.getBoundingClientRect(),u,p=0,f,m=null;null!=r.clientX&&null!=r.clientY&&(f=r.clientX,m=r.clientY),s&&(null!=f&&null!=m?(u=f-s.left,p=m-s.top):(u=s.width/2,p=s.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=u,this.y=p}}let S=Symbol("linkClicked"),E="react-aria-pressable-style",j="data-react-aria-pressable";function N(e){let{onPress:t,onPressChange:r,onPressStart:s,onPressEnd:d,onPressUp:c,onClick:C,isDisabled:N,isPressed:R,preventFocusOnPress:D,shouldCancelOnPointerExit:M,allowTextSelectionOnPress:L,ref:I,...F}=function(e){let t=(0,_.useContext)(l.O);if(t){let{register:r,...o}=t;e=(0,m.d)(o,e),r()}return(0,b.l)(t,e.ref),e}(e),[B,V]=(0,_.useState)(!1),z=(0,_.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:H,removeAllGlobalListeners:U,removeGlobalListener:Z}=(0,v.x)(),W=(0,_.useCallback)((e,t)=>{let o=z.current;if(N||o.didFirePressStart)return!1;let i=!0;if(o.isTriggeringEvent=!0,s){let r=new $("pressstart",t,e);s(r),i=r.shouldStopPropagation}return r&&r(!0),o.isTriggeringEvent=!1,o.didFirePressStart=!0,V(!0),i},[N,s,r]),K=(0,_.useCallback)((e,o,i=!0)=>{let l=z.current;if(!l.didFirePressStart)return!1;l.didFirePressStart=!1,l.isTriggeringEvent=!0;let s=!0;if(d){let t=new $("pressend",o,e);d(t),s=t.shouldStopPropagation}if(r&&r(!1),V(!1),t&&i&&!N){let r=new $("press",o,e);t(r),s&&(s=r.shouldStopPropagation)}return l.isTriggeringEvent=!1,s},[N,d,r,t]),q=(0,k.i)(K),G=(0,_.useCallback)((e,t)=>{let r=z.current;if(N)return!1;if(c){r.isTriggeringEvent=!0;let o=new $("pressup",t,e);return c(o),r.isTriggeringEvent=!1,o.shouldStopPropagation}return!0},[N,c]),J=(0,k.i)(G),Y=(0,_.useCallback)(e=>{let t=z.current;if(t.isPressed&&t.target){for(let r of(t.didFirePressStart&&null!=t.pointerType&&K(A(t.target,e),t.pointerType,!1),t.isPressed=!1,ei(null),t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,U(),L||(0,i.A)(t.target),t.disposables)
59)r();t.disposables=[]}},[L,U,K]),X=(0,k.i)(Y),Q=(0,_.useCallback)(e=>{M&&Y(e)},[M,Y]),ee=(0,_.useCallback)(e=>{N||null==C||C(e)},[N,C]),et=(0,_.useCallback)((e,t)=>{if(!N&&C){let r=new MouseEvent("click",e);(0,o.nh)(r,t),C((0,o.yA)(r))}},[N,C]),en=(0,k.i)(et),[er,ea]=(0,_.useState)(!1);(0,y.b)(()=>{let e=z.current;if(er){let t=e.target,r=(0,u.t)(r=>{t&&P(r,t)&&!r.repeat&&(0,p.bE)(t,(0,p.NI)(r))&&e.target&&J(A(e.target,r),"keyboard")},t=>{var r,o,i;if(e.isPressed&&e.target&&P(t,e.target)){O((0,p.NI)(t),t.key)&&t.preventDefault();let r=(0,p.NI)(t),i=(0,p.bE)(e.target,(0,p.NI)(t));q(A(e.target,t),"keyboard",i),i&&en(t,e.target),U(),"Enter"!==t.key&&T(e.target)&&(0,p.bE)(e.target,r)&&!t[S]&&(t[S]=!0,(0,g.nG)(e.target,t,!1)),e.isPressed=!1,ea(!1),null===(o=e.metaKeyEvents)||void 0===o||o.delete(t.key)}else if("Meta"===t.key&&!(null===(r=e.metaKeyEvents)||void 0===r)&&r.size){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))null===(i=e.target)||void 0===i||i.dispatchEvent(new KeyboardEvent("keyup",r))}});return H((0,f.r3)(e.target),"keyup",r,!0),()=>{Z((0,f.r3)(e.target),"keyup",r,!0)}}},[er,H,U,Z]);let[eo,ei]=(0,_.useState)(null);(0,y.b)(()=>{let e=z.current;if("pointer"===eo){let t=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,p.bE)(e.target,(0,p.NI)(t))&&null!=e.pointerType){let r=!1,o=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(r?X(t):((0,h.A)(e.target),e.target.click()))},80);H(t.currentTarget,"click",()=>r=!0,!0),e.disposables.push(()=>clearTimeout(o))}else X(t);e.isOverTarget=!1}},r=e=>{X(e)};return H((0,f.r3)(e.target),"pointerup",t,!1),H((0,f.r3)(e.target),"pointercancel",r,!1),()=>{Z((0,f.r3)(e.target),"pointerup",t,!1),Z((0,f.r3)(e.target),"pointercancel",r,!1)}}},[eo,H,Z]);let el=(0,_.useMemo)(()=>{let e=z.current,t={onKeyDown(t){if(P(t.nativeEvent,t.currentTarget)&&(0,p.bE)(t.currentTarget,(0,p.NI)(t.nativeEvent))){var r;O((0,p.NI)(t.nativeEvent),t.key)&&t.preventDefault();let o=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,ea(!0),e.pointerType="keyboard",o=W(t,"keyboard")),o&&t.stopPropagation(),t.metaKey&&(0,x.V5)()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if(!(t&&!(0,p.bE)(t.currentTarget,(0,p.NI)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!g.nG.isOpening){let r=!0;if(N&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,w.Z)(t.nativeEvent))){let e=W(t,"virtual"),o=G(t,"virtual"),i=K(t,"virtual");ee(t),r=e&&o&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let o=e.pointerType||t.nativeEvent.pointerType||"virtual",i=G(A(t.currentTarget,t),o),l=K(A(t.currentTarget,t),o,!0);r=i&&l,e.isOverTarget=!1,ee(t),Y(t)}e.ignoreEmulatedMouseEvents=!1,r&&t.stopPropagation()}}};return"u">typeof PointerEvent&&(t.onPointerDown=t=>{if(0!==t.button||!(0,p.bE)(t.currentTarget,(0,p.NI)(t.nativeEvent)))return;if((0,w.c)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let r=!0;if(!e.isPressed){e.isPressed=!0,ei("pointer"),e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,L||(0,i.l)(e.target),r=W(t,e.pointerType);
59let o=(0,p.NI)(t.nativeEvent);"releasePointerCapture"in o&&o.releasePointerCapture(t.pointerId)}r&&t.stopPropagation()},t.onMouseDown=t=>{if((0,p.bE)(t.currentTarget,(0,p.NI)(t.nativeEvent))&&0===t.button){if(D){let r=(0,o.WZ)(t.target);r&&e.disposables.push(r)}t.stopPropagation()}},t.onPointerUp=t=>{(0,p.bE)(t.currentTarget,(0,p.NI)(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||G(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,W(A(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,K(A(e.target,t),e.pointerType,!1),Q(t))},t.onDragStart=e=>{(0,p.bE)(e.currentTarget,(0,p.NI)(e.nativeEvent))&&Y(e)}),t},[N,D,U,L,Y,Q,K,W,G,ee,et]);return(0,_.useEffect)(()=>{if(!I)return;let e=(0,f.r3)(I.current);if(!e||!e.head||e.getElementById(E))return;let t=e.createElement("style");t.id=E,t.textContent=` 60@layer { 61 [${j}] { 62 touch-action: pan-x pan-y pinch-zoom; 63 } 64} 65 `.trim(),e.head.prepend(t)},[I]),(0,_.useEffect)(()=>{let e=z.current;return()=>{var t;for(let r of(L||(0,i.A)(null!==(t=e.target)&&void 0!==t?t:void 0),e.disposables))r();e.disposables=[]}},[L]),{isPressed:R||B,pressProps:(0,m.d)(F,el,{[j]:!0})}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function P(e,t){let{key:r,code:o}=e,i=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===o)&&!(t instanceof(0,f.kR)(t).HTMLInputElement&&!D(t,r)||t instanceof(0,f.kR)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&T(t))&&"Enter"!==r)}function A(e,t){let r=t.clientX,o=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:o}}function O(e,t){return e instanceof HTMLInputElement?!D(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!T(e))}let R=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function D(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:R.has(e.type)}},17010:function(e,t,r){"use strict";r.d(t,{WZ:function(){return m},d0:function(){return p},nh:function(){return u},uR:function(){return f},yA:function(){return c}});var o=r(25828),i=r(59988),l=r(12181),s=r(84807),d=r(67294);function c(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function u(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function p(e){let t=(0,d.useRef)({isFocused:!1,observer:null});return(0,l.b)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,d.useCallback)(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target;o.addEventListener("focusout",r=>{if(t.current.isFocused=!1,o.disabled){let t=c(r);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let f=!1;function m(e){for(;e&&!(0,s.E)(e);)e=e.parentElement;let t=(0,o.kR)(e),r=t.document.activeElement;if(!r||r===e)return;f=!0;let l=!1,d=e=>{(e.target===r||l)&&e.stopImmediatePropagation()},c=t=>{t.target!==r&&!l||(t.stopImmediatePropagation(),e||l||(l=!0,(0,i.A)(r),m()))},u=t=>{(t.target===e||l)&&t.stopImmediatePropagation()},p=t=>{(t.target===e||l)&&(t.stopImmediatePropagation(),l||(l=!0,(0,i.A)(r),m()))};t.addEventListener("blur",d,!0),t.addEventListener("focusout",c,!0),t.addEventListener("focusin",p,!0),t.addEventListener("focus",u,!0);let m=()=>{cancelAnimationFrame(h),t.removeEventListener("blur",d,!0),t.removeEventListener("focusout",c,!0),t.removeEventListener("focusin",p,!0),t.removeEventListener("focus",u,!0),f=!1,l=!1},h=requestAnimationFrame(m);return m}},90539:function(e,t,r){"use strict";r.d(t,{U:function(){return s}});var o=r(28506),i=r(11214),l=r(25146);function s(e){let{description:t,errorMessage:r,isInvalid:s,validationState:d}=e,{labelProps:c,fieldProps:u}=(0,o.N)(e),p=(0,i.mp)([!!t,!!r,s,d]),f=(0,i.mp)([!!t,!!r,s,d]);return{labelProps:c,fieldProps:u=(0,l.d)(u,{"aria-describedby":[p,f,e["aria-describedby"]].filter(
65Boolean).join(" ")||void 0}),descriptionProps:{id:p},errorMessageProps:{id:f}}}},28506:function(e,t,r){"use strict";r.d(t,{N:function(){return l}});var o=r(11214),i=r(52701);function l(e){let{id:t,label:r,"aria-labelledby":l,"aria-label":s,labelElementType:d="label"}=e;t=(0,o.Me)(t);let c=(0,o.Me)(),u={};return r&&(l=l?`${c} ${l}`:c,u={id:c,htmlFor:"label"===d?t:void 0}),{labelProps:u,fieldProps:(0,i.b)({id:t,"aria-label":s,"aria-labelledby":l})}}},10986:function(e,t,r){"use strict";r.d(t,{n:function(){return c}});var o=r(25146),i=r(96194),l=r(274),s=r(13432),d=r(73449);function c(e,t){let{elementType:r="a",onPress:c,onPressStart:u,onPressEnd:p,onClick:f,isDisabled:m,...h}=e,g={};"a"!==r&&(g={role:"link",tabIndex:m?void 0:0});let{focusableProps:v}=(0,d.kc)(e,t),{pressProps:y,isPressed:b}=(0,s.r)({onPress:c,onPressStart:u,onPressEnd:p,isDisabled:m,ref:t}),x=(0,i.z)(h,{labelable:!0}),w=(0,o.d)(v,y),k=(0,l.tv)(),_=(0,l.eY)(e);return{isPressed:b,linkProps:(0,o.d)(x,_,{...w,...g,"aria-disabled":m||void 0,"aria-current":e["aria-current"],onClick:t=>{var r;null===(r=y.onClick)||void 0===r||r.call(y,t),f&&(f(t),console.warn("onClick is deprecated, please use onPress")),!k.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&(0,l.b0)(t.currentTarget,t)&&e.href&&(t.preventDefault(),k.open(t.currentTarget,t,e.href,e.routerOptions))}})}}},44759:function(e,t,r){"use strict";r.d(t,{g:function(){return l},x:function(){return i}});let o=null;function i(e,t="assertive",r=7e3){o?o.announce(e,t,r):(o=new s,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"u">typeof jest)?o.announce(e,t,r):setTimeout(()=>{null!=o&&o.isAttached()&&(null==o||o.announce(e,t,r))},100))}function l(e){o&&o.clear(e)}class s{isAttached(){var e;return null===(e=this.node)||void 0===e?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",r=7e3){var o,i;if(!this.node)return;let l=document.createElement("div");"object"==typeof e?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,"assertive"===t?null===(o=this.assertiveLog)||void 0===o||o.appendChild(l):null===(i=this.politeLog)||void 0===i||i.appendChild(l),""!==e&&setTimeout(()=>{l.remove()},r)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"u">typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}},8390:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var o={};o={"ar-AE":{dismiss:"تجاÙÙ"},"bg-BG":{dismiss:"ÐÑÑ
вÑÑлÑне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xdfen"},"el-GR":{dismiss:"ÎÏÏÏÏιÏη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"L\xf5peta"},"fi-FI":{dismiss:"Hylk\xe4\xe4"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"×תע××"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xedt\xe1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"éãã"},"ko-KR":{dismiss:"무ì"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"NerÄdÄ«t"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"ÐÑопÑÑÑиÑÑ"},"sk-SK":{dismiss:"ZruÅ¡iÅ¥"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"СкаÑÑваÑи"},"zh-CN":{dismiss:"åæ¶"},"zh-TW":{dismiss:"éé"}};var i=r(67294),l=r(52701),s=r(73849),d=r(85867);function c(e){var t;let{onDismiss:r,...c}=e,u=(0,s.q)((t=o)&&t.__esModule?t.default:t,"@react-aria/overlays"),p=(0,l.b)(c,u.format("dismiss"));return i.createElement(d.T,null,i.createElement("button",{...p,tabIndex:-1,onClick:()=>{r&&r()},style:{width:1,height:1}}))}},26319:function(e,t,r){"use strict";r.d(t,{aV:function(){return f},Bq:function(){return m}});var o=r(67294);let i=(0,o.createContext)({});var l=r(7997),s=r(48356),d=r(12181),c=r(73935),u=r(30834);let p=o.createContext(null);function f(e){var t;
65let r=(0,u.A)(),{portalContainer:d=r?null:document.body,isExiting:f}=e,[m,h]=(0,o.useState)(!1),g=(0,o.useMemo)(()=>({contain:m,setContain:h}),[m,h]),{getContainer:v}=null!==(t=(0,o.useContext)(i))&&void 0!==t?t:{};if(!e.portalContainer&&v&&(d=v()),!d)return null;let y=e.children;return e.disableFocusManagement||(y=o.createElement(s.MT,{restoreFocus:!0,contain:(e.shouldContainFocus||m)&&!f},y)),y=o.createElement(p.Provider,{value:g},o.createElement(l.m,null,y)),c.createPortal(y,d)}function m(){let e=(0,o.useContext)(p),t=null==e?void 0:e.setContain;(0,d.b)(()=>{null==t||t(!0)},[t])}},72870:function(e,t,r){"use strict";r.d(t,{R:function(){return l},f:function(){return s}});let o=new WeakMap,i=[];function l(e,t=document.body){let r=new Set(e),l=new Set,s=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))r.add(t);let t=e=>{if(r.has(e)||e.parentElement&&l.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of r)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),i=t(e);if(i===NodeFilter.FILTER_ACCEPT&&d(e),i!==NodeFilter.FILTER_REJECT){let e=o.nextNode();for(;null!=e;)d(e),e=o.nextNode()}},d=e=>{var t;let r=null!==(t=o.get(e))&&void 0!==t?t:0;"true"===e.getAttribute("aria-hidden")&&0===r||(0===r&&e.setAttribute("aria-hidden","true"),l.add(e),o.set(e,r+1))};i.length&&i[i.length-1].disconnect(),s(t);let c=new MutationObserver(e=>{for(let t of e)if(!("childList"!==t.type||0===t.addedNodes.length)&&![...r,...l].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(r.delete(e),l.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?r.add(e):e instanceof Element&&s(e)}});c.observe(t,{childList:!0,subtree:!0});let u={visibleNodes:r,hiddenNodes:l,observe(){c.observe(t,{childList:!0,subtree:!0})},disconnect(){c.disconnect()}};return i.push(u),()=>{for(let e of(c.disconnect(),l)){let t=o.get(e);null!=t&&(1===t?(e.removeAttribute("aria-hidden"),o.delete(e)):o.set(e,t-1))}u===i[i.length-1]?(i.pop(),i.length&&i[i.length-1].observe()):i.splice(i.indexOf(u),1)}}function s(e){let t=i[i.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}},3362:function(e,t,r){"use strict";r.d(t,{O:function(){return l},v:function(){return i}});var o=r(67294);let i=new WeakMap;function l(e){let{triggerRef:t,isOpen:r,onClose:l}=e;(0,o.useEffect)(()=>{if(!r||null===l)return;let e=e=>{let r=e.target;if(!t.current||r instanceof Node&&!r.contains(t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let o=l||i.get(t.current);o&&o()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,l,t])}},27641:function(e,t,r){"use strict";r.d(t,{t:function(){return N}});var o=r(40267),i=r(41599);let l={top:"top",bottom:"top",left:"left",right:"left"},s={top:"bottom",bottom:"top",left:"right",right:"left"},d={top:"left",left:"top"},c={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},p={},f="u">typeof document?window.visualViewport:null;function m(e){var t,r,i,l,s;let d=0,c=0,u=0,p=0,m=0,h=0,g={},v=(null!==(t=null==f?void 0:f.scale)&&void 0!==t?t:1)>1;if("BODY"===e.tagName){let t=document.documentElement;u=t.clientWidth,p=t.clientHeight,d=null!==(r=null==f?void 0:f.width)&&void 0!==r?r:u,c=null!==(i=null==f?void 0:f.height)&&void 0!==i?i:p,g.top=t.scrollTop||e.scrollTop,g.left=t.scrollLeft||e.scrollLeft,f&&(m=f.offsetTop,h=f.offsetLeft)}else({width:d,height:c,top:m,left:h}=b(e)),g.top=e.scrollTop,g.left=e.scrollLeft,u=d,p=c;return(0,o.Pf)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&v&&(g.top=0,g.left=0,m=null!==(l=null==f?void 0:f.pageTop)&&void 0!==l?l:0,h=null!==(s=null==f?void 0:f.pageLeft)&&void 0!==s?s:0),{width:d,height:c,totalWidth:u,totalHeight:p,scroll:g,top:m,left:h}}function h(e,t,r,o,i,s,d){var u;let p=null!==(u=i.scroll[e])&&void 0!==u?u:0,f=o[c[e]],m=o.scroll[l[e]]+s,h=f+o.scroll[l[e]]-s,g=t-p+d[e]-o[l[e]],v=t-p+r+d[e]-o[l[e]];return g<m?m-g:v>h?Math.max(h-v,m-g):0}function g(e){if(p[e])return p[e];let[t,r]=e.split(" "),o=l[t]||"right",i=d[o];l[r]||(r="center");let s=c[o],u=c[i];return p[e]={placement:t,crossPlacement:r,axis:o,crossAxis:i,size:s,crossSize:u},p[e]}function v(e,t,r,o,l,d,c,p,f,m){var h,g,v,y,b;let{placement:x,crossPlacement:w,axis:k,crossAxis:_,size:C,crossSize:$}=o,S={};S[_]=null!==(h=e[_])&&void 0!==h?h:0,"center"===w?S[_]+=((null!==(g=e[$])&&void 0!==g?g:0)-(null!==(v=r[$])&&void 0!==v?v:0))/2:w!==_&&(S[_]+=(null!==(y=e[$])&&void 0!==y?y:0)-(null!==(b=r[$])&&void 0!==b?b:0)),S[_]+=d;let E=e[_]-r[$]+f+m,j=e[_]+e[$]-f-m;if(S[_]=(0,i.uZ)(S[_],E,j),x===k){let r=p?c[C]:t[u[C]];S[s[k]]=Math.floor(r-e[k]+l)}else S[k]=Math.floor(e[k]+e[C]+l);return S}function y(e,t,r,o,i,l){var d,c,u;let{placement:p,axis:f,size:m}=l;return p===f?Math.max(0,r[f]-e[f]-(null!==(d=e.scroll[f])&&void 0!==d?d:0)+t[f]-(null!==(c=o[f])&&void 0!==c?c:0)-o[s[f]]-i):Math.max(0,e[m]+e[f]+e.scroll[f]-t[f]-r[f]-r[m]-(null!==(u=o[f])&&void 0!==u?u:0)-o[s[f]]-i)}function b(e){let{top:t,left:r,width:o,height:i}=e.getBoundingClientRect(),{scrollTop:l,scrollLeft:s,clientTop:d,clientLeft:c}=document.documentElement;
65return{top:t+l-d,left:r+s-c,width:o,height:i}}function x(e,t){let r=window.getComputedStyle(e),o;if("fixed"===r.position){let{top:t,left:r,width:i,height:l}=e.getBoundingClientRect();o={top:t,left:r,width:i,height:l}}else{o=b(e);let r=b(t),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,o.top-=r.top,o.left-=r.left}return o.top-=parseInt(r.marginTop,10)||0,o.left-=parseInt(r.marginLeft,10)||0,o}function w(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var k=r(3362),_=r(67294),C=r(12181),$=r(37135);function S(e){let{ref:t,box:r,onResize:o}=e,i=(0,$.i)(o);(0,_.useEffect)(()=>{let e=null==t?void 0:t.current;if(e){if(!("u">typeof window.ResizeObserver))return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)};{let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}}},[t,r])}var E=r(54181);let j="u">typeof document?window.visualViewport:null;function N(e){var t,r;let{direction:o}=(0,E.j)(),{arrowSize:d=0,targetRef:c,overlayRef:p,scrollRef:f=p,placement:$="bottom",containerPadding:N=12,shouldFlip:T=!0,boundaryElement:P="u">typeof document?document.body:null,offset:A=0,crossOffset:O=0,shouldUpdatePosition:R=!0,isOpen:D=!0,onClose:M,maxHeight:L,arrowBoundaryOffset:I=0}=e,[F,B]=(0,_.useState)(null),V=[R,$,p.current,c.current,f.current,N,T,P,A,O,D,o,L,I,d],z=(0,_.useRef)(null==j?void 0:j.scale);(0,_.useEffect)(()=>{D&&(z.current=null==j?void 0:j.scale)},[D]);let H=(0,_.useCallback)(()=>{var e,t,r,k,_;if(!1===R||!D||!p.current||!c.current||!P||(null==j?void 0:j.scale)!==z.current)return;let C=null;if(f.current&&f.current.contains(document.activeElement)){let o=null===(e=document.activeElement)||void 0===e?void 0:e.getBoundingClientRect(),i=f.current.getBoundingClientRect();(C={type:"top",offset:(null!==(t=null==o?void 0:o.top)&&void 0!==t?t:0)-i.top}).offset>i.height/2&&(C.type="bottom",C.offset=(null!==(r=null==o?void 0:o.bottom)&&void 0!==r?r:0)-i.bottom)}let S=p.current;!L&&p.current&&(S.style.top="0px",S.style.bottom="",S.style.maxHeight=(null!==(_=null===(k=window.visualViewport)||void 0===k?void 0:k.height)&&void 0!==_?_:window.innerHeight)+"px");let E=function(e){var t,r,o,d;let c;let{placement:p,targetNode:f,overlayNode:k,scrollNode:_,padding:C,shouldFlip:$,boun
65daryElement:S,offset:E,crossOffset:j,maxHeight:N,arrowSize:T=0,arrowBoundaryOffset:P=0}=e,A=k instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!w(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!w(t);)t=t.parentElement;return t||document.documentElement}(k):document.documentElement,O=A===document.documentElement,R=window.getComputedStyle(A).position,D=O?b(f):x(f,A);if(!O){let{marginTop:e,marginLeft:t}=window.getComputedStyle(f);D.top+=parseInt(e,10)||0,D.left+=parseInt(t,10)||0}let M=b(k),L={top:parseInt((c=window.getComputedStyle(k)).marginTop,10)||0,bottom:parseInt(c.marginBottom,10)||0,left:parseInt(c.marginLeft,10)||0,right:parseInt(c.marginRight,10)||0};M.width+=(null!==(t=L.left)&&void 0!==t?t:0)+(null!==(r=L.right)&&void 0!==r?r:0),M.height+=(null!==(o=L.top)&&void 0!==o?o:0)+(null!==(d=L.bottom)&&void 0!==d?d:0);let I={top:_.scrollTop,left:_.scrollLeft,width:_.scrollWidth,height:_.scrollHeight},F=m(S),B=m(A),V="BODY"===S.tagName?b(A):x(A,S);return"HTML"===A.tagName&&"BODY"===S.tagName&&(B.scroll.top=0,B.scroll.left=0),function(e,t,r,o,d,c,p,f,m,b,x,w,k,_,C,$){var S,E,j,N;let T=g(e),{size:P,crossAxis:A,crossSize:O,placement:R,crossPlacement:D}=T,M=v(t,f,r,T,x,w,b,k,C,$),L=x,I=y(f,b,t,d,c+x,T);if(p&&o[P]>I){let e=g(`${s[R]} ${D}`),o=v(t,f,r,e,x,w,b,k,C,$);y(f,b,t,d,c+x,e)>I&&(T=e,M=o,L=x)}let F="bottom";"top"===T.axis?"top"===T.placement?F="top":"bottom"===T.placement&&(F="bottom"):"top"===T.crossAxis&&("top"===T.crossPlacement?F="bottom":"bottom"===T.crossPlacement&&(F="top"));let B=h(A,M[A],r[O],f,m,c,b);M[A]+=B;let V=function(e,t,r,o,i,l,s,d){var c,p,f,m,h,g,v;let y=o?r.height:t[u.height],b=null!=e.top?r.top+e.top:r.top+(y-(null!==(c=e.bottom)&&void 0!==c?c:0)-s),x="top"!==d?Math.max(0,t.height+t.top+(null!==(p=t.scroll.top)&&void 0!==p?p:0)-b-((null!==(f=i.top)&&void 0!==f?f:0)+(null!==(m=i.bottom)&&void 0!==m?m:0)+l)):Math.max(0,b+s-(t.top+(null!==(h=t.scroll.top)&&void 0!==h?h:0))-((null!==(g=i.top)&&void 0!==g?g:0)+(null!==(v=i.bottom)&&void 0!==v?v:0)+l));return Math.min(t.height-2*l,x)}(M,f,b,k,d,c,r.height,F);_&&_<V&&(V=_),r.height=Math.min(r.height,V),B=h(A,(M=v(t,f,r,T,L,w,b,k,C,$))[A],r[O],f,m,c,b),M[A]+=B;let z={},H=t[A]+.5*t[O]-M[A]-d[l[A]],U=C/2+$,Z="left"===l[A]?(null!==(S=d.left)&&void 0!==S?S:0)+(null!==(E=d.right)&&void 0!==E?E:0):(null!==(j=d.top)&&void 0!==j?j:0)+(null!==(N=d.bottom)&&void 0!==N?N:0),W=r[O]-Z-C/2-$,K=t[A]+C/2-(M[A]+d[l[A]]),q=t[A]+t[O]-C/2-(M[A]+d[l[A]]),G=(0,i.uZ)(H,K,q);return z[A]=(0,i.uZ)(G,U,W),{position:M,maxHeight:V,arrowOffsetLeft:z.left,arrowOffsetTop:z.top,placement:T.placement}}(p,D,M,I,L,C,$,F,B,V,E,j,!!R&&"static"!==R,N,T,P)}({placement:"rtl"===o?$.replace("start","right").replace("end","left"):$.replace("start","left").replace("end","right"),overlayNode:p.current,targetNode:c.current,scrollNode:f.current||p.current,padding:N,shouldFlip:T,boundaryElement:P,offset:A,crossOffset:O,maxHeight:L,arrowSize:d,arrowBoundaryOffset:I});if(E.position){if(S.style.top="",S.style.bottom="",S.style.left="",S.style.right="",Object.keys(E.position).forEach(e=>S.style[e]=E.position[e]+"px"),S.style.maxHeight=null!=E.maxHeight?E.maxHeight+"px":"",C&&document.activeElement&&f.current){let e=document.activeElement.getBoundingClientRect(),t=f.current.getBoundingClientRect(),r=e[C.type]-t[C.type];f.current.scrollTop+=r-C.offset}B(E)}},V);(0,C.b)(H,V),(0,C.b)(()=>(window.addEventListener("resize",H,!1),()=>{window.removeEventListener("resize",H,!1)}),[H]),S({ref:p,onResize:H}),S({ref:c,onResize:H});let U=(0,_.useRef)(!1);(0,C.b)(()=>{let e,t=()=>{U.current=!0,clearTimeout(e),e=setTimeout(()=>{U.current=!1},500),H()},r=()=>{U.current&&t()};return null==j||j.addEventListener("resize",t),null==j||j.addEventListener("scroll",r),()=>{null==j||j.removeEventListener("resize",t),null==j||j.removeEventListener("scroll",r)}},[H]);let Z=(0,_.useCallback)(()=>{U.current||null==M||M()},[M,U]);return(0,k.O)({triggerRef:c,isOpen:D,onClose:M&&Z}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...null==F?void 0:F.position,maxHeight:null!==(t=null==F?void 0:F.maxHeight)&&void 0!==t?t:"100vh"}},placement:null!==(r=null==F?void 0:F.placement)&&void 0!==r?r:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==F?void 0:F.arrowOffsetLeft,top:null==F?void 0:F.arrowOffsetTop}},updatePosition:H}}},21181:function(e,t,r){"use strict";r.d(t,{I:function(){return s}});var o=r(3362),i=r(67294),l=r(11214);
65function s(e,t,r){let s,{type:d}=e,{isOpen:c}=t;(0,i.useEffect)(()=>{r&&r.current&&o.v.set(r.current,t.close)}),"menu"===d?s=!0:"listbox"===d&&(s="listbox");let u=(0,l.Me)();return{triggerProps:{"aria-haspopup":s,"aria-expanded":c,"aria-controls":c?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}},52451:function(e,t,r){"use strict";r.d(t,{S:function(){return S}});var o=r(72870),i=r(27641),l=r(48356),s=r(54039),d=r(25828),c=r(37135),u=r(67294);function p(e,t){if(e.button>0)return!1;if(e.target){let t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}let f=[];var m=r(76346),h=r(12181),g=r(76104),v=r(40267);let y="u">typeof document&&window.visualViewport,b=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),x=0,w;function k(e,t,r){let o=e.style[t];return e.style[t]=r,()=>{e.style[t]=o}}function _(e,t,r,o){return e.addEventListener(t,r,o),()=>{e.removeEventListener(t,r,o)}}function C(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t;){let e=(0,g.r)(r);if(e!==document.documentElement&&e!==document.body&&e!==r){let t=e.getBoundingClientRect().top,o=r.getBoundingClientRect().top;o>t+r.clientHeight&&(e.scrollTop+=o-t)}r=e.parentElement}}var $=r(25146);function S(e,t){let{triggerRef:r,popoverRef:S,groupRef:E,isNonModal:j,isKeyboardDismissDisabled:N,shouldCloseOnInteractOutside:T,...P}=e,A="SubmenuTrigger"===P.trigger,{overlayProps:O,underlayProps:R}=function(e,t){let{onClose:r,shouldCloseOnBlur:o,isOpen:i,isDismissable:m=!1,isKeyboardDismissDisabled:h=!1,shouldCloseOnInteractOutside:g}=e;(0,u.useEffect)(()=>{if(i&&!f.includes(t))return f.push(t),()=>{let e=f.indexOf(t);e>=0&&f.splice(e,1)}},[i,t]);let v=()=>{f[f.length-1]===t&&r&&r()};!function(e){let{ref:t,onInteractOutside:r,isDisabled:o,onInteractOutsideStart:i}=e,l=(0,u.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),s=(0,c.i)(e=>{r&&p(e,t)&&(i&&i(e),l.current.isPointerDown=!0)}),f=(0,c.i)(e=>{r&&r(e)});(0,u.useEffect)(()=>{let e=l.current;if(o)return;let r=t.current,i=(0,d.r3)(r);if("u">typeof PointerEvent){let r=r=>{e.isPointerDown&&p(r,t)&&f(r),e.isPointerDown=!1};return i.addEventListener("pointerdown",s,!0),i.addEventListener("click",r,!0),()=>{i.removeEventListener("pointerdown",s,!0),i.removeEventListener("click",r,!0)}}},[t,o])}({ref:t,onInteractOutside:m&&i?e=>{(!g||g(e.target))&&(f[f.length-1]===t&&(e.stopPropagation(),e.preventDefault()),v())}:void 0,onInteractOutsideStart:e=>{(!g||g(e.target))&&f[f.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:y}=(0,s.L)({isDisabled:!o,onBlurWithin:e=>{!e.relatedTarget||(0,l.cW)(e.relatedTarget)||(!g||g(e.relatedTarget))&&(null==r||r())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||h||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),v())},...y},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}
65({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!j||A,isKeyboardDismissDisabled:N,shouldCloseOnInteractOutside:T},E??S),{overlayProps:D,arrowProps:M,placement:L}=(0,i.t)({...P,targetRef:r,overlayRef:S,isOpen:t.isOpen,onClose:j&&!A?t.close:null});return function(e={}){let{isDisabled:t}=e;(0,h.b)(()=>{if(!t){let e,t,r,o,i;return 1==++x&&(w=(0,v.gn)()?(r=null,o=()=>{if(r)return;let e=window.pageXOffset,t=window.pageYOffset;r=(0,m.t)(_(window,"scroll",()=>{window.scrollTo(0,0)}),k(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),k(document.documentElement,"overflow","hidden"),k(document.body,"marginTop",`-${t}px`),()=>{window.scrollTo(e,t)}),window.scrollTo(0,0)},i=(0,m.t)(_(document,"touchstart",r=>{!((e=(0,g.r)(r.target,!0))===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=k(e,"overscrollBehavior","contain"))},{passive:!1,capture:!0}),_(document,"touchmove",t=>{if(!e||e===document.documentElement||e===document.body){t.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()},{passive:!1,capture:!0}),_(document,"touchend",()=>{t&&t()},{passive:!1,capture:!0}),_(document,"focus",e=>{let t=e.target;(t instanceof HTMLInputElement&&!b.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable)&&(o(),t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",y&&(y.height<window.innerHeight?requestAnimationFrame(()=>{C(t)}):y.addEventListener("resize",()=>C(t),{once:!0}))}))},!0)),()=>{null==t||t(),null==r||r(),i()}):(0,m.t)(k(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),k(document.documentElement,"overflow","hidden"))),()=>{0==--x&&w()}}},[t])}({isDisabled:j||!t.isOpen}),(0,h.b)(()=>{if(t.isOpen&&S.current){var e,r;return j?(0,o.f)(null!==(e=null==E?void 0:E.current)&&void 0!==e?e:S.current):(0,o.R)([null!==(r=null==E?void 0:E.current)&&void 0!==r?r:S.current])}},[j,t.isOpen,S,E]),{popoverProps:(0,$.d)(O,D),arrowProps:M,underlayProps:R,placement:L}}},30834:function(e,t,r){"use strict";r.d(t,{A:function(){return m},g:function(){return c}});var o=r(67294);let i={prefix:String(Math.round(1e10*Math.random())),current:0},l=o.createContext(i),s=o.createContext(!1);"u">typeof window&&window.document&&window.document.createElement;let d=new WeakMap,c="function"==typeof o.useId?function(e){let t=o.useId(),[r]=(0,o.useState)(m()),l=r?"react-aria":`react-aria${i.prefix}`;return e||`${l}-${t}`}:function(e){let t=(0,o.useContext)(l),r=function(e=!1){let t=(0,o.useContext)(l),r=(0,o.useRef)(null);if(null===r.current&&!e){var i,s;let e=null===(s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===s||null===(i=s.ReactCurrentOwner)||void 0===i?void 0:i.current;if(e){let r=d.get(e);null==r?d.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==r.state&&(t.current=r.id,d.delete(e))}r.current=++t.current}return r.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${r}`};function u(){return!1}function p(){return!0}function f(e){return()=>{}}function m(){return"function"==typeof o.useSyncExternalStore?o.useSyncExternalStore(f,u,p):(0,o.useContext)(s)}},29344:function(e,t,r){"use strict";r.d(t,{NI:function(){return d},bE:function(){return l},vY:function(){return s}});var o=r(25828),i=r(82689);function l(e,t){if(!(0,i.W)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let r=t;for(;null!==r;){if(r===e)return!0;r="SLOT"===r.tagName&&r.assignedSlot?r.assignedSlot.parentNode:(0,o.Zq)(r)?r.host:r.parentNode}return!1}let s=(e=document)=>{var t;if(!(0,i.W)())return e.activeElement;let r=e.activeElement;for(;r&&("shadowRoot"in r)&&!(null===(t=r.shadowRoot)||void 0===t)&&t.activeElement;)r=r.shadowRoot.activeElement;return r};function d(e){return(0,i.W)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},76346:function(e,t,r){"use strict";function o(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}r.d(t,{t:function(){return o}})},25828:function(e,t,r){"use strict";r.d(t,{Zq:function(){return l},kR:function(){return i},r3:function(){return o}});let o=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},i=e=>e&&"window"in e&&e.window===e?e:o(e).defaultView||window;function l(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},96194:function(e,t,r){"use strict";r.d(t,{z:function(){return u}});let o=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),l=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=new Set(["dir","lang","hidden","inert","translate"]),d=new Set(["onClick","onAuxCl
65ick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),c=/^(data-.*)$/;function u(e,t={}){let{labelable:r,isLink:u,global:p,events:f=p,propNames:m}=t,h={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o.has(t)||r&&i.has(t)||u&&l.has(t)||p&&s.has(t)||f&&(d.has(t)||t.endsWith("Capture")&&d.has(t.slice(0,-7)))||null!=m&&m.has(t)||c.test(t))&&(h[t]=e[t]);return h}},59988:function(e,t,r){"use strict";function o(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],o=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==o;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return o instanceof HTMLElement&&r.push({element:o,scrollTop:o.scrollTop,scrollLeft:o.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:o}of e)t.scrollTop=r,t.scrollLeft=o}(t)}}r.d(t,{A:function(){return o}});let i=null},76104:function(e,t,r){"use strict";r.d(t,{r:function(){return i}});var o=r(45660);function i(e,t){let r=e;for((0,o.a)(r,t)&&(r=r.parentElement);r&&!(0,o.a)(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}},84807:function(e,t,r){"use strict";r.d(t,{E:function(){return u},W:function(){return p}});var o=r(25828);let i="u">typeof Element&&"checkVisibility"in Element.prototype;function l(e,t){return i?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=(0,o.kR)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:i}=e.style,l="none"!==r&&"hidden"!==i&&"collapse"!==i;if(l){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:o}=t(e);l="none"!==r&&"hidden"!==o&&"collapse"!==o}return l}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||l(e.parentElement,e))}let s=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],d=s.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";s.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let c=s.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(d)&&l(e)&&!f(e)}function p(e){return e.matches(c)&&l(e)&&!f(e)}function f(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},45660:function(e,t,r){"use strict";function o(e,t){if(!e)return!1;let r=window.getComputedStyle(e),o=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return o&&t&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}r.d(t,{a:function(){return o}})},93645:function(e,t,r){"use strict";r.d(t,{Z:function(){return i},c:function(){return l}});var o=r(40267);function i(e){return""===e.pointerType&&!!e.isTrusted||((0,o.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function l(e){return!(0,o.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},25146:function(e,t,r){"use strict";r.d(t,{d:function(){return l}});var o=r(76346),i=r(11214);function l(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let l=e[r];for(let e in l){let r=t[e],s=l[e];"function"==typeof r&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,o.t)(r,s):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof s?t[e]=function(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}(r,s):"id"===e&&r&&s?t.id=(0,i.ur)(r,s):t[e]=void 0!==s?s:r}}return t}},31359:function(e,t,r){"use strict";function o(...e){return 1===e.length&&e[0]?e[0]:t=>{let r=!1,o=e.map(e=>{let o=i(e,t);return r||(r="function"==typeof o),o});if(r)return()=>{o.forEach((t,r)=>{"function"==typeof t?t():i(e[r],null)})}}}function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}r.d(t,{l:function(){return o}})},274:function(e,t,r){"use strict";r.d(t,{b0:function(){return c},eY:function(){return p},nG:function(){return u},tv:function(){return d}});var o=r(59988),i=r(40267),l=r(67294);let s=(0,l.createContext)({isNative:!0,open:function(e,t){!function(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),t(r),e.removeChild(r)}}(e,e=>u(e,t))},useHref:e=>e});function d(){return(0,l.useContext)(s)}function c(e,t){let r=e.getAttribute("target");return(!r||"_self"===r)&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function u(e,t,r=!0){var l,s;let{metaKey:d,ctrlKey:c,altKey:p,shiftKey:f}=t;(0,i.vU)()&&!(null===(s=window.event)||void 0===s||null===(l=s.type)||void 0===l)&&l.startsWith("key")&&"_blank"===e.target&&((0,i.V5)()?d=!0:c=!0);let m=(0,i.Pf)()&&(0,i.V5)()&&!(0,i.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:d,ctrlKey:c,altKey:p,shiftKey:f}):new MouseEvent("click",{metaKey:d,ctrlKey:c,altKey:p,shiftKey:f,detail
65:1,bubbles:!0,cancelable:!0});u.isOpening=r,(0,o.A)(e),e.dispatchEvent(m),u.isOpening=!1}function p(e){var t;let r=d().useHref(null!==(t=null==e?void 0:e.href)&&void 0!==t?t:"");return{href:null!=e&&e.href?r:void 0,target:null==e?void 0:e.target,rel:null==e?void 0:e.rel,download:null==e?void 0:e.download,ping:null==e?void 0:e.ping,referrerPolicy:null==e?void 0:e.referrerPolicy}}u.isOpening=!1},40267:function(e,t,r){"use strict";function o(e){var t;if(typeof window>"u"||null==window.navigator)return!1;let r=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(r)&&r.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function i(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function l(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{Dt:function(){return h},Pf:function(){return f},V5:function(){return s},ad:function(){return p},gn:function(){return u},i7:function(){return m},vU:function(){return g},zc:function(){return c}});let s=l(function(){return i(/^Mac/i)}),d=l(function(){return i(/^iPhone/i)}),c=l(function(){return i(/^iPad/i)||s()&&navigator.maxTouchPoints>1}),u=l(function(){return d()||c()}),p=l(function(){return s()||u()}),f=l(function(){return o(/AppleWebKit/i)&&!m()}),m=l(function(){return o(/Chrome/i)}),h=l(function(){return o(/Android/i)}),g=l(function(){return o(/Firefox/i)})},80019:function(e,t,r){"use strict";r.d(t,{Q:function(){return s}});let o=new Map,i=new Set;function l(){if(typeof window>"u")return;function e(e){return"propertyName"in e}let t=r=>{if(!e(r)||!r.target)return;let l=o.get(r.target);if(l&&(l.delete(r.propertyName),0===l.size&&(r.target.removeEventListener("transitioncancel",t),o.delete(r.target)),0===o.size)){for(let e of i)e();i.clear()}};document.body.addEventListener("transitionrun",r=>{if(!e(r)||!r.target)return;let i=o.get(r.target);i||(i=new Set,o.set(r.target,i),r.target.addEventListener("transitioncancel",t,{once:!0})),i.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{(function(){for(let[e]of o)"isConnected"in e&&!e.isConnected&&o.delete(e)})(),0===o.size?e():i.add(e)})}"u">typeof document&&("loading"!==document.readyState?l():document.addEventListener("DOMContentLoaded",l))},13543:function(e,t,r){"use strict";r.d(t,{z:function(){return i},G:function(){return s}});var o=r(45660);function i(e,t){let r=l(e,t,"left"),o=l(e,t,"top"),i=t.offsetWidth,s=t.offsetHeight,d=e.scrollLeft,c=e.scrollTop,{borderTopWidth:u,borderLeftWidth:p,scrollPaddingTop:f,scrollPaddingRight:m,scrollPaddingBottom:h,scrollPaddingLeft:g}=getComputedStyle(e),v=d+parseInt(p,10),y=c+parseInt(u,10),b=v+e.clientWidth,x=y+e.clientHeight,w=parseInt(f,10)||0,k=parseInt(h,10)||0,_=parseInt(m,10)||0,C=parseInt(g,10)||0;r<=d+C?d=r-parseInt(p,10)-C:r+i>b-_&&(d+=r+i-b+_),o<=y+w?c=o-parseInt(u,10)-w:o+s>x-k&&(c+=o+s-x+k),e.scrollLeft=d,e.scrollTop=c}function l(e,t,r){let o="left"===r?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[o],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[o];break}t=t.offsetParent}return i}function s(e,t){if(e&&document.contains(e)){let c=document.scrollingElement||document.documentElement,u="hidden"===window.getComputedStyle(c).overflow;if(u){let t=function(e,t){let r=[];for(;e&&e!==document.documentElement;)(0,o.a)(e,void 0)&&r.push(e),e=e.parentElement;return r}(e);for(let r of(u||t.push(c),t))i(r,e)}else{var r,l,s,d;let{left:o,top:i}=e.getBoundingClientRect();null==e||null===(r=e.scrollIntoView)||void 0===r||r.call(e,{block:"nearest"});let{left:c,top:u}=e.getBoundingClientRect();(Math.abs(o-c)>1||Math.abs(i-u)>1)&&(null==t||null===(s=t.containingElement)||void 0===s||null===(l=s.scrollIntoView)||void 0===l||l.call(s,{block:"center",inline:"center"}),null===(d=e.scrollIntoView)||void 0===d||d.call(e,{block:"nearest"}))}}}},10132:function(e,t,r){"use strict";r.d(t,{v:function(){return i}});var o=r(67294);function i(e,t){let r=(0,o.useRef)(null);return e&&r.current&&t(e,r.current)&&(e=r.current),r.current=e,e}},38346:function(e,t,r){"use strict";r.d(t,{P:function(){return d}});var o=r(12181),i=r(67294);let l=0,s=new Map;function d(e){let[t,r]=(0,i.useState)();return(0,o.b)(()=>
65{if(!e)return;let t=s.get(e);if(t)r(t.element.id);else{let o=`react-aria-description-${l++}`;r(o);let i=document.createElement("div");i.id=o,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},s.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),s.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}},37135:function(e,t,r){"use strict";r.d(t,{i:function(){return d}});var o,i=r(12181),l=r(67294);let s=null!==(o=l.useInsertionEffect)&&void 0!==o?o:i.b;function d(e){let t=(0,l.useRef)(null);return s(()=>{t.current=e},[e]),(0,l.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}},36100:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var o=r(37135),i=r(67294);function l(e,t,r,l){let s=(0,o.i)(r),d=null==r;(0,i.useEffect)(()=>{if(d||!e.current)return;let r=e.current;return r.addEventListener(t,s,l),()=>{r.removeEventListener(t,s,l)}},[e,t,l,d])}},19887:function(e,t,r){"use strict";r.d(t,{y:function(){return l}});var o=r(37135),i=r(67294);function l(e,t,r){let l=(0,o.i)(()=>{r&&r(t)});(0,i.useEffect)(()=>{var t;let r=null==e||null===(t=e.current)||void 0===t?void 0:t.form;return null==r||r.addEventListener("reset",l),()=>{null==r||r.removeEventListener("reset",l)}},[e])}},62181:function(e,t,r){"use strict";r.d(t,{x:function(){return i}});var o=r(67294);function i(){let e=(0,o.useRef)(new Map),t=(0,o.useCallback)((t,r,o,i)=>{let l=null!=i&&i.once?(...t)=>{e.current.delete(o),o(...t)}:o;e.current.set(o,{type:r,eventTarget:t,fn:l,options:i}),t.addEventListener(r,l,i)},[]),r=(0,o.useCallback)((t,r,o,i)=>{var l;let s=(null===(l=e.current.get(o))||void 0===l?void 0:l.fn)||o;t.removeEventListener(r,s,i),e.current.delete(o)},[]),i=(0,o.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,o.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}},11214:function(e,t,r){"use strict";r.d(t,{ur:function(){return p},Me:function(){return u},mp:function(){return f}});var o=r(12181),i=r(67294),l=r(30834);let s=!!("u">typeof window&&window.document&&window.document.createElement),d=new Map,c;function u(e){let[t,r]=(0,i.useState)(e),u=(0,i.useRef)(null),p=(0,l.g)(t),f=(0,i.useRef)(null);if(c&&c.register(f,p),s){let e=d.get(p);e&&!e.includes(u)?e.push(u):d.set(p,[u])}return(0,o.b)(()=>()=>{c&&c.unregister(f),d.delete(p)},[p]),(0,i.useEffect)(()=>{let e=u.current;return e&&r(e),()=>{e&&(u.current=null)}}),p}function p(e,t){if(e===t)return e;let r=d.get(e);if(r)return r.forEach(e=>e.current=t),t;let o=d.get(t);return o?(o.forEach(t=>t.current=e),e):t}function f(e=[]){let t=u(),[r,l]=function(e){let[t,r]=(0,i.useState)(e),l=(0,i.useRef)(t),s=(0,i.useRef)(null),d=(0,i.useRef)(()=>{if(!s.current)return;let e=s.current.next();if(e.done){s.current=null;return}l.current===e.value?d.current():r(e.value)});return(0,o.b)(()=>{l.current=t,s.current&&d.current()}),[t,(0,i.useCallback)(e=>{s.current=e(l.current),d.current()},[d])]}(t),s=(0,i.useCallback)(()=>{l(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,l]);return(0,o.b)(s,[t,s,...e]),r}"u">typeof FinalizationRegistry&&(c=new FinalizationRegistry(e=>{d.delete(e)}))},52701:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var o=r(11214);function i(e,t){let{id:r,"aria-label":i,"aria-labelledby":l}=e;return r=(0,o.Me)(r),l&&i?l=[...new Set([r,...l.trim().split(/\s+/)])].join(" "):l&&(l=l.trim().split(/\s+/).join(" ")),i||l||!t||(i=t),{id:r,"aria-label":i,"aria-labelledby":l}}},12181:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var o=r(67294);let i="u">typeof document?o.useLayoutEffect:()=>{}},16667:function(e,t,r){"use strict";r.d(t,{B:function(){return i}});var o=r(67294);function i(e){let t=(0,o.useRef)(null),r=(0,o.useRef)(void 0),i=(0,o.useCallback)(t=>{if("function"==typeof e){let r=e(t);return()=>{"function"==typeof r?r():e(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,o.useMemo)(()=>({get current(){return t.current},set current(n){t.current=n,r.current&&(r.current(),r.current=void 0),null!=n&&(r.current=i(n))}}),[i])}},42752:function(e,t,r){"use strict";r.d(t,{l:function(){return i}});var o=r(12181);function i(e,t){(0,o.b)(()=>
65{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},95346:function(e,t,r){"use strict";r.d(t,{r:function(){return l}});var o=r(37135),i=r(67294);function l(e,t){let r=(0,i.useRef)(!0),l=(0,i.useRef)(null),s=(0,o.i)(e);(0,i.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,i.useEffect)(()=>{let e=l.current;r.current?r.current=!1:(!e||t.some((t,r)=>!Object.is(t,e[r])))&&s(),l.current=t},t)}},85867:function(e,t,r){"use strict";r.d(t,{T:function(){return d}});var o=r(25146),i=r(67294),l=r(54039);let s={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function d(e){let{children:t,elementType:r="div",isFocusable:d,style:c,...u}=e,{visuallyHiddenProps:p}=function(e={}){let{style:t,isFocusable:r}=e,[o,d]=(0,i.useState)(!1),{focusWithinProps:c}=(0,l.L)({isDisabled:!r,onFocusWithinChange:e=>d(e)}),u=(0,i.useMemo)(()=>o?t:t?{...s,...t}:s,[o]);return{visuallyHiddenProps:{...c,style:u}}}(e);return i.createElement(r,(0,o.d)(u,p),t)}},26009:function(e,t,r){"use strict";r.d(t,{F:function(){return p}});var o=r(16842),i=r(32425),l=r(25286),s=r(12479),d=r(61448),c=r(19909),u=r(67294);function p(e){var t,r,p;let m=(0,u.useMemo)(()=>new d.C(e.locale),[e.locale]),h=(0,u.useMemo)(()=>m.resolvedOptions(),[m]),{locale:g,createCalendar:v,visibleDuration:y={months:1},minValue:b,maxValue:x,selectionAlignment:w,isDateUnavailable:k,pageBehavior:_="visible",firstDayOfWeek:C}=e,$=(0,u.useMemo)(()=>v(h.calendar),[v,h.calendar]),[S,E]=(0,c.z)(e.value,null!==(t=e.defaultValue)&&void 0!==t?t:null,e.onChange),j=(0,u.useMemo)(()=>S?(0,l.Mw)((0,l.WG)(S),$):null,[S,$]),N=(0,u.useMemo)(()=>S&&"timeZone"in S?S.timeZone:h.timeZone,[S,h.timeZone]),T=(0,u.useMemo)(()=>e.focusedValue?(0,o.Me)((0,l.Mw)((0,l.WG)(e.focusedValue),$),b,x):void 0,[e.focusedValue,$,b,x]),P=(0,u.useMemo)(()=>(0,o.Me)(e.defaultFocusedValue?(0,l.Mw)((0,l.WG)(e.defaultFocusedValue),$):j||(0,l.Mw)((0,s.Lg)(N),$),b,x),[e.defaultFocusedValue,j,N,$,b,x]),[A,O]=(0,c.z)(T,P,e.onFocusChange),[R,D]=(0,u.useState)(()=>{switch(w){case"start":return(0,o.Yn)(A,y,g,b,x);case"end":return(0,o.N2)(A,y,g,b,x);default:return(0,o.A8)(A,y,g,b,x)}}),[M,L]=(0,u.useState)(e.autoFocus||!1),I=(0,u.useMemo)(()=>{let e={...y};return e.days?e.days--:e.days=-1,R.add(e)},[R,y]),[F,B]=(0,u.useState)($.identifier);if($.identifier!==F){let e=(0,l.Mw)(A,$);D((0,o.A8)(e,y,g,b,x)),O(e),B($.identifier)}function V(e){O(e=(0,o.Me)(e,b,x))}function z(t){if(!e.isDisabled&&!e.isReadOnly){let e=t;if(null===e){E(null);return}e=(0,o.Me)(e,b,x),(e=(0,o.UC)(e,R,k))&&(e=(0,l.Mw)(e,(null==S?void 0:S.calendar)||new i.IQ),S&&"hour"in S?E(S.set(e)):E(e))}}(0,o.wp)(A,b,x)?O((0,o.Me)(A,b,x)):0>A.compare(R)?D((0,o.N2)(A,y,g,b,x)):A.compare(I)>0&&D((0,o.Yn)(A,y,g,b,x));let H=(0,u.useMemo)(()=>!!j&&(!!(k&&k(j))||(0,o.wp)(j,b,x)),[j,k,b,x]),U=e.isInvalid||"invalid"===e.validationState||H,Z=(0,u.useMemo)(()=>"visible"===_?y:f(y),[_,y]);return{isDisabled:null!==(r=e.isDisabled)&&void 0!==r&&r,isReadOnly:null!==(p=e.isReadOnly)&&void 0!==p&&p,value:j,setValue:z,visibleRange:{start:R,end:I},minValue:b,maxValue:x,focusedDate:A,timeZone:N,validationState:U?"invalid":null,isValueInvalid:U,setFocusedDate(e){V(e),L(!0)},focusNextDay(){V(A.add({days:1}))},focusPreviousDay(){V(A.subtract({days:1}))},focusNextRow(){y.days?this.focusNextPage():(y.weeks||y.months||y.years)&&V(A.add({weeks:1}))},focusPreviousRow(){y.days?this.focusPreviousPage():(y.weeks||y.months||y.years)&&V(A.subtract({weeks:1}))},focusNextPage(){let e=R.add(Z);O((0,o.Me)(A.add(Z),b,x)),D((0,o.Yn)((0,o.PJ)(A,e,Z,g,b,x),Z,g))},focusPreviousPage(){let e=R.subtract(Z);O((0,o.Me)(A.subtract(Z),b,x)),D((0,o.Yn)((0,o.PJ)(A,e,Z,g,b,x),Z,g))},focusSectionStart(){y.days?V(R):y.weeks?V((0,s.zJ)(A,g)):(y.months||y.years)&&V((0,s.Nm)(A))},focusSectionEnd(){y.days?V(I):y.weeks?V((0,s.vV)(A,g)):(y.months||y.years)&&V((0,s.Vf)(A))},focusNextSection(e){if(!e&&!y.days){V(A.add(f(y)));return}y.days?this.focusNextPage():y.weeks?V(A.add({months:1}
65)):(y.months||y.years)&&V(A.add({years:1}))},focusPreviousSection(e){if(!e&&!y.days){V(A.subtract(f(y)));return}y.days?this.focusPreviousPage():y.weeks?V(A.subtract({months:1})):(y.months||y.years)&&V(A.subtract({years:1}))},selectFocusedDate(){k&&k(A)||z(A)},selectDate(e){z(e)},isFocused:M,setFocused:L,isInvalid:e=>(0,o.wp)(e,b,x),isSelected(e){return null!=j&&(0,s.KC)(e,j)&&!this.isCellDisabled(e)&&!this.isCellUnavailable(e)},isCellFocused:e=>M&&A&&(0,s.KC)(e,A),isCellDisabled(t){return e.isDisabled||0>t.compare(R)||t.compare(I)>0||this.isInvalid(t)},isCellUnavailable:t=>!!e.isDateUnavailable&&e.isDateUnavailable(t),isPreviousVisibleRangeInvalid(){let e=R.subtract({days:1});return(0,s.KC)(e,R)||this.isInvalid(e)},isNextVisibleRangeInvalid(){let e=I.add({days:1});return(0,s.KC)(e,I)||this.isInvalid(e)},getDatesInWeek(e,t=R){let r=t.add({weeks:e}),o=[];r=(0,s.zJ)(r,g,C);let i=(0,s.ji)(r,g,C);for(let e=0;e<i;e++)o.push(null);for(;o.length<7;){o.push(r);let e=r.add({days:1});if((0,s.KC)(r,e))break;r=e}for(;o.length<7;)o.push(null);return o}}}function f(e){let t={...e};for(let r in e)t[r]=1;return t}},16842:function(e,t,r){"use strict";r.d(t,{A8:function(){return s},Me:function(){return p},N2:function(){return c},PJ:function(){return u},UC:function(){return f},Yn:function(){return d},wp:function(){return l}});var o=r(25286),i=r(12479);function l(e,t,r){return null!=t&&0>e.compare(t)||null!=r&&e.compare(r)>0}function s(e,t,r,o,i){let l={};for(let e in t)l[e]=Math.floor(t[e]/2),l[e]>0&&t[e]%2==0&&l[e]--;let s=d(e,t,r).subtract(l);return u(e,s,t,r,o,i)}function d(e,t,r,o,l){let s=e;return t.years?s=(0,i.em)(e):t.months?s=(0,i.Nm)(e):t.weeks&&(s=(0,i.zJ)(e,r)),u(e,s,t,r,o,l)}function c(e,t,r,o,i){let l={...t};l.days?l.days--:l.weeks?l.weeks--:l.months?l.months--:l.years&&l.years--;let s=d(e,t,r).subtract(l);return u(e,s,t,r,o,i)}function u(e,t,r,l,s,u){if(s&&e.compare(s)>=0){let e=(0,i.l7)(t,d((0,o.WG)(s),r,l));e&&(t=e)}if(u&&0>=e.compare(u)){let e=(0,i.Mb)(t,c((0,o.WG)(u),r,l));e&&(t=e)}return t}function p(e,t,r){if(t){let r=(0,i.l7)(e,(0,o.WG)(t));r&&(e=r)}if(r){let t=(0,i.Mb)(e,(0,o.WG)(r));t&&(e=t)}return e}function f(e,t,r){if(!r)return e;for(;e.compare(t)>=0&&r(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}},90006:function(e,t,r){"use strict";r.d(t,{Ai:function(){return _},OJ:function(){return C},oE:function(){return w},zu:function(){return k},MJ:function(){return y},p2:function(){return v},iZ:function(){return $}});var o,i={};i={"ar-AE":{rangeOverflow:e=>`ÙØ¬Ø¨ أ٠تÙÙ٠اÙÙÙÙ
Ø© ${e.maxValue} Ø£Ù ÙØ¨Ù ذÙÙ.`,rangeReversed:"ØªØ§Ø±ÙØ® Ø§ÙØ¨Ø¯Ø¡ ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ ÙØ¨Ù ØªØ§Ø±ÙØ® Ø§ÙØ§ÙØªÙØ§Ø¡.",rangeUnderflow:e=>`ÙØ¬Ø¨ أ٠تÙÙ٠اÙÙÙÙ
Ø© ${e.minValue} أ٠بعد ذÙÙ.`,unavailableDate:"Ø§ÙØ¨ÙØ§ÙØ§Øª اÙÙ
ØØ¯Ø¯Ø© ØºÙØ± Ù
ØªØ§ØØ©."},"bg-BG":{rangeOverflow:e=>`СÑойноÑÑÑа ÑÑÑбва да е ${e.maxValue} или по-Ñанна.`,rangeReversed:"ÐаÑалнаÑа даÑа ÑÑÑбва да е пÑеди кÑайнаÑа.",rangeUnderflow:e=>`СÑойноÑÑÑа ÑÑÑбва да е ${e.minValue} или по-кÑÑно.`,unavailableDate:"ÐзбÑанаÑа даÑа не е налиÑна."},"cs-CZ":{rangeOverflow:e=>`Hodnota mus\xed b\xfdt ${e.maxValue} nebo dÅ\xedvÄjÅ¡\xed.`,rangeReversed:"Datum zah\xe1jen\xed mus\xed pÅedch\xe1zet datu ukonÄen\xed.",rangeUnderflow:e=>`Hodnota mus\xed b\xfdt ${e.minValue} nebo pozdÄjÅ¡\xed.`,unavailableDate:"Vybran\xe9 datum nen\xed k dispozici."},"da-DK":{rangeOverflow:e=>`V\xe6rdien skal v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xe6re f\xf8r slutdatoen.",rangeUnderflow:e=>`V\xe6rdien skal v\xe6re ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xe6ngelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder fr\xfcher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder sp\xe4ter sein.`,unavailableDate:"Das ausgew\xe4hlte Datum ist nicht verf\xfcgbar."},"el-GR":{rangeOverflow:e=>`Î Ïιμή ÏÏÎÏει να είναι ${e.maxValue} ή ÏαλαιÏÏεÏη.`,rangeReversed:"ΠημεÏομηνία ÎναÏÎ¾Î·Ï ÏÏÎÏει να είναι ÏÏιν αÏÏ Ïην ημεÏομηνία λήξηÏ.",rangeUnderflow:e=>`Î Ïιμή ÏÏÎÏει να είναι ${e.minValue} ή μεÏαγενÎÏÏεÏη.`,unavailableDate:"ΠεÏιλεγμÎνη ημεÏομηνία δεν είναι διαθÎÏιμη."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xf3n.",rangeUnderflow:e=>`El valor debe ser ${e.minValue}
65 o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`V\xe4\xe4rtus peab olema ${e.maxValue} v\xf5i varasem.`,rangeReversed:"Alguskuup\xe4ev peab olema enne l\xf5ppkuup\xe4eva.",rangeUnderflow:e=>`V\xe4\xe4rtus peab olema ${e.minValue} v\xf5i hilisem.`,unavailableDate:"Valitud kuup\xe4ev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sit\xe4 aikaisempi.`,rangeReversed:"Aloitusp\xe4iv\xe4n on oltava ennen lopetusp\xe4iv\xe4\xe4.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sit\xe4 my\xf6h\xe4isempi.`,unavailableDate:"Valittu p\xe4iv\xe4m\xe4\xe4r\xe4 ei ole k\xe4ytett\xe4viss\xe4."},"fr-FR":{rangeOverflow:e=>`La valeur doit \xeatre ${e.maxValue} ou ant\xe9rieure.`,rangeReversed:"La date de d\xe9but doit \xeatre ant\xe9rieure \xe0 la date de fin.",rangeUnderflow:e=>`La valeur doit \xeatre ${e.minValue} ou ult\xe9rieure.`,unavailableDate:"La date s\xe9lectionn\xe9e nâest pas disponible."},"he-IL":{rangeOverflow:e=>`××¢×¨× ×××× ××××ת ${e.maxValue} ×× ×××§×× ××תר.`,rangeReversed:"ת×ר×× ××ת××× ×××× ××××ת ××¤× × ×ª×ר×× ×ס×××.",rangeUnderflow:e=>`××¢×¨× ×××× ××××ת ${e.minValue} ×× ××××ר ××תר.`,unavailableDate:"×ת×ר×× ×× ××ר ××× × ××××."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum poÄetka mora biti prije datuma zavrÅ¡etka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az \xe9rt\xe9knek ${e.maxValue} vagy kor\xe1bbinak kell lennie.`,rangeReversed:"A kezdÅ d\xe1tumnak a befejezÅ d\xe1tumn\xe1l kor\xe1bbinak kell lennie.",rangeUnderflow:e=>`Az \xe9rt\xe9knek ${e.minValue} vagy k\xe9sÅbbinek kell lennie.`,unavailableDate:"A kiv\xe1lasztott d\xe1tum nem \xe9rhetÅ el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`å¤ã¯ ${e.maxValue} 以ä¸ã«ããå¿
è¦ãããã¾ãã`,rangeReversed:"éå§æ¥ã¯çµäºæ¥ããåã«ããå¿
è¦ãããã¾ãã",rangeUnderflow:e=>`å¤ã¯ ${e.minValue} 以ä¸ã«ããå¿
è¦ãããã¾ãã`,unavailableDate:"鏿ããæ¥ä»ã¯ä½¿ç¨ã§ãã¾ããã"},"ko-KR":{rangeOverflow:e=>`ê°ì ${e.maxValue} ì´ì ì´ì´ì¼ í©ëë¤.`,rangeReversed:"ììì¼ì ì¢
ë£ì¼ ì´ì ì´ì´ì¼ í©ëë¤.",rangeUnderflow:e=>`ê°ì ${e.minValue} ì´íì¬ì¼ í©ëë¤.`,unavailableDate:"ì íí ë ì§ë¥¼ ì¬ì©í ì ììµëë¤."},"lt-LT":{rangeOverflow:e=>`ReikÅ¡mÄ turi bÅ«ti ${e.maxValue} arba ankstesnÄ.`,rangeReversed:"Pradžios data turi bÅ«ti ankstesnÄ nei pabaigos data.",rangeUnderflow:e=>`ReikÅ¡mÄ turi bÅ«ti ${e.minValue} arba naujesnÄ.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`VÄrtÄ«bai ir jÄbÅ«t ${e.maxValue} vai agrÄkai.`,rangeReversed:"SÄkuma datumam ir jÄbÅ«t pirms beigu datuma.",rangeUnderflow:e=>`VÄrtÄ«bai ir jÄbÅ«t ${e.minValue} vai vÄlÄkai.`,unavailableDate:"AtlasÄ«tais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien m\xe5 v\xe6re ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xe5 v\xe6re f\xf8r sluttdatoen.",rangeUnderflow:e=>`Verdien m\xe5 v\xe6re ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`WartoÅÄ musi mieÄ wartoÅÄ ${e.maxValue} lub wczeÅniejszÄ
.`,rangeReversed:"Data rozpoczÄcia musi byÄ wczeÅniejsza niż data zakoÅczenia.",rangeUnderflow:e=>`WartoÅÄ musi mieÄ wartoÅÄ ${e.minValue} lub p\xf3źniejszÄ
.`,unavailableDate:"Wybrana data jest niedostÄpna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xe0 data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xedvel."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de in\xedcio deve ser anterior \xe0 data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xedvel."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie sÄ fie ${e.maxValue} sau anterioarÄ.`,rangeReversed:"Data de \xeenceput trebuie sÄ fie anterioarÄ datei de sf\xe2rÈit.",rangeUnderflow:e=>`Valoarea trebuie sÄ fie ${e.minValue} sau ulterioarÄ.`,unavailableDate:"Data selectatÄ nu este disponibilÄ."},"ru-RU":{rangeOverflow:e=>`ÐнаÑение должно бÑÑÑ Ð½Ðµ позже ${e.maxValue}.`,rangeReversed:"ÐаÑа наÑала должна пÑедÑеÑÑвоваÑÑ Ð´Ð°Ñе оконÑаниÑ.",rangeUnderflow:e=>`ÐнаÑение должно бÑÑÑ Ð½Ðµ ÑанÑÑе ${e.minValue}.`,unavailableDate:"ÐÑбÑÐ°Ð½Ð½Ð°Ñ Ð´Ð°Ñа недоÑÑÑпна."},"sk-SK":{rangeOverflow:e=>`Hodnota mus\xed byÅ¥ ${e.maxValue} alebo skorÅ¡ia.`,rangeReversed:"D\xe1tum zaÄiatku mus\xed byÅ¥ skorÅ¡\xed ako d\xe1tum konca.",rangeUnderflow:e=>`Hodnota mus\xed byÅ¥ ${e.minValue} alebo neskorÅ¡ia.`,unavailableDate:"Vybrat\xfd d\xe1tum je nedostupn\xfd."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejÅ¡a.`,rangeReversed:"ZaÄetni datum mora biti pred konÄnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejÅ¡a.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum poÄetka mora biti pre datuma zavrÅ¡etka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`V\xe4rdet m\xe5ste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xe5ste vara f\xf6re slutdatumet.",rangeUnderflow:e=>`V\xe4rdet m\xe5ste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet \xe4r inte tillg\xe4ngligt."},"tr-TR":{rangeOverflow:e=>`DeÄer, ${e.maxValue} veya \xf6ncesi olmalıdır.`,rangeReversed:"BaÅlangı\xe7 tarihi bitiÅ tarihinden \xf6nce olmalıdır.",rangeUnderflow:e=>`DeÄer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Se\xe7ilen tarih kullanılamıyor."},"uk-UA":{rangeOverflow:e=>`ÐнаÑÐµÐ½Ð½Ñ Ð¼Ð°Ñ Ð±ÑÑи не пÑзнÑÑе ${e.maxValue}.`,rangeReversed:"ÐаÑа поÑаÑÐºÑ Ð¼Ð°Ñ Ð¿ÐµÑедÑваÑи даÑÑ Ð·Ð°Ð²ÐµÑÑеннÑ.",rangeUnderflow:e=>`ÐнаÑÐµÐ½Ð½Ñ Ð¼Ð°Ñ Ð±ÑÑи не ÑанÑÑе ${e.minValue}.`,unavailableDate:"ÐибÑана даÑа недоÑÑÑпна."},"zh-CN":{rangeOverflow:e=>`å¼å¿
é¡»æ¯ ${e.maxValue} ææ´æ©æ¥æã`,rangeReversed:"å¼å§æ¥æå¿
é¡»æ©äºç»ææ¥æã",rangeUnderflow:e=>`å¼å¿
é¡»æ¯ ${e.minValue} ææ´ææ¥æã`,unavailableDate:"æéæ¥æä¸å¯ç¨ã"},"zh-TW":{rangeOverflow:e=>`å¼å¿
é æ¯ ${e.maxValue} ææ´æ©ã`,rangeReversed:"éå§æ¥æå¿
é å¨çµææ¥æä¹åã",rangeUnderflow:e=>`å¼å¿
é æ¯ ${e.minValue} ææ´æã`,unavailableDate:"æé¸æ¥æç¡æ³ä½¿ç¨ã"}};var l=r(54144),s=r(25286),d=r(12479),c=r(61448),u=r(23038),p=r(61292),f=r(64
65106),m=r(67294);let h=new u.J((o=i)&&o.__esModule?o.default:o);function g(){let e="u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}function v(e,t,r,o,i){let l=null!=e&&null!=r&&e.compare(r)>0,s=null!=e&&null!=t&&0>e.compare(t),d=null!=e&&(null==o?void 0:o(e))||!1,f=l||s||d,m=[];if(f){let e=g(),o=u.J.getGlobalDictionaryForPackage("@react-stately/datepicker")||h,f=new p.E(e,o),v=new c.C(e,w({},i)),y=v.resolvedOptions().timeZone;s&&null!=t&&m.push(f.format("rangeUnderflow",{minValue:v.format(t.toDate(y))})),l&&null!=r&&m.push(f.format("rangeOverflow",{maxValue:v.format(r.toDate(y))})),d&&m.push(f.format("unavailableDate"))}return{isInvalid:f,validationErrors:m,validationDetails:{badInput:d,customError:!1,patternMismatch:!1,rangeOverflow:l,rangeUnderflow:s,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!f}}}function y(e,t,r,o,i){var l,s;let d=v(null!==(l=null==e?void 0:e.start)&&void 0!==l?l:null,t,r,o,i),c=v(null!==(s=null==e?void 0:e.end)&&void 0!==s?s:null,t,r,o,i),p=(0,f.W0)(d,c);if((null==e?void 0:e.end)!=null&&null!=e.start&&0>e.end.compare(e.start)){let e=u.J.getGlobalDictionaryForPackage("@react-stately/datepicker")||h;p=(0,f.W0)(p,{isInvalid:!0,validationErrors:[e.getStringForLocale("rangeReversed",g())],validationDetails:{...f.zl,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return p}let b={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},x={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function w(e,t){var r;e={...t.shouldForceLeadingZeros?x:b,...e};let o=t.granularity||"minute",i=Object.keys(e),l=i.indexOf(null!==(r=t.maxGranularity)&&void 0!==r?r:"year");l<0&&(l=0);let s=i.indexOf(o);if(s<0&&(s=2),l>s)throw Error("maxGranularity must be greater than granularity");let d=i.slice(l,s+1).reduce((t,r)=>(t[r]=e[r],t),{});return null!=t.hourCycle&&(d.hour12=12===t.hourCycle),d.timeZone=t.timeZone||"UTC",("hour"===o||"minute"===o||"second"===o)&&t.timeZone&&!t.hideTimeZone&&(d.timeZoneName="short"),t.showEra&&0===l&&(d.era="short"),d}function k(e){return e&&"hour"in e?e:new l.qp}function _(e,t){return null===e?null:e?(0,s.Mw)(e,t):void 0}function C(e,t,r,o){if(e)return _(e,r);let i=(0,s.Mw)((0,d.zO)(o??(0,d.iT)()).set({hour:0,minute:0,second:0,millisecond:0}),r);return"year"===t||"month"===t||"day"===t?(0,s.WG)(i):o?i:(0,s.IO)(i)}function $(e,t){let r=e&&"timeZone"in e?e.timeZone:void 0,o=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw Error("Invalid granularity "+t+" for value "+e.toString());let[i,l]=(0,m.useState)([o,r]);return e&&(i[0]!==o||i[1]!==r)&&l([o,r]),t||(t=e?o:i[0]),[t,e?r:i[1]]}},82689:function(e,t,r){"use strict";function o(){return!1}r.d(t,{W:function(){return o}})},64106:function(e,t,r){"use strict";r.d(t,{PS:function(){return s},Q3:function(){return u},W0:function(){return h},tL:function(){return c},zl:function(){return i}});var o=r(67294);let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},l={...i,customError:!0,valid:!1},s={isInvalid:!1,validationDetails:i,validationErrors:[]},d=(0,o.createContext)({}),c="__formValidationState"+Date.now();function u(e){if(e[c]){let{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:i,commitValidation:l}=e[c];return{realtimeValidation:t,displayValidation:r,updateValidation:o,resetValidation:i,commitValidation:l}}return function(e){let{isInvalid:t,validationState:r,name:i,value:c,builtinValidation:u,validate:h,validationBehavior:g="aria"}=e;r&&(t||(t="invalid"===r));let v=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:l}:null,y=(0,o.useMemo)(()=>h&&null!=c?f(function(e,t){if("function"==typeof e){let r=e(t);if(r&&"boolean"!=typeof r)return p(r)}return[]}(h,c)):null,[h,c]);null!=u&&u.validationDetails.valid&&(u=void 0);let b=(0,o.useContext)(d),x=(0,o.useMemo)(()=>i?Array.isArray(i)?i.flatMap(e=>p(b[e])):p(b[i]):[],[b,i]),[w,k]=(0,o.useState)(b),[_,C]=(0,o.useState)(!1);b!==w&&(k(b),C(!1));let $=(0,o.useMemo)(()=>f(_?[]:x),[_,x]),S=(0,o.useRef)(s),[E,j]=(0,o.useState)(s),N=(0,o.useRef)(s),[T,P]=(0,o.useState)(!1);return(0,o.useEffect)(()=>
65{if(!T)return;P(!1);let e=y||u||S.current;m(e,N.current)||(N.current=e,j(e))}),{realtimeValidation:v||$||y||u||s,displayValidation:"native"===g?v||$||E:v||$||y||u||E,updateValidation(e){"aria"!==g||m(E,e)?S.current=e:j(e)},resetValidation(){m(s,N.current)||(N.current=s,j(s)),"native"===g&&P(!1),C(!0)},commitValidation(){"native"===g&&P(!0),C(!0)}}}(e)}function p(e){return e?Array.isArray(e)?e:[e]:[]}function f(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:l}:null}function m(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,r)=>e===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([e,r])=>t.validationDetails[e]===r)}function h(...e){let t=new Set,r=!1,o={...i};for(let i of e){for(let e of i.validationErrors)t.add(e);for(let e in r||(r=i.isInvalid),o)o[e]||(o[e]=i.validationDetails[e])}return o.valid=!r,{isInvalid:r,validationErrors:[...t],validationDetails:o}}},47717:function(e,t,r){"use strict";r.d(t,{d:function(){return l}});var o=r(67294),i=r(19909);function l(e){let[t,r]=(0,i.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),l=(0,o.useCallback)(()=>{r(!0)},[r]),s=(0,o.useCallback)(()=>{r(!1)},[r]),d=(0,o.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:l,close:s,toggle:d}}},73765:function(e,t,r){"use strict";r.d(t,{l:function(){return i}});var o=r(19909);function i(e={}){let{isReadOnly:t}=e,[r,i]=(0,o.z)(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:r,setSelected:function(e){t||i(e)},toggle:function(){t||i(!r)}}}},41599:function(e,t,r){"use strict";function o(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function i(e,t){let r=e,o=0,i=t.toString(),l=i.toLowerCase().indexOf("e-");if(l>0)o=Math.abs(Math.floor(Math.log10(Math.abs(t))))+l;else{let e=i.indexOf(".");e>=0&&(o=i.length-e)}if(o>0){let e=Math.pow(10,o);r=Math.round(r*e)/e}return r}function l(e,t,r,o){t=Number(t),r=Number(r);let l=(e-(isNaN(t)?0:t))%o,s=i(2*Math.abs(l)>=o?e+Math.sign(l)*(o-Math.abs(l)):e-l,o);return isNaN(t)?!isNaN(r)&&s>r&&(s=Math.floor(i(r/o,o))*o):s<t?s=t:!isNaN(r)&&s>r&&(s=t+Math.floor(i((r-t)/o,o))*o),s=i(s,o)}r.d(t,{N4:function(){return l},uZ:function(){return o}})},19909:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var o,i=r(67294);let l="u">typeof document?null!==(o=i.useInsertionEffect)&&void 0!==o?o:i.useLayoutEffect:()=>{};function s(e,t,r){let[o,s]=(0,i.useState)(e||t),d=(0,i.useRef)(o),c=(0,i.useRef)(void 0!==e),u=void 0!==e;(0,i.useEffect)(()=>{c.current,c.current=u},[u]);let p=u?e:o;l(()=>{d.current=p});let[,f]=(0,i.useReducer)(()=>({}),{});return[p,(0,i.useCallback)((e,...t)=>{let o="function"==typeof e?e(d.current):e;Object.is(d.current,o)||(d.current=o,s(o),f(),null==r||r(o,...t))},[r])]}},58081:function(e,t,r){"use strict";function o(e,t,r){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}r.d(t,{_:function(){return o}})},19090:function(e,t,r){"use strict";r.d(t,{R:function(){return u}});var o=new WeakMap,i=new WeakMap,l={},s=0,d=function(e){return e&&(e.host||d(e.parentNode))},c=function(e,t,r,c){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=d(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});l[r]||(l[r]=new WeakMap);var p=l[r],f=[],m=new Set,h=new Set(u),g=function(e){!e||m.has(e)||(m.add(e),g(e.parentNode))};u.forEach(g);var v=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(m.has(e))v(e);else try{var t=e.getAttribute(c),l=null!==t&&"false"!==t,s=(o.get(e)||0)+1,d=(p.get(e)||0)+1;o.set(e,s),p.set(e,d),f.push(e),1===s&&l&&i.set(e,!0),1===d&&e.setAttribute(r,"true"),l||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),m.clear(),s++,function(){f.forEach(function(e){var t=o.get(e)-1,l=p.get(e)-1;o.set(e,t),p.set(e,l),t||(i.has(e)||e.removeAttribute(c),i.delete(e)),l||e.removeAttribute(r)}),--s||(o=new WeakMap,o=new WeakMap,i=new WeakMap,l={})}},u=function(e,t,r){void 0===r&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body;return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),c(o,i,r,"aria-hidden")):function(){return null}}},63890:function(e,t,r){"use strict";function o(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o);else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(o&&(o+=" "),o+=t);return o}r.d(t,{W:function(){return o}})},11823:function(e,t,r){"use strict";function o(e){if(!e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}
65function l(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}r.d(t,{X:function(){return p}});let s="[object Arguments]",d="[object Object]";var c=r(48764).lW;function u(){}function p(e,t){return function e(t,r,u,p,f,m,h){let g=h(t,r,u,p,f,m);if(void 0!==g)return g;if(typeof t==typeof r)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===r;case"number":return t===r||Object.is(t,r)}return function t(r,u,p,f){if(Object.is(r,u))return!0;let m=l(r),h=l(u);if(m===s&&(m=d),h===s&&(h=d),m!==h)return!1;switch(m){case"[object String]":return r.toString()===u.toString();case"[object Number]":{let e=r.valueOf(),t=u.valueOf();return e===t||Number.isNaN(e)&&Number.isNaN(t)}case"[object Boolean]":case"[object Date]":case"[object Symbol]":return Object.is(r.valueOf(),u.valueOf());case"[object RegExp]":return r.source===u.source&&r.flags===u.flags;case"[object Function]":return r===u}let g=(p=p??new Map).get(r),v=p.get(u);if(null!=g&&null!=v)return g===u;p.set(r,u),p.set(u,r);try{switch(m){case"[object Map]":if(r.size!==u.size)return!1;for(let[t,o]of r.entries())if(!u.has(t)||!e(o,u.get(t),t,r,u,p,f))return!1;return!0;case"[object Set]":{if(r.size!==u.size)return!1;let t=Array.from(r.values()),o=Array.from(u.values());for(let i=0;i<t.length;i++){let l=t[i],s=o.findIndex(t=>e(l,t,void 0,r,u,p,f));if(-1===s)return!1;o.splice(s,1)}return!0}case"[object Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":case"[object BigUint64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object BigInt64Array]":case"[object Float32Array]":case"[object Float64Array]":if("u">typeof c&&c.isBuffer(r)!==c.isBuffer(u)||r.length!==u.length)return!1;for(let t=0;t<r.length;t++)if(!e(r[t],u[t],t,r,u,p,f))return!1;return!0;case"[object ArrayBuffer]":return r.byteLength===u.byteLength&&t(new Uint8Array(r),new Uint8Array(u),p,f);case"[object DataView]":return r.byteLength===u.byteLength&&r.byteOffset===u.byteOffset&&t(new Uint8Array(r),new Uint8Array(u),p,f);case"[object Error]":return r.name===u.name&&r.message===u.message;case d:{if(!(t(r.constructor,u.constructor,p,f)||o(r)&&o(u)))return!1;let l=[...Object.keys(r),...i(r)],s=[...Object.keys(u),...i(u)];if(l.length!==s.length)return!1;for(let t=0;t<l.length;t++){let o=l[t],i=r[o];if(!Object.hasOwn(u,o))return!1;let s=u[o];if(!e(i,s,o,r,u,p,f))return!1}return!0}default:return!1}}finally{p.delete(r),p.delete(u)}}(t,r,m,h)}(e,t,void 0,void 0,void 0,void 0,u)}},83637:function(e,t,r){"use strict";r.d(t,{$:function(){return h}});var o=r(85893),i=r(67294),l=r(96974);function s(){}var d=r(98069);let c={};function u(e){return"write"in e}let{read:p,write:f}=(0,d.cn)(null),m=(0,i.createContext)({scope:void 0,baseStore:void 0});function h({atoms:e,atomFamilies:t,children:r,debugName:d}){var h;let v=(0,l.oR)(),{scope:y,baseStore:b=v}=(0,i.useContext)(m);v instanceof s||(y=void 0,b=v);let x=new Set(e),w=new Set(t);function k(){let e=function(e,t,r,o){let i=new WeakMap,l=new WeakMap,s=new WeakMap,d={getAtom:h,cleanup(){},prepareWriteAtom(e,t,r){if(t.read===p&&u(t)&&u(e)&&t.write!==f&&d!==r){let{write:o}=t;return e.write=b(t.write.bind(t),r),()=>{e.write=o}}}};for(let t of e)i.set(t,[y(t,d),d]);let m=new Set;for(let r of t){for(let e of r.getParams()){let t=r(e);i.has(t)||i.set(t,[y(t,d),d])}let t=r.unstable_listen(t=>{"CREATE"!==t.type||i.has(t.atom)?e.has(t.atom)||i.delete(t.atom):i.set(t.atom,[y(t.atom,d),d])});m.add(t)}function h(e,t){var o,u;if(i.has(e))return i.get(e);if(t===d)return l.has(e)||l.set(e,[y(e,t),t]),l.get(e);let p=t??c;if(r){if(!(null!=(o=s.get(p))&&o.has(e))){let[o,i]=r.getAtom(e,t);g(v(o,e,i),e,t,i)}return s.get(p).get(e)}return null!=(u=s.get(p))&&u.has(e)||g(v(e,e),e),s.get(p).get(e)}function g(e,t,r,o){let i=r??c;s.has(i)||s.set(i,new WeakMap),s.get(i).set(t,[e,o].filter(Boolean))}function v(e,t,r){return t.read!==p?y(t,r):e}function y(e,t){var r;let o=Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e));return o.read!==p&&(o.read=(r=e.read.bind(e),function(e,o){return r(function(r){let[o]=h(r,t);return e(o)},o)})),u(o)&&u(e)&&o.write!==f&&(o.write=b(e.write.bind(e),t)),o}function b(e,t){return function(r,o,...i){return e(function(e){let[o]=h(e,t);return r(o)},function(e,...r){let[i]=h(e,t);return o(i,...r)},...i)}}return d.cleanup=function(...e){return function(){for(let t of e)t()}}(d.cleanup,...Array.from(m)),d}(x,w,y,0);return{patchedStore:function(e,t){let r={...e,get(r,...o){let[i]=t.getAtom(r);return e.get(i,...o)},set(r,...o){let[i,l]=t.getAtom(r),s=t.prepareWriteAtom(i,r,l);try{return e.set(i,...o)}finally{null==s||s()}},sub(r,...o){let[i]=t.getAtom(r);return e.sub(i,...o)}};return Object.assign(Object.create(s.prototype),r)}(b,e),scopeContext:{scope:e,baseStore:b},hasChanged:e=>y!==e.parentScope||b!==e.baseStore||!g(x,e.atomSet)||!g(w,e.atomFamilySet)}}let[_,C]=(0,i.useState)(k),{hasChanged:$,scopeContext:S,patchedStore:E}=_;$({parentScope:y,atomSet:x,atomFamilySet:w,baseStore:b})&&(null==(h=S.scope)||h.cleanup(),C(k));let{cleanup:j}=S.scope;return function(e,t){let r=(0,i.useRef)(e);r.current=e,(0,i.useEffect)(()=>r.current(),t)}(()=>j,[]),(0,o.jsx)(m.Provider,{value:S,children:(0,o.jsx)(l.zt,{store:E,children:r})})}function g(e,t){return e===t||e.size===t.size&&Array.from(e).every(e=>t.has(e))}},96974:function(e,t,r){"use strict";r.d(t,{Dv:function(){return v},KO:function(){return b},b9:function(){return y},oR:function(){return c},zt:function(){return u}});var o=r(67294),i=r(98069),l=r(96159);let s={},d=(0,o.createContext)(void 0);function c(e){return(0,o.useContext)(d)||(0,i.K7)()}function u({children:e,store:t}){let r=(0,o.useRef)(void 0);return t||r.current||(r.current=(0,i.MT)()),(0,o.createElement)(d.Provider,{value:t||r.current},e)}let p=e=>"function"==typeof(null==e?void 0:e.then),f=e=>{e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t})},m=o.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(f(e),e)}),h=new WeakMap,g=(e,t)=>{let r=h.get(e);return r||(r=new Promise((o,i)=>{let s=e,d=e=>t=>{s===e&&o(t)},c=e=>t=>{s===e&&i(t)},u=()=>{try{let e=t();p(e)?(h.set(e,r),s=e,e.then(d(e),c(e)),(0,l.XB)(e,u)):o(e)}catch(e){i(e)}};e.then(d(e),c(e)),(0,l.XB)(e,u)}),h.set(e,r)),r};function v(e,t){let r=c(),[[i,l,s],d]=(0,o.useReducer)(t=>{let o=r.get(e);return Object.is(t[0],o)&&t[1]===r&&t[2]===e?t:[o,r,e]},void 0,()=>[r.get(e),r,e]),u=i;return((l!==r||s!==e)&&(d(),u=r.get(e)),(0,o.useEffect)(()=>{let t=r.sub(e,()=>{d()});return d(),t},[r,e,void 0]),(0,o.useDebugValue)(u),p(u))?m(g(u,()=>r.get(e))):u}function y(e,t){let r=c();return(0,o.useCallback)((...t)=>{if((s?"production":void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return r.set(e,...t)},[r,e])}function b(e,t){return[v(e),y(e)]}},43355:function(e,t,r){"use strict";r.d(t,{P:function(){return l}}),r(67294);var o=r(96974);let i=new WeakMap;function l(e,t){let r=(0,o.oR)(),i=s(r);for(let[t,o]of e)i.has(t)||(i.add(t),r.set(t,o))}let s=e=>{let t=i.get(e);return t||(t=new WeakSet,i.set(e,t)),t}},98069:function(e,t,r){"use strict";let o;r.d(t,{K7:function(){return m}
65,MT:function(){return f},cn:function(){return d}});var i=r(96159);let l={},s=0;function d(e,t){let r=`atom${++s}`,o={toString(){return(l?"production":void 0)!=="production"&&this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?o.read=e:(o.init=e,o.read=c,o.write=u),t&&(o.write=t),o}function c(e){return e(this)}function u(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}let p=()=>{let e=0,t=(0,i.YN)({}),r=new WeakMap,o=new WeakMap,l=(0,i.k_)(r,o,void 0,void 0,void 0,void 0,t,void 0,(t,r,o,...i)=>e?o(t,...i):t.write(r,o,...i)),s=new Set;return t.m.add(void 0,e=>{s.add(e),r.get(e).m=o.get(e)}),t.u.add(void 0,e=>{s.delete(e);let t=r.get(e);delete t.m}),Object.assign(l,{dev4_get_internal_weak_map:()=>r,dev4_get_mounted_atoms:()=>s,dev4_restore_atoms:t=>{l.set({read:()=>null,write:(r,o)=>{++e;try{for(let[e,r]of t)"init"in e&&o(e,r)}finally{--e}}})}})};function f(){return(l?"production":void 0)!=="production"?p():(0,i.k_)()}function m(){return o||(o=f(),(l?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=o),globalThis.__JOTAI_DEFAULT_STORE__!==o&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),o}},96159:function(e,t,r){"use strict";r.d(t,{XB:function(){return C},YN:function(){return _},k_:function(){return k}});let o={},i=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,l=e=>"init"in e,s=e=>!!e.write,d=e=>"v"in e||"e"in e,c=e=>{if("e"in e)throw e.e;if((o?"production":void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v},u=new WeakMap,p=e=>{var t;return h(e)&&!!(null!=(t=u.get(e))&&t[0])},f=e=>{let t=u.get(e);null!=t&&t[0]&&(t[0]=!1,t[1].forEach(e=>e()))},m=(e,t)=>{let r=u.get(e);if(!r){r=[!0,new Set],u.set(e,r);let t=()=>{r[0]=!1};e.then(t,t)}r[1].add(t)},h=e=>"function"==typeof(null==e?void 0:e.then),g=(e,t,r)=>{r.p.has(e)||(r.p.add(e),t.then(()=>{r.p.delete(e)},()=>{r.p.delete(e)}))},v=(e,t,r)=>{let o=r(e),i="v"in o,l=o.v;if(h(t))for(let i of o.d.keys())g(e,t,r(i));o.v=t,delete o.e,i&&Object.is(l,o.v)||(++o.n,h(l)&&f(l))},y=(e,t,r)=>{var o;let i=new Set;for(let t of(null==(o=r.get(e))?void 0:o.t)||[])r.has(t)&&i.add(t);for(let e of t.p)i.add(e);return i},b=()=>{let e=new Set,t=()=>{e.forEach(e=>e())};return t.add=t=>(e.add(t),()=>{e.delete(t)}),t},x=()=>{let e={},t=new WeakMap,r=r=>{var o,i;null==(o=t.get(e))||o.forEach(e=>e(r)),null==(i=t.get(r))||i.forEach(e=>e())};return r.add=(r,o)=>{let i=r||e,l=(t.has(i)?t:t.set(i,new Set)).get(i);return l.add(o),()=>{null==l||l.delete(o),l.size||t.delete(i)}},r},w=Symbol(),k=(e=new WeakMap,t=new WeakMap,r=new WeakMap,u=new Set,f=new Set,b=new Set,x={},k=(e,...t)=>e.read(...t),_=(e,...t)=>e.write(...t),C=(e,t)=>{var r;return null==(r=e.unstable_onInit)?void 0:r.call(e,t)},$=(e,t)=>{var r;return null==(r=e.onMount)?void 0:r.call(e,t)},...S)=>{let E=S[0]||(t=>{if((o?"production":void 0)!=="production"&&!t)throw Error("Atom is undefined or null");let r=e.get(t);return r||(r={d:new Map,p:new Set,n:0},e.set(t,r),null==C||C(t,M)),r}),j=S[1]||(()=>{let e=[],r=t=>{try{t()}catch(t){e.push(t)}};do{x.f&&r(x.f);let e=new Set,o=e.add.bind(e);u.forEach(e=>{var r;return null==(r=t.get(e))?void 0:r.l.forEach(o)}),u.clear(),b.forEach(o),b.clear(),f.forEach(o),f.clear(),e.forEach(r),u.size&&N()}while(u.size||b.size||f.size);if(e.length)throw AggregateError(e)}),N=S[2]||(()=>{let e=[],i=new WeakSet,l=new WeakSet,s=Array.from(u);for(;s.length;){let d=s[s.length-1],c=E(d);if(l.has(d)){s.pop();continue}if(i.has(d)){if(r.get(d)===c.n)e.push([d,c]);else if((o?"production":void 0)!=="production"&&r.has(d))throw Error("[Bug] invalidated atom exists");l.add(d),s.pop();continue}for(let e of(i.add(d),y(d,c,t)))i.has(e)||s.push(e)}for(let t=e.length-1;t>=0;--t){let[o,i]=e[t],l=!1;for(let e of i.d.keys())if(e!==o&&u.has(e)){l=!0;break}l&&(T(o),O(o)),r.delete(o)}}),T=S[3]||(e=>{var f;let y,b;let w=E(e);if(d(w)&&(t.has(e)&&r.get(e)!==w.n||Array.from(w.d).every(([e,t])=>T(e).n===t)))return w;w.d.clear();let _=!0,C=()=>{t.has(e)&&(O(e),N(),j())},$=w.n;try{let r=k(e,r=>{var o;if(i(e,r)){let e=E(r);if(!d(e)){if(l(r))v(r,r.init,E);else throw Error("no atom init")}return c(e)}let s=T(r);try{return c(s)}finally{w.d.set(r,s.n),p(w.v)&&g(e,w.v,s),null==(o=t.get(r))||o.t.add(e),_||C()}},{get signal(){return y||(y=new AbortController),y.signal},get setSelf(){return(o?"production":void 0)==="production"||s(e)||console.warn("setSelf function cannot be used with read-only atom"),
65!b&&s(e)&&(b=(...t)=>{if((o?"production":void 0)!=="production"&&_&&console.warn("setSelf function cannot be called in sync"),!_)try{return A(e,...t)}finally{N(),j()}}),b}});return v(e,r,E),h(r)&&(m(r,()=>null==y?void 0:y.abort()),r.then(C,C)),w}catch(e){return delete w.v,w.e=e,++w.n,w}finally{_=!1,$!==w.n&&r.get(e)===$&&(r.set(e,w.n),u.add(e),null==(f=x.c)||f.call(x,e))}}),P=S[4]||(e=>{let o=[e];for(;o.length;){let e=o.pop(),i=E(e);for(let l of y(e,i,t)){let e=E(l);r.set(l,e.n),o.push(l)}}}),A=S[5]||((e,...t)=>{let r=!0;try{return _(e,e=>c(T(e)),(t,...o)=>{var s;let d=E(t);try{if(!i(e,t))return A(t,...o);{if(!l(t))throw Error("atom not writable");let e=d.n,r=o[0];v(t,r,E),O(t),e!==d.n&&(u.add(t),null==(s=x.c)||s.call(x,t),P(t));return}}finally{r||(N(),j())}},...t)}finally{r=!1}}),O=S[6]||(e=>{var r;let o=E(e),i=t.get(e);if(i&&!p(o.v)){for(let[t,l]of o.d)if(!i.d.has(t)){let o=E(t);R(t).t.add(e),i.d.add(t),l!==o.n&&(u.add(t),null==(r=x.c)||r.call(x,t),P(t))}for(let t of i.d||[])if(!o.d.has(t)){i.d.delete(t);let r=D(t);null==r||r.t.delete(e)}}}),R=S[7]||(e=>{var r;let o=E(e),i=t.get(e);if(!i){for(let t of(T(e),o.d.keys()))R(t).t.add(e);i={l:new Set,d:new Set(o.d.keys()),t:new Set},t.set(e,i),null==(r=x.m)||r.call(x,e),s(e)&&f.add(()=>{let t=!0;try{let r=$(e,(...r)=>{try{return A(e,...r)}finally{t||(N(),j())}});r&&(i.u=()=>{t=!0;try{r()}finally{t=!1}})}finally{t=!1}})}return i}),D=S[8]||(e=>{var r;let o=E(e),i=t.get(e);if(i&&!i.l.size&&!Array.from(i.t).some(r=>{var o;return null==(o=t.get(r))?void 0:o.d.has(e)})){for(let l of(i.u&&b.add(i.u),i=void 0,t.delete(e),null==(r=x.u)||r.call(x,e),o.d.keys())){let t=D(l);null==t||t.t.delete(e)}return}return i}),M={get:e=>c(T(e)),set:(e,...t)=>{try{return A(e,...t)}finally{N(),j()}},sub:(e,t)=>{let r=R(e).l;return r.add(t),j(),()=>{r.delete(t),D(e),j()}}};return Object.defineProperty(M,w,{value:[e,t,r,u,f,b,x,k,_,C,$,E,j,N,T,P,A,O,R,D]}),M},_=e=>(e.c||(e.c=x()),e.m||(e.m=x()),e.u||(e.u=x()),e.f||(e.f=b()),e),C=m},57707:function(e,t,r){"use strict";r.d(t,{O4:function(){return u},w0:function(){return s}});var o=r(98069);let i={},l=Symbol((i?"production":void 0)!=="production"?"RESET":"");function s(e,t){return(0,o.cn)(e,function(e,r,o){r(this,t(e(this),o))})}let d=e=>"function"==typeof(null==e?void 0:e.then),c=function(e=()=>{try{return window.localStorage}catch(e){(i?"production":void 0)!=="production"&&"u">typeof window&&console.warn(e);return}},t){var r;let o,l,s,c;let u={getItem:(t,r)=>{var i,s;let c=e=>{if(o!==(e=e||"")){try{l=JSON.parse(e,void 0)}catch{return r}o=e}return l},u=null!=(s=null==(i=e())?void 0:i.getItem(t))?s:null;return d(u)?u.then(c):c(u)},setItem:(t,r)=>{var o;return null==(o=e())?void 0:o.setItem(t,JSON.stringify(r,void 0))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{s=null==(r=e())?void 0:r.subscribe}catch{}return!s&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(s=(t,r)=>{if(!(e() instanceof window.Storage))return()=>{};let o=o=>{o.storageArea===e()&&o.key===t&&r(o.newValue)};return window.addEventListener("storage",o),()=>{window.removeEventListener("storage",o)}}),s&&(u.subscribe=(c=s,(e,t,r)=>c(e,e=>{let o;try{o=JSON.parse(e||"")}catch{o=r}t(o)}))),u}();function u(e,t,r=c,s){let d=(0,o.cn)(t);return(i?"production":void 0)!=="production"&&(d.debugPrivate=!0),d.onMount=o=>{let i;return o(r.getItem(e,t)),r.subscribe&&(i=r.subscribe(e,o,t)),i},(0,o.cn)(e=>e(d),(o,i,s)=>{let c="function"==typeof s?s(o(d)):s;return c===l?(i(d,t),r.removeItem(e)):c instanceof Promise?c.then(t=>(i(d,t),r.setItem(e,t))):(i(d,c),r.setItem(e,c))})}},89892:function(e,t,r){"use strict";r.d(t,{O:function(){return l},Q:function(){return s}});var o=r(83520),i=r(67294);let l=(0,i.createContext)({placement:"bottom"}),s=(0,i.forwardRef)(function(e,t){[e,t]=(0,o.pE)(e,t,l);let r=e.placement,s=(0,o.aX)({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});return s.style&&Object.keys(s.style).forEach(e=>void 0===s.style[e]&&delete s.style[e]),i.createElement("div",{...e,...s,style:{position:"absolute",[r]:"100%",transform:"top"===r||"bottom"===r?"translateX(-50%)":"translateY(-50%)",...s.style}
65,ref:t,"data-placement":r})})},83520:function(e,t,r){"use strict";r.d(t,{aX:function(){return f},hO:function(){return u},iW:function(){return h},pE:function(){return m},xB:function(){return g},zt:function(){return p}});var o=r(25146),i=r(31359),l=r(16667),s=r(12181),d=r(67294),c=r(73935);let u=Symbol("default");function p({values:e,children:t}){for(let[r,o]of e)t=d.createElement(r.Provider,{value:o},t);return t}function f(e){let{className:t,style:r,children:o,defaultClassName:i,defaultChildren:l,defaultStyle:s,values:c}=e;return(0,d.useMemo)(()=>{let e,d,u;return e="function"==typeof t?t({...c,defaultClassName:i}):t,d="function"==typeof r?r({...c,defaultStyle:s||{}}):r,u="function"==typeof o?o({...c,defaultChildren:l}):null==o?l:o,{className:e??i,style:d||s?{...s,...d}:void 0,children:u??l,"data-rac":""}},[t,r,o,i,l,s,c])}function m(e,t,r){let{ref:s,...c}=function(e,t){let r=(0,d.useContext)(e);if(null===t)return null;if(r&&"object"==typeof r&&"slots"in r&&r.slots){let e=new Intl.ListFormat().format(Object.keys(r.slots).map(e=>`"${e}"`));if(!t&&!r.slots[u])throw Error(`A slot prop is required. Valid slot names are ${e}.`);let o=t||u;if(!r.slots[o])throw Error(`Invalid slot "${t}". Valid slot names are ${e}.`);return r.slots[o]}return r}(r,e.slot)||{},p=(0,l.B)((0,d.useMemo)(()=>(0,i.l)(t,s),[t,s])),f=(0,o.d)(c,e);return"style"in c&&c.style&&"style"in e&&e.style&&("function"==typeof c.style||"function"==typeof e.style?f.style=t=>{let r="function"==typeof c.style?c.style(t):c.style,o={...t.defaultStyle,...r},i="function"==typeof e.style?e.style({...t,defaultStyle:o}):e.style;return{...o,...i}}:f.style={...c.style,...e.style}),[f,p]}function h(e,t=!0){let[r,o]=(0,d.useState)(!0);return v(e,r&&t,(0,d.useCallback)(()=>o(!1),[])),r&&t}function g(e,t){let[r,o]=(0,d.useState)(!1),[i,l]=(0,d.useState)("idle");return!t&&e.current&&"idle"===i&&(r=!0,o(!0),l("exiting")),e.current||"exited"!==i||l("idle"),v(e,r,(0,d.useCallback)(()=>{l("exited"),o(!1)},[])),r}function v(e,t,r){let o=(0,d.useRef)(null);t&&e.current&&(o.current=window.getComputedStyle(e.current).animation),(0,s.b)(()=>{if(t&&e.current){let t=window.getComputedStyle(e.current);if(t.animationName&&"none"!==t.animationName&&t.animation!==o.current){let t=i=>{i.target===e.current&&(o.removeEventListener("animationend",t),c.flushSync(()=>{r()}))},o=e.current;return o.addEventListener("animationend",t),()=>{o.removeEventListener("animationend",t)}}r()}},[e,t,r])}},74689:function(e,t,r){"use strict";r.d(t,{jp:function(){return v}});var o=r(67294),i=r(91780),l=r(14407),s={left:0,top:0,right:0,gap:0},d=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[d(r),d(o),d(i)]},u=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return s;var t=c(e),r=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-r+t[2]-t[0])}},p=(0,i.W)(),f="data-scroll-locked",m=function(e,t,r,o){var i=e.left,s=e.top,d=e.right,c=e.gap;return void 0===r&&(r="margin"),` 66 .`.concat(l.xv,` { 67 overflow: hidden `).concat(o,`; 68 padding-right: `).concat(c,"px ").concat(o,`; 69 } 70 body[`).concat(f,`] { 71 overflow: hidden `).concat(o,`; 72 overscroll-behavior: contain; 73 `).concat([t&&"position: relative ".concat(o,";"),"margin"===r&&` 74 padding-left: `.concat(i,`px; 75 padding-top: `).concat(s,`px; 76 padding-right: `).concat(d,`px; 77 margin-left:0; 78 margin-top:0; 79 margin-right: `).concat(c,"px ").concat(o,`; 80 `),"padding"===r&&"padding-right: ".concat(c,"px ").concat(o,";")].filter(Boolean).join(""),` 81 } 82 83 .`).concat(l.pF,` { 84 right: `).concat(c,"px ").concat(o,`; 85 } 86 87 .`).concat(l.zi,` { 88 margin-right: `).concat(c,"px ").concat(o,`; 89 } 90 91 .`).concat(l.pF," .").concat(l.pF,` { 92 right: 0 `).concat(o,`; 93 } 94 95 .`).concat(l.zi," .").concat(l.zi,` { 96 margin-right: 0 `).concat(o,`; 97 } 98 99 body[`).concat(f,`] { 100 `).concat(l.Av,": ").concat(c,`px; 101 } 102`)},h=function(){var e=parseInt(document.body.getAttribute(f)||"0",10);return isFinite(e)?e:0},g=function(){o.useEffect(function(){return document.body.setAttribute(f,(h()+1).toString()),function(){var e=h()-1;e<=0?document.body.removeAttribute(f):document.body.setAttribute(f,e.toString())}},[])},v=function(e){var t=e.noRelative,r=e.noImportant,i=e.gapMode,l=void 0===i?"margin":i;g();var s=o.useMemo(function(){return u(l)},[l]);return o.createElement(p,{styles:m(s,!t,l,r?"":"!important")})}},14407:function(e,t,r){"use strict";r.d(t,{Av:function(){return s},pF:function(){return o},xv:function(){return l},zi:function(){return i}});var o="right-scroll-bar-position",i="width-before-scroll-bar",l="with-scroll-bars-hidden",s="--removed-body-scroll-bar-size"},91780:function(e,t,r){"use strict";r.d(t,{W:function(){return s}});var o=r(67294),i=function(){var e=0,t=null;return{add:function(o){var i,l;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r.nc;return t&&e.setAttribute("nonce",t),e}())&&((i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),l=t,(d
102ocument.head||document.getElementsByTagName("head")[0]).appendChild(l)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},l=function(){var e=i();return function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},s=function(){var e=l();return function(t){return e(t.styles,t.dynamic),null}}},99014:function(e,t,r){"use strict";r.d(t,{F:function(){return S}});var o,i=r(67294),l=Object.defineProperty,s=(e,t,r)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t,r)=>s(e,"symbol"!=typeof t?t+"":t,r);let c={fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},u={silent:{level:-1},fatal:{level:c.fatal},error:{level:c.error},warn:{level:c.warn},log:{level:c.log},info:{level:c.info},success:{level:c.success},fail:{level:c.fail},ready:{level:c.info},start:{level:c.info},box:{level:c.info},debug:{level:c.debug},trace:{level:c.trace},verbose:{level:c.verbose}};function p(e){if(null===e||"object"!=typeof e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.iterator in e)&&(!(Symbol.toStringTag in e)||"[object Module]"===Object.prototype.toString.call(e))}let f=(...e)=>e.reduce((e,t)=>(function e(t,r,o=".",i){if(!p(r))return e(t,{},o);let l=Object.assign({},r);for(let r in t){if("__proto__"===r||"constructor"===r)continue;let i=t[r];null!=i&&(Array.isArray(i)&&Array.isArray(l[r])?l[r]=[...i,...l[r]]:p(i)&&p(l[r])?l[r]=e(i,l[r],(o?`${o}.`:"")+r.toString()):l[r]=i)}return l})(e,t,""),{}),m=!1,h=[];class g{constructor(e={}){d(this,"options"),d(this,"_lastLog"),d(this,"_mockFn");let t=e.types||u;for(let r in this.options=f({...e,defaults:{...e.defaults},level:v(e.level,t),reporters:[...e.reporters||[]]},{types:u,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}}),t){let e={type:r,...this.options.defaults,...t[r]};this[r]=this._wrapLogFn(e),this[r].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(e){this.options.level=v(e,this.options.types,this.options.level)}prompt(e,t){if(!this.options.prompt)throw Error("prompt is not supported!");return this.options.prompt(e,t)}create(e){let t=new g({...this.options,...e});return this._mockFn&&t.mockTypes(this._mockFn),t}withDefaults(e){return this.create({...this.options,defaults:{...this.options.defaults,...e}})}withTag(e){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+e:e})}addReporter(e){return this.options.reporters.push(e),this}removeReporter(e){if(e){let t=this.options.reporters.indexOf(e);if(-1!==t)return this.options.reporters.splice(t,1)}else this.options.reporters.splice(0);return this}setReporters(e){return this.options.reporters=Array.isArray(e)?e:[e],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(let e in this.options.types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}restoreConsole(){for(let e in this.options.types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(e,t){e&&(e.__write||(e.__write=e.write),e.write=e=>{this[t].raw(String(e).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}pauseLogs(){m=!0}resumeLogs(){for(let e of(m=!1,h.splice(0)))e[0]._logFn(e[1],e[2])}mockTypes(e){let t=e||this.options.mockFn;if(this._mockFn=t,"function"==typeof t)for(let e in this.options.types)this[e]=t(e,this.options.types[e])||this[e],this[e].raw=this[e]}_wrapLogFn(e,t){return(...r)=>{if(m){h.push([this,e,r,t]);return}return this._logFn(e,r,t)}}_logFn(e,t,r){var o,i;if((e.level||0)>this.level)return!1;let l={date:new Date,args:[],...e,level:v(e.level,this.options.types)};!r&&1===t.length&&(i=o=t[0],"[object Object]"===Object.prototype.toString.call(i)&&(o.message||o.args)&&!o.stack)?Object.assign(l,t[0]):l.args=[...t],l.message&&(l.args.unshift(l.message),delete l.message),l.additional&&(Array.isArray(l.additional)||(l.additional=l.additional.split(` 103`)),l.args.push(` 104`+l.additional.join(` 105`)),delete l.additional),l.type="string"==typeof l.type?l.type.toLowerCase():"log",l.tag="string"==typeof l.tag?l.tag:"";let s=(e=!1)=>{let t=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&t>0){let e=[...this._lastLog.object.args];t>1&&e.push(`(repeated ${t} times)`),this._log({...this._lastLog.object,args:e}),this._lastLog.count=1}e&&(this._lastLog.object=l,this._log(l))};clearTimeout(this._lastLog.timeout);let d=this._lastLog.time&&l.date?l.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=l.date,d<this.options.throttle)try{let e=JSON.stringify([l.type,l.tag,l.args]),t=this._lastLog.serialized===e;if(this._lastLog.serialized=e,t&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(s,this.options.throttle);return}}catch{}s(!0)}_log(e){for(let t of this.options.reporters)t.log(e,{options:this.options})}}function v(e,t={},r=3){return void 0===e?r:"number"==typeof e?e:t[e]&&void 0!==t[e].level?t[e].level:r}g.prototype.add=g.prototype.addReporter,g.prototype.remove=g.prototype.removeReporter,g.prototype.clear=g.prototype.removeReporter,g.prototype.withScope=g.prototype.withTag,g.prototype.mock=g.prototype.mockTypes,g.prototype.pause=g.prototype.pauseLogs,g.prototype.resume=g.prototype.resumeLogs;var y=Object.defineProperty,b=(e,t,r)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,x=(e,t,r)=>b(e,"symbol"!=typeof t?t+"":t,r);class w{constructor(e){x(this,"options"),x(this,"defaultColor"),x(this,"levelColorMap"),x(this,"typeColorMap"),this.options={...e},this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}_getLogFn(e){return e<1?console.__error||console.error:1===e?console.__warn||console.warn:console.__log||console.log}log(e){let t=this._getLogFn(e.level),r="log"===e.type?"":e.type,o=e.tag||"",i=` 106 background: ${this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor}; 107 border-radius: 0.5em; 108 color: white; 109 font-weight: bold; 110 padding: 2px 0.5em;
111 `,l=`%c${[o,r].filter(Boolean).join(":")}`;"string"==typeof e.args[0]?t(`${l}%c ${e.args[0]}`,i,"",...e.args.slice(1)):t(l,i,...e.args)}}let k=function(e={}){return function(e={}){return new g(e)}({reporters:e.reporters||[new w({})],prompt:(e,t={})=>"confirm"===t.type?Promise.resolve(confirm(e)):Promise.resolve(prompt(e)),...e})}();var _=e=>e.type?e.type===i.Fragment:e===i.Fragment;o="getSlots",k.withTag(o).level=5;var C=(e,t)=>e.type===t||e.type.displayName===t.displayName,$=(e,t,r)=>{var o,i,l,s;return(null==(i=null==(o=e.type)?void 0:o._payload)?void 0:i.value)===t||(null==(s=null==(l=e.type)?void 0:l._payload)?void 0:s.value[2])===r},S=(e,t)=>i.Children.toArray(e).reduce((e,r)=>{if("number"!=typeof r&&"string"!=typeof r&&(0,i.isValidElement)(r)){if("string"==typeof r.type||"string"!=typeof r.type&&r.props["data-slot"])return{...e,[`${r.props["data-slot"]}Slot`]:r};if(_(r))return{...e,fragment:r};let o=Object.entries(t).find(([e,t])=>(0,i.isValidElement)(r)&&(C(r,t)||$(r,t,e)));if(o){let[t]=o;return{...e,[`${t}Slot`]:r}}}return e},{})},96491:function(e,t,r){"use strict";r.d(t,{hL:function(){return ea},tv:function(){return er}});var o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=e=>!e||"object"!=typeof e||0===Object.keys(e).length,l=(e,t)=>JSON.stringify(e)===JSON.stringify(t);function s(e){let t=[];return function e(t,r){t.forEach(function(t){Array.isArray(t)?e(t,r):r.push(t)})}(e,t),t}var d=(...e)=>s(e).filter(Boolean),c=(e,t)=>{let r={},o=Object.keys(e),i=Object.keys(t);for(let l of o)if(i.includes(l)){let o=e[l],i=t[l];"object"==typeof o&&"object"==typeof i?r[l]=c(o,i):Array.isArray(o)||Array.isArray(i)?r[l]=d(i,o):r[l]=i+" "+o}else r[l]=e[l];for(let e of i)o.includes(e)||(r[e]=t[e]);return r},u=e=>e&&"string"==typeof e?e.replace(/\s+/g," ").trim():e;let p=/^\[(.+)\]$/;function f(e,t){let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}let m=/\s+/;function h(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=function e(t){if("string"==typeof t)return t;let r,o="";for(let i=0;i<t.length;i++)t[i]&&(r=e(t[i]))&&(o&&(o+=" "),o+=r);return o}(t))&&(o&&(o+=" "),o+=r);return o}function g(e,...t){let r,o,i,l=function(d){var c;return o=(r={cache:function(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function i(i,l){r.set(i,l),++t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}}((c=t.reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,r=1===t.length,o=t[0],i=t.length;return function(e){let l=[],s=0,d=0,c;for(let u=0;u<e.length;u++){let p=e[u];if(0===s){if(p===o&&(r||e.slice(u,u+i)===t)){l.push(e.slice(d,u)),d=u+i;continue}if("/"===p){c=u;continue}}"["===p?s++:"]"===p&&s--}let u=0===l.length?e:e.substring(d),p=u.startsWith("!"),f=p?u.substring(1):u;return{modifiers:l,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:c&&c>d?c-d:void 0}}}(c),...function(e){let t=function(e){var t;let{theme:r,prefix:o}=e,i={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),o?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?o+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[o+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,r,o,i){t.forEach(t=>{if("string"==typeof t){(""===t?r:f(r,t)).classGroupId=o;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),r,o,i);return}r.validators.push({validator:t,classGroupId:o});return}Object.entries(t).forEach(([t,l])=>{e(l,f(r,t),o,i)})})})(t,i,e,r)}),i}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:function(e){let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(t,r){var o;if(0===t.length)return r.classGroupId;let i=t[0],l=r.nextPart.get(i),s=l?e(t.slice(1),l):void 0;if(s)return s;if(0===r.validators.length)return;let d=t.join("-");return null==(o=r.validators.find(({validator:e})=>e(d)))?void 0:o.classGroupId}(r,t)||function(e){if(p.test(e)){let t=p.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){let i=r[e]||[];return t&&o[e]?[...i,...o[e]]:i}}}(c)}).cache.get,i=r.cache.set,l=s,s(d)};function s(e){let t=o(e);if(t)return t;let l=function(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:i}=t,l=new Set;return e.trim().split(m).map(e=>{let{modifiers:t,hasImportantModifier:i,baseClassName:l,maybePostfixModifierPosition:s}=r(e),d=o(s?l.substring(0,s):l),c=!!s;if(!d){if(!s||!(d=o(l)))return{isTailwindClass:!1,originalClassName:e};c=!1}let u=(function(e){if(e.length<=1)return e;let t=[],r=[];
111return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:i?u+"!":u,classGroupId:d,originalClassName:e,hasPostfixModifier:c}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,s=t+r;return!l.has(s)&&(l.add(s),i(r,o).forEach(e=>l.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return i(e,l),l}return function(){return l(h.apply(null,arguments))}}function v(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let y=/^\[(?:([a-z-]+):)?(.+)\]$/i,b=/^\d+\/\d+$/,x=new Set(["px","full","screen"]),w=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function S(e){return j(e)||x.has(e)||b.test(e)}function E(e){return V(e,"length",z)}function j(e){return!!e&&!Number.isNaN(Number(e))}function N(e){return V(e,"number",j)}function T(e){return!!e&&Number.isInteger(Number(e))}function P(e){return e.endsWith("%")&&j(e.slice(0,-1))}function A(e){return y.test(e)}function O(e){return w.test(e)}let R=new Set(["length","size","percentage"]);function D(e){return V(e,R,H)}function M(e){return V(e,"position",H)}let L=new Set(["image","url"]);function I(e){return V(e,L,Z)}function F(e){return V(e,"",U)}function B(){return!0}function V(e,t,r){let o=y.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function z(e){return k.test(e)&&!_.test(e)}function H(){return!1}function U(e){return C.test(e)}function Z(e){return $.test(e)}function W(){let e=v("colors"),t=v("spacing"),r=v("blur"),o=v("brightness"),i=v("borderColor"),l=v("borderRadius"),s=v("borderSpacing"),d=v("borderWidth"),c=v("contrast"),u=v("grayscale"),p=v("hueRotate"),f=v("invert"),m=v("gap"),h=v("gradientColorStops"),g=v("gradientColorStopPositions"),y=v("inset"),b=v("margin"),x=v("opacity"),w=v("padding"),k=v("saturate"),_=v("scale"),C=v("sepia"),$=v("skew"),R=v("space"),L=v("translate"),V=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",A,t],U=()=>[A,t],Z=()=>["",S,E],W=()=>["auto",j,A],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",A],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[j,N],ee=()=>[j,A];return{cacheSize:500,separator:":",theme:{colors:[B],spacing:[S,E],blur:["none","",O,A],brightness:Q(),borderColor:[e],borderRadius:["none","","full",O,A],borderSpacing:U(),borderWidth:Z(),contrast:Q(),grayscale:Y(),hueRotate:ee(),invert:Y(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[P,E],inset:H(),margin:H(),opacity:Q(),padding:U(),saturate:Q(),scale:Q(),sepia:Y(),skew:ee(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",A]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),A]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}
vendor: 9,780 bytes, line 111
111],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,A]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",A]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",T,A]}],"grid-cols":[{"grid-cols":[B]}],"col-start-end":[{col:["auto",{span:["full",T,A]},A]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[B]}],"row-start-end":[{row:["auto",{span:[T,A]},A]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",A]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",A]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",A,t]}],"min-w":[{"min-w":[A,t,"min","max","fit"]}],"max-w":[{"max-w":[A,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],h:[{h:[A,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[A,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[A,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[A,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",N]}],"font-family":[{font:[B]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",A]}],"line-clamp":[{"line-clamp":["none",j,N]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,A]}],"list-image":[{"list-image":["none",A]}],"list-style-type":[{list:["none","disc","decimal",A]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,E]}],"underline-offset":[{"underline-offset":["auto",S,A]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",A]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",A]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),M]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",D]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},I]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:q()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[S,A]}],"outline-w":[{outline:[S,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[S,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,F]}],"shadow-color":[{shadow:[B]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":G()}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,A]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[f]}],saturate:[{saturate:[k]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",A]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",A]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",A]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[T,A]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",A]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",A]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
111],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",A]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,E,N]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function K(e,t,r){void 0!==r&&(e[t]=r)}let q=g(W);var G={twMerge:!0,twMergeConfig:{},responsiveVariants:!1},J=e=>e||void 0,Y=(...e)=>J(s(e).filter(Boolean).join(" ")),X=null,Q={},ee=!1,et=(...e)=>t=>t.twMerge?((!X||ee)&&(ee=!1,X=i(Q)?q:function(e,...t){return"function"==typeof e?g(W,e,...t):g(()=>(function(e,{cacheSize:t,prefix:r,separator:o,extend:i={},override:l={}}){for(let i in K(e,"cacheSize",t),K(e,"prefix",r),K(e,"separator",o),l)(function(e,t){if(t)for(let r in t)K(e,r,t[r])})(e[i],l[i]);for(let t in i)(function(e,t){if(t)for(let r in t){let o=t[r];void 0!==o&&(e[r]=(e[r]||[]).concat(o))}})(e[t],i[t]);return e})(W(),e),...t)}({...Q,extend:{theme:Q.theme,classGroups:Q.classGroups,conflictingClassGroupModifiers:Q.conflictingClassGroupModifiers,conflictingClassGroups:Q.conflictingClassGroups,...Q.extend}})),J(X(Y(e)))):Y(e),en=(e,t)=>{for(let r in t)e.hasOwnProperty(r)?e[r]=Y(e[r],t[r]):e[r]=t[r];return e},er=(e,t)=>{let{extend:r=null,slots:s={},variants:p={},compoundVariants:f=[],compoundSlots:m=[],defaultVariants:h={}}=e,g={...G,...t},v=null!=r&&r.base?Y(r.base,null==e?void 0:e.base):null==e?void 0:e.base,y=null!=r&&r.variants&&!i(r.variants)?c(p,r.variants):p,b=null!=r&&r.defaultVariants&&!i(r.defaultVariants)?{...r.defaultVariants,...h}:h;i(g.twMergeConfig)||l(g.twMergeConfig,Q)||(ee=!0,Q=g.twMergeConfig);let x=i(null==r?void 0:r.slots),w=i(s)?{}:{base:Y(null==e?void 0:e.base,x&&(null==r?void 0:r.base)),...s},k=x?w:en({...null==r?void 0:r.slots},i(w)?{base:null==e?void 0:e.base}:w),_=i(null==r?void 0:r.compoundVariants)?f:d(null==r?void 0:r.compoundVariants,f),C=e=>{if(i(y)&&i(s)&&x)return et(v,null==e?void 0:e.class,null==e?void 0:e.className)(g);if(_&&!Array.isArray(_))throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`);if(m&&!Array.isArray(m))throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof m}`);let t=(e,t,r=[],o)=>{let i=r;if("string"==typeof t)i=i.concat(u(t).split(" ").map(t=>`${e}:${t}`));else if(Array.isArray(t))i=i.concat(t.reduce((t,r)=>t.concat(`${e}:${r}`),[]));else if("object"==typeof t&&"string"==typeof o){for(let r in t)if(t.hasOwnProperty(r)&&r===o){let l=t[r];if(l&&"string"==typeof l){let t=u(l);i[o]?i[o]=i[o].concat(t.split(" ").map(t=>`${e}:${t}`)):i[o]=t.split(" ").map(t=>`${e}:${t}`)}else Array.isArray(l)&&l.length>0&&(i[o]=l.reduce((t,r)=>t.concat(`${e}:${r}`),[]))}}return i},r=(r,l=y,s=null,d=null)=>{var c;let u=l[r];if(!u||i(u))return null;let p=null!=(c=null==d?void 0:d[r])?c:null==e?void 0:e[r];if(null===p)return null;let f=o(p),m=Array.isArray(g.responsiveVariants)&&g.responsiveVariants.length>0||!0===g.responsiveVariants,h=null==b?void 0:b[r],v=[];
111if("object"==typeof f&&m)for(let[e,r]of Object.entries(f)){let o=u[r];if("initial"===e){h=r;continue}Array.isArray(g.responsiveVariants)&&!g.responsiveVariants.includes(e)||(v=t(e,o,v,s))}let x=u[(null!=f&&"object"!=typeof f?f:o(h))||"false"];return"object"==typeof v&&"string"==typeof s&&v[s]?en(v,x):v.length>0?(v.push(x),v):x},l=(e,t)=>{if(!y||"object"!=typeof y)return null;let o=[];for(let i in y){let l=r(i,y,e,t),s="base"===e&&"string"==typeof l?l:l&&l[e];s&&(o[o.length]=s)}return o},d={};for(let t in e)void 0!==e[t]&&(d[t]=e[t]);let c=(t,r)=>{var o;let i="object"==typeof(null==e?void 0:e[t])?{[t]:null==(o=e[t])?void 0:o.initial}:{};return{...b,...d,...i,...r}},p=(e=[],t)=>{let r=[];for(let{class:o,className:i,...l}of e){let e=!0;for(let[r,o]of Object.entries(l)){let i=c(r,t);if(Array.isArray(o)){if(!o.includes(i[r])){e=!1;break}}else if(i[r]!==o){e=!1;break}}e&&(o&&r.push(o),i&&r.push(i))}return r},f=e=>{let t=p(_,e);if(!Array.isArray(t))return t;let r={};for(let e of t)if("string"==typeof e&&(r.base=et(r.base,e)(g)),"object"==typeof e)for(let[t,o]of Object.entries(e))r[t]=et(r[t],o)(g);return r},h=e=>{if(m.length<1)return null;let t={};for(let{slots:r=[],class:o,className:l,...s}of m){if(!i(s)){let t=!0;for(let r of Object.keys(s)){let o=c(r,e)[r];if(void 0===o||(Array.isArray(s[r])?!s[r].includes(o):s[r]!==o)){t=!1;break}}if(!t)continue}for(let e of r)t[e]=t[e]||[],t[e].push([o,l])}return t};if(!i(s)||!x){let e={};if("object"==typeof k&&!i(k))for(let t of Object.keys(k))e[t]=e=>{var r,o;return et(k[t],l(t,e),(null!=(r=f(e))?r:[])[t],(null!=(o=h(e))?o:[])[t],null==e?void 0:e.class,null==e?void 0:e.className)(g)};return e}return et(v,y?Object.keys(y).map(e=>r(e,y)):null,p(_),null==e?void 0:e.class,null==e?void 0:e.className)(g)};return C.variantKeys=(()=>{if(!(!y||"object"!=typeof y))return Object.keys(y)})(),C.extend=r,C.base=v,C.slots=k,C.variants=y,C.defaultVariants=b,C.compoundSlots=m,C.compoundVariants=_,C},ea=e=>(t,r)=>er(t,r?c(e,r):e)},81945:function(e,t,r){"use strict";r.d(t,{_T:function(){return i},ev:function(){return l},pi:function(){return o}});var o=function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r}function l(e,t,r){if(r||2==arguments.length)for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}},44410:function(e,t,r){"use strict";r.d(t,{q:function(){return d}});var o=r(67294);function i(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var l="u">typeof window?o.useLayoutEffect:o.useEffect,s=new WeakMap;function d(e,t){var r,d,c=(r=function(t){return e.forEach(function(e){return i(e,t)})},(d=(0,o.useState)(function(){return{value:null,callback:r,facade:{get current(){return d.value},set current(a){var e=d.value;e!==a&&(d.value=a,d.callback(a,e))}}}})[0]).callback=r,d.facade);return l(function(){var t=s.get(c);if(t){var r=new Set(t),o=new Set(e),l=c.current;r.forEach(function(e){o.has(e)||i(e,null)}),o.forEach(function(e){r.has(e)||i(e,l)})}s.set(c,e)},[e]),c}},2038:function(e,t,r){"use strict";r.d(t,{L:function(){return s}});var o=r(81945),i=r(67294),l=function(e){var t=e.sideCar,r=(0,o._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var l=t.read();if(!l)throw Error("Sidecar medium not found");return i.createElement(l,(0,o.pi)({},r))};function s(e,t){return e.useMedium(t),l}l.isSideCarExport=!0},46579:function(e,t,r){"use strict";r.d(t,{_:function(){return l}});var o=r(81945);function i(e){return e}function l(e){void 0===e&&(e={});var t,r,l,s=(void 0===t&&(t=i),r=[],l=!1,{read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var o=t(e,l);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(l=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){l=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),r={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),r}}}});return s.options=(0,o.pi)({async:!0,ssr:!1},e),s}},42217:function(e,t,r){"use strict";r.d(t,{VY:function(){return M},aV:function(){return D},dy:function(){return I},h_:function(){return L}});var o=r(80700),i=r(67294);let l=i.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{}
111,openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),s=()=>{let e=i.useContext(l);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};function d(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function c(){return u(/^iPhone/)||u(/^iPad/)||u(/^Mac/)&&navigator.maxTouchPoints>1}function u(e){return"u">typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not( 112[data-state=closed] 113){opacity:0}
113[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);let p="u">typeof window?i.useLayoutEffect:i.useEffect;function f(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}let m="u">typeof document&&window.visualViewport;function h(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function g(e){for(h(e)&&(e=e.parentElement);e&&!h(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}let v=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),y=0,b;function x(e,t,r,o){return e.addEventListener(t,r,o),()=>{e.removeEventListener(t,r,o)}}function w(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=g(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let r=t.getBoundingClientRect().top,o=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=o-r)}e=t.parentElement}}function k(e){return e instanceof HTMLInputElement&&!v.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function _(...e){return i.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let C=new WeakMap;function $(e,t,r=!1){if(!e||!(e instanceof HTMLElement))return;let o={};Object.entries(t).forEach(([t,r])=>{if(t.startsWith("--")){e.style.setProperty(t,r);return}o[t]=e.style[t],e.style[t]=r}),r||C.set(e,o)}let S=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function E(e,t){if(!e)return null;let r=window.getComputedStyle(e),o=r.transform||r.webkitTransform||r.mozTransform,i=o.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[S(t)?13:12]):(i=o.match(/^matrix\((.+)\)$/))?parseFloat(i[1].split(", ")[S(t)?5:4]):null}function j(e,t){if(!e)return()=>{};let r=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=r}}let N={DURATION:.5,EASE:[.32,.72,0,1]},T="vaul-dragging";function P(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function A({prop:e,defaultProp:t,onChange:r=()=>{}}){let[o,l]=function({defaultProp:e,onChange:t}){let r=i.useState(e),[o]=r,l=i.useRef(o),s=P(t);return i.useEffect(()=>{l.current!==o&&(s(o),l.current=o)},[o,l,s]),r}({defaultProp:t,onChange:r}),s=void 0!==e,d=s?e:o,c=P(r);return[d,i.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else l(t)},[s,e,l,c])]}let O=()=>()=>{},R=null,D=i.forwardRef(function({...e},t){let{overlayRef:r,snapPoints:l,onRelease:d,shouldFade:c,isOpen:u,modal:p,shouldAnimate:f}=s(),m=_(t,r),h=l&&l.length>0;if(!p)return null;let g=i.useCallback(e=>d(e),[d]);return i.createElement(o.aV,{onMouseUp:g,ref:m,"data-vaul-overlay":"","data-vaul-snap-points":u&&h?"true":"false","data-vaul-snap-points-overlay":u&&c?"true":"false","data-vaul-animate":null!=f&&f.current?"true":"false",...e})});D.displayName="Drawer.Overlay";let M=i.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:r,...l},d){let{drawerRef:c,onPress:u,onRelease:p,onDrag:f,keyboardIsOpen:m,snapPointsOffset:h,activeSnapPointIndex:g,modal:v,isOpen:y,direction:b,snapPoints:x,container:w,handleOnly:k,shouldAnimate:C,autoFocus:$}=s(),[E,T]=i.useState(!1),P=_(d,c),A=i.useRef(null),R=i.useRef(null),D=i.useRef(!1),M=x&&x.length>0;
113!function(){let{direction:e,isOpen:t,shouldScaleBackground:r,setBackgroundColorOnScale:o,noBodyStyles:l}=s(),d=i.useRef(null),c=(0,i.useMemo)(()=>document.body.style.backgroundColor,[]);function u(){return(window.innerWidth-26)/window.innerWidth}i.useEffect(()=>{if(t&&r){d.current&&clearTimeout(d.current);let t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;!function(...e){}(o&&!l?j(document.body,{background:"black"}):O,j(t,{transformOrigin:S(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(",")})`}));let r=j(t,{borderRadius:"8px",overflow:"hidden",...S(e)?{transform:`scale(${u()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${u()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{r(),d.current=window.setTimeout(()=>{c?document.body.style.background=c:document.body.style.removeProperty("background")},1e3*N.DURATION)}}},[t,r,c])}();let L=(e,t,r=0)=>{if(D.current)return!0;let o=Math.abs(e.y),i=Math.abs(e.x),l=i>o,s=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*s<0)&&i>=0&&i<=r)return l}else if(!(e.y*s<0)&&o>=0&&o<=r)return!l;return D.current=!0,!0};function I(e){A.current=null,D.current=!1,p(e)}return i.useEffect(()=>{M&&window.requestAnimationFrame(()=>{T(!0)})},[]),i.createElement(o.VY,{"data-vaul-drawer-direction":b,"data-vaul-drawer":"","data-vaul-delayed-snap-points":E?"true":"false","data-vaul-snap-points":y&&M?"true":"false","data-vaul-custom-container":w?"true":"false","data-vaul-animate":null!=C&&C.current?"true":"false",...l,ref:P,style:h&&h.length>0?{"--snap-point-height":`${h[g??0]}px`,...t}:t,onPointerDown:e=>{k||(null==l.onPointerDown||l.onPointerDown.call(l,e),A.current={x:e.pageX,y:e.pageY},u(e))},onOpenAutoFocus:e=>{null==r||r(e),$||e.preventDefault()},onPointerDownOutside:t=>{if(null==e||e(t),!v||t.defaultPrevented){t.preventDefault();return}m.current&&(m.current=!1)},onFocusOutside:e=>{if(!v){e.preventDefault();return}},onPointerMove:e=>{if(R.current=e,k||(null==l.onPointerMove||l.onPointerMove.call(l,e),!A.current))return;let t=e.pageY-A.current.y,r=e.pageX-A.current.x,o="touch"===e.pointerType?10:2;L({x:r,y:t},b,o)?f(e):(Math.abs(r)>o||Math.abs(t)>o)&&(A.current=null)},onPointerUp:e=>{null==l.onPointerUp||l.onPointerUp.call(l,e),A.current=null,D.current=!1,p(e)},onPointerOut:e=>{null==l.onPointerOut||l.onPointerOut.call(l,e),I(R.current)},onContextMenu:e=>{null==l.onContextMenu||l.onContextMenu.call(l,e),R.current&&I(R.current)}})});function L(e){let t=s(),{container:r=t.container,...l}=e;return i.createElement(o.h_,{container:r,...l})}M.displayName="Drawer.Content",i.forwardRef(function({preventCycle:e=!1,children:t,...r},o){let{closeDrawer:l,isDragging:d,snapPoints:c,activeSnapPoint:u,setActiveSnapPoint:p,dismissible:f,handleOnly:m,isOpen:h,onPress:g,onDrag:v}=s(),y=i.useRef(null),b=i.useRef(!1);function x(){y.current&&window.clearTimeout(y.current),b.current=!1}return i.createElement("div",{onClick:function(){if(b.current){x();return}window.setTimeout(()=>{(function(){if(d||e||b.current){x();return}if(x(),!c||0===c.length){f||l();return}if(u===c[c.length-1]&&f){l();return}let t=c.findIndex(e=>e===u);-1!==t&&p(c[t+1])})()},120)},onPointerCancel:x,onPointerDown:e=>{m&&g(e),y.current=window.setTimeout(()=>{b.current=!0},250)},onPointerMove:e=>{m&&v(e)},ref:o,"data-vaul-drawer-visible":h?"true":"false","data-vaul-handle":"","aria-hidden":"true",...r},i.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))}).displayName="Drawer.Handle";let I={Root:function({open:e,onOpenChange:t,children:r,onDrag:s,onRelease:u,snapPoints:h,shouldScaleBackground:v=!1,setBackgroundColorOnScale:_=!0,closeThreshold:j=.25,scrollLockTimeout:P=100,dismissible:O=!0,handleOnly:D=!1,fadeFromIndex:M=h&&h.length-1,activeSnapPoint:L,setActiveSnapPoint:I,fixed:F,modal:B=!0,onClose:V,nested:z,noBodyStyles:H=!1,direction:U="bottom",defaultOpen:Z=!1,disablePreventScroll:W=!0,snapToSequentialPoint:K=!1,preventScrollRestoration:q=!1,repositionInputs:G=!0,onAnimationEnd:J,container:Y,autoFocus:X=!1}){var Q,ee;let[et=!1,en]=A({defaultProp:Z,prop:e,onChange:e=>{null==t||t(e),e||z||eO(),setTimeout(()=>{null==J||J(e)},1e3*N.DURATION),e&&!B&&"u">typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[er,ea]=i.useState(!1),[eo,ei]=i.useState(!1),[el,es]=i.useState(!1),ed=i.useRef(null),ec=i.useRef(null),eu=i.useRef(null),ep=i.useRef(null),ef=i.useRef(null),em=i.useRef(!1),eh=i.useRef(null),eg=i.useRef(0),ev=i.useRef(!1),ey=i.useRef(!Z),eb=i.useRef(0),ex=i.useRef(null),ew=i.useRef((null==(Q=ex.current)?void 0:Q.getBoundingClientRect().height)||0),ek=i.useRef((null==(ee=ex.current)?void 0:ee.getBoundingClientRect().width)||0),e_=i.useRef(0),eC=i.useCallback(e=>
113{h&&e===eN.length-1&&(ec.current=new Date)},[]),{activeSnapPoint:e$,activeSnapPointIndex:eS,setActiveSnapPoint:eE,onRelease:ej,snapPointsOffset:eN,onDrag:eT,shouldFade:eP,getPercentageDragged:eA}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:r,drawerRef:o,overlayRef:l,fadeFromIndex:s,onSnapPointChange:d,direction:c="bottom",container:u,snapToSequentialPoint:p}){let[f,m]=A({prop:e,defaultProp:null==r?void 0:r[0],onChange:t}),[h,g]=i.useState("u">typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);i.useEffect(()=>{function e(){g({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=i.useMemo(()=>f===(null==r?void 0:r[r.length-1])||null,[r,f]),y=i.useMemo(()=>{var e;return null!=(e=null==r?void 0:r.findIndex(e=>e===f))?e:null},[r,f]),b=r&&r.length>0&&(s||0===s)&&!Number.isNaN(s)&&r[s]===f||!r,x=i.useMemo(()=>{var e;let t=u?{width:u.getBoundingClientRect().width,height:u.getBoundingClientRect().height}:"u">typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return null!=(e=null==r?void 0:r.map(e=>{let r="string"==typeof e,o=0;if(r&&(o=parseInt(e,10)),S(c)){let i=r?o:h?e*t.height:0;return h?"bottom"===c?t.height-i:-t.height+i:i}let i=r?o:h?e*t.width:0;return h?"right"===c?t.width-i:-t.width+i:i}))?e:[]},[r,h,u]),w=i.useMemo(()=>null!==y?null==x?void 0:x[y]:null,[x,y]),k=i.useCallback(e=>{var t;let i=null!=(t=null==x?void 0:x.findIndex(t=>t===e))?t:null;d(i),$(o.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:S(c)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),x&&i!==x.length-1&&void 0!==s&&i!==s&&i<s?$(l.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"0"}):$(l.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"1"}),m(null==r?void 0:r[Math.max(i,0)])},[o.current,r,x,s,l,m]);return i.useEffect(()=>{if(f||e){var t;let o=null!=(t=null==r?void 0:r.findIndex(t=>t===e||t===f))?t:-1;x&&-1!==o&&"number"==typeof x[o]&&k(x[o])}},[f,e,r,x,k]),{isLastSnapPoint:v,activeSnapPoint:f,shouldFade:b,getPercentageDragged:function(e,t){if(!r||"number"!=typeof y||!x||void 0===s)return null;let o=y===s-1;if(y>=s&&t)return 0;if(o&&!t)return 1;if(!b&&!o)return null;let i=o?y+1:y-1,l=e/Math.abs(o?x[i]-x[i-1]:x[i+1]-x[i]);return o?1-l:l},setActiveSnapPoint:m,activeSnapPointIndex:y,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:o,dismissible:i}){if(void 0===s)return;let d="bottom"===c||"right"===c?(w??0)-e:(w??0)+e,u=y===s-1,f=0===y,m=e>0;if(u&&$(l.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),!p&&o>2&&!m){i?t():k(x[0]);return}if(!p&&o>2&&m&&x&&r){k(x[r.length-1]);return}let h=null==x?void 0:x.reduce((e,t)=>"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-d)<Math.abs(e-d)?t:e),g=S(c)?window.innerHeight:window.innerWidth;if(o>.4&&Math.abs(e)<.4*g){let e=m?1:-1;if(e>0&&v&&r){k(x[r.length-1]);return}if(f&&e<0&&i&&t(),null===y)return;k(x[y+e]);return}k(h)},onDrag:function({draggedDistance:e}){if(null===w)return;let t="bottom"===c||"right"===c?w-e:w+e;("bottom"===c||"right"===c)&&t<x[x.length-1]||("top"===c||"left"===c)&&t>x[x.length-1]||$(o.current,{transform:S(c)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:x}}({snapPoints:h,activeSnapPointProp:L,setActiveSnapPointProp:I,drawerRef:ex,fadeFromIndex:M,overlayRef:ed,onSnapPointChange:eC,direction:U,container:Y,snapToSequentialPoint:K});!function(e={}){let{isDisabled:t}=e;p(()=>{if(!t){var e,r,o;let t,i,l,s,d,u,p;return 1==++y&&c()&&(l=0,s=window.pageXOffset,d=window.pageYOffset,u=f((e=document.documentElement,r="paddingRight",o=`${window.innerWidth-document.documentElement.clientWidth}px`,t=e.style[r],e.style[r]=o,()=>{e.style[r]=t})),window.scrollTo(0,0),p=f(x(document,"touchstart",e=>{(i=g(e.target))===document.documentElement&&i===document.body||(l=e.changedTouches[0].pageY)},{passive:!1,capture:!0}),x(document,"touchmove",e=>{if(!i||i===document.documentElement||i===document.body){e.preventDefault();return}let t=e.changedTouches[0].pageY,r=i.scrollTop,o=i.scrollHeight-i.clientHeight;0!==o&&((r<=0&&t>l||r>=o&&t<l)&&e.preventDefault(),l=t)},{passive:!1,capture:!0}),x(document,"touchend",e=>{let t=e.target;k(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),x(document,"focus",e=>{let t=e.target;k(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",m&&(m.height<window.innerHeight?requestAnimationFrame(()=>{w(t)}):m.addEventListener("resize",()=>w(t),{once:!0}))}))},!0),x(window,"scroll",()=>{window.scrollTo(0,0)})),b=()=>{u(),p(),window.scrollTo(s,d)}),()=>{0==--y&&(null==b||b())}}},[t])}({isDisabled:!et||eo||!B||el||!er||!G||!W});let{restorePositionSetting:eO}=function({isOpen:e,modal:t,nested:r,hasBeenOpened:o,preventScrollRestoration:l,noBodyStyles:s}){let[c,u]=i.useState(()=>"u">typeof window?window.location.href:""),p=i.useRef(0),f=i.useCallback(()=>
113{if(d()&&null===R&&e&&!s){R={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-p.current}px`,left:`${-e}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&p.current>=t&&(document.body.style.top=`${-(p.current+e)}px`)}),300)}},[e]),m=i.useCallback(()=>{if(d()&&null!==R&&!s){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,R),window.requestAnimationFrame(()=>{if(l&&c!==window.location.href){u(window.location.href);return}window.scrollTo(t,e)}),R=null}},[c]);return i.useEffect(()=>{function e(){p.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),i.useEffect(()=>{if(t)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||m()}},[t,m]),i.useEffect(()=>{r||!o||(e?(window.matchMedia("(display-mode: standalone)").matches||f(),t||window.setTimeout(()=>{m()},500)):m())},[e,o,c,t,r,f,m]),{restorePositionSetting:m}}({isOpen:et,modal:B,nested:z??!1,hasBeenOpened:er,preventScrollRestoration:q,noBodyStyles:H});function eR(){return(window.innerWidth-26)/window.innerWidth}function eD(e,t){var r;let o=e,i=null==(r=window.getSelection())?void 0:r.toString(),l=ex.current?E(ex.current,U):null,s=new Date;if("SELECT"===o.tagName||o.hasAttribute("data-vaul-no-drag")||o.closest("[data-vaul-no-drag]"))return!1;if("right"===U||"left"===U)return!0;if(ec.current&&s.getTime()-ec.current.getTime()<500)return!1;if(null!==l&&("bottom"===U?l>0:l<0))return!0;if(i&&i.length>0)return!1;if(ef.current&&s.getTime()-ef.current.getTime()<P&&0===l||t)return ef.current=s,!1;for(;o;){if(o.scrollHeight>o.clientHeight){if(0!==o.scrollTop)return ef.current=new Date,!1;if("dialog"===o.getAttribute("role"))break}o=o.parentNode}return!0}function eM(e){eo&&ex.current&&(ex.current.classList.remove(T),em.current=!1,ei(!1),ep.current=new Date),null==V||V(),e||en(!1),setTimeout(()=>{h&&eE(h[0])},1e3*N.DURATION)}function eL(){if(!ex.current)return;let e=document.querySelector("[data-vaul-drawer-wrapper]"),t=E(ex.current,U);$(ex.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`}),$(ed.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,opacity:"1"}),v&&t&&t>0&&et&&$(e,{borderRadius:"8px",overflow:"hidden",...S(U)?{transform:`scale(${eR()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${eR()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(",")})`},!0)}return i.useEffect(()=>{window.requestAnimationFrame(()=>{ey.current=!0})},[]),i.useEffect(()=>{var e;function t(){if(ex.current&&G&&(k(document.activeElement)||ev.current)){var e;let t=(null==(e=window.visualViewport)?void 0:e.height)||0,r=window.innerHeight,o=r-t,i=ex.current.getBoundingClientRect().height||0;e_.current||(e_.current=i);let l=ex.current.getBoundingClientRect().top;if(Math.abs(eb.current-o)>60&&(ev.current=!ev.current),h&&h.length>0&&eN&&eS&&(o+=eN[eS]||0),eb.current=o,i>t||ev.current){let e=ex.current.getBoundingClientRect().height,s=e;e>t&&(s=t-(i>.8*r?l:26)),F?ex.current.style.height=`${e-Math.max(o,0)}px`:ex.current.style.height=`${Math.max(s,t-l)}px`}else(function(){let e=navigator.userAgent;return"u">typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))})()||(ex.current.style.height=`${e_.current}px`);h&&h.length>0&&!ev.current?ex.current.style.bottom="0px":ex.current.style.bottom=`${Math.max(o,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[eS,h,eN]),i.useEffect(()=>(et&&($(document.documentElement,{scrollBehavior:"auto"}
113),ec.current=new Date),()=>{(function(e,t){if(!e||!(e instanceof HTMLElement))return;let r=C.get(e);r&&(e.style[t]=r[t])})(document.documentElement,"scrollBehavior")}),[et]),i.useEffect(()=>{B||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[B]),i.createElement(o.fC,{defaultOpen:Z,onOpenChange:e=>{(O||e)&&(e?ea(!0):eM(!0),en(e))},open:et},i.createElement(l.Provider,{value:{activeSnapPoint:e$,snapPoints:h,setActiveSnapPoint:eE,drawerRef:ex,overlayRef:ed,onOpenChange:t,onPress:function(e){var t,r;(O||h)&&(!ex.current||ex.current.contains(e.target))&&(ew.current=(null==(t=ex.current)?void 0:t.getBoundingClientRect().height)||0,ek.current=(null==(r=ex.current)?void 0:r.getBoundingClientRect().width)||0,ei(!0),eu.current=new Date,c()&&window.addEventListener("touchend",()=>em.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),eg.current=S(U)?e.pageY:e.pageX)},onRelease:function(e){var t,r;if(!eo||!ex.current)return;ex.current.classList.remove(T),em.current=!1,ei(!1),ep.current=new Date;let o=E(ex.current,U);
113if(!e||!eD(e.target,!1)||!o||Number.isNaN(o)||null===eu.current)return;let i=ep.current.getTime()-eu.current.getTime(),l=eg.current-(S(U)?e.pageY:e.pageX),s=Math.abs(l)/i;if(s>.05&&(es(!0),setTimeout(()=>{es(!1)},200)),h){ej({draggedDistance:l*("bottom"===U||"right"===U?1:-1),closeDrawer:eM,velocity:s,dismissible:O}),null==u||u(e,!0);return}if("bottom"===U||"right"===U?l>0:l<0){eL(),null==u||u(e,!0);return}if(s>.4){eM(),null==u||u(e,!1);return}let d=Math.min(null!=(t=ex.current.getBoundingClientRect().height)?t:0,window.innerHeight),c=Math.min(null!=(r=ex.current.getBoundingClientRect().width)?r:0,window.innerWidth);if(Math.abs(o)>=("left"===U||"right"===U?c:d)*j){eM(),null==u||u(e,!1);return}null==u||u(e,!0),eL()},onDrag:function(e){if(ex.current&&eo){let t="bottom"===U||"right"===U?1:-1,r=(eg.current-(S(U)?e.pageY:e.pageX))*t,o=r>0,i=h&&!O&&!o;if(i&&0===eS)return;let l=Math.abs(r),d=document.querySelector("[data-vaul-drawer-wrapper]"),c=l/("bottom"===U||"top"===U?ew.current:ek.current),u=eA(l,o);if(null!==u&&(c=u),i&&c>=1||!em.current&&!eD(e.target,o))return;if(ex.current.classList.add(T),em.current=!0,$(ex.current,{transition:"none"}),$(ed.current,{transition:"none"}),h&&eT({draggedDistance:r}),o&&!h){let e=Math.min(-(8*(Math.log(r+1)-2)*1),0)*t;$(ex.current,{transform:S(U)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`});return}let p=1-c;if((eP||M&&eS===M-1)&&(null==s||s(e,c),$(ed.current,{opacity:`${p}`,transition:"none"},!0)),d&&ed.current&&v){let e=Math.min(eR()+c*(1-eR()),1),t=8-8*c,r=Math.max(0,14-14*c);$(d,{borderRadius:`${t}px`,transform:S(U)?`scale(${e}) translate3d(0, ${r}px, 0)`:`scale(${e}) translate3d(${r}px, 0, 0)`,transition:"none"},!0)}if(!h){let e=l*t;$(ex.current,{transform:S(U)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:O,shouldAnimate:ey,handleOnly:D,isOpen:et,isDragging:eo,shouldFade:eP,closeDrawer:eM,onNestedDrag:function(e,t){if(t<0)return;let r=(window.innerWidth-16)/window.innerWidth,o=r+t*(1-r),i=-16+16*t;$(ex.current,{transform:S(U)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,r=e?-16:0;eh.current&&window.clearTimeout(eh.current),$(ex.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:S(U)?`scale(${t}) translate3d(0, ${r}px, 0)`:`scale(${t}) translate3d(${r}px, 0, 0)`}),!e&&ex.current&&(eh.current=setTimeout(()=>{let e=E(ex.current,U);$(ex.current,{transition:"none",transform:S(U)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){let r=S(U)?window.innerHeight:window.innerWidth,o=t?(r-16)/r:1,i=t?-16:0;t&&$(ex.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(",")})`,transform:S(U)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`})},keyboardIsOpen:ev,modal:B,snapPointsOffset:eN,activeSnapPointIndex:eS,direction:U,shouldScaleBackground:v,setBackgroundColorOnScale:_,noBodyStyles:H,container:Y,autoFocus:X}},r))},Trigger:o.xz,Close:o.x8,Title:o.Dx}},24579:function(e,t,r){"use strict";r.d(t,{H2:function(){return i},Kn:function(){return d},eQ:function(){return s},u6:function(){return c},v9:function(){return l}});var o=r(29398);let i=e=>{let t=["s","m","l","xl","xxl"];return Object.keys(e).filter(e=>t.includes(e)).sort((e,r)=>t.indexOf(e)-t.indexOf(r)).reduce((t,r)=>(t[r]=e[r],t),{})},l=(e,t)=>{if(!e)return;let r=Object.keys(i(e)).filter(Boolean);for(let e=r.length-1;e>=0;e--){let i=r[e];if((0,o.w)({currentBp:t,bp:i,range:"up"}))return i}},s=e=>{let t=new Date(1e3*e).toISOString();return e>3600?t.substring(11,16):t.substring(14,19)},d=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e,c=(e,t)=>Array.isArray(e)?e.map(e=>c(e,t)):Object.assign({},...Object.keys(e).map(r=>{let o=t[r]||r,i=e[r];return"object"==typeof i&&null!==i?{[o]:c(i,t)}:{[o]:i}}))},83563:function(e,t,r){"use strict";r.d(t,{c:function(){return i},r:function(){return o}});let o={s:"sm",m:"md",l:"lg",xl:"xl",xxl:"xxl"},i=(e,t=!1)=>"s"!==e||t?`${o[e]}:`:""},6767:function(e,t,r){"use strict";r.d(t,{Gz:function(){return d},oQ:function(){return u},t0:function(){return s},vC:function(){return c},z$:function(){return l}});var o=r(83563);let i=e=>!!e&&"object"==typeof e&&!Array.isArray(e),l=(e,t={})=>{let r=t.preferredMode??"light",o=t.fallbackMode??("light"===r?"dark":"light"),l=r===o?[r]:[r,o],s=(e,t)=>{if(null===e||typeof e>"u")return;if("string"==typeof e)return e;if(!i(e)||t.has(e))return;if(t.add(e),"string"==typeof e.value)return e.value;if("string"==typeof e.selected)return e.selected;if(!i(e.selected))return;let r=e.selected.value;if("string"==typeof r)return r;let o=e.selected;for(let e of l){let r=s(o[e],t);if("string"==typeof r)return r}for(let e of Object.values(o)){let r=s(e,t);if("string"==typeof r)return r}};return s(e,new WeakSet)},s=e=>({light:l(e,{preferredMode:"light"}),dark:l(e,{preferredMode:"dark"})}),d=(e,t)=>e[t]??e["light"===t?"dark":"light"],c=({light:e,dark:t})=>!!(e||t),u=({bpMono:e,bpTheme:t})=>{let r=[];if(t)for(let[e,i]of Object.entries(t)){if(void 0===i)continue;let t="s"!==e?`${o.r[e]}:`:"";r.push(`${t}${i}`)}if(e)for(let[t,i]of Object.entries(e)){if(void 0===i)continue;let e="s"!==t?`${o.r[t]}:`:"";r.push(`${e}${i?"mono":"non-mono"}`)}return r}},11078:function(e,t,r){"use strict";r.d(t,{E:function(){return o}});let o={"system-easing-standard":{name:"Motion easing standard",value:"cubic-bezier(0.4, 0, 0.95, 1)",easeArray:[.4,0,.95,1]},"system-easing-expressive":{name:"Motion easing expressive",value:"cubic-bezier(0.45,0.05,0.12,0.88)",easeArray:[.45,.05,.12,.88]},"system-duration-short":{name:"Motion duration short",value:"150ms",valueSeconds:.15},"system-duration-medium":{name:"Motion duration medium",value:"300ms",valueSeconds:.3},"system-duration-long":{name:"Motion duration long",value:"700ms",valueSeconds:.7},"system-duration-extralong":{name:"Motion duration extra long",value:"1000ms",valueSeconds:1},"system-stagger-short":{name:"Motion stagger short",value:"30ms",valueSeconds:.03},"system-stagger-long":{name:"Motion stagger long",value:"150ms",valueSeconds:.15}}},43201:function(e,t,r){"use strict";r.d(t,{o:function(){return c}});var o=r(43355),i=r(67294),l=r(96974),s=r(98069);let d=e=>{(0,o.P)(e);let t=(0,l.b9)((0,i.useMemo)(()=>(0,s.cn)(null,(t,r)=>{for(let[t,o]of e)r(t,o)}),[e]));(0,i.useEffect)(()=>t(),[t])},c=({atomValues:e,children:t})=>(d(e),t)},4382:function(e,t,r){"use strict";r.d(t,{An:function(){return m},RH:function(){return p},c6:function(){return u},tv:function(){return c}});var o=r(48399),i=r(24579),l=r(96491),s=r(11823),d=r(57707);let c=(0,l.hL)({twMerge:!1}),u=e=>e,p=(e,t)=>{let r;return typeof t>"u"?e:(r=typeof e>"u"?{...t}:{...e},Object.keys(t).forEach(l=>{var d;if((0,i.Kn)(t[l])&&(r[l]=p(null==e?void 0:e[l],t[l])),"compoundVariants"===l&&"compoundVariants"===l){let c=(0,i.u6)(t,{className:"class"}),u=(0,i.u6)(e??{},{className:"class"});r[l]=null==(d=null==u?void 0:u[l])?void 0:d.reduce((e,t)=>
113{let r=null==c?void 0:c[l].find(e=>{let{class:r,...o}=e,{class:i,...l}=t;return(0,s.X)(o,l)});if(!r)return e.push(t),e;let i=Object.entries(null==r?void 0:r.class).map(([e,r])=>t.class[e]?{[e]:(0,o.cn)(t.class[e],r)}:{[e]:r});return e.push({...t,class:Object.assign({},...i)}),e},[])}"boolean"==typeof t[l]&&(r[l]=null==t?void 0:t[l]),"string"==typeof t[l]&&(r[l]=(0,o.cn)(r[l],t[l]))}),r)},f=e=>"string"==typeof e||"number"==typeof e||"boolean"==typeof e,m=e=>(0,d.w0)(e,(e,t)=>f(e)&&f(t)&&e===t||function(e,t){let r=Array.isArray(e),o=Array.isArray(t);return r===o&&(r&&o?function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=e.length;if(t.length!==r)return!1;for(let o=0;o<r;o++)if(e[o]!==t[o])return!1;return!0}(e,t):function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),o=Object.keys(t),i=r.length;if(o.length!==i)return!1;for(let o=0;o<i;o++){let i=r[o];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}(e,t))}(e,t)?e:t)},73998:function(e,t,r){"use strict";let o,i,l;r.d(t,{ox:function(){return s},Zb:function(){return w},UG:function(){return R},pW:function(){return x},oZ:function(){return C}});var s={defaultLocale:"default",locales:{default:{label:"(Master) English"},"en-us":{label:"English (US)",fallback_lang:"en"}}},d=r(83454);d.env.NEXT_PUBLIC_STORYBLOK_GRAPHQL_API_URL;var c=d.env.NEXT_PUBLIC_STORYBLOK_REGION??"eu",u=d.env.NEXT_PUBLIC_STORYBLOK_DELIVERY_API_URL??"https://api.storyblok.com/v2",p=r(58432),f=r(83235),m=r(90084);r(60315);var h=r(83454),g=[],v=e=>{globalThis?.storyblokMode==="rsc"||"rsc"===h.env.SB_MODE?(0,m.T6)(e):(0,f.T6)(e)},y=(e,t)=>t?g.push(...e):g=e,b={languageMap:s,accessToken:"ldgUJIIo1mvrJi1StDLosQtt",relationsToResolve:[],bridge:!1,apiOptions:{endpoint:u,region:c,cache:{type:"memory",clear:"auto"}}},x=e=>{"rsc"===e.mode||globalThis?.storyblokMode==="rsc"||"rsc"===h.env.SB_MODE?b.use=[m.M$]:b.use=[f.M$],b={...b,...e}},w=()=>b,k={in:["page"]},_=e=>{k={...k,...e}},C=e=>{let{components:t,filteredSlugsToExclude:r=[],contentTypeQuery:o}=e;x(e),v(t),"u">typeof o&&_(o);let{storyblokApi:i}=(0,p.$d)(b);y(r,!0)},$=Object.create,S=Object.defineProperty,E=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,N=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,P=((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of j(t))T.call(e,i)||i===r||S(e,i,{get:()=>t[i],enumerable:!(o=E(t,i))||o.enumerable});return e})(S(null!=(l=(o=(e,t)=>{var r=Object.prototype.hasOwnProperty,o="~";function i(){}function l(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,i,s){if("function"!=typeof r)throw TypeError("The listener must be a function");var d=new l(r,i||e,s),c=o?o+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],d]:e._events[c].push(d):(e._events[c]=d,e._eventsCount++),e}function d(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(o=!1)),c.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)r.call(e,t)&&i.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=o?o+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,l=r.length,s=Array(l);i<l;i++)s[i]=r[i].fn;return s},c.prototype.listenerCount=function(e){var t=o?o+e:e,r=this._events[t];return r?r.fn?1:r.length:0},c.prototype.emit=function(e,t,r,i,l,s){var d=o?o+e:e;if(!this._events[d])return!1;var c,u,p=this._events[d],f=arguments.length;if(p.fn){switch(p.once&&this.removeListener(e,p.fn,void 0,!0),f){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,t),!0;case 3:return p.fn.call(p.context,t,r),!0;case 4:return p.fn.call(p.context,t,r,i),!0;case 5:return p.fn.call(p.context,t,r,i,l),!0;case 6:return p.fn.call(p.context,t,r,i,l,s),!0}for(u=1,c=Array(f-1);u<f;u++)c[u-1]=arguments[u];p.fn.apply(p.context,c)}else{var m,h=p.length;for(u=0;u<h;u++)switch(p[u].once&&this.removeListener(e,p[u].fn,void 0,!0),f){case 1:p[u].fn.call(p[u].context);break;case 2:p[u].fn.call(p[u].context,t);break;case 3:p[u].fn.call(p[u].context,t,r);break;case 4:p[u].fn.call(p[u].context,t,r,i);break;default:if(!c)for(m=1,c=Array(f-1);m<f;m++)c[m-1]=arguments[m];
113p[u].fn.apply(p[u].context,c)}}return!0},c.prototype.on=function(e,t,r){return s(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return s(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,r,i){var l=o?o+e:e;if(!this._events[l])return this;if(!t)return d(this,l),this;var s=this._events[l];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||d(this,l);else{for(var c=0,u=[],p=s.length;c<p;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[l]=1===u.length?u[0]:u:d(this,l)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=o?o+e:e,this._events[t]&&d(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=o,c.EventEmitter=c,"u">typeof t&&(t.exports=c)},()=>(i||o((i={exports:{}}).exports,i),i.exports))())?$(N(l)):{},"default",{value:l,enumerable:!0}),l),A=class extends Error{constructor(e){super(),this.name="AbortError",this.message=e}};P.default;r(62753),r(94150);var O=e=>e.replace(/\/?$/,"/"),R=()=>({translationStrategy:"field",localeInDomainUrl:!1})},58432:function(e,t,r){"use strict";let o,i,l,s;r.d(t,{$d:function(){return L},M$:function(){return N}});let d=!1,c=[],u=e=>new Promise((t,r)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=e=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}d?e():c.push(e)},document.getElementById("storyblok-javascript-bridge")))return;let o=document.createElement("script");o.async=!0,o.src=e,o.id="storyblok-javascript-bridge",o.onerror=e=>r(e),o.onload=e=>{c.forEach(e=>e()),d=!0,t(e)},document.getElementsByTagName("head")[0].appendChild(o)});var p=Object.defineProperty,f=(e,t,r)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t,r)=>f(e,"symbol"!=typeof t?t+"":t,r);
113class h extends Error{constructor(e){super(e),this.name="AbortError"}}class g{constructor(){m(this,"isCDNUrl",(e="")=>e.includes("/cdn/")),m(this,"getOptionsPage",(e,t=25,r=1)=>({...e,per_page:t,page:r})),m(this,"delay",e=>new Promise(t=>setTimeout(t,e))),m(this,"arrayFrom",(e=0,t)=>Array.from({length:e},t)),m(this,"range",(e=0,t=e)=>{let r=e<t?1:-1;return this.arrayFrom(Math.abs(t-e)||0,(t,o)=>o*r+e)}),m(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),m(this,"flatMap",(e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[])),m(this,"escapeHTML",function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return e&&o.test(e)?e.replace(r,e=>t[e]):e})}stringify(e,t,r){let o=[];for(let i in e){let l;if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];if(null==s)continue;let d=r?"":encodeURIComponent(i);l="object"==typeof s?this.stringify(s,t?t+encodeURIComponent(`[${d}]`):d,Array.isArray(s)):`${t?t+encodeURIComponent(`[${d}]`):d}=${encodeURIComponent(s)}`,o.push(l)}return o.join("&")}getRegionURL(e){switch(e){case"us":return"api-us.storyblok.com";case"cn":return"app.storyblokchina.cn";case"ap":return"api-ap.storyblok.com";case"ca":return"api-ca.storyblok.com";default:return"api.storyblok.com"}}}let v=function(e,t){let r={};for(let o in e){let i=e[o];t.includes(o)&&null!==i&&(r[o]=i)}return r},y=e=>"email"===e,b={nodes:{horizontal_rule:()=>({singleTag:"hr"}),blockquote:()=>({tag:"blockquote"}),bullet_list:()=>({tag:"ul"}),code_block:e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),hard_break:()=>({singleTag:"br"}),heading:e=>({tag:`h${e.attrs.level}`}),image:e=>({singleTag:[{tag:"img",attrs:v(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"}),emoji:e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"s"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link:e=>{if(!e.attrs)return{tag:""};let t=new g().escapeHTML,r={...e.attrs},{linktype:o="url"}=e.attrs;if(delete r.linktype,r.href&&(r.href=t(e.attrs.href||"")),y(o)&&(r.href=`mailto:${r.href}`),r.anchor&&(r.href=`${r.href}#${r.anchor}`,delete r.anchor),r.custom){for(let e in r.custom)r[e]=r.custom[e];delete r.custom}return{tag:[{tag:"a",attrs:r}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]}),subscript:()=>({tag:"sub"}),superscript:()=>({tag:"sup"}),anchor:e=>({tag:[{tag:"span",attrs:e.attrs}]}),highlight:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},textStyle:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}}}},x=function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return e&&o.test(e)?e.replace(r,e=>t[e]):e},w=!1,k=class{constructor(e){m(this,"marks"),m(this,"nodes"),e||(e=b),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1},r=!0){if(!w&&r&&(console.warn("Warning â ï¸: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),w=!0),e&&e.content&&Array.isArray(e.content)){let r="";return e.content.forEach(e=>{r+=this.renderNode(e)}),t.optimizeImages?this.optimizeImages(r,t.optimizeImages):r}return console.warn(`The render method must receive an Object with a "content" field. 114 The "content" field must be an array of nodes as the type ISbRichtext. 115 ISbRichtext: 116 content?: ISbRichtext[] 117 marks?: ISbRichtext[] 118 attrs?: any 119 text?: string 120 type: string 121 122 Example: 123 { 124 content: [ 125 { 126 content: [ 127 { 128 text: 'Hello World', 129 type: 'text' 130 } 131 ], 132 type: 'paragraph' 133 } 134 ], 135 type: 'doc' 136 }`),""}optimizeImages(e,t){let r=0,o=0,i="",l="";"boolean"!=typeof t&&("number"==typeof t.width&&t.width>0&&(i+=`width="${t.width}" `,r=t.width),"number"==typeof t.height&&t.height>0&&(i+=`height="${t.height}" `,o=t.height),("lazy"===t.loading||"eager"===t.loading)&&(i+=`loading="${t.loading}" `),"string"==typeof t.class&&t.class.length>0&&(i+=`class="${t.class}" `),t.filters&&("number"==typeof t.filters.blur&&t.filters.blur>=0&&t.filters.blur<=100&&(l+=`:blur(${t.filters.blur})`),"number"==typeof t.filters.brightness&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(l+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-F]{6}/gi)||"transparent"===t.filters.fill)&&(l+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(l+=`:format(${t.filters.format})`),"boolean"==typeof t.filters.grayscale&&t.filters.grayscale&&(l+=":grayscale()"),"number"==typeof t.filters.quality&&t.filters.quality>=0&&t.filters.quality<=100&&(l+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(l+=`:rotate(${t.filters.rotate})`),l.length>0&&(l=`/filters${l}`))),i.length>0&&(e=e.replace(/<img/g,`<img ${i.trim()}`));let s=r>0||o>0||l.length>0?`${r}x${o}${l}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${s}`),"boolean"!=typeof t&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,e=>{var r,o;let i=e.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g);if(i&&i.length>0){let s={srcset:null==(r=t.srcset)?void 0:r.map(e=>{if("number"==typeof e)return`//${i}/m/${e}x0${l} ${e}w`;if("object"==typeof e&&2===e.length){let t=0,r=0;return"number"==typeof e[0]&&(t=e[0]),"number"==typeof e[1]&&(r=e[1]),`//${i}/m/${t}x${r}${l} ${t}w`}return""}).join(", "),sizes:null==(o=t.sizes)?void 0:o.map(e=>e).join(", ")},d="";return s.srcset&&(d+=`srcset="${s.srcset}" `),s.sizes&&(d+=`sizes="${s.sizes}" `),e.replace(/<img/g,`<img ${d.trim()}`)}return e})),e}renderNode(e){let t=[];
136e.marks&&e.marks.forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderOpeningTag(r.tag))});let r=this.getMatchingNode(e);return r&&r.tag&&t.push(this.renderOpeningTag(r.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(x(e.text)):r&&r.singleTag?t.push(this.renderTag(r.singleTag," /")):r&&r.html?t.push(r.html):"emoji"===e.type&&t.push(this.renderEmoji(e)),r&&r.tag&&t.push(this.renderClosingTag(r.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderClosingTag(r.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let r=`<${e.tag}`;if(e.attrs){for(let t in e.attrs)if(Object.prototype.hasOwnProperty.call(e.attrs,t)){let o=e.attrs[t];null!==o&&(r+=` ${t}="${o}"`)}}return`${r}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(e=>e.constructor===String?`</${e}>`:`</${e.tag}>`).join("")}getMatchingNode(e){let t=this.nodes[e.type];if("function"==typeof t)return t(e)}getMatchingMark(e){let t=this.marks[e.type];if("function"==typeof t)return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;let t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}};class _{constructor(e){m(this,"baseURL"),m(this,"timeout"),m(this,"headers"),m(this,"responseInterceptor"),m(this,"fetch"),m(this,"ejectInterceptor"),m(this,"url"),m(this,"parameters"),m(this,"fetchOptions"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=null!=e&&e.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let o of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[o[0]]=o[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t,r=`${this.baseURL}${this.url}`,o=null;if("get"===e){let e=new g;r=`${this.baseURL}${this.url}?${e.stringify(this.parameters)}`}else o=JSON.stringify(this.parameters);let i=new URL(r),l=new AbortController,{signal:s}=l;this.timeout&&(t=setTimeout(()=>l.abort(),this.timeout));try{let r=await this.fetch(`${i}`,{method:e,headers:this.headers,body:o,signal:s,...this.fetchOptions});this.timeout&&clearTimeout(t);let l=await this._responseHandler(r);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(l)):this._statusHandler(l)}catch(e){return{message:e}}}setFetchOptions(e={}){Object.keys(e).length>0&&"method"in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,o)=>{if(t.test(`${e.status}`))return r(e);o({message:e.statusText,status:e.status,response:Array.isArray(e.data)?e.data[0]:e.data.error||e.data.slug})})}}let C="SB-Agent",$={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"},S={},E={};class j{constructor(e,t){m(this,"client"),m(this,"maxRetries"),m(this,"retriesDelay"),m(this,"throttle"),m(this,"accessToken"),m(this,"cache"),m(this,"helpers"),m(this,"resolveCounter"),m(this,"relations"),m(this,"links"),m(this,"richTextResolver"),m(this,"resolveNestedRelations"),m(this,"stringifiedStoriesCache");let r=e.endpoint||t;if(!r){let t=new g().getRegionURL,o=!1===e.https?"http":"https";r=e.oauthToken?`${o}://${t(e.region)}/v1`:`${o}://${t(e.region)}/v2`}let o=new Headers;o.set("Content-Type","application/json"),o.set("Accept","application/json"),e.headers&&("Headers"===e.headers.constructor.name?e.headers.entries().toArray():Object.entries(e.headers)).forEac
136h(([e,t])=>{o.set(e,t)}),o.has(C)||(o.set(C,$.defaultAgentName),o.set($.defaultAgentVersion,$.packageVersion));let i=5;e.oauthToken&&(o.set("Authorization",e.oauthToken),i=3),e.rateLimit&&(i=e.rateLimit),e.richTextSchema?this.richTextResolver=new k(e.richTextSchema):this.richTextResolver=new k,e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||10,this.retriesDelay=300,this.throttle=function(e,t,r){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(1e3))throw TypeError("Expected `interval` to be a finite number");let o=[],i=[],l=0,s=!1,d=async()=>{l++;let t=o.shift();if(t)try{let r=await e(...t.args);t.resolve(r)}catch(e){t.reject(e)}let r=setTimeout(()=>{l--,o.length>0&&d(),i=i.filter(e=>e!==r)},1e3);i.includes(r)||i.push(r)},c=(...e)=>s?Promise.reject(Error("Throttled function is already aborted and not accepting new promises")):new Promise((r,i)=>{o.push({resolve:r,reject:i,args:e}),l<t&&d()});return c.abort=()=>{s=!0,i.forEach(clearTimeout),i=[],o.forEach(e=>e.reject(()=>new h("Throttle function aborted"))),o.length=0},c}(this.throttledRequest.bind(this),i,0),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.helpers=new g,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new _({baseURL:r,timeout:e.timeout||0,headers:o,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let r="";return t.attrs.body&&t.attrs.body.forEach(t=>{r+=e(t.component,t)}),{html:r}}
136)}parseParams(e){return e.token||(e.token=this.getToken()),e.cv||(e.cv=E[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),"u">typeof e.resolve_relations&&(e.resolve_level=2),e}factoryParamOptions(e,t){return this.helpers.isCDNUrl(e)?this.parseParams(t):t}makeRequest(e,t,r,o,i){let l=this.factoryParamOptions(e,this.helpers.getOptionsPage(t,r,o));return this.cacheResponse(e,l,void 0,i)}get(e,t,r){t||(t={});let o=`/${e}`,i=this.factoryParamOptions(o,t);return this.cacheResponse(o,i,void 0,r)}async getAll(e,t,r,o){let i=(null==t?void 0:t.per_page)||25,l=`/${e}`.replace(/\/$/,""),s=r??l.substring(l.lastIndexOf("/")+1),d=await this.makeRequest(l,t,i,1,o),c=d.total?Math.ceil(d.total/i):1,u=await this.helpers.asyncMap(this.helpers.range(1,c),e=>this.makeRequest(l,t,i,e+1,o));return this.helpers.flatMap([d,...u],e=>Object.values(e.data[s]))}post(e,t,r){let o=`/${e}`;return Promise.resolve(this.throttle("post",o,t,r))}put(e,t,r){let o=`/${e}`;return Promise.resolve(this.throttle("put",o,t,r))}delete(e,t,r){t||(t={});let o=`/${e}`;return Promise.resolve(this.throttle("delete",o,t,r))}getStories(e,t){return this._addResolveLevel(e),this.get("cdn/stories",e,t)}getStory(e,t,r){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){"u">typeof e.resolve_relations&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let o=e[t];o&&"multilink"===o.fieldtype&&"story"===o.linktype&&"string"==typeof o.id&&this.links[r][o.id]?o.story=this._cleanCopy(this.links[r][o.id]):o&&"story"===o.linktype&&"string"==typeof o.uuid&&this.links[r][o.uuid]&&(o.story=this._cleanCopy(this.links[r][o.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,r){let o=e[t];"string"==typeof o?e[t]=this.getStoryReference(r,o):Array.isArray(o)&&(e[t]=o.map(e=>this.getStoryReference(r,e)).filter(Boolean))}_insertRelations(e,t,r,o){if(Array.isArray(r)?r.find(e=>e.endsWith(`.${t}`)):r.endsWith(`.${t}`)){this._resolveField(e,t,o);return}let i=e.component?`${e.component}.${t}`:t;(Array.isArray(r)?r.includes(i):r===i)&&this._resolveField(e,t,o)}iterateTree(e,t,r){let o=(e,i="")=>{if(!(!e||e._stopResolving)){if(Array.isArray(e))e.forEach((e,t)=>o(e,`${i}[${t}]`));else if("object"==typeof e)for(let l in e){let s=i?`${i}.${l}`:l;(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,l,t,r),this._insertLinks(e,l,r)),o(e[l],s)}}};o(e.content)}async resolveLinks(e,t,r){let o=[];if(e.link_uuids){let r=e.link_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.link_uuids.slice(t,o))}for(let e=0;e<i.length;
136e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(",")})).data.stories.forEach(e=>{o.push(e)})}else o=e.links;o.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let o=[];if(e.rel_uuids){let r=e.rel_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.rel_uuids.slice(t,o))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(","),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{o.push(e)})}else o=e.rels;o&&o.length>0&&o.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){var o,i;let l=[];if(this.links[r]={},this.relations[r]={},"u">typeof t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(l=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url","link"].includes(t.resolve_links)&&(null!=(o=e.links)&&o.length||null!=(i=e.link_uuids)&&i.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],l,r);e.story?this.iterateTree(e.story,l,r):e.stories.forEach(e=>{this.iterateTree(e,l,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r,o){let i=this.helpers.stringify({url:e,params:t}),l=this.cacheProvider();if("published"===t.version&&"/cdn/spaces/me"!==e){let e=await l.get(i);if(e)return Promise.resolve(e)}return new Promise(async(s,d)=>{var c;try{let r=await this.throttle("get",e,t,o);if(200!==r.status)return d(r);let u={data:r.data,headers:r.headers};if(null!=(c=r.headers)&&c["per-page"]&&(u=Object.assign({},u,{perPage:r.headers["per-page"]?Number.parseInt(r.headers["per-page"]):0,total:r.headers["per-page"]?Number.parseInt(r.headers.total):0})),u.data.story||u.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(u.data,t,`${e}`)}"published"===t.version&&"/cdn/spaces/me"!==e&&await l.set(i,u);let p="onpreview"===this.cache.clear&&"draft"===t.version||"auto"===this.cache.clear;return t.token&&u.data.cv&&(p&&E[t.token]&&E[t.token]!==u.data.cv&&await this.flushCache(),E[t.token]=u.data.cv),s(u)}catch(o){if(o.response&&429===o.status&&(r=typeof r>"u"?0:r+1)<this.maxRetries)return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await this.helpers.delay(this.retriesDelay),this.cacheResponse(e,t,r).then(s).catch(d);d(o)}})}throttledRequest(e,t,r,o){return this.client.setFetchOptions(o),this.client[e](t,r)}cacheVersions(){return E}cacheVersion(){return E[this.accessToken]}setCacheVersion(e){this.accessToken&&(E[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(E[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(S[e]),getAll:()=>Promise.resolve(S),set:(e,t)=>(S[e]=t,Promise.resolve(void 0)),flush:()=>(S={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}}let N=(e={})=>{let{apiOptions:t}=e;if(!t||!t.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new j(t)}};var T=((o=T||{}).DOCUMENT="doc",o.HEADING="heading",o.PARAGRAPH="paragraph",o.QUOTE="blockquote",o.OL_LIST="ordered_list",o.UL_LIST="bullet_list",o.LIST_ITEM="list_item",o.CODE_BLOCK="code_block",o.HR="horizontal_rule",o.BR="hard_break",o.IMAGE="image",o.EMOJI="emoji",o.COMPONENT="blok",o.TABLE="table",o.TABLE_ROW="tableRow",o.TABLE_CELL="tableCell",o.TABLE_HEADER="tableHeader",o),P=((i=P||{}).BOLD="bold",i.STRONG="strong",i.STRIKE="strike",i.UNDERLINE="underline",i.ITALIC="italic",i.CODE="code",i.LINK="link",i.ANCHOR="anchor",i.STYLED="styled",i.SUPERSCRIPT="superscript",i.SUBSCRIPT="subscript",i.TEXT_STYLE="textStyle",i.HIGHLIGHT="highlight",i),A=((l=A||{}).TEXT="text",l),O=((s=O||{}).URL="url",s.STORY="story",s.ASSET="asset",s.EMAIL="email",s);let R,D="https://app.storyblok.com/f/storyblok-v2-latest.js",M=(e,t)=>{e.addNode("blok",e=>{let r="";
136return e.attrs.body.forEach(e=>{r+=t(e.component,e)}),{html:r}})},L=(e={})=>{var t,r;let{bridge:o,accessToken:i,use:l=[],apiOptions:s={},richText:d={},bridgeUrl:c}=e;s.accessToken=s.accessToken||i;let p={bridge:o,apiOptions:s},f={};l.forEach(e=>{f={...f,...e(p)}}),c&&(D=c);let m=!(typeof window>"u")&&(null==(r=null==(t=window.location)?void 0:t.search)?void 0:r.includes("_storyblok_tk"));return!1!==o&&m&&u(D),R=new k(d.schema),d.resolver&&M(R,d.resolver),f}},83235:function(e,t,r){"use strict";r.d(t,{Xj:function(){return d.Z},M$:function(){return i.M$},bS:function(){return l.pC},T6:function(){return l.T6},LF:function(){return i.LF},f0:function(){return s}});var o=r(67294),i=r(25442),l=r(72843);r(80069);let s=(e=null,t={})=>{let[r,l]=(0,o.useState)(e),s=(null==e?void 0:e.id)??0,d="u">typeof window&&"u">typeof window.storyblokRegisterEvent;return(0,o.useEffect)(()=>{l(e),d&&e&&(0,i.MB)(s,e=>l(e),t)},[e]),r};r(18294),r(2886);var d=r(82852)},72843:function(e,t,r){"use strict";r.d(t,{T6:function(){return l},Xr:function(){return s},Y7:function(){return c},cY:function(){return d},pC:function(){return i}}),r(25442),r(82852);let o={},i=()=>(console.error("You can't use getStoryblokApi if you're not loading apiPlugin."),null),l=e=>o=e,s=e=>o[e]?o[e]:(console.error(`Component ${e} doesn't exist.`),!1),d=()=>!1,c=()=>null},80069:function(e,t,r){"use strict";r.d(t,{P:function(){return d}});var o=r(67294),i=r(82852),l=r(25442);function s(e){var t,r;let l=null==(t=null==e?void 0:e.attrs)?void 0:t.body;return o.createElement(i.Z,{blok:Array.isArray(l)?l[0]:void 0,key:null==(r=e.attrs)?void 0:r.id})}function d(e){let t={renderFn:o.createElement,textFn:e=>o.createElement(o.Fragment,{key:Math.random().toString(36).substring(2,15)},e),resolvers:{[l.P7.COMPONENT]:s,...e.resolvers},keyedResolvers:!0};return(0,l.eS)(t)}},90084:function(e,t,r){"use strict";r.d(t,{Eo:function(){return u},M$:function(){return o.M$},T6:function(){return f},LF:function(){return o.LF}}),r(80069),r(18294);var o=r(25442),i=r(85893),l=r(67294);async function s({story:e,pathToRevalidate:t}){if(!e||!t)return console.error("liveEditUpdateAction: story or pathToRevalidate is not provided");globalThis.storyCache.set(e.uuid,e)}r(82852);let d=()=>!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent&&window.location.search.includes("_storyblok"),c=({story:e=null,bridgeOptions:t={}})=>{if(!d())return null;let r=e=>{e&&(0,l.startTransition)(()=>{s({story:e,pathToRevalidate:window.location.pathname})})},i=(null==e?void 0:e.id)??0;return(0,l.useEffect)(()=>{(0,o.MB)(i,e=>r(e),t)},[]),null};(0,l.forwardRef)(({story:e,bridgeOptions:t,...r},o)=>{if(!e)return console.error("Please provide a 'story' property to the StoryblokServerComponent"),null;if(globalThis.storyCache.has(e.uuid)&&(e=globalThis.storyCache.get(e.uuid),globalThis.storyCache.delete(e.uuid)),"string"==typeof e.content)try{e.content=JSON.parse(e.content)}catch(t){console.error("An error occurred while trying to parse the story content",t),e.content={}}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u,{ref:o,blok:e.content,...r}),(0,i.jsx)(c,{story:e,bridgeOptions:t})]})});let u=(0,l.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,i.jsx)("div",{children:"Please provide a blok property to the StoryblokServerComponent"});let o=m(e.component);if(o)return(0,i.jsx)(o,{ref:r,blok:e,...t});if(h()){let r=g();return r?(0,i.jsx)(r,{blok:e,...t}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("p",{children:["Component could not be found for blok"," ",(0,i.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,i.jsx)("div",{})});u.displayName="StoryblokServerComponent";let p=new Map;globalThis.storyCache=globalThis.storyCache?globalThis.storyCache:new Map;let f=e=>(Object.entries(e).forEach(([e,t])=>{p.set(e,t)}),p),m=e=>p.has(e)?p.get(e):(console.error(`Component ${e} doesn't exist.`),!1),h=()=>!1,g=()=>null},82852:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var o=r(85893),i=r(67294),l=r(72843);let s=(0,i.forwardRef)(({blok:e,...t},r)=>{if(!e)return console.error("Please provide a 'blok' property to the StoryblokComponent"),(0,o.jsx)("div",{children:"Please provide a blok property to the StoryblokComponent"});let i=(0,l.Xr)(e.component);if(i)return(0,o.jsx)(i,{ref:r,blok:e,...t});if((0,l.cY)()){let r=(0,l.Y7)();return r?(0,o.jsx)(r,{blok:e,...t}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("p",{children:["Component could not be found for blok"," ",(0,o.jsx)("strong",{children:e.component}),"! Is it configured correctly?"]})})}return(0,o.jsx)("div",{})});s.displayName="StoryblokComponent"},25442:function(e,t,r){"use strict";let o,i,l,s;r.d(t,{LF:function(){return E},M$:function(){return S},MB:function(){return F},P7:function(){return j},eS:function(){return I}});var d=Object.defineProperty,c=(e,t,r)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t,r)=>c(e,"symbol"!=typeof t?t+"":t,r);
136class p extends Error{constructor(e){super(e),this.name="AbortError"}}class f{constructor(){u(this,"isCDNUrl",(e="")=>e.includes("/cdn/")),u(this,"getOptionsPage",(e,t=25,r=1)=>({...e,per_page:t,page:r})),u(this,"delay",e=>new Promise(t=>setTimeout(t,e))),u(this,"arrayFrom",(e=0,t)=>Array.from({length:e},t)),u(this,"range",(e=0,t=e)=>{let r=e<t?1:-1;return this.arrayFrom(Math.abs(t-e)||0,(t,o)=>o*r+e)}),u(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),u(this,"flatMap",(e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[])),u(this,"escapeHTML",function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return e&&o.test(e)?e.replace(r,e=>t[e]):e})}stringify(e,t,r){let o=[];for(let i in e){let l;if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];if(null==s)continue;let d=r?"":encodeURIComponent(i);l="object"==typeof s?this.stringify(s,t?t+encodeURIComponent(`[${d}]`):d,Array.isArray(s)):`${t?t+encodeURIComponent(`[${d}]`):d}=${encodeURIComponent(s)}`,o.push(l)}return o.join("&")}getRegionURL(e){switch(e){case"us":return"api-us.storyblok.com";case"cn":return"app.storyblokchina.cn";case"ap":return"api-ap.storyblok.com";case"ca":return"api-ca.storyblok.com";default:return"api.storyblok.com"}}}let m=function(e,t){let r={};for(let o in e){let i=e[o];t.includes(o)&&null!==i&&(r[o]=i)}return r},h=e=>"email"===e,g={nodes:{horizontal_rule:()=>({singleTag:"hr"}),blockquote:()=>({tag:"blockquote"}),bullet_list:()=>({tag:"ul"}),code_block:e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),hard_break:()=>({singleTag:"br"}),heading:e=>({tag:`h${e.attrs.level}`}),image:e=>({singleTag:[{tag:"img",attrs:m(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"}),emoji:e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"s"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link:e=>{if(!e.attrs)return{tag:""};let t=new f().escapeHTML,r={...e.attrs},{linktype:o="url"}=e.attrs;if(delete r.linktype,r.href&&(r.href=t(e.attrs.href||"")),h(o)&&(r.href=`mailto:${r.href}`),r.anchor&&(r.href=`${r.href}#${r.anchor}`,delete r.anchor),r.custom){for(let e in r.custom)r[e]=r.custom[e];delete r.custom}return{tag:[{tag:"a",attrs:r}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]}),subscript:()=>({tag:"sub"}),superscript:()=>({tag:"sup"}),anchor:e=>({tag:[{tag:"span",attrs:e.attrs}]}),highlight:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},textStyle:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}}}},v=function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=new RegExp(r.source);return e&&o.test(e)?e.replace(r,e=>t[e]):e},y=!1,b=class{constructor(e){u(this,"marks"),u(this,"nodes"),e||(e=g),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1},r=!0){if(!y&&r&&(console.warn("Warning â ï¸: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),y=!0),e&&e.content&&Array.isArray(e.content)){let r="";return e.content.forEach(e=>{r+=this.renderNode(e)}),t.optimizeImages?this.optimizeImages(r,t.optimizeImages):r}return console.warn(`The render method must receive an Object with a "content" field. 137 The "content" field must be an array of nodes as the type ISbRichtext. 138 ISbRichtext: 139 content?: ISbRichtext[] 140 marks?: ISbRichtext[] 141 attrs?: any 142 text?: string 143 type: string 144 145 Example: 146 { 147 content: [ 148 { 149 content: [ 150 { 151 text: 'Hello World', 152 type: 'text' 153 } 154 ], 155 type: 'paragraph' 156 } 157 ], 158 type: 'doc' 159 }`),""}optimizeImages(e,t){let r=0,o=0,i="",l="";"boolean"!=typeof t&&("number"==typeof t.width&&t.width>0&&(i+=`width="${t.width}" `,r=t.width),"number"==typeof t.height&&t.height>0&&(i+=`height="${t.height}" `,o=t.height),("lazy"===t.loading||"eager"===t.loading)&&(i+=`loading="${t.loading}" `),"string"==typeof t.class&&t.class.length>0&&(i+=`class="${t.class}" `),t.filters&&("number"==typeof t.filters.blur&&t.filters.blur>=0&&t.filters.blur<=100&&(l+=`:blur(${t.filters.blur})`),"number"==typeof t.filters.brightness&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(l+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-F]{6}/gi)||"transparent"===t.filters.fill)&&(l+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(l+=`:format(${t.filters.format})`),"boolean"==typeof t.filters.grayscale&&t.filters.grayscale&&(l+=":grayscale()"),"number"==typeof t.filters.quality&&t.filters.quality>=0&&t.filters.quality<=100&&(l+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(l+=`:rotate(${t.filters.rotate})`),l.length>0&&(l=`/filters${l}`))),i.length>0&&(e=e.replace(/<img/g,`<img ${i.trim()}`));let s=r>0||o>0||l.length>0?`${r}x${o}${l}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${s}`),"boolean"!=typeof t&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,e=>{var r,o;let i=e.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|bmp)/g);if(i&&i.length>0){let s={srcset:null==(r=t.srcset)?void 0:r.map(e=>{if("number"==typeof e)return`//${i}/m/${e}x0${l} ${e}w`;if("object"==typeof e&&2===e.length){let t=0,r=0;return"number"==typeof e[0]&&(t=e[0]),"number"==typeof e[1]&&(r=e[1]),`//${i}/m/${t}x${r}${l} ${t}w`}return""}).join(", "),sizes:null==(o=t.sizes)?void 0:o.map(e=>e).join(", ")},d="";return s.srcset&&(d+=`srcset="${s.srcset}" `),s.sizes&&(d+=`sizes="${s.sizes}" `),e.replace(/<img/g,`<img ${d.trim()}`)}return e})),e}renderNode(e){let t=[];
159e.marks&&e.marks.forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderOpeningTag(r.tag))});let r=this.getMatchingNode(e);return r&&r.tag&&t.push(this.renderOpeningTag(r.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(v(e.text)):r&&r.singleTag?t.push(this.renderTag(r.singleTag," /")):r&&r.html?t.push(r.html):"emoji"===e.type&&t.push(this.renderEmoji(e)),r&&r.tag&&t.push(this.renderClosingTag(r.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderClosingTag(r.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let r=`<${e.tag}`;if(e.attrs){for(let t in e.attrs)if(Object.prototype.hasOwnProperty.call(e.attrs,t)){let o=e.attrs[t];null!==o&&(r+=` ${t}="${o}"`)}}return`${r}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(e=>e.constructor===String?`</${e}>`:`</${e.tag}>`).join("")}getMatchingNode(e){let t=this.nodes[e.type];if("function"==typeof t)return t(e)}getMatchingMark(e){let t=this.marks[e.type];if("function"==typeof t)return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;let t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}};class x{constructor(e){u(this,"baseURL"),u(this,"timeout"),u(this,"headers"),u(this,"responseInterceptor"),u(this,"fetch"),u(this,"ejectInterceptor"),u(this,"url"),u(this,"parameters"),u(this,"fetchOptions"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=null!=e&&e.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t??{},this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let o of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[o[0]]=o[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t,r=`${this.baseURL}${this.url}`,o=null;if("get"===e){let e=new f;r=`${this.baseURL}${this.url}?${e.stringify(this.parameters)}`}else o=JSON.stringify(this.parameters);let i=new URL(r),l=new AbortController,{signal:s}=l;this.timeout&&(t=setTimeout(()=>l.abort(),this.timeout));try{let r=await this.fetch(`${i}`,{method:e,headers:this.headers,body:o,signal:s,...this.fetchOptions});this.timeout&&clearTimeout(t);let l=await this._responseHandler(r);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(l)):this._statusHandler(l)}catch(e){return{message:e}}}setFetchOptions(e={}){Object.keys(e).length>0&&"method"in e&&delete e.method,this.fetchOptions={...e}}eject(){this.ejectInterceptor=!0}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,o)=>{if(t.test(`${e.status}`))return r(e);o({message:e.statusText,status:e.status,response:Array.isArray(e.data)?e.data[0]:e.data.error||e.data.slug})})}}let w="SB-Agent",k={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"},_={},C={};class ${constructor(e,t){u(this,"client"),u(this,"maxRetries"),u(this,"retriesDelay"),u(this,"throttle"),u(this,"accessToken"),u(this,"cache"),u(this,"helpers"),u(this,"resolveCounter"),u(this,"relations"),u(this,"links"),u(this,"richTextResolver"),u(this,"resolveNestedRelations"),u(this,"stringifiedStoriesCache");let r=e.endpoint||t;if(!r){let t=new f().getRegionURL,o=!1===e.https?"http":"https";r=e.oauthToken?`${o}://${t(e.region)}/v1`:`${o}://${t(e.region)}/v2`}let o=new Headers;o.set("Content-Type","application/json"),o.set("Accept","application/json"),e.headers&&("Headers"===e.headers.constructor.name?e.headers.entries().toArray():Object.entries(e.headers)).forEac
159h(([e,t])=>{o.set(e,t)}),o.has(w)||(o.set(w,k.defaultAgentName),o.set(k.defaultAgentVersion,k.packageVersion));let i=5;e.oauthToken&&(o.set("Authorization",e.oauthToken),i=3),e.rateLimit&&(i=e.rateLimit),e.richTextSchema?this.richTextResolver=new b(e.richTextSchema):this.richTextResolver=new b,e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||10,this.retriesDelay=300,this.throttle=function(e,t,r){if(!Number.isFinite(t))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(1e3))throw TypeError("Expected `interval` to be a finite number");let o=[],i=[],l=0,s=!1,d=async()=>{l++;let t=o.shift();if(t)try{let r=await e(...t.args);t.resolve(r)}catch(e){t.reject(e)}let r=setTimeout(()=>{l--,o.length>0&&d(),i=i.filter(e=>e!==r)},1e3);i.includes(r)||i.push(r)},c=(...e)=>s?Promise.reject(Error("Throttled function is already aborted and not accepting new promises")):new Promise((r,i)=>{o.push({resolve:r,reject:i,args:e}),l<t&&d()});return c.abort=()=>{s=!0,i.forEach(clearTimeout),i=[],o.forEach(e=>e.reject(()=>new p("Throttle function aborted"))),o.length=0},c}(this.throttledRequest.bind(this),i,0),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.helpers=new f,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new x({baseURL:r,timeout:e.timeout||0,headers:o,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let r="";return t.attrs.body&&t.attrs.body.forEach(t=>{r+=e(t.component,t)}),{html:r}}
159)}parseParams(e){return e.token||(e.token=this.getToken()),e.cv||(e.cv=C[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),"u">typeof e.resolve_relations&&(e.resolve_level=2),e}factoryParamOptions(e,t){return this.helpers.isCDNUrl(e)?this.parseParams(t):t}makeRequest(e,t,r,o,i){let l=this.factoryParamOptions(e,this.helpers.getOptionsPage(t,r,o));return this.cacheResponse(e,l,void 0,i)}get(e,t,r){t||(t={});let o=`/${e}`,i=this.factoryParamOptions(o,t);return this.cacheResponse(o,i,void 0,r)}async getAll(e,t,r,o){let i=(null==t?void 0:t.per_page)||25,l=`/${e}`.replace(/\/$/,""),s=r??l.substring(l.lastIndexOf("/")+1),d=await this.makeRequest(l,t,i,1,o),c=d.total?Math.ceil(d.total/i):1,u=await this.helpers.asyncMap(this.helpers.range(1,c),e=>this.makeRequest(l,t,i,e+1,o));return this.helpers.flatMap([d,...u],e=>Object.values(e.data[s]))}post(e,t,r){let o=`/${e}`;return Promise.resolve(this.throttle("post",o,t,r))}put(e,t,r){let o=`/${e}`;return Promise.resolve(this.throttle("put",o,t,r))}delete(e,t,r){t||(t={});let o=`/${e}`;return Promise.resolve(this.throttle("delete",o,t,r))}getStories(e,t){return this._addResolveLevel(e),this.get("cdn/stories",e,t)}getStory(e,t,r){return this._addResolveLevel(t),this.get(`cdn/stories/${e}`,t,r)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(e){"u">typeof e.resolve_relations&&(e.resolve_level=2)}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let o=e[t];o&&"multilink"===o.fieldtype&&"story"===o.linktype&&"string"==typeof o.id&&this.links[r][o.id]?o.story=this._cleanCopy(this.links[r][o.id]):o&&"story"===o.linktype&&"string"==typeof o.uuid&&this.links[r][o.uuid]&&(o.story=this._cleanCopy(this.links[r][o.uuid]))}getStoryReference(e,t){return this.relations[e][t]?JSON.parse(this.stringifiedStoriesCache[t]||JSON.stringify(this.relations[e][t])):t}_resolveField(e,t,r){let o=e[t];"string"==typeof o?e[t]=this.getStoryReference(r,o):Array.isArray(o)&&(e[t]=o.map(e=>this.getStoryReference(r,e)).filter(Boolean))}_insertRelations(e,t,r,o){if(Array.isArray(r)?r.find(e=>e.endsWith(`.${t}`)):r.endsWith(`.${t}`)){this._resolveField(e,t,o);return}let i=e.component?`${e.component}.${t}`:t;(Array.isArray(r)?r.includes(i):r===i)&&this._resolveField(e,t,o)}iterateTree(e,t,r){let o=(e,i="")=>{if(!(!e||e._stopResolving)){if(Array.isArray(e))e.forEach((e,t)=>o(e,`${i}[${t}]`));else if("object"==typeof e)for(let l in e){let s=i?`${i}.${l}`:l;(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,l,t,r),this._insertLinks(e,l,r)),o(e[l],s)}}};o(e.content)}async resolveLinks(e,t,r){let o=[];if(e.link_uuids){let r=e.link_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.link_uuids.slice(t,o))}for(let e=0;e<i.length;
159e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(",")})).data.stories.forEach(e=>{o.push(e)})}else o=e.links;o.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let o=[];if(e.rel_uuids){let r=e.rel_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.rel_uuids.slice(t,o))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,starts_with:t.starts_with,by_uuids:i[e].join(","),excluding_fields:t.excluding_fields})).data.stories.forEach(e=>{o.push(e)})}else o=e.rels;o&&o.length>0&&o.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){var o,i;let l=[];if(this.links[r]={},this.relations[r]={},"u">typeof t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(l=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url","link"].includes(t.resolve_links)&&(null!=(o=e.links)&&o.length||null!=(i=e.link_uuids)&&i.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],l,r);e.story?this.iterateTree(e.story,l,r):e.stories.forEach(e=>{this.iterateTree(e,l,r)}),this.stringifiedStoriesCache={},delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r,o){let i=this.helpers.stringify({url:e,params:t}),l=this.cacheProvider();if("published"===t.version&&"/cdn/spaces/me"!==e){let e=await l.get(i);if(e)return Promise.resolve(e)}return new Promise(async(s,d)=>{var c;try{let r=await this.throttle("get",e,t,o);if(200!==r.status)return d(r);let u={data:r.data,headers:r.headers};if(null!=(c=r.headers)&&c["per-page"]&&(u=Object.assign({},u,{perPage:r.headers["per-page"]?Number.parseInt(r.headers["per-page"]):0,total:r.headers["per-page"]?Number.parseInt(r.headers.total):0})),u.data.story||u.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(u.data,t,`${e}`)}"published"===t.version&&"/cdn/spaces/me"!==e&&await l.set(i,u);let p="onpreview"===this.cache.clear&&"draft"===t.version||"auto"===this.cache.clear;return t.token&&u.data.cv&&(p&&C[t.token]&&C[t.token]!==u.data.cv&&await this.flushCache(),C[t.token]=u.data.cv),s(u)}catch(o){if(o.response&&429===o.status&&(r=typeof r>"u"?0:r+1)<this.maxRetries)return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await this.helpers.delay(this.retriesDelay),this.cacheResponse(e,t,r).then(s).catch(d);d(o)}})}throttledRequest(e,t,r,o){return this.client.setFetchOptions(o),this.client[e](t,r)}cacheVersions(){return C}cacheVersion(){return C[this.accessToken]}setCacheVersion(e){this.accessToken&&(C[this.accessToken]=e)}clearCacheVersion(){this.accessToken&&(C[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(_[e]),getAll:()=>Promise.resolve(_),set:(e,t)=>(_[e]=t,Promise.resolve(void 0)),flush:()=>(_={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}}let S=(e={})=>{let{apiOptions:t}=e;if(!t||!t.accessToken){console.error("You need to provide an access token to interact with Storyblok API. Read https://www.storyblok.com/docs/api/content-delivery#topics/authentication");return}return{storyblokApi:new $(t)}},E=e=>{if("object"!=typeof e||typeof e._editable>"u")return{};try{let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return t?{"data-blok-c":JSON.stringify(t),"data-blok-uid":`${t.id}-${t.uid}`}:{}}catch{return{}}};var j=((o=j||{}).DOCUMENT="doc",o.HEADING="heading",o.PARAGRAPH="paragraph",o.QUOTE="blockquote",o.OL_LIST="ordered_list",o.UL_LIST="bullet_list",o.LIST_ITEM="list_item",o.CODE_BLOCK="code_block",o.HR="horizontal_rule",o.BR="hard_break",o.IMAGE="image",o.EMOJI="emoji",o.COMPONENT="blok",o.TABLE="table",o.TABLE_ROW="tableRow",o.TABLE_CELL="tableCell",o.TABLE_HEADER="tableHeader",o),N=((i=N||{}
159).BOLD="bold",i.STRONG="strong",i.STRIKE="strike",i.UNDERLINE="underline",i.ITALIC="italic",i.CODE="code",i.LINK="link",i.ANCHOR="anchor",i.STYLED="styled",i.SUPERSCRIPT="superscript",i.SUBSCRIPT="subscript",i.TEXT_STYLE="textStyle",i.HIGHLIGHT="highlight",i),T=((l=T||{}).TEXT="text",l),P=((s=P||{}).URL="url",s.STORY="story",s.ASSET="asset",s.EMAIL="email",s);let A=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"],O=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),R=(e={})=>Object.keys(e).map(t=>`${t}: ${e[t]}`).join("; ");function D(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}let M=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t));function L(e,t={},r){let o=O(t),i=o?`${e} ${o}`:e,l=Array.isArray(r)?r.join(""):r||"";return e?A.includes(e)?`<${i}>`:`<${i}>${l}</${e}>`:l}function I(e={}){let t=new Map,{renderFn:r=L,textFn:o=D,resolvers:i={},optimizeImages:l=!1,keyedResolvers:s=!1}=e,d=r!==L,c=()=>({render:(e,o={},i)=>{if(s&&e){let r=t.get(e)||0;t.set(e,r+1),o.key=`${e}-${r}`}return r(e,o,i)}}),u=e=>(t,r)=>{let o=t.attrs||{};return r.render(e,o,t.children||null)},p=(e,t=!1)=>({text:r,attrs:o},i)=>{let{class:l,id:s,...d}=o||{},c=t?{class:l,id:s,style:R(d)||void 0}:o||{};return i.render(e,M(c),r)},f=e=>v(e),m=(e,t)=>{let{linktype:r,href:o,anchor:i,...l}=e.attrs||{},s="";switch(r){case P.ASSET:case P.URL:s=o;break;case P.EMAIL:s=`mailto:${o}`;break;case P.STORY:s=o,i&&(s=`${s}#${i}`);break;default:s=o}let d={...l};return s&&(d.href=s),t.render("a",d,e.text)},h=new Map([[j.DOCUMENT,u("")],[j.HEADING,(e,t)=>{let{level:r,...o}=e.attrs||{};return t.render(`h${r}`,o,e.children)}],[j.PARAGRAPH,u("p")],[j.UL_LIST,u("ul")],[j.OL_LIST,u("ol")],[j.LIST_ITEM,u("li")],[j.IMAGE,(e,t)=>{let{src:r,alt:o,title:i,srcset:s,sizes:d}=e.attrs||{},c=r,u={};if(l){let{src:e,attrs:t}=function(e,t){if(!t)return{src:e,attrs:{}};let r=0,o=0,i={},l=[];function s(e,t,r,o,i){"number"!=typeof e||e<=t||e>=r?console.warn(`[StoryblokRichText] - ${o.charAt(0).toUpperCase()+o.slice(1)} value must be a number between ${t} and ${r} (inclusive)`):i.push(`${o}(${e})`)}if("object"==typeof t){if("number"==typeof t.width&&t.width>0?(i.width=t.width,r=t.width):console.warn("[StoryblokRichText] - Width value must be a number greater than 0"),t.height&&"number"==typeof t.height&&t.height>0?(i.height=t.height,o=t.height):console.warn("[StoryblokRichText] - Height value must be a number greater than 0"),t.loading&&["lazy","eager"].includes(t.loading)&&(i.loading=t.loading),t.class&&(i.class=t.class),t.filters){let{filters:e}=t||{},{blur:r,brightness:o,fill:i,format:d,grayscale:c,quality:u,rotate:p}=e||{};r&&s(r,0,100,"blur",l),u&&s(u,0,100,"quality",l),o&&s(o,0,100,"brightness",l),i&&l.push(`fill(${i})`),c&&l.push("grayscale()"),p&&[0,90,180,270].includes(t.filters.rotate||0)&&l.push(`rotate(${p})`),d&&["webp","png","jpeg"].includes(d)&&l.push(`format(${d})`)}t.srcset&&(i.srcset=t.srcset.map(t=>{if("number"==typeof t)return`${e}/m/${t}x0/${l.length>0?`filters:${l.join(":")}`:""} ${t}w`;if(Array.isArray(t)&&2===t.length){let[r,o]=t;return`${e}/m/${r}x${o}/${l.length>0?`filters:${l.join(":")}`:""} ${r}w`}console.warn("[StoryblokRichText] - srcset entry must be a number or a tuple of two numbers")}).join(", ")),t.sizes&&(i.sizes=t.sizes.join(", "))}let d=`${e}/m/`;return r>0&&o>0&&(d=`${d}${r}x${o}/`),l.length>0&&(d=`${d}filters:${l.join(":")}`),{src:d,attrs:i}}(r,l);c=e,u=t}let p={src:c,alt:o,title:i,srcset:s,sizes:d,...u};return t.render("img",M(p))}],[j.EMOJI,(e,t)=>{var r,o,i,l;let s=t.render("img",{src:null==(r=e.attrs)?void 0:r.fallbackImage,alt:null==(o=e.attrs)?void 0:o.alt,style:"width: 1.25em; height: 1.25em; vertical-align: text-top",draggable:"false",loading:"lazy"});return t.render("span",{"data-type":"emoji","data-name":null==(i=e.attrs)?void 0:i.name,"data-emoji":null==(l=e.attrs)?void 0:l.emoji},s)}],[j.CODE_BLOCK,(e,t)=>t.render("pre",e.attrs||{},t.render("code",{},e.children||""))],[j.HR,u("hr")],[j.BR,u("br")],[j.QUOTE,u("blockquote")],[j.COMPONENT,(e,t)=>{var r,o;return console.warn("[StoryblokRichtText] - BLOK resolver is not available for vanilla usage"),t.render("span",{blok:null==(r=null==e?void 0:e.attrs)?void 0:r.body[0],id:null==(o=e.attrs)?void 0:o.id,style:"display: none"})}],[T.TEXT,e=>{let{marks:r,...i}=e;if("text"in e){if(r)return r.reduce((e,t)=>
159f({...t,text:e}),f({...i,children:i.children}));let l=e.attrs||{};if(s){let e=t.get("txt")||0;t.set("txt",e+1),l.key=`txt-${e}`}return o(i.text,l)}return""}],[N.LINK,m],[N.ANCHOR,m],[N.STYLED,p("span",!0)],[N.BOLD,p("strong")],[N.TEXT_STYLE,p("span",!0)],[N.ITALIC,p("em")],[N.UNDERLINE,p("u")],[N.STRIKE,p("s")],[N.CODE,p("code")],[N.SUPERSCRIPT,p("sup")],[N.SUBSCRIPT,p("sub")],[N.HIGHLIGHT,p("mark")],[j.TABLE,(e,t)=>{let r=t.render("tbody",{},e.children);return t.render("table",{},r)}],[j.TABLE_ROW,(e,t)=>t.render("tr",{},e.children)],[j.TABLE_CELL,(e,t)=>{let{colspan:r,rowspan:o,colwidth:i,backgroundColor:l,...s}=e.attrs||{},d={...s};r>1&&(d.colspan=r),o>1&&(d.rowspan=o);let c=[];return i&&c.push(`width: ${i}px;`),l&&c.push(`background-color: ${l};`),c.length>0&&(d.style=c.join(" ")),t.render("td",M(d),e.children)}],[j.TABLE_HEADER,(e,t)=>{let{colspan:r,rowspan:o,colwidth:i,backgroundColor:l,...s}=e.attrs||{},d={...s};r>1&&(d.colspan=r),o>1&&(d.rowspan=o);let c=[];return i&&c.push(`width: ${i}px;`),l&&c.push(`background-color: ${l};`),c.length>0&&(d.style=c.join(" ")),t.render("th",M(d),e.children)}],...Object.entries(i).map(([e,t])=>[e,t])]);function g(e){let t=h.get(e.type);if(!t)return console.error("<Storyblok>",`No resolver found for node type ${e.type}`),"";let r=c();if("text"===e.type)return t(e,r);let o=e.content?e.content.map(v):void 0;return t({...e,children:o},r)}function v(e){return"doc"===e.type?d?e.content.map(g):e.content.map(g).join(""):Array.isArray(e)?e.map(g):g(e)}return{render:v}}let F=(e,t,r={})=>{var o;let i=!(typeof window>"u")&&"u">typeof window.storyblokRegisterEvent,l=new URL(null==(o=window.location)?void 0:o.href).searchParams.get("_storyblok");if(!(!i||!(null!==l&&+l===e))){if(!e){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(r).on(["input","published","change"],r=>{var o;r&&("input"===r.action&&(null==(o=r.story)?void 0:o.id)===e?t(r.story):("change"===r.action||"published"===r.action)&&r.storyId===e&&window.location.reload())})})}}},18294:function(e,t,r){"use strict";var o=r(85893),i=r(67294),l=r(2886),s=r(80069);(0,i.forwardRef)(({doc:e,resolvers:t},r)=>{let{render:i}=(0,s.P)({resolvers:t}),d=i(e),c=(0,l.H)(d);return(0,o.jsx)("div",{ref:r,children:c})})},2886:function(e,t,r){"use strict";r.d(t,{H:function(){return function e(t){if(Array.isArray(t))return t.map(t=>e(t));let r={class:"className",for:"htmlFor",targetAttr:"targetattr"},i=Object.keys(t.props).reduce((e,o)=>{let i=t.props[o];return"style"===o&&"string"==typeof i&&(i=i.split(";").reduce((e,t)=>{let[r,o]=t.split(":");return r=null==r?void 0:r.trim(),o=null==o?void 0:o.trim(),r&&o&&(e[r.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=o),e},{})),e[r[o]||o]=i,e},{});i.key=t.key;let l=o.Children.map(t.props.children,t=>"string"==typeof t?t:e(t));return o.createElement(t.type,i,l)}}});var o=r(67294)},90512:function(e,t,r){"use strict";function o(){for(var e,t,r=0,o="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=e(t[r]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}r.d(t,{W:function(){return o}}),t.Z=o},39802:function(){},64470:function(e,t,r){"use strict";r.d(t,{B:function(){return $},D:function(){return j},F:function(){return O},a:function(){return c},b:function(){return u},e:function(){return p},m:function(){return m},n:function(){return h},p:function(){return v},r:function(){return w},u:function(){return k},w:function(){return _},x:function(){return C}});var o=r(73998),i=r(58432),l=r(83235),s={i18nConfig:(0,o.UG)(),languageMap:o.ox,blogComponents:["featured-articles","related-articles","filterable-articles"],rootBlogComponents:["blog-articles-section","category-articles-section","author-articles-section"],categoryComponents:["article-categories"],authorComponents:["article-author"],breadcrumbComponents:["article-breadcrumbs"],articleMetaFields:["list_title","list_description","list_image","list_link_text","list_uid"],articlesPerPage:parseInt("12",10),debug:!1,relationsToResolve:[],basePath:"blog",mode:"dynamic",storyblokApiClient:(()=>{let e=(0,l.bS)();if(!e){let{storyblokApi:t}=(0,i.$d)({accessToken:"ldgUJIIo1mvrJi1StDLosQtt",...(0,o.Zb)().apiOptions,use:[i.M$]});e=t}return e})()},d={...s},c=()=>d,u=e=>{d={...d,...e}},p=()=>{var e;return null!==(e=d.basePath)&&void 0!==e?e:s.basePath},f=()=>{var e;return null!==(e=d.debug)&&void 0!==e?e:s.debug},m=()=>{var e;return null!==(e=d.storyblokApiClient)&&void 0!==e?e:s.storyblokApiClient},h=()=>{var e;return null!==(e=d.customLink)&&void 0!==e?e:s.customLink},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"sb-blog",t=arguments.length>1?arguments[1]:void 0,r=void 0!==t?t:f(),o="[".concat(e.toUpperCase(),"]");return{debug:(e,t)=>{if(r){let r=t||("string"==typeof e?e:""),i="string"==typeof e?void 0:e;void 0!==i?console.debug("".concat(o,":DEBUG ").concat(r),JSON.stringify(i,null,2)):console.debug("".concat(o,":DEBUG ").concat(r))}},info:(e,t)=>{if(r){let r=t||("string"==typeof e?e:""),i="string"==typeof e?void 0:e;void 0!==i?console.log("".concat(o,":INFO ").concat(r),JSON.stringify(i,null,2)):console.log("".concat(o,":INFO ").concat(r))}},warn:(e,t)=>{if(r){let r=t||("string"==typeof e?e:""),i="string"==typeof e?void 0:e;void 0!==i?console.warn("".concat(o,":WARN ").concat(r),JSON.stringify(i,null,2)):console.warn("".concat(o,":WARN ").concat(r))}},error:(e,t)=>
159{let r=t||("string"==typeof e?e:""),i="string"==typeof e?void 0:e;void 0!==i?console.error("".concat(o,":ERROR ").concat(r),JSON.stringify(i,null,2)):console.error("".concat(o,":ERROR ").concat(r))}}}(),v=(e,t)=>{f()&&g.debug({data:t},e)},y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return e?Math.ceil(e.trim().split(/\s+/).filter(e=>e.length>0).length/t):0},b=["video","video-embed","youtube","vimeo","embed","iframe","media","image","gallery","carousel","slider","map","code","code-block"],x=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,r=[];if(!e)return r;let o=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){e.forEach(e=>{e&&"object"==typeof e&&o(e,i)});return}if("object"==typeof e&&null!==e){let l=e.component,s=i||l&&t.includes(l);Object.keys(e).forEach(t=>{let i=e[t];"text"!==t||"string"!=typeof i||s?i&&"object"==typeof i&&o(i,s):r.push(i)})}};return o(e),r},w=(e,t)=>{if(!e)return 0;try{let r=x(e,t).join(" ");return y(r)}catch(e){return v("Error calculating reading time",e),0}},k=async e=>{var t;let r=await fetch(e),o=await r.json();if(!r.ok||(null==o?void 0:o.error))throw Error(null!==(t=null==o?void 0:o.error)&&void 0!==t?t:"Request failed with status ".concat(r.status));return o},_=e=>{let{basePath:t,routeType:r="blog",categorySlug:o,authorSlug:i,page:l,lang:s}=e,d=[];return s&&d.push(s),t&&d.push(t),"category"===r&&o?d.push("category",o):"author"===r&&i&&d.push("author",i),l&&l>1&&d.push(l.toString()),"/".concat(d.join("/"))},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"desc",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[];v("\uD83D\uDD0D getSortByParam:",{sort_by:e,prioritise_featured:t}),t&&(r.push("content.featured:desc:int"),r.push("content.featured:desc:nulls_last")),"asc"===e?(r.push("sort_by_date:asc"),r.push("first_published_at:asc")):(r.push("sort_by_date:desc"),r.push("first_published_at:desc"));let o=r.join(",");return v("\uD83D\uDD0D getSortByParam:",{sort_by:e,prioritise_featured:t,sortParts:r,result:o}),o},$=(e,t)=>{var r,o;let i=(null===(o=c())||void 0===o?void 0:null===(r=o.i18nConfig)||void 0===r?void 0:r.translationStrategy)||"field",l="cdn/stories/",s={...e};return!t||"en"===t||"default"===t||("field"===i?s.language=t:"folder"===i?e.by_slugs||e.by_uuids||(s.starts_with=t):l="cdn/stories/"),s.version=e.version||"published",{path:l,queryParams:s}},S=(e,t)=>{var r,o;let i=c();return(null==i?void 0:null===(r=i.i18nConfig)||void 0===r?void 0:r.translationStrategy)==="folder"&&t&&t!==(null==i?void 0:null===(o=i.languageMap)||void 0===o?void 0:o.defaultLocale)?e.map(e=>"".concat(t,"/*/").concat(e.toLowerCase().replace(/\s+/g,"-"))).join(","):e.map(e=>"*".concat(e.toLowerCase().replace(/\s+/g,"-"))).join(",")},E=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e),j=async(e,t)=>{if(0===e.length)return[];let r=[],o=[];if(e.forEach(e=>{E(e)?r.push(e):o.push(e)}),0===o.length)return v("â
All categories are already UUIDs, skipping API calls"),r;let i=[];o.length>0&&(i=await N(o,t));let l=[...r,...i];return v("\uD83D\uDD0D Category conversion summary:",{inputCategories:e,existingUuids:r.length,namesToConvert:o.length,convertedUuids:i.length,totalUuids:l.length}),l},N=async(e,t)=>{if(0===e.length)return[];let r=c();try{var o;v("\uD83D\uDD0D Batch searching for category names:",e);let i=[];return i=(null==r?void 0:null===(o=r.i18nConfig)||void 0===o?void 0:o.translationStrategy)==="field"?await T(e,t):await P(e,t),v("\uD83D\uDD0D Category name conversion summary:",{requested:e,foundUuids:null==i?void 0:i.length,totalRequested:e.length}),null!=i?i:[]}catch(e){return console.error("Error converting category names to UUIDs:",e),[]}},T=async(e,t)=>{var r;let o=c().storyblokApiClient,i="category_name";t&&"default"!==t&&(i="category_name__i18n__".concat(t));let{path:l,queryParams:s}=$({page:1,per_page:1,filter_query:{[i]:{in:e.join(",")}}},t);v("\uD83D\uDD0D Field-level count query params:",{countParams:s,countPath:l});let d=(null===(r=await (null==o?void 0:o.get(l,s)))||void 0===r?void 0:r.total)||0;if(v("\uD83D\uDD0D Field-level categories total: ".concat(d)),0===d)return[];let u=Math.ceil(d/25);v("\uD83D\uDD0D Fetching ".concat(u," pages of field-level categories (").concat(25," per page)"));let p=Array.from({length:u},(r,l)=>{let{path:s,queryParams:d}=$({page:l+1,per_page:25,filter_query:{[i]:{in:e.join(",")}}},t);return null==o?void 0:o.get(s,d)}),f=await Promise.allSettled(p),m=[],h=0,g=0;return f.forEach((e,t)=>{if("fulfilled"===e.status){var r;let o=null===(r=e.value)||void 0===r?void 0:r.data.stories.map(e=>e.uuid);v("â
Field-level page ".concat(t+1,": ").concat(o.length," categories")),m.push(...o),h++}else console.error("â Field-level page ".concat(t+1," failed:"),e.reason),g++}),g>0&&console.warn("â ï¸ Field-level: ".concat(g," pages failed to fetch, ").concat(h," succeeded")),v("\uD83D\uDD0D Successfully fetched ".concat(m.length," field-level category UUIDs")),m},P=async(e,t)=>{try{var r;let o=c().storyblokApiClient,i={by_slugs:S(e,t),content_type:"category",page:1,per_page:1};v("\uD83D\uDD0D Folder-level count query params:",i);let{path:l,queryParams:s}=$(i,t),d=(null===(r=await (null==o?void 0:o.get(l,s)))||void 0===r?void 0:r.total)||0;if(v("\uD83D\uDD0D Folder-level categories total: ".concat(d)),0===d)return[];let u=Math.ceil(d/50);v("\uD83D\uDD0D Fetching ".concat(u," pages of folder-level categories (").concat(50," per page)"));let p=Array.from({length:u},(r,i)=>{let l={by_slugs:S(e,t),content_type:"category",page:i+1,per_page:50},{path:s,queryParams:d}=$(l,t);return null==o?void 0:o.get(s,d)}),f=await Promise.allSettled(p),m=[],h=0,g=0;return f.forEach((e,t)=>{if("fulfilled"===e.status){var r;let o=null===(r=e.value)||void 0===r?void 0:r.data.stories.map(e=>(v("â
Found category: ".concat(e.name," (").concat(e.uuid,")")),e.uuid));v("â
Folder-level page ".concat(t+1,": ").concat(o.length," categories")),m.push(...o),h++}else console.error("â Folder-level page ".concat(t+1," failed:"),e.reason),g++}),g>0&&console.warn("â ï¸ Folder-level: ".concat(g," pages failed to fetch, ").concat(h," succeeded")),v("\uD83D\uDD0D Successfully fetched ".concat(m.length," folder-level category UUIDs")),m}catch(r){return console.error("Error converting category names to UUIDs:",r),await A(e,t)}},A=async(e,t)=>{if(0===e.length)return[];try{let r=c().storyblokApiClient;v("\uD83D\uDD04 Using fallback method for category conversion");let o=e.map(async e=>{var o,i;let{path:l,queryParams:s}=$({content_type:"category",filter_query:{name:{like:"*".concat(e,"*")}},per_page:25},t);return(null===(i=await (null==r?void 0:r.get(l,s)))||void 0===i?void 0:null===(o=i.data.stories.find(t=>{var r;return(null===(r=t.name)||void 0===r?void 0:r.toLowerCase())===e.toLowerCase()}))||void 0===o?void 0:o.uuid)||null}),i=(await Promise.all(o)).filter(e=>null!==e);return v("\uD83D\uDD04 Fallback conversion completed:",{requested:e.length,found:i.length}),i}catch(e){return console.error("Error in fallback category conversion:",e),[]}},O=async(e,t)=>{if(0===e.length)return[];try{var r;let o=c().storyblokApiClient,i={by_uuids:e.join(",")},{path:l,queryParams:s}=$(i,t),d=l.endsWith("/")?l:"".concat(l,"/");return null===(r=await (null==o?void 0:o.get(d,s)))||void 0===r?void 0:r.data.stories.map(e=>({name:e.name||"",uuid:e.uuid||"",slug:e.slug||""}))}catch(e){return console.error("Error fetching category details by UUIDs:",e),[]}}},84477:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});let o="hf"},9358:function(e,t,r){"use strict";r.d(t,{Q:function(){return d}});let o={defaultLocale:"default",locales:{default:{label:"English",domain:"www.culturalcare.world"},"fr-fr":{label:"French (France)",domain:"www.culturalcare.fr"},"fr-ch":{label:"French (Switzerland)",fallback_lang:"fr_fr",domain:"www.culturalcare.ch/fr"},"pt-pt":{label:"Portuguese (Portugal)",fallback_lang:"pt_br",domain:"www.culturalcare.pt"},"pt-br":{label:"Portuguese (Brazil)",domain:"www.culturalcare.com.br"},"de-de":{label:"German (Germany)",domain:"www.culturalcare.de"},"de-at":{label:"German (Austria)",fallback_lang:"de_de",domain:"www.culturalcare.at"},"de-ch":{label:"German (Switzerland)",fallback_lang:"de_de",domain:"www.culturalcare.ch",locales:["fr"]}
159,"es-es":{label:"Spanish (Spain)",domain:"www.culturalcare.es"},"es-ar":{label:"Spanish (Argentina)",fallback_lang:"es_es",domain:"www.culturalcare.com.ar"},"es-co":{label:"Spanish (Colombia)",fallback_lang:"es_es",domain:"www.culturalcare.com.co"},"es-mx":{label:"Spanish (Mexico)",fallback_lang:"es_es",domain:"www.culturalcare.com.mx"},"es-cl":{label:"Spanish (Chile)",fallback_lang:"es_es",domain:"www.culturalcare.cl"},"es-ec":{label:"Spanish (Ecuador)",fallback_lang:"es_es",domain:"www.culturalcare.ec"},"es-pe":{label:"Spanish (Peru)",fallback_lang:"es_es",domain:"www.culturalcare.pe"},"es-pa":{label:"Spanish (Panama)",fallback_lang:"es_es",domain:"www.culturalcare.com.pa"},"cs-cz":{label:"Czech (Czech Republic)",domain:"www.culturalcare.cz"},"hu-hu":{label:"Hungarian (Hungary)",domain:"www.culturalcare.hu"},"it-it":{label:"Italian (Italy)",domain:"www.culturalcare.it"},"nl-nl":{label:"Dutch (Netherlands)",domain:"www.culturalcare.nl"},"pl-pl":{label:"Polish (Poland)",domain:"www.culturalcare.pl"},"sv-se":{label:"Swedish (Sweden)",domain:"www.culturalcare.se"},"en-za":{label:"English (South Africa)",domain:"www.culturalcare.co.za"},"en-fi":{label:"English (Finland)",domain:"www.culturalcare.fi"},"en-dk":{label:"English (Denmark)",domain:"www.culturalcare.dk"},"en-no":{label:"English (Norway)",domain:"www.culturalcare.no"},"en-th":{label:"English (Thailand)",domain:"www.culturalcare.co.th"},"th-th":{label:"Thai (Thailand)"},"en-ie":{label:"English (Ireland)",fallback_lang:"default",domain:"www.culturalcare.ie"},"en-gb":{label:"English (United Kingdom)",domain:"www.culturalcare.co.uk"}}},i={defaultLocale:"default",locales:{default:{label:"English",domain:"www.culturalcare.com"}}};var l=r(84477),s=r(83454);let d=(()=>{var e,t;let r=null!==(e=s.env.VERCEL_ENV)&&void 0!==e?e:"production",d="ap"===l.L?o:i;if("production"===r)return d;for(let e in d.locales){let r=d.locales[e];r.domain&&(r.domain=null===(t=r.domain)||void 0===t?void 0:t.replace("www","storyblok-preview"))}return d})()},60315:function(e,t,r){"use strict";r.d(t,{ZP:function(){return w}});var o=r(83454),i=Object.defineProperty,l=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,s=(e,t,r)=>(l(e,"symbol"!=typeof t?t+"":t,r),r);function d(e){return!(e!=e||e===1/0||e===-1/0)}let c=function(e,t){let r={};for(let o in e){let i=e[o];t.indexOf(o)>-1&&null!==i&&(r[o]=i)}return r},u=e=>"email"===e,p={nodes:{horizontal_rule:()=>({singleTag:"hr"}),blockquote:()=>({tag:"blockquote"}),bullet_list:()=>({tag:"ul"}),code_block:e=>({tag:["pre",{tag:"code",attrs:e.attrs}]}),hard_break:()=>({singleTag:"br"}),heading:e=>({tag:`h${e.attrs.level}`}),image:e=>({singleTag:[{tag:"img",attrs:c(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"}),emoji:e=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":e.attrs.name,emoji:e.attrs.emoji}}]})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"strike"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link:e=>{let t={...e.attrs},{linktype:r="url"}=e.attrs;if(u(r)&&(t.href=`mailto:${t.href}`),t.anchor&&(t.href=`${t.href}#${t.anchor}`,delete t.anchor),t.custom){for(let e in t.custom)t[e]=t.custom[e];delete t.custom}return{tag:[{tag:"a",attrs:t}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]}),subscript:()=>({tag:"sub"}),superscript:()=>({tag:"sup"}),anchor:e=>({tag:[{tag:"span",attrs:e.attrs}]}),highlight:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`background-color:${e.attrs.color};`}}]}:{tag:""}},textStyle:e=>{var t;return null!=(t=e.attrs)&&t.color?{tag:[{tag:"span",attrs:{style:`color:${e.attrs.color}`}}]}:{tag:""}}}},f=function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"},r=/[&<>"']/g,o=RegExp(r.source);return e&&o.test(e)?e.replace(r,e=>t[e]):e};class m{constructor(e){s(this,"marks"),s(this,"nodes"),e||(e=p),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e,t={optimizeImages:!1}){if(e&&e.content&&Array.isArray(e.content)){let r="";
159return e.content.forEach(e=>{r+=this.renderNode(e)}),t.optimizeImages?this.optimizeImages(r,t.optimizeImages):r}return console.warn(`The render method must receive an Object with a "content" field. 160 The "content" field must be an array of nodes as the type ISbRichtext. 161 ISbRichtext: 162 content?: ISbRichtext[] 163 marks?: ISbRichtext[] 164 attrs?: any 165 text?: string 166 type: string 167 168 Example: 169 { 170 content: [ 171 { 172 content: [ 173 { 174 text: 'Hello World', 175 type: 'text' 176 } 177 ], 178 type: 'paragraph' 179 } 180 ], 181 type: 'doc' 182 }`),""}optimizeImages(e,t){let r=0,o=0,i="",l="";"boolean"!=typeof t&&("number"==typeof t.width&&t.width>0&&(i+=`width="${t.width}" `,r=t.width),"number"==typeof t.height&&t.height>0&&(i+=`height="${t.height}" `,o=t.height),("lazy"===t.loading||"eager"===t.loading)&&(i+=`loading="${t.loading}" `),"string"==typeof t.class&&t.class.length>0&&(i+=`class="${t.class}" `),t.filters&&("number"==typeof t.filters.blur&&t.filters.blur>=0&&t.filters.blur<=100&&(l+=`:blur(${t.filters.blur})`),"number"==typeof t.filters.brightness&&t.filters.brightness>=-100&&t.filters.brightness<=100&&(l+=`:brightness(${t.filters.brightness})`),t.filters.fill&&(t.filters.fill.match(/[0-9A-Fa-f]{6}/g)||"transparent"===t.filters.fill)&&(l+=`:fill(${t.filters.fill})`),t.filters.format&&["webp","png","jpeg"].includes(t.filters.format)&&(l+=`:format(${t.filters.format})`),"boolean"==typeof t.filters.grayscale&&t.filters.grayscale&&(l+=":grayscale()"),"number"==typeof t.filters.quality&&t.filters.quality>=0&&t.filters.quality<=100&&(l+=`:quality(${t.filters.quality})`),t.filters.rotate&&[90,180,270].includes(t.filters.rotate)&&(l+=`:rotate(${t.filters.rotate})`),l.length>0&&(l="/filters"+l))),i.length>0&&(e=e.replace(/<img/g,`<img ${i.trim()}`));let s=r>0||o>0||l.length>0?`${r}x${o}${l}`:"";return e=e.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${s}`),"boolean"!=typeof t&&(t.sizes||t.srcset)&&(e=e.replace(/<img.*?src=["|'](.*?)["|']/g,e=>{var r,o;let i=e.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g);if(i&&i.length>0){let s={srcset:null==(r=t.srcset)?void 0:r.map(e=>{if("number"==typeof e)return`//${i}/m/${e}x0${l} ${e}w`;if("object"==typeof e&&2===e.length){let t=0,r=0;return"number"==typeof e[0]&&(t=e[0]),"number"==typeof e[1]&&(r=e[1]),`//${i}/m/${t}x${r}${l} ${t}w`}}).join(", "),sizes:null==(o=t.sizes)?void 0:o.map(e=>e).join(", ")},d="";return s.srcset&&(d+=`srcset="${s.srcset}" `),s.sizes&&(d+=`sizes="${s.sizes}" `),e.replace(/<img/g,`<img ${d.trim()}`)}return e})),e}renderNode(e){let t=[];e.marks&&e.marks.forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderOpeningTag(r.tag))});let r=this.getMatchingNode(e);return r&&r.tag&&t.push(this.renderOpeningTag(r.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(f(e.text)):r&&r.singleTag?t.push(this.renderTag(r.singleTag," /")):r&&r.html?t.push(r.html):"emoji"===e.type&&t.push(this.renderEmoji(e)),r&&r.tag&&t.push(this.renderClosingTag(r.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let r=this.getMatchingMark(e);r&&""!==r.tag&&t.push(this.renderClosingTag(r.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let r=`<${e.tag}`;if(e.attrs)for(let t in e.attrs){let o=e.attrs[t];null!==o&&(r+=` ${t}="${o}"`)}return`${r}${t}>`}}).join("")}renderOpeningTag(e){return this.renderTag(e,"")}renderClosingTag(e){return e.constructor===String?`</${e}>`:e.slice(0).reverse().map(e=>e.constructor===String?`</${e}>`:`</${e.tag}>`).join("")}getMatchingNode(e){let t=this.nodes[e.type];if("function"==typeof t)return t(e)}getMatchingMark(e){let t=this.marks[e.type];if("function"==typeof t)return t(e)}renderEmoji(e){if(e.attrs.emoji)return e.attrs.emoji;let t=[{tag:"img",attrs:{src:e.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(t," /")}}class h{constructor(){s(this,"isCDNUrl",(e="")=>e.indexOf("/cdn/")>-1),s(this,"getOptionsPage",(e,t=25,r=1)=>({...e,per_page:t,page:r})),s(this,"delay",e=>new Promise(t=>setTimeout(t,e))),s(this,"arrayFrom",(e=0,t)=>[...Array(e)].map(t)),s(this,"range",(e=0,t=e)=>{let r=e<t?1:-1;return this.arrayFrom(Math.abs(t-e)||0,(t,o)=>o*r+e)}),s(this,"asyncMap",async(e,t)=>Promise.all(e.map(t))),s(this,"flatMap",(e=[],t)=>e.map(t).reduce((e,t)=>
182[...e,...t],[]))}stringify(e,t,r){let o=[];for(let i in e){let l;if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i],d=r?"":encodeURIComponent(i);l="object"==typeof s?this.stringify(s,t?t+encodeURIComponent("["+d+"]"):d,Array.isArray(s)):(t?t+encodeURIComponent("["+d+"]"):d)+"="+encodeURIComponent(s),o.push(l)}return o.join("&")}getRegionURL(e){switch(e){case"us":return"api-us.storyblok.com";case"cn":return"app.storyblokchina.cn";default:return"api.storyblok.com"}}}class g{constructor(e){s(this,"baseURL"),s(this,"timeout"),s(this,"headers"),s(this,"responseInterceptor"),s(this,"fetch"),s(this,"ejectInterceptor"),s(this,"url"),s(this,"parameters"),this.baseURL=e.baseURL,this.headers=e.headers||new Headers,this.timeout=null!=e&&e.timeout?1e3*e.timeout:0,this.responseInterceptor=e.responseInterceptor,this.fetch=(...t)=>e.fetch?e.fetch(...t):fetch(...t),this.ejectInterceptor=!1,this.url="",this.parameters={}}get(e,t){return this.url=e,this.parameters=t,this._methodHandler("get")}post(e,t){return this.url=e,this.parameters=t,this._methodHandler("post")}put(e,t){return this.url=e,this.parameters=t,this._methodHandler("put")}delete(e,t){return this.url=e,this.parameters=t,this._methodHandler("delete")}async _responseHandler(e){let t=[],r={data:{},headers:{},status:0,statusText:""};for(let o of(204!==e.status&&await e.json().then(e=>{r.data=e}),e.headers.entries()))t[o[0]]=o[1];return r.headers={...t},r.status=e.status,r.statusText=e.statusText,r}async _methodHandler(e){let t,r=`${this.baseURL}${this.url}`,o=null;if("get"===e){let e=new h;r=`${this.baseURL}${this.url}?${e.stringify(this.parameters)}`}else o=JSON.stringify(this.parameters);let i=new URL(r),l=new AbortController,{signal:s}=l;this.timeout&&(t=setTimeout(()=>l.abort(),this.timeout));try{let r=await this.fetch(`${i}`,{method:e,headers:this.headers,body:o,signal:s});this.timeout&&clearTimeout(t);let l=await this._responseHandler(r);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(l)):this._statusHandler(l)}catch(e){return{message:e}}}eject(){this.ejectInterceptor=!0}_statusHandler(e){let t=/20[0-6]/g;return new Promise((r,o)=>{if(t.test(`${e.status}`))return r(e);o({message:Error(e.statusText),status:e.status,response:Array.isArray(e.data)?e.data[0]:e.data.error||e.data.slug})})}}let v="SB-Agent",y={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:o.env.npm_package_version||"5.0.0"},b={},x={};class w{constructor(e,t){s(this,"client"),s(this,"maxRetries"),s(this,"throttle"),s(this,"accessToken"),s(this,"cache"),s(this,"helpers"),s(this,"resolveCounter"),s(this,"relations"),s(this,"links"),s(this,"richTextResolver"),s(this,"resolveNestedRelations");let r=e.endpoint||t;if(!r){let t=new h().getRegionURL,o=!1===e.https?"http":"https";r=e.oauthToken?`${o}://${t(e.region)}/v1`:`${o}://${t(e.region)}/v2`}let o=new Headers;if(o.set("Content-Type","application/json"),o.set("Accept","application/json"),e.headers)for(let t in e.headers)o.set(t,e.headers[t]);o.has(v)||(o.set(v,y.defaultAgentName),o.set(y.defaultAgentVersion,y.packageVersion));let i=5;e.oauthToken&&(o.set("Authorization",e.oauthToken),i=3),e.rateLimit&&(i=e.rateLimit),e.richTextSchema?this.richTextResolver=new m(e.richTextSchema):this.richTextResolver=new m,e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||5,this.throttle=function(e,t,r){if(!d(t))throw TypeError("Expected `limit` to be a finite number");if(!d(1e3))throw TypeError("Expected `interval` to be a finite number");let o=[],i=[],l=0,s=function(){l++;let t=setTimeout(function(){l--,o.length>0&&s(),i=i.filter(function(e){return e!==t})},1e3);0>i.indexOf(t)&&i.push(t);let r=o.shift();r.resolve(e.apply(r.self,r.args))},c=function(...e){let r=this;return new Promise(function(i,d){o.push({resolve:i,reject:d,args:e,self:r}),l<t&&s()})};return c.abort=function(){i.forEach(clearTimeout),i=[],o.forEach(function(e){e.reject(function(){Error.call(this,"Throttled function aborted"),this.name="AbortError"})}),o.length=0},c}(this.throttledRequest,i,0),this.accessToken=e.accessToken||"",this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.helpers=new h,this.resolveCounter=0,this.resolveNestedRelations=e.resolveNestedRelations||!0,this.client=new g({baseURL:r,timeout:e.timeout||0,headers:o,responseInterceptor:e.responseInterceptor,fetch:e.fetch})}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let r="";return t.attrs.body&&t.attrs.body.forEach(t=>{r+=e(t.component,t)}),{html:r}}
182)}parseParams(e){return e.version||(e.version="published"),e.token||(e.token=this.getToken()),e.cv||(e.cv=x[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),e}factoryParamOptions(e,t){return this.helpers.isCDNUrl(e)?this.parseParams(t):t}makeRequest(e,t,r,o){let i=this.factoryParamOptions(e,this.helpers.getOptionsPage(t,r,o));return this.cacheResponse(e,i)}get(e,t){t||(t={});let r=`/${e}`,o=this.factoryParamOptions(r,t);return this.cacheResponse(r,o)}async getAll(e,t,r){let o=(null==t?void 0:t.per_page)||25,i=`/${e}`,l=i.split("/"),s=r||l[l.length-1],d=await this.makeRequest(i,t,o,1),c=d.total?Math.ceil(d.total/o):1,u=await this.helpers.asyncMap(this.helpers.range(1,c),e=>this.makeRequest(i,t,o,e+1));return this.helpers.flatMap([d,...u],e=>Object.values(e.data[s]))}post(e,t){let r=`/${e}`;return Promise.resolve(this.throttle("post",r,t))}put(e,t){let r=`/${e}`;return Promise.resolve(this.throttle("put",r,t))}delete(e,t){let r=`/${e}`;return Promise.resolve(this.throttle("delete",r,t))}getStories(e){return this.get("cdn/stories",e)}getStory(e,t){return this.get(`cdn/stories/${e}`,t)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t,r){let o=e[t];o&&"multilink"==o.fieldtype&&"story"==o.linktype&&"string"==typeof o.id&&this.links[r][o.id]?o.story=this._cleanCopy(this.links[r][o.id]):o&&"story"===o.linktype&&"string"==typeof o.uuid&&this.links[r][o.uuid]&&(o.story=this._cleanCopy(this.links[r][o.uuid]))}_insertRelations(e,t,r,o){if(r.indexOf(`${e.component}.${t}`)>-1){if("string"==typeof e[t])this.relations[o][e[t]]&&(e[t]=this._cleanCopy(this.relations[o][e[t]]));else if(e[t]&&e[t].constructor===Array){let r=[];e[t].forEach(e=>{this.relations[o][e]&&r.push(this._cleanCopy(this.relations[o][e]))}),e[t]=r}}}iterateTree(e,t,r){let o=e=>{if(null!=e){if(e.constructor===Array)for(let t=0;t<e.length;t++)o(e[t]);else if(e.constructor===Object){if(e._stopResolving)return;for(let i in e)(e.component&&e._uid||"link"===e.type)&&(this._insertRelations(e,i,t,r),this._insertLinks(e,i,r)),o(e[i])}}};o(e.content)}async resolveLinks(e,t,r){let o=[];if(e.link_uuids){let r=e.link_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.link_uuids.slice(t,o))}for(let e=0;e<i.length;
182e++)(await this.getStories({per_page:50,language:t.language,version:t.version,by_uuids:i[e].join(",")})).data.stories.forEach(e=>{o.push(e)})}else o=e.links;o.forEach(e=>{this.links[r][e.uuid]={...e,_stopResolving:!0}})}async resolveRelations(e,t,r){let o=[];if(e.rel_uuids){let r=e.rel_uuids.length,i=[];for(let t=0;t<r;t+=50){let o=Math.min(r,t+50);i.push(e.rel_uuids.slice(t,o))}for(let e=0;e<i.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,by_uuids:i[e].join(",")})).data.stories.forEach(e=>{o.push(e)})}else o=e.rels;o&&o.length>0&&o.forEach(e=>{this.relations[r][e.uuid]={...e,_stopResolving:!0}})}async resolveStories(e,t,r){var o,i;let l=[];if(this.links[r]={},this.relations[r]={},"u">typeof t.resolve_relations&&t.resolve_relations.length>0&&("string"==typeof t.resolve_relations&&(l=t.resolve_relations.split(",")),await this.resolveRelations(e,t,r)),t.resolve_links&&["1","story","url"].indexOf(t.resolve_links)>-1&&(null!=(o=e.links)&&o.length||null!=(i=e.link_uuids)&&i.length)&&await this.resolveLinks(e,t,r),this.resolveNestedRelations)for(let e in this.relations[r])this.iterateTree(this.relations[r][e],l,r);e.story?this.iterateTree(e.story,l,r):e.stories.forEach(e=>{this.iterateTree(e,l,r)}),delete this.links[r],delete this.relations[r]}async cacheResponse(e,t,r){let o=this.helpers.stringify({url:e,params:t}),i=this.cacheProvider();if("auto"===this.cache.clear&&"draft"===t.version&&await this.flushCache(),"published"===t.version&&"/cdn/spaces/me"!=e){let e=await i.get(o);if(e)return Promise.resolve(e)}return new Promise((r,l)=>{try{(async()=>{var s;try{let d=await this.throttle("get",e,t),c={data:d.data,headers:d.headers};if(null!=(s=d.headers)&&s["per-page"]&&(c=Object.assign({},c,{perPage:d.headers["per-page"]?parseInt(d.headers["per-page"]):0,total:d.headers["per-page"]?parseInt(d.headers.total):0})),200!=d.status)return l(d);if(c.data.story||c.data.stories){let e=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(c.data,t,`${e}`)}return"published"===t.version&&"/cdn/spaces/me"!=e&&await i.set(o,c),c.data.cv&&t.token&&("draft"==t.version&&x[t.token]!=c.data.cv&&await this.flushCache(),x[t.token]=c.data.cv),r(c)}catch(e){return l(e)}})()}catch{}})}throttledRequest(e,t,r){return this.client[e](t,r)}cacheVersions(){return x}cacheVersion(){return x[this.accessToken]}setCacheVersion(e){this.accessToken&&(x[this.accessToken]=e)}cacheProvider(){switch(this.cache.type){case"memory":return{get:e=>Promise.resolve(b[e]),getAll:()=>Promise.resolve(b),set:(e,t)=>(b[e]=t,Promise.resolve(void 0)),flush:()=>(b={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(void 0),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this}}},4147:function(e){"use strict";e.exports=JSON.parse('{"u2":"ccap-gud5","i8":"2.0.0","HO":{"Z8":"4.8.0"}}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(43079)}),_N_E=e.O()}]);
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.