PageSourceSearch

https://staging-nissan-nismo.vercel.app/_next/static/chunks/pages/_app-58c682e52483a918.js

js staging-nissan-nismo.vercel.app collected 2026-10-03 07:47:48 UTC 624,793 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{2604:function(e){var t;self,t=()=>(()=>{"use strict";var e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.d(t,{default:()=>s});var i=function(e,t){e.forEach(function(e){this[e]=function(){var n,i=t._requestIdCounter++,r=Array.prototype.slice.call(arguments);r.length>0&&"function"==typeof r[r.length-1]&&(n=r.pop()),n&&(t._pendingRequests[i]=n.bind(this)),t._target.postMessage({type:"api.request",instanceId:t.getIdentifier(),requestId:i,member:e,arguments:r},t.getDomain())}},this),this.addEventListener=function(e,n,i){"viewerready"===e&&t.isViewerReady&&n(),t._eventListeners[e]||(t._eventListeners[e]=[]),t._eventListeners[e].push(n),i&&this.setListenerOptions&&(i.name=e,this.setListenerOptions(i))},this.removeEventListener=function(e,n){if(t._eventListeners[e]){var i=t._eventListeners[e].indexOf(n);-1!==i&&t._eventListeners[e].splice(i,1)}}},r=function(e,t,n){this._target=e,this._requestIdCounter=0,this._pendingRequests={},this._eventListeners={},this._ready=!1,this._domain=n,this._instanceId=t,this.listenServer()};r.prototype={getIdentifier:function(){return this._instanceId},getDomain:function(){return this._domain},setIdentifier:function(e){this._instanceId=e},use:function(e,t){this._version=e,this._ready=!0;var n=this._requestIdCounter++;this._pendingRequests[n]=(function(e,n,r){e?t.call(this,e):t.call(this,null,new i(r,this))}).bind(this),this._target.postMessage({type:"api.initialize",requestId:n,name:e,instanceId:this._instanceId},this._domain)},listenServer:function(){if(!this._serverReceiveMessageBinded){var e=["api.initialize.result","api.request.result","api.event"];this._serverReceiveMessageBinded=(function(t){if(t.origin===this._domain&&t.data&&t.data.type&&t.data.instanceId&&t.data.instanceId===this.getIdentifier()){var n=t.data.type;if(-1!==e.indexOf(n)){if("api.event"===n){var i=t.data.results,r=i[0];if(this._eventListeners["*"]||this._eventListeners.all)return void["*","all"].forEach(function(e){var t=this._eventListeners[e];t&&t.forEach(function(e){e.apply(e,i)})},this);var o=i.slice(1),a=this._eventListeners[r];a?a.forEach(function(e){e.apply(e,o)}):"viewerready"===r&&(this.isViewerReady=!0)}
1else{var s=t.data.requestId,l=this._pendingRequests[s];if(!l)return;l.apply(null,t.data.results),this._pendingRequests[s]=void 0}}}}).bind(this),window.addEventListener("message",this._serverReceiveMessageBinded)}}};var o=/[&|;]+/g;window.SketchfabAPIClient=r;var a=function(e,t){var i=e,r=t;"object"===n(e)&&(r=e,i=null),this._version=i,this._target=r,window.sketchfabAPIinstances||(window.sketchfabAPIinstances=[]),window.sketchfabAPIinstances.push(this),this._apiId=window.sketchfabAPIinstances.length.toString(),this._target.id&&(this._apiId+="_"+this._target.id),this._target.allow||(this._target.allow="vr; autoplay; fullscreen"),this._client=void 0,this._options=void 0,this._domain="sketchfab.com",this._domain="same-as-current"===this._domain?window.location.hostname:this._domain,this._urlTemplate="https://YYYY/models/XXXX/embed",this._url=this._urlTemplate.replace("YYYY",this._domain),this._transmitOptions={},this._getURLOptions()};a.prototype={_urlOptionsDict:{skfb_api_version:{default:"1.12.1",type:"string"}},_optionsLoaded:function(e){this._urlOptions=e,this._version=this._getURLOption("skfb_api_version",this._version)},_getURLOption:function(e,t){var n=this._urlOptionsDict[e];if(!n)return t;null==t&&(t=n.default);var i=this._urlOptions[e];return i&&i.length?i[0]:t},_getURLOptions:function(){if(!window||!window.location.search)return this._optionsLoaded({});var e,t,i,r=(e=window.location.search,"object"===n(e)?(i={},Object.keys(t=e).forEach(function(e){i[e]=Array.isArray(t[e])?t[e]:[t[e]]}),i):("?"===e[0]&&(e=e.substr(1)),e.split(o).reduce(function(e,t){if(0===t.length)return e;var n=t.indexOf("=");-1===n&&(n=t.length);var i=decodeURIComponent(t.substr(0,n).replace(/\+/g,"%20")),r=decodeURIComponent(t.substr(n+1).replace(/\+/g,"%20"));return void 0===e[i]&&(e[i]=[]),e[i].push(r),e},{})));for(var a in r)a.startsWith("skfb_")&&(this._transmitOptions[a.substr(5)]=r[a]);return this._optionsLoaded(r)},getEmbedURL:function(e,t){var n=this._url+"?api_version="+this._version+"&api_id="+this._apiId;t&&Object.keys(t).forEach(function(e){null!=t[e]&&"function"!=typeof t[e]&&(n+="&"+e.toString()+"="+t[e].toString())});var i=this._transmitOptions;return Object.keys(this._transmitOptions).forEach(function(e){n+="&"+e.toString()+"="+i[e].toString()}),n.replace("XXXX",e)},init:function(e,t){this._options=t,this._uid=e,this._realInit()},_initializeAPIEmbed:function(e){if(e.data&&e.data.instanceId&&this._apiId===e.data.instanceId&&"api.ready"===e.data.type&&this._target.src){if(void 0!==e.data.error)return this.error(e.data.error),void window.removeEventListener("message",this._initializeAPIEmbedBinded);var t=this._target.src.split("/");t="https://"+t[2],this._client&&(console.log("reusing a Sketchfab instance for multiple client is not supported, please create a new sketchfab instance"),window.removeEventListener("message",this._client._serverReceiveMessageBinded)),this._client=new window.SketchfabAPIClient(this._target.contentWindow,this._apiId,t),this._client.use(this._version,(function(e,t){if(e)throw e;this.success.call(this,t)}).bind(this)),window.removeEventListener("message",this._initializeAPIEmbedBinded)}},_realInit:function(){this._initializeAPIEmbedBinded||(this._initializeAPIEmbedBinded=this._initializeAPIEmbed.bind(this)),window.addEventListener("message",this._initializeAPIEmbedBinded),this._target.src=this.getEmbedURL(this._uid,this._options)},success:function(e){this._options.success&&"function"==typeof this._options.success&&this._options.success(e)},error:function(e){this._options.error&&"function"==typeof this._options.error&&this._options.error(e)},show:function(){var e=this._target.style.top;this._target.style.top="-1000vh",Promise.resolve().then((function(){this._target.style.top=e}).bind(this))}};let s=a;return t.default})(),e.exports=t()},3162:function(e,t,n){var i,r,o;r=[],void 0!==(o="function"==typeof(i=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){s(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function i(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
1t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,n,a){var s=o.URL||o.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?r(l):i(l.href)?t(e,n,a):r(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){r(l)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,o){if(n=n||e.name||"download","string"!=typeof e){var a;navigator.msSaveOrOpenBlob((void 0===(a=o)?a={autoBom:!1}:"object"!=typeof a&&(console.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e),n)}else if(i(e))t(e,n,o);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){r(s)})}}:function(e,n,i,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var s="application/octet-stream"===e.type,l=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var d=new FileReader;d.onloadend=function(){var e=d.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},d.readAsDataURL(e)}else{var u=o.URL||o.webkitURL,h=u.createObjectURL(e);r?r.location=h:location.href=h,r=null,setTimeout(function(){u.revokeObjectURL(h)},4e4)}});o.saveAs=s.saveAs=s,e.exports=s})?i.apply(t,r):i)&&(e.exports=o)},8679:function(e,t,n){"use strict";var i=n(1296),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return i.isMemo(e)?a:s[e.$$typeof]||r}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var c=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(f){var r=p(n);r&&r!==f&&e(t,r,i)}var a=d(n);u&&(a=a.concat(u(n)));for(var s=l(t),g=l(n),m=0;m<a.length;++m){var v=a[m];if(!o[v]&&!(i&&i[v])&&!(g&&g[v])&&!(s&&s[v])){var b=h(n,v);try{c(t,v,b)}catch(e){}}}}return t}},6103:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case u:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case m:case g:case l:return e;default:return t}}case r:return t}}}function k(e){return x(e)===u}t.AsyncMode=d,t.ConcurrentMode=u,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=r,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===r},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},1296:function(e,t,n){"use strict";e.exports=n(6103)},5733:function(e,t,n){var i,r=n(1876).Buffer,o=n(3454);i=function(){return(function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var l=Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){return r(t[a][1][e]||e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o=void 0,a=0;a<i.length;a++)r(i[a]);return r})({1:[function(e,t,n){"use strict";var i=e("./utils"),r=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=";n.encode=function(e){for(var t,n,r,a,s,l,c,d=[],u=0,h=e.length,p=h,f="string"!==i.getTypeOf(e);u<e.length;)p=h-u,r=f?(t=e[u++],n=u<h?e[u++]:0,u<h?e[u++]:0):(t=e.charCodeAt(u++),n=u<h?e.charCodeAt(u++):0,u<h?e.charCodeAt(u++):0),a=t>>2,s=(3&t)<<4|n>>4,l=1<p?(15&n)<<2|r>>6:64,c=2<p?63&r:64,d.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(c));return d.join("")},n.decode=function(e){var t,n,i,a,s,l,c=0,d=0,u="data:";if(e.substr(0,u.length)===u)throw Error("Invalid base64 input, it looks like a data url.");var h,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&p--,e.charAt(e.length-2)===o.charAt(64)&&p--,p%1!=0)throw Error("Invalid base64 input, bad content length.");for(h=r.uint8array?new Uint8Array(0|p):Array(0|p);c<e.length;)t=o.indexOf(e.charAt(c++))<<2|(a=o.indexOf(e.charAt(c++)))>>4,n=(15&a)<<4|(s=o.indexOf(e.charAt(c++)))>>2,i=(3&s)<<6|(l=o.indexOf(e.charAt(c++))),h[d++]=t,64!==s&&(h[d++]=n),64!==l&&(h[d++]=i);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var i=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}s.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var o=0+n;e^=-1;for(var a=0;a<o;a++)e=e>>>8^r[255&(e^t[a])];return -1^e}(0|t,e,e.length,0):function(e,t,n,i){var o=0+n;e^=-1;for(var a=0;a<o;a++)e=e>>>8^r[255&(e^t.charCodeAt(a))];return -1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),a=e("./stream/GenericWorker"),s=i?"uint8array":"array";function l(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function i(e,t){var n,i="";for(n=0;n<t;n++)i+=String.fromCharCode(255&e),e>>>=8;return i}function r(e,t,n,r,a,d){var u,h,p,f,g=e.file,m=e.compression,v=d!==s.utf8encode,b=o.transformTo("string",d(g.name)),y=o.transformTo("string",s.utf8encode(g.name)),w=g.comment,x=o.transformTo("string",d(w)),k=o.transformTo("string",s.utf8encode(w)),_=y.length!==g.name.length,C=k.length!==w.length,Z="",j="",P="",S=g.dir,E=g.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),!v&&(_||C)&&(A|=2048);var I=0,T=0;S&&(I|=16),"UNIX"===a?(T=798,I|=(h=u=g.unixPermissions,u||(h=S?16893:33204),(65535&h)<<16)):(T=20,I|=63&(g.dosPermissions||0)),p=(E.getUTCHours()<<6|E.getUTCMinutes())<<5|E.getUTCSeconds()/2,f=(E.getUTCFullYear()-1980<<4|E.getUTCMonth()+1)<<5|E.getUTCDate(),_&&(j=i(1,1)+i(l(b),4)+y,Z+="up"+i(j.length,2)+j),C&&
vendor: 5,029 bytes, line 1
1(P=i(1,1)+i(l(x),4)+k,Z+="uc"+i(P.length,2)+P);var R="";return R+="\n\0"+i(A,2)+m.magic+i(p,2)+i(f,2)+i(O.crc32,4)+i(O.compressedSize,4)+i(O.uncompressedSize,4)+i(b.length,2)+i(Z.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+b+Z,dirRecord:c.CENTRAL_FILE_HEADER+i(T,2)+R+i(x.length,2)+"\0\0\0\0"+i(I,4)+i(r,4)+b+Z+x}}var o=e("../utils"),a=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),c=e("../signature");function d(e,t,n,i){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(d,a),d.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},d.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=r(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:c.DATA_DESCRIPTOR+i(e.crc32,4)+i(e.compressedSize,4)+i(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var e,t,n,r,a=this.bytesWritten,s=0;s<this.dirRecords.length;s++)this.push({data:this.dirRecords[s],meta:{percent:100}});var l=this.bytesWritten-a,d=(e=this.dirRecords.length,t=this.zipComment,n=this.encodeFileName,r=o.transformTo("string",n(t)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(e,2)+i(e,2)+i(l,4)+i(a,4)+i(r.length,2)+r);this.push({data:d,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},d.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},d.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var i=e("../compressions"),r=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new r(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,n){a++;var r=function(e,t){var n=e||t,r=i[n];if(!r)throw Error(n+" is not a valid compression method !");return r}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(r,s).withStreamInfo("file",{name:e,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)}),o.entriesCount=a}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function i(){if(!(this instanceof i))return new i;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(i.prototype=e("./object")).loadAsync=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.version="3.10.1",i.loadAsync=function(e,t){return(new i).loadAsync(e,t)},i.external=e("./external"),t.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var i=e("./utils"),r=e("./external"),o=e("./utf8"),a=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");t.exports=function(e,t){var n=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?r.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip f
1ile",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new a(t);return n.load(e),n}).then(function(e){var n=[r.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var o=0;o<i.length;o++)n.push(function(e){return new r.Promise(function(t,n){var i=e.decompressed.getContentWorker().pipe(new s);i.on("error",function(e){n(e)}).on("end",function(){i.streamInfo.crc32!==e.decompressed.crc32?n(Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}(i[o]));return r.Promise.all(n)}).then(function(e){for(var r=e.shift(),o=r.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,c=i.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return r.zipComment.length&&(n.comment=r.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../stream/GenericWorker");function o(e,t){r.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}i.inherits(o,r),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var i=e("readable-stream").Readable;function r(e,t,n){i.call(this,t),this._helper=e;var r=this;e.on("data",function(e,t){r.push(e)||r._helper.pause(),n&&n(t)}).on("error",function(e){r.emit("error",e)}).on("end",function(){r.push(null)})}e("../utils").inherits(r,i),r.prototype._read=function(){this._helper.resume()},t.exports=r},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:void 0!==r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function i(e,t,n){var i,r=o.getTypeOf(t),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=g(e)),s.createFolders&&(i=f(e))&&m.call(this,i,!0);var u="string"===r&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!u),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",r="string");var v=null;v=t instanceof c||t instanceof a?t:h.isNode&&h.isStream(t)?new p(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var b=new d(e,v,s);this.files[e]=b}var r=e("./utf8"),o=e("./utils"),a=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),d=e("./zipObject"),u=e("./generate"),h=e("./nodejsUtils"),p=e("./nodejs/NodejsStreamInputAdapter"),f=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},m=function(e,t){return t=void 0!==t?t:l.createFolders,e=g(e),this.files[e]||i.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}t.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 8,654 bytes, line 1
1,forEach:function(e){var t,n,i;for(t in this.files)i=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,i)},filter:function(e){var t=[];return this.forEach(function(n,i){e(n,i)&&t.push(i)}),t},file:function(e,t,n){if(1!=arguments.length)return e=this.root+e,i.call(this,e,t,n),this;if(v(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(v(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=m.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var i=n.comment||this.comment||"";t=u.generateWorker(this,n,i)}catch(e){(t=new a("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data[this.zero+e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===i&&this.data[o+3]===r)return o-this.zero;return -1},r.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2),r=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&i===o[2]&&r===o[3]},r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var i=e("../utils");function r(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){"use strict";var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var i=e("../utils"),r=e("../support"),o=e("./ArrayReader"),a=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new s(e):r.uint8array?new l(i.transformTo("uint8array",e)):new o(i.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../utils");function o(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var i=e("./GenericWorker"),r=e("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}
vendor: 8,278 bytes, line 1
1i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=i},{}],29:[function(e,t,n){"use strict";var i=e("../utils"),o=e("./ConvertWorker"),a=e("./GenericWorker"),s=e("../base64"),l=e("../support"),c=e("../external"),d=null;if(l.nodestream)try{d=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}u.prototype={accumulate:function(e){var t;return t=this,new c.Promise(function(n,o){var a=[],l=t._internalType,c=t._outputType,d=t._mimeType;t.on("data",function(t,n){a.push(t),e&&e(n)}).on("error",function(e){a=[],o(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(c,function(e,t){var n,i=0,o=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(a),n=0;n<t.length;n++)o.set(t[n],i),i+=t[n].length;return o;case"nodebuffer":return r.concat(t);default:throw Error("concat : unsupported type '"+e+"'")}}(l,a),d);n(e)}catch(e){o(e)}a=[]}).resume()})},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){i.delay(t,arguments,n)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),n.blob=0===o.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var i=e("./utils"),r=e("./support"),o=e("./nodejsUtils"),a=e("./stream/GenericWorker"),s=Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function d(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return r.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(l):Array(l),o=a=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,o,a=e.length,l=Array(2*a);for(t=n=0;t<a;)if((r=e[t++])<128)l[n++]=r;else if(4<(o=s[r]))l[n++]=65533,t+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&t<a;)r=r<<6|63&e[t++],o--;1<o?l[n++]=65533:r<65536?l[n++]=r:(r-=65536,l[n++]=55296|r>>10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(c,a),c.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}(t),l=t;a!==t.length&&(r.uint8array?(l=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(l=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,i.inherits(d,a),d.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var i=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),a=e("./external");function s(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(e,t){n.checkSupport("blob");try{return new Blob([e],{type:t})}catch(n){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(e),i.getBlob(t)}catch(e){throw Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var i=[],r=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;r<o;)"array"===t||"nodebuffer"===t?i.push(String.fromCharCode.apply(null,e.slice(r,Math.min(r+n,o)))):i.push(String.fromCharCode.apply(null,e.subarray(r,Math.min(r+n,o)))),r+=n;return i.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function d(e){var t=65536,i=n.getTypeOf(e),r=!0;
vendor: 10,212 bytes, line 1
1if("uint8array"===i?r=c.applyCanBeUsed.uint8array:"nodebuffer"===i&&(r=c.applyCanBeUsed.nodebuffer),r)for(;1<t;)try{return c.stringifyByChunk(e,i,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function u(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=d;var h={};h.string={string:s,array:function(e){return l(e,Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},h.array={string:d,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},h.arraybuffer={string:function(e){return d(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:d,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},h.nodebuffer={string:d,array:function(e){return u(e,Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){return(t=t||"",e)?(n.checkSupport(e),h[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split("/"),n=[],i=0;i<t.length;i++){var r=t[i];"."===r||""===r&&0!==i&&i!==t.length-1||(".."===r?n.pop():n.push(r))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":i.nodebuffer&&o.isBuffer(e)?"nodebuffer":i.uint8array&&e instanceof Uint8Array?"uint8array":i.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!i[e.toLowerCase()])throw Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,i="";for(n=0;n<(e||"").length;n++)i+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return i},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,s,c){return a.Promise.resolve(t).then(function(e){return i.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise(function(t,n){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=function(e){n(e.target.error)},i.readAsArrayBuffer(e)}):e}).then(function(t){var d,u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(c?t=r.decode(t):o&&!0!==s&&(t=l(d=t,i.uint8array?new Uint8Array(d.length):Array(d.length)))),t):a.Promise.reject(Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),o=e("./signature"),a=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+r.pretty(t)+", expected "+r.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var i=this.reader.readString(4)===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=r.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,i=this.zip64EndOfCentralSize-44;0<i;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20+(12+this.zip64EndOfCentralSize));var i=t-n;if(0<i)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var i=e("./reader/readerFor"),r=e("./utils"),o=e("./compressedObject"),a=e("./crc32"),s=e("./utf8"),l=e("./compressions"),c=e("./support");function d(e,t){this.options=e,this.loadOptions=t}d.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=i(this.extraFields[1].value);
vendor: 2,541 bytes, line 1
1this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<r;)t=e.readInt(2),n=e.readInt(2),i=e.readData(n),this.extraFields[t]={id:t,length:n,value:i};e.setIndex(r)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=r.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(null!==i)this.fileCommentStr=i;else{var o=r.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=i(e.value);return 1!==t.readInt(1)?null:a(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=i(e.value);return 1!==t.readInt(1)?null:a(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function i(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var r=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),a=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");i.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw Error("No output type specified.");var i="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&i&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new r(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
vendor: 6,326 bytes, line 1
1,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<c.length;u++)i.prototype[c[u]]=d;t.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,i){(function(e){"use strict";var n,i,r=e.MutationObserver||e.WebKitMutationObserver;if(r){var o=0,a=new r(d),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){d(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(d,0)};else{var l=new e.MessageChannel;l.port1.onmessage=d,n=function(){l.port2.postMessage(0)}}var c=[];function d(){var e,t;i=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}i=!1}t.exports=function(e){1!==c.push(e)||i||n()}}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var i=e("immediate");function r(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==r&&p(this,e)}function d(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function u(e,t,n){i(function(){var i;try{i=t(n)}catch(t){return o.reject(e,t)}i===e?o.reject(e,TypeError("Cannot resolve promise with itself")):o.resolve(e,i)})}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function i(t){n||(n=!0,o.reject(e,t))}function r(t){n||(n=!0,o.resolve(e,t))}var a=f(function(){t(r,i)});"error"===a.status&&i(a.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(r);return this.state!==l?u(n,this.state===s?e:t,this.outcome):this.queue.push(new d(n,e,t)),n},d.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},d.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},d.prototype.callRejected=function(e){o.reject(this.promise,e)},d.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=f(h,t);if("error"===n.status)return o.reject(e,n.value);var i=n.value;if(i)p(e,i);else{e.state=s,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(r),e)},c.reject=function(e){var t=new this(r);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var a=Array(n),s=0,l=-1,c=new this(r);++l<n;)(function(e,r){t.resolve(e).then(function(e){a[r]=e,++s!==n||i||(i=!0,o.resolve(c,a))},function(e){i||(i=!0,o.reject(c,e))})})(e[l],l);return c},c.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(TypeError("must be an array"));var t,n=e.length,i=!1;if(!n)return this.resolve([]);for(var a=-1,s=new this(r);++a<n;)t=e[a],this.resolve(t).then(function(e){i||(i=!0,o.resolve(s,e))},function(e){i||(i=!0,o.reject(s,e))});return s}},{immediate:36}],38:[function(e,t,n){"use strict";var i={};(0,e("./lib/utils/common").assign)(i,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var i=e("./zlib/deflate"),r=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=r.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t,n=this.options;n.raw&&0<n.windowBits?n.windowBits=-n.windowBits:n.gzip&&0<n.windowBits&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var d=i.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(0!==d)throw Error(a[d]);if(n.header&&i.deflateSetHeader(this.strm,n.header),n.dictionary){if(t="string"==typeof n.dictionary?o.string2buf(n.dictionary):"[object ArrayBuffer]"===l.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,0!==(d=i.deflateSetDictionary(this.strm,t)))throw Error(a[d]);this._dict_set=!0}}function d(e,t){var n=new c(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}c.prototype.push=function(e,t){var n,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new 
vendor: 6,523 bytes, line 1
1Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=i.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),s.avail_out=0,!0)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=c,n.deflate=d,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,d(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var i=e("./zlib/inflate"),r=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw Error(s[n]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}u.prototype.push=function(e,t){var n,s,l,c,u,h,p=this.strm,f=this.options.chunkSize,g=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?p.input=o.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new r.Buf8(f),p.next_out=0,p.avail_out=f),(n=i.inflate(p,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&g&&(h="string"==typeof g?o.string2buf(g):"[object ArrayBuffer]"===d.call(g)?new Uint8Array(g):g,n=i.inflateSetDictionary(this.strm,h)),n===a.Z_BUF_ERROR&&!0===m&&(n=a.Z_OK,m=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;p.next_out&&(0!==p.avail_out&&n!==a.Z_STREAM_END&&(0!==p.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(p.output,p.next_out),c=p.next_out-l,u=o.buf2string(p.output,l),p.next_out=c,p.avail_out=f-c,c&&r.arraySet(p.output,p.output,l,c,0),this.onData(u)):this.onData(r.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(m=!0)}while((0<p.avail_in||0===p.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),p.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+i),r);else for(var o=0;o<i;o++)e[r+o]=t[n+o]},flattenChunks:function(e){var t,n,i,r,o,a;for(t=i=0,n=e.length;t<n;t++)i+=e[t].length;for(a=new Uint8Array(i),t=r=0,n=e.length;t<n;t++)o=e[t],a.set(o,r),r+=o.length;return a}},o={arraySet:function(e,t,n,i,r){for(var o=0;o<i;o++)e[r+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,r)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],42:[function(e,t,n){"use strict";var i=e("./common"),r=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new i.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,r,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(l),o=a=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:(n<2048?t[a++]=192|n>>>6:(n<65536?t[a++]=224|n>>>12:(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63),t[a++]=128|n>>>6&63),t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,i,r,o,s=t||e.length,c=Array(2*s);for(n=i=0;n<s;)if((r=e[n++])<128)c[i++]=r;else if(4<(o=a[r]))c[i++]=65533,n+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&n<s;)r=r<<6|63&e[n++],o--;1<o?c[i++]=65533:r<65536?c[i++]=r:(r-=65536,c[i++]=55296|r>>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";
1t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(r=r+t[i++]|0)|0,--a;);r%=65521,o%=65521}return r|o<<16|0}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return -1^e}},{}],46:[function(e,t,n){"use strict";var i,r=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages");function c(e,t){return e.msg=l[t],t}function d(e){return(e<<1)-(4<e?9:0)}function u(e){for(var t=e.length;0<=--t;)e[t]=0}function h(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function p(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,h(e.strm)}function f(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t){var n,i,r=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,c=e.window,d=e.w_mask,u=e.prev,h=e.strstart+258,p=c[o+a-1],f=c[o+a];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(c[(n=t)+a]===f&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do;while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(i=258-(h-o),o=h-258,a<i){if(e.match_start=t,s<=(a=i))break;p=c[o+a-1],f=c[o+a]}}while((t=u[t&d])>l&&0!=--r);return a<=e.lookahead?a:e.lookahead}function v(e){var t,n,i,o,l,c,d,u,h,p,f=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){for(r.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;i=e.head[--t],e.head[t]=f<=i?i-f:0,--n;);for(t=n=f;i=e.prev[--t],e.prev[t]=f<=i?i-f:0,--n;);o+=f}if(0===e.strm.avail_in)break;if(c=e.strm,d=e.window,u=e.strstart+e.lookahead,p=void 0,(h=o)<(p=c.avail_in)&&(p=h),n=0===p?0:(c.avail_in-=p,r.arraySet(d,c.input,c.next_in,p,u),1===c.state.wrap?c.adler=a(c.adler,d,p,u):2===c.state.wrap&&(c.adler=s(c.adler,d,p,u)),c.next_in+=p,c.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+3-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<262&&0!==e.strm.avail_in)}function b(e,t){for(var n,i;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-262&&(e.match_length=m(e,n)),e.match_length>=3){if(i=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}
1else i=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}function y(e,t){for(var n,i,r;;){if(e.lookahead<262){if(v(e),e.lookahead<262&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-262&&(e.match_length=m(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&4096<e.strstart-e.match_start)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-3,i=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=2,e.strstart++,i&&(p(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((i=o._tr_tally(e,0,e.window[e.strstart-1]))&&p(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}function w(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}function x(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(1146),this.dyn_dtree=new r.Buf16(122),this.bl_tree=new r.Buf16(78),u(this.dyn_ltree),u(this.dyn_dtree),u(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(16),this.heap=new r.Buf16(573),u(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(573),u(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function k(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):c(e,-2)}function _(e){var t,n=k(e);return 0===n&&((t=e.state).window_size=2*t.w_size,u(t.head),t.max_lazy_match=i[t.level].max_lazy,t.good_match=i[t.level].good_length,t.nice_match=i[t.level].nice_length,t.max_chain_length=i[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function C(e,t,n,i,o,a){if(!e)return -2;var s=1;if(-1===t&&(t=6),i<0?(s=0,i=-i):15<i&&(s=2,i-=16),o<1||9<o||8!==n||i<8||15<i||t<0||9<t||a<0||4<a)return c(e,-2);8===i&&(i=9);var l=new x;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,_(e)}i=[new w(0,0,0,0,function(e,t){var n=65535;for(65535>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(v(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,p(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-262&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(p(e,!1),e.strm.avail_out),1)}),new w(4,4,8,4,b),new w(4,5,16,8,b),new w(4,6,32,32,b),new w(4,4,16,16,y),new w(8,16,32,32,y),new w(8,16,128,128,y
1),new w(8,32,128,256,y),new w(32,128,258,1024,y),new w(32,258,258,4096,y)],n.deflateInit=function(e,t){return C(e,t,8,15,8,0)},n.deflateInit2=C,n.deflateReset=_,n.deflateResetKeep=k,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,r,a,l;if(!e||!e.state||5<t||t<0)return e?c(e,-2):-2;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||666===r.status&&4!==t)return c(e,0===e.avail_out?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status){if(2===r.wrap)e.adler=0,f(r,31),f(r,139),f(r,8),r.gzhead?(f(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),f(r,255&r.gzhead.time),f(r,r.gzhead.time>>8&255),f(r,r.gzhead.time>>16&255),f(r,r.gzhead.time>>24&255),f(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),f(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(f(r,255&r.gzhead.extra.length),f(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=s(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(f(r,0),f(r,0),f(r,0),f(r,0),f(r,0),f(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),f(r,3),r.status=113);else{var m=8+(r.w_bits-8<<4)<<8;m|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(m|=32),m+=31-m%31,r.status=113,g(r,m),0!==r.strstart&&(g(r,e.adler>>>16),g(r,65535&e.adler)),e.adler=1}}if(69===r.status){if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),h(e),a=r.pending,r.pending!==r.pending_buf_size));)f(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73}if(73===r.status){if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),h(e),a=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,f(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91}if(91===r.status){if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),h(e),a=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,f(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>a&&(e.adler=s(e.adler,r.pending_buf,r.pending-a,a)),0===l&&(r.status=103)}else r.status=103}if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&h(e),r.pending+2<=r.pending_buf_size&&(f(r,255&e.adler),f(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),0!==r.pending){if(h(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&d(t)<=d(n)&&4!==t)return c(e,-5);if(666===r.status&&0!==e.avail_in)return c(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var b=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(v(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,i,r,a,s=e.window;;){if(e.lookahead<=258){if(v(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0<e.strstart&&(i=s[r=e.strstart-1])===s[++r]&&i===s[++r]&&i===s[++r]){a=e.strstart+258;do;while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&r<a);e.match_length=258-(a-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.
vendor: 19,634 bytes, line 1
1window[e.strstart]),e.lookahead--,e.strstart++),n&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(r,t):i[r.level].func(r,t);if(3!==b&&4!==b||(r.status=666),1===b||3===b)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===b&&(1===t?o._tr_align(r):5!==t&&(o._tr_stored_block(r,0,0,!1),3===t&&(u(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),h(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(f(r,255&e.adler),f(r,e.adler>>8&255),f(r,e.adler>>16&255),f(r,e.adler>>24&255),f(r,255&e.total_in),f(r,e.total_in>>8&255),f(r,e.total_in>>16&255),f(r,e.total_in>>24&255)):(g(r,e.adler>>>16),g(r,65535&e.adler)),h(e),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending?0:1)},n.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?c(e,-2):(e.state=null,113===t?c(e,-3):0):-2},n.deflateSetDictionary=function(e,t){var n,i,o,s,l,c,d,h,p=t.length;if(!e||!e.state||2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return -2;for(1===s&&(e.adler=a(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(u(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new r.Buf8(n.w_size),r.arraySet(h,t,p-n.w_size,n.w_size,0),t=h,p=n.w_size),l=e.avail_in,c=e.next_in,d=e.input,e.avail_in=p,e.next_in=0,e.input=t,v(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+3-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--o;);n.strstart=i,n.lookahead=2,v(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=c,e.input=d,e.avail_in=l,n.wrap=s,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,i,r,o,a,s,l,c,d,u,h,p,f,g,m,v,b,y,w,x,k,_,C,Z,j;n=e.state,i=e.next_in,Z=e.input,r=i+(e.avail_in-5),o=e.next_out,j=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,u=n.wnext,h=n.window,p=n.hold,f=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do for(f<15&&(p+=Z[i++]<<f,f+=8,p+=Z[i++]<<f,f+=8),y=g[p&v];;){if(p>>>=w=y>>>24,f-=w,0==(w=y>>>16&255))j[o++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(p&(1<<w)-1)];continue}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}for(x=65535&y,(w&=15)&&(f<w&&(p+=Z[i++]<<f,f+=8),x+=p&(1<<w)-1,p>>>=w,f-=w),f<15&&(p+=Z[i++]<<f,f+=8,p+=Z[i++]<<f,f+=8),y=m[p&b];;){if(p>>>=w=y>>>24,f-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=m[(65535&y)+(p&(1<<w)-1)];continue}e.msg="invalid distance code",n.mode=30;break e}if(k=65535&y,f<(w&=15)&&(p+=Z[i++]<<f,(f+=8)<w&&(p+=Z[i++]<<f,f+=8)),l<(k+=p&(1<<w)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=w,f-=w,(w=o-a)<k){if(d<(w=k-w)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=h,(_=0)===u){if(_+=c-w,w<x){for(x-=w;j[o++]=h[_++],--w;);_=o-k,C=j}}else if(u<w){if(_+=c+u-w,(w-=u)<x){for(x-=w;j[o++]=h[_++],--w;);if(_=0,u<x){for(x-=w=u;j[o++]=h[_++],--w;);_=o-k,C=j}}}else if(_+=u-w,w<x){for(x-=w;j[o++]=h[_++],--w;);_=o-k,C=j}for(;2<x;)j[o++]=C[_++],j[o++]=C[_++],j[o++]=C[_++],x-=3;x&&(j[o++]=C[_++],1<x&&(j[o++]=C[_++]))}else{for(_=o-k;j[o++]=j[_++],j[o++]=j[_++],j[o++]=j[_++],2<(x-=3););x&&(j[o++]=j[_++],1<x&&(j[o++]=j[_++]))}break}}break}while(i<r&&o<s);i-=x=f>>3,p&=(1<<(f-=x<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i<r?r-i+5:5-(i-r),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=p,n.bits=f}},{}],49:[function(e,t,n){"use strict";var i=e("../utils/common"),r=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees");function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):-2}function u(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):-2}function h(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?-2:(null!==i.window&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,u(e))):-2}function p(e,t){var n,i;return e?(i=new c,(e.state=i).window=null,0!==(n=h(e,t))&&(e.state=null),n):-2}var f,g,m=!0;function v(e,t,n,r){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new i.Buf8(a.wsize)),r>=a.wsize?(i.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(r<(o=a.wsize-a.wnext)&&(o=r),i.arraySet(a.window,t,n-r,o,a.wnext),(r-=o)?(i.arraySet(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=u,n.inflateReset2=h,n.inflateResetKeep=d,n.inflateInit=function(e){return p(e,15)},n.inflateInit2=p,n.inflate=function(e,t){var n,c,d,u,h,p,b,y,w,x,k,_,C,Z,j,P,S,E,O,A,I,T,R,L,z=0,B=new i.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return -2;12===(n=e.state).mode&&(n.mode=13),h=e.next_out,d=e.output,b=e.avail_out,u=e.next_in,c=e.input,p=e.avail_in,y=n.hold,w=n.bits,x=p,k=b,T=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(2&n.wrap&&35615===y){B[n.check=0]=255&y,B[1]=y>>>8&255,n.check=o(n.check,B,2,0),w=y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&y)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,I=8+(15&(y>>>=4)),0===n.wbits)n.wbits=I;else if(I>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<I,e.adler=n.check=1,n.mode=512&y?10:12,w=y=0;break;case 2:for(;w<16;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(n.flags=y,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=y>>8&1),512&n.flags&&(B[0]=255&y,B[1]=y>>>8&255,n.check=o(n.check,B,2,0)),w=y=0,n.mode=3;case 3:for(;w<32;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.head&&(n.head.time=y),512&n.flags&&(B[0]=255&y,B[1]=y>>>8&255,B[2]=y>>>16&255,B[3]=y>>>24&255,n.check=o(n.check,B,4,0)),w=y=0,n.mode=4;case 4:for(;w<16;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.head&&(n.head.xflags=255&y,n.head.os=y>>8),512&n.flags&&(B[0]=255&y,B[1]=y>>>8&255,n.check=o(n.check,B,2,0)),w=y=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.length=y,n.head&&(n.head.extra_len=y),512&n.flags&&(B[0]=255&y,B[1]=y>>>8&255,n.check=o(n.check,B,2,0)),w=y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(_=n.length)&&(_=p),_&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),i.arraySet(n.head.extra,c,u,_,I)),512&n.flags&&(n.check=o(n.check,c,_,u)),p-=_,u+=_,n.length-=_),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(_=0;I=c[u+_++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I)),I&&_<p;);if(512&n.flags&&(n.check=o(n.check,c,_,u)),p-=_,u+=_,I)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===p)break e;for(_=0;I=c[u+_++],n.head&&I&&n.length<65536&&(n.head.comment+=String.fromCharCode(I)),I&&_<p;);if(512&n.flags&&(n.check=o(n.check,c,_,u)),p-=_,u+=_,I)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(y!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=y=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}e.adler=n.check=l(y),w=y=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=h,e.avail_out=b,e.next_in=u,e.avail_in=p,n.hold=y,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){y>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}switch(n.last=1&y,w-=1,3&(y>>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(m){var t;for(f=new i.Buf32(512),g=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=f,e.lenbits=9,e.distcode=g,e.distbits=5}(n),n.mode=20,6!==t)break;y>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}y>>>=2,w-=2;break;case 14:for(y>>>=7&w,w-=7&w;w<32;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&y,w=y=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(_=n.length){if(p<_&&(_=p),b<_&&(_=b),0===_)break e;i.arraySet(d,c,u,_,h),p-=_,u+=_,b-=_,h+=_,n.length-=_;break}n.mode=12;break;case 17:for(;w<14;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(n.nlen=257+(31&y),y>>>=5,w-=5,n.ndist=1+(31&y),y>>>=5,w-=5,n.ncode=4+(15&y),y>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.lens[M[n.have++]]=7&y,y>>>=3,w-=3}for(;n.have<19;)n.lens[M[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R={bits:n.lenbits},T=s(0,n.lens,0,19,n.lencode,0,n.work,R),n.lenbits=R.bits,T){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;P=(z=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,S=65535&z,!((j=z>>>24)<=w);){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(S<16)y>>>=j,w-=j,n.lens[n.have++]=S;else{if(16===S){for(L=j+2;w<L;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(y>>>=j,w-=j,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}I=n.lens[n.have-1],_=3+(3&y),y>>>=2,w-=2}else if(17===S){for(L=j+3;w<L;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}w-=j,I=0,_=3+(7&(y>>>=j)),y>>>=3,w-=3}else{for(L=j+7;w<L;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}w-=j,I=0,_=11+(127&(y>>>=j)),y>>>=7,w-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;_--;)n.lens[n.have++]=I}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,R={bits:n.lenbits},T=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,R),n.lenbits=R.bits,T){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,R={bits:n.distbits},T=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,R),n.distbits=R.bits,T){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=b){e.next_out=h,e.avail_out=b,e.next_in=u,e.avail_in=p,n.hold=y,n.bits=w,a(e,k),h=e.next_out,d=e.output,b=e.avail_out,u=e.next_in,c=e.input,p=e.avail_in,y=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;P=(z=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,S=65535&z,!((j=z>>>24)<=w);){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(P&&0==(240&P)){for(E=j,O=P,A=S;P=(z=n.lencode[A+((y&(1<<E+O)-1)>>E)])>>>16&255,S=65535&z,!(E+(j=z>>>24)<=w);){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}y>>>=E,w-=E,n.back+=E}if(y>>>=j,w-=j,n.back+=j,n.length=S,0===P){n.mode=26;break}if(32&P){n.back=-1,n.mode=12;break}if(64&P){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&P,n.mode=22;case 22:if(n.extra){for(L=n.extra;w<L;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.length+=y&(1<<n.extra)-1,y>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;P=(z=n.distcode[y&(1<<n.distbits)-1])>>>16&255,S=65535&z,!((j=z>>>24)<=w);){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(0==(240&P)){for(E=j,O=P,A=S;P=(z=n.distcode[A+((y&(1<<E+O)-1)>>E)])>>>16&255,S=65535&z,!(E+(j=z>>>24)<=w);){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}y>>>=E,w-=E,n.back+=E}if(y>>>=j,w-=j,n.back+=j,64&P){e.msg="invalid distance code",n.mode=30;break}n.offset=S,n.extra=15&P,n.mode=24;case 24:if(n.extra){for(L=n.extra;w<L;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}n.offset+=y&(1<<n.extra)-1,y>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===b)break e;if(_=k-b,n.offset>_){if((_=n.offset-_)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}C=_>n.wnext?(_-=n.wnext,n.wsize-_):n.wnext-_,_>n.length&&(_=n.length),Z=n.window}else Z=d,C=h-n.offset,_=n.length;for(b<_&&(_=b),b-=_,n.length-=_;d[h++]=Z[C++],--_;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break e;d[h++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===p)break e;p--,y|=c[u++]<<w,w+=8}if(k-=b,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?o(n.check,d,k,h-k):r(n.check,d,k,h-k)),k=b,(n.flags?y:l(y))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===p)break e;p--,y+=c[u++]<<w,w+=8}if(y!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=y=0}n.mode=29;case 29:T=1;break e;case 30:T=-3;break e;case 31:return -4;default:return -2}return e.next_out=h,e.avail_out=b,e.next_in=u,e.avail_in=p,n.hold=y,n.bits=w,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&v(e,e.output,e.next_out,k-e.avail_out)?(n.mode=31,-4):(x-=e.avail_in,k-=e.avail_out,e.total_in+=x,e.total_out+=k,n.total+=k,n.wrap&&k&&(e.adler=n.check=n.flags?o(n.check,d,k,e.next_out-k):r(n.check,d,k,e.next_out-k)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==x&&0===k||4===t)&&0===T&&(T=-5),T)},n.inflateEnd=function(e){if(!e||!e.state)return -2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?-2:((n.head=t).done=!1,0):-2},n.inflateSetDictionary=function(e,t){var n,i=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?-2:11===n.mode&&r(1,t,i,0)!==n.check?-3:v(e,t,i,i)?(n.mode=31,-4):(n.havedict=1,0):-2},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var i=e("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,d,u,h){var p,f,g,m,v,b,y,w,x,k=h.bits,_=0,C=0,Z=0,j=0,P=0,S=0,E=0,O=0,A=0,I=0,T=null,R=0,L=new i.Buf16(16),z=new i.Buf16(16),B=null,M=0;for(_=0;_<=15;_++)L[_]=0;for(C=0;C<l;C++)L[t[n+C]]++;for(P=k,j=15;1<=j&&0===L[j];j--);if(j<P&&(P=j),0===j)return c[d++]=20971520,c[d++]=20971520,h.bits=1,0;for(Z=1;Z<j&&0===L[Z];Z++);for(P<Z&&(P=Z),_=O=1;_<=15;_++)if(O<<=1,(O-=L[_])<0)return -1;if(0<O&&(0===e||1!==j))return -1;for(z[1]=0,_=1;_<15;_++)z[_+1]=z[_]+L[_];for(C=0;C<l;C++)0!==t[n+C]&&(u[z[t[n+C]]++]=C);if(b=0===e?(T=B=u,19):1===e?(T=r,R-=257,B=o,M-=257,256):(T=a,B=s,-1),_=Z,v=d,E=C=I=0,g=-1,m=(A=1<<(S=P))-1,1===e&&852<A||2===e&&592<A)return 1;for(;;){for(y=_-E,x=u[C]<b?(w=0,u[C]):u[C]>b?(w=B[M+u[C]],T[R+u[C]]):(w=96,0),p=1<<_-E,Z=f=1<<S;c[v+(I>>E)+(f-=p)]=y<<24|w<<16|x|0,0!==f;);for(p=1<<_-1;I&p;)p>>=1;if(0!==p?(I&=p-1,I+=p):I=0,C++,0==--L[_]){if(_===j)break;_=t[n+u[C]]}if(P<_&&(I&m)!==g){for(0===E&&(E=P),v+=Z,O=1<<(S=_-E);S+E<j&&!((O-=L[S+E])<=0);)S++,O<<=1;if(A+=1<<S,1===e&&852<A||2===e&&592<A)return 1;c[g=I&m]=P<<24|S<<16|v-d|0}}return 0!==I&&(c[v+I]=_-E<<24|4194304),h.bits=P,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var i=e("../utils/common");function r(e){for(var t=e.length;0<=--t;)e[t]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=Array(576);r(c);var d=Array(60);r(d);var u=Array(512);r(u);var h=Array(256);r(h);var p=Array(29);r(p);var f,g,m,v=Array(30);function b(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}function y(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function w(e){return e<256?u[e]:u[256+(e>>>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,x(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function _(e,t,n){k(e,n[2*t],n[2*t+1])}function C(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function Z(e,t,n){var i,r,o=Array(16),a=0;for(i=1;i<=15;i++)o[i]=a=a+n[i-1]<<1;for(r=0;r<=t;r++){var s=e[2*r+1];0!==s&&(e[2*r]=C(o[s]++,s))}}function j(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function P(e){8<e.bi_valid?x(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function S(e,t,n,i){var r=2*t,o=2*n;return e[r]<e[o]||e[r]===e[o]&&i[t]<=i[n]}function E(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&S(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!S(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function O(e,t,n){var i,r,s,l,c=0;if(0!==e.last_lit)for(;i=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],r=e.pending_buf[e.l_buf+c],c++,0===i?_(e,r,t):(_(e,(s=h[r])+256+1,t),0!==(l=o[s])&&k(e,r-=p[s],l),_(e,s=w(--i),n),0!==(l=a[s])&&k(e,i-=v[s],l)),c<e.last_lit;);_(e,256,t)}function A(e,t){var n,i,r,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(r=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[r]=0,e.opt_len--,s&&(e.static_len-=a[2*r+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)E(e,o,n);for(r=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],E(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>
vendor: 4,961 bytes, line 1
1=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,E(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,a,s,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,f=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)f<(o=l[2*l[2*(i=e.heap[n])+1]+1]+1)&&(o=f,g++),l[2*i+1]=o,c<i||(e.bl_count[o]++,a=0,p<=i&&(a=h[i-p]),s=l[2*i],e.opt_len+=s*(o+a),u&&(e.static_len+=s*(d[2*i+1]+a)));if(0!==g){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,g-=2}while(0<g);for(o=f;0!==o;o--)for(i=e.bl_count[o];0!==i;)c<(r=e.heap[--n])||(l[2*r+1]!==o&&(e.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),i--)}}(e,t),Z(o,c,e.bl_count)}function I(e,t,n){var i,r,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)r=a,a=t[2*(i+1)+1],++s<l&&r===a||(s<c?e.bl_tree[2*r]+=s:0!==r?(r!==o&&e.bl_tree[2*r]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=r,c=(s=0)===a?(l=138,3):r===a?(l=6,3):(l=7,4))}function T(e,t,n){var i,r,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),i=0;i<=n;i++)if(r=a,a=t[2*(i+1)+1],!(++s<l&&r===a)){if(s<c)for(;_(e,r,e.bl_tree),0!=--s;);else 0!==r?(r!==o&&(_(e,r,e.bl_tree),s--),_(e,16,e.bl_tree),k(e,s-3,2)):s<=10?(_(e,17,e.bl_tree),k(e,s-3,3)):(_(e,18,e.bl_tree),k(e,s-11,7));o=r,c=(s=0)===a?(l=138,3):r===a?(l=6,3):(l=7,4)}}r(v);var R=!1;function L(e,t,n,r){k(e,0+(r?1:0),3),P(e),x(e,n),x(e,~n),i.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}n._tr_init=function(e){R||(function(){var e,t,n,i,r,l=Array(16);for(i=n=0;i<28;i++)for(p[i]=n,e=0;e<1<<o[i];e++)h[n++]=i;for(h[n-1]=i,i=r=0;i<16;i++)for(v[i]=r,e=0;e<1<<a[i];e++)u[r++]=i;for(r>>=7;i<30;i++)for(v[i]=r<<7,e=0;e<1<<a[i]-7;e++)u[256+r++]=i;for(t=0;t<=15;t++)l[t]=0;for(e=0;e<=143;)c[2*e+1]=8,e++,l[8]++;for(;e<=255;)c[2*e+1]=9,e++,l[9]++;for(;e<=279;)c[2*e+1]=7,e++,l[7]++;for(;e<=287;)c[2*e+1]=8,e++,l[8]++;for(Z(c,287,l),e=0;e<30;e++)d[2*e+1]=5,d[2*e]=C(e,5);f=new b(c,o,257,286,15),g=new b(d,a,0,30,15),m=new b([],s,0,19,7)}(),R=!0),e.l_desc=new y(e.dyn_ltree,f),e.d_desc=new y(e.dyn_dtree,g),e.bl_desc=new y(e.bl_tree,m),e.bi_buf=0,e.bi_valid=0,j(e)},n._tr_stored_block=L,n._tr_flush_block=function(e,t,n,i){var r,o,a=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),A(e,e.l_desc),A(e,e.d_desc),a=function(e){var t;for(I(e,e.dyn_ltree,e.l_desc.max_code),I(e,e.dyn_dtree,e.d_desc.max_code),A(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?L(e,t,n,i):4===e.strategy||o===r?(k(e,2+(i?1:0),3),O(e,c,d)):(k(e,4+(i?1:0),3),function(e,t,n,i){var r;for(k(e,t-257,5),k(e,n-1,5),k(e,i-4,4),r=0;r<i;r++)k(e,e.bl_tree[2*l[r]+1],3);T(e,e.dyn_ltree,t-1),T(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),O(e,e.dyn_ltree,e.dyn_dtree)),j(e),i&&P(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(h[n]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){k(e,2,3),_(e,256,c),16===e.bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,i){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,i,r,a,s=1,l={},c=!1,d=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n="[object process]"===({}).toString.call(e.process)?function(e){o.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){r.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(
1a+t,"*")}),u.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var r={callback:e,args:t};return l[s]=r,n(s),s++},u.clearImmediate=h}function h(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var n=l[e];if(n){c=!0;try{!function(e){var n=e.callback,i=e.args;switch(i.length){case 0:n();break;case 1:n(i[0]);break;case 2:n(i[0],i[1]);break;case 3:n(i[0],i[1],i[2]);break;default:n.apply(t,i)}}(n)}finally{h(e),c=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},e.exports=i()},2962:function(e,t,n){"use strict";n.d(t,{PB:function(){return g},lX:function(){return f}});var i=n(7294),r=n(9008),o=n.n(r);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=["keyOverride"],c=["crossOrigin"],d={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},u=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,o=r.defaultWidth,a=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(i.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(i.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(i.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(i.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(i.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):o&&t.push(i.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:o.toString()})),n.height?t.push(i.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(i.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},h=function(e){var t,n,r,o,h,p=[];e.titleTemplate&&(d.templateTitle=e.titleTemplate);var f="";e.title?(f=e.title,d.templateTitle&&(f=d.templateTitle.replace(/%s/g,function(){return f}))):e.defaultTitle&&(f=e.defaultTitle),f&&p.push(i.createElement("title",{key:"title"},f));var g=void 0===e.noindex?d.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,m=void 0===e.nofollow?d.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,v=e.norobots||d.norobots,b="";if(e.robotsProps){var y=e.robotsProps,w=y.nosnippet,x=y.maxSnippet,k=y.maxImagePreview,_=y.maxVideoPreview,C=y.noarchive,Z=y.noimageindex,j=y.notranslate,P=y.unavailableAfter;b=(w?",nosnippet":"")+(x?",max-snippet:"+x:"")+(k?",max-image-preview:"+k:"")+(C?",noarchive":"")+(P?",unavailable_after:"+P:"")+(Z?",noimageindex":"")+(_?",max-video-preview:"+_:"")+(j?",notranslate":"")}if(e.norobots&&(d.norobots=!0),g||m?(e.dangerouslySetAllPagesToNoIndex&&(d.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(d.nofollow=!0),p.push(i.createElement("meta",{key:"robots",name:"robots",content:(g?"noindex":"index")+","+(m?"nofollow":"follow")+b}))):(!v||b)&&p.push(i.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+b})),e.description&&p.push(i.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&p.push(i.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&p.push(i.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>
10&&e.languageAlternates.forEach(function(e){p.push(i.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&p.push(i.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&p.push(i.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&p.push(i.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&p.push(i.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||f)&&p.push(i.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||f})),(null!=(n=e.openGraph)&&n.description||e.description)&&p.push(i.createElement("meta",{key:"og:description",property:"og:description",content:(null==(h=e.openGraph)?void 0:h.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&p.push(i.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var S=e.openGraph.type.toLowerCase();p.push(i.createElement("meta",{key:"og:type",property:"og:type",content:S})),"profile"===S&&e.openGraph.profile?(e.openGraph.profile.firstName&&p.push(i.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&p.push(i.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&p.push(i.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&p.push(i.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===S&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){p.push(i.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&p.push(i.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&p.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
1h(function(e,t){p.push(i.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===S&&e.openGraph.article?(e.openGraph.article.publishedTime&&p.push(i.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&p.push(i.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&p.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){p.push(i.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&p.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){p.push(i.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===S||"video.episode"===S||"video.tv_show"===S||"video.other"===S)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&p.push(i.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&p.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){p.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){p.push(i.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&p.push(i.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&p.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
1h(function(e,t){p.push(i.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&p.push(i.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(d.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(d.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&p.push.apply(p,u("image",e.openGraph.images,{defaultWidth:d.defaultOpenGraphImageWidth,defaultHeight:d.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(d.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(d.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&p.push.apply(p,u("video",e.openGraph.videos,{defaultWidth:d.defaultOpenGraphVideoWidth,defaultHeight:d.defaultOpenGraphVideoHeight})),e.openGraph.audio&&p.push.apply(p,u("audio",e.openGraph.audio)),e.openGraph.locale&&p.push(i.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&p.push(i.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&p.push(i.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,o=s(e,l);p.push(i.createElement("meta",a({key:"meta:"+(null!=(t=null!=(n=null!=r?r:o.name)?n:o.property)?t:o.httpEquiv)},o)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=s(e,c);p.push(i.createElement("link",a({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),p},p=function(e){return i.createElement(o(),null,h(e))},f=function(e){var t=e.title,n=e.titleTemplate,r=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,c=e.canonical,d=e.facebook,u=e.openGraph,h=e.additionalMetaTags,f=e.twitter,g=e.defaultOpenGraphImageWidth,m=e.defaultOpenGraphImageHeight,v=e.defaultOpenGraphVideoWidth,b=e.defaultOpenGraphVideoHeight,y=e.mobileAlternate,w=e.languageAlternates,x=e.additionalLinkTags,k=e.robotsProps,_=e.norobots;return i.createElement(p,{title:t,titleTemplate:n,defaultTitle:r,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:c,facebook:d,openGraph:u,additionalMetaTags:h,twitter:f,defaultOpenGraphImageWidth:g,defaultOpenGraphImageHeight:m,defaultOpenGraphVideoWidth:v,defaultOpenGraphVideoHeight:b,mobileAlternate:y,languageAlternates:w,additionalLinkTags:x,robotsProps:k,norobots:_})},g=function(e){var t=e.title,n=e.themeColor,r=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,c=e.openGraph,d=e.facebook,u=e.twitter,h=e.additionalMetaTags,f=e.titleTemplate,g=e.defaultTitle,m=e.mobileAlternate,v=e.languageAlternates,b=e.additionalLinkTags;return i.createElement(i.Fragment,null,i.createElement(p,{title:t,themeColor:n,noindex:r,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:d,openGraph:c,additionalMetaTags:h,twitter:u,titleTemplate:f,defaultTitle:g,mobileAlternate:m,languageAlternates:v,additionalLinkTags:b}))};RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g")},1752:function(e,t,n){e.exports=n(7500)},3454:function(e,t,n){"use strict";var i,r;e.exports=(null==(i=n.g.process)?void 0:i.env)&&"object"==typeof(null==(r=n.g.process)?void 0:r.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(8805)}])},9186:function(e,t,n){"use strict";var i=n(3454);let r=n(6891),o={reactStrictMode:!0,swcMinify:!0,compiler:{styledComponents:!0},images:{deviceSizes:[600,640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],domains:["a.storyblok.com","media.sketchfab.com"]},i18n:{localeDetection:!1,locales:["en","ja"],defaultLocale:"en"},publicRuntimeConfig:{"storyblok.token":i.env.STORYBLOK_ACCESS_TOKEN,"storyblok.version":i.env.DRAFT_VERSION,env:"staging"},redirects:async()=>r};e.exports=o},8199:function(e,t){"use strict";var n,i,r,o;
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return d},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return h},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return i},PrefetchKind:function(){return n},isThenable:function(){return p}});let a="refresh",s="navigate",l="restore",c="server-patch",d="prefetch",u="fast-refresh",h="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",(o=i||(i={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.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)},7195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}});let i=n(8337);function r(e,t,r,o){{let a=n(5183).normalizeLocalePath,s=n(4166).detectDomainLocale,l=t||a(e,r).detectedLocale,c=s(o,void 0,l);if(c){let t="http"+(c.http?"":"s")+"://",n=l===c.defaultLocale?"":"/"+l;return""+t+c.domain+(0,i.normalizePathTrailingSlash)(""+n+e)}return!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)},4080:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let i=n(8754),r=n(1757),o=n(5893),a=r._(n(7294)),s=i._(n(3935)),l=i._(n(3867)),c=n(5283),d=n(6594),u=n(3945);n(3179);let h=n(1928),p=i._(n(3872)),f={deviceSizes:[600,640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,n,i,r,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,r=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(e)}}))}function m(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:i,sizes:r,height:s,width:l,decoding:c,className:d,style:u,fetchPriority:h,placeholder:p,loading:f,unoptimized:v,fill:b,onLoadRef:y,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:k,sizesInput:_,onLoad:C,onError:Z,...j}=e;return(0,o.jsx)("img",{...j,...m(h),loading:f,width:l,height:s,decoding:c,"data-nimg":b?"fill":"1",className:d,style:u,sizes:r,srcSet:i,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(Z&&(e.src=e.src),e.complete&&g(e,p,y,w,x,v,_))},[n,p,y,w,x,Z,v,_,t]),onLoad:e=>{g(e.currentTarget,p,y,w,x,v,_)},onError:e=>{k(!0),"empty"!==p&&x(!0),Z&&Z(e)}})});function b(e){let{isAppRouter:t,imgAttributes:n}=e,i={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...m(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,i),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...i},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(h.RouterContext),i=(0,a.useContext)(u.ImageConfigContext),r=(0,a.useMemo)(()=>{var e;let t=f||i||d.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),r=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:r,qualities:o}},[i]),{onLoad:s,onLoadingComplete:l}=e,g=(0,a.useRef)(s);(0,a.useEffect)(()=>{g.current=s},[s]);let m=(0,a.useRef)(l);(0,a.useEffect)(()=>{m.current=l},[l]);let[y,w]=(0,a.useState)(!1),[x,k]=(0,a.useState)(!1),{props:_,meta:C}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{..._,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:g,onLoadingCompleteRef:m,setBlurComplete:w,setShowAltText:k,sizesInput:e.sizes,ref:t}),C.priority?(0,o.jsx)(b,{isAppRouter:!n,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)},8342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let i=n(8754),r=n(5893),o=i._(n(7294)),a=n(6075),s=n(3955),l=n(8041),c=n(9903),d=n(5490),u=n(1928),h=n(257),p=n(4229),f=n(7195),g=n(9470),m=n(8199),v=new Set;function b(e,t,n,i,r,o){if(o||(0,s.isLocalURL)(t)){if(!i.bypassPrefetchedCheck){let r=t+"%"+n+"%"+(void 0!==i.locale?i.locale:"locale"in e?e.locale:void 0);if(v.has(r))return;v.add(r)}(async()=>o?e.prefetch(t,r):e.prefetch(t,n,i))().catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let n,i;let{href:l,as:v,children:w,prefetch:x=null,passHref:k,replace:_,shallow:C,scroll:Z,locale:j,onClick:P,onMouseEnter:S,onTouchStart:E,legacyBehavior:O=!1,...A}=e;n=w,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,r.jsx)("a",{children:n}));let I=o.default.useContext(u.RouterContext),T=o.default.useContext(h.AppRouterContext),R=null!=I?I:T,L=!I,z=!1!==x,B=null===x?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:M,as:N}=o.default.useMemo(()=>{if(!I){let e=y(l);return{href:e,as:v?y(v):e}}let[e,t]=(0,a.resolveHref)(I,l,!0);return{href:e,as:v?(0,a.resolveHref)(I,v):t||e}},[I,l,v]),F=o.default.useRef(M),H=o.default.useRef(N);O&&(i=o.default.Children.only(n));let D=O?i&&"object"==typeof i&&i.ref:t,[U,V,W]=(0,p.useIntersection)({rootMargin:"200px"}),G=o.default.useCallback(e=>{(H.current!==N||F.current!==M)&&(W(),H.current=N,F.current=M),U(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[N,D,M,W,U]);o.default.useEffect(()=>{R&&V&&z&&b(R,M,N,{locale:j},{kind:B},L)},[N,M,V,j,z,null==I?void 0:I.locale,R,L,B]);let X={ref:G,onClick(e){O||"function"!=typeof P||P(e),O&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),R&&!e.defaultPrevented&&function(e,t,n,i,r,a,l,c,d){let{nodeName:u}=e.currentTarget;if("A"===u.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)||!d&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let h=()=>{let e=null==l||l;"beforePopState"in t?t[r?"replace":"push"](n,i,{shallow:a,locale:c,scroll:e}):t[r?"replace":"push"](i||n,{scroll:e})};d?o.default.startTransition(h):h()}(e,R,M,N,_,C,Z,j,L)},onMouseEnter(e){O||"function"!=typeof S||S(e),O&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),R&&(z||!L)&&b(R,M,N,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:B},L)},onTouchStart:function(e){O||"function"!=typeof E||E(e),O&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),R&&(z||!L)&&b(R,M,N,{locale:j,priority:!0,bypassPrefetchedCheck:!0},{kind:B},L)}};if((0,c.isAbsoluteUrl)(N))X.href=N;else if(!O||k||"a"===i.type&&!("href"in i.props)){let e=void 0!==j?j:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,f.getDomainLocale)(N,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);X.href=t||(0,g.addBasePath)((0,d.addLocale)(N,e,null==I?void 0:I.defaultLocale))}return O?o.default.cloneElement(i,X):(0,r.jsx)("a",{...A,...X,children:n})});("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)},5183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return i}});let i=(e,t)=>n(4165).normalizeLocalePath(e,t);("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)},4229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let i=n(7294),r=n(4474),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,c=l||!o,[d,u]=(0,i.useState)(!1),h=(0,i.useRef)(null),p=(0,i.useCallback)(e=>{h.current=e},[]);return(0,i.useEffect)(()=>{if(o){if(c||d)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:i,observer:r,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},i=s.find(e=>e.root===n.root&&e.margin===n.margin);if(i&&(t=a.get(i)))return t;let r=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:r},s.push(n),a.set(n,t),t}(n);return o.set(e,t),r.observe(e),function(){if(o.delete(e),r.unobserve(e),0===o.size){r.disconnect(),a.delete(i);let e=s.findIndex(e=>e.root===i.root&&e.margin===i.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!d){let e=(0,r.requestIdleCallback)(()=>u(!0));return()=>(0,r.cancelIdleCallback)(e)}},[c,n,t,d,h.current]),[p,d,(0,i.useCallback)(()=>{u(!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)},2602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return a}});let i=n(8754);n(5893),n(7294);let r=i._(n(5491));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=r.default,i={loading:e=>{let{error:t,isLoading:n,pastDelay:i}=e;return null}};e instanceof Promise?i.loader=()=>e:"function"==typeof e?i.loader=e:"object"==typeof e&&(i={...i,...e});let s=(i={...i,...t}).loader;return(i.loadableGenerated&&(i={...i,...i.loadableGenerated},delete i.loadableGenerated),"boolean"!=typeof i.ssr||i.ssr)?n({...i,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete i.webpack,delete i.modules,a(n,i))}("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)},5283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(3179);let i=n(6630),r=n(6594);function o(e){return void 0!==e.default}function a(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 s(e,t){var n,s;let l,c,d,{src:u,sizes:h,unoptimized:p=!1,priority:f=!1,loading:g,className:m,quality:v,width:b,height:y,fill:w=!1,style:x,overrideSrc:k,onLoad:_,onLoadingComplete:C,placeholder:Z="empty",blurDataURL:j,fetchPriority:P,decoding:S="async",layout:E,objectFit:O,objectPosition:A,lazyBoundary:I,lazyRoot:T,...R}=e,{imgConf:L,showAltText:z,blurComplete:B,defaultLoader:M}=t,N=L||r.imageConfigDefault;if("allSizes"in N)l=N;else{let e=[...N.deviceSizes,...N.imageSizes].sort((e,t)=>e-t),t=N.deviceSizes.sort((e,t)=>e-t),i=null==(n=N.qualities)?void 0:n.sort((e,t)=>e-t);l={...N,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=R.loader||M;delete R.loader,delete R.srcSet;let H="__next_img_default"in F;
1if(H){if("custom"===l.loader)throw Error('Image with src "'+u+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:n,...i}=t;return e(i)}}if(E){"fill"===E&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[E];t&&!h&&(h=t)}let D="",U=a(b),V=a(y);if("object"==typeof(s=u)&&(o(s)||void 0!==s.src)){let e=o(u)?u.default:u;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(c=e.blurWidth,d=e.blurHeight,j=j||e.blurDataURL,D=e.src,!w){if(U||V){if(U&&!V){let t=U/e.width;V=Math.round(e.height*t)}else if(!U&&V){let t=V/e.height;U=Math.round(e.width*t)}}else U=e.width,V=e.height}}let W=!f&&("lazy"===g||void 0===g);(!(u="string"==typeof u?u:D)||u.startsWith("data:")||u.startsWith("blob:"))&&(p=!0,W=!1),l.unoptimized&&(p=!0),H&&u.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(p=!0),f&&(P="high");let G=a(v),X=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:A}:{},z?{}:{color:"transparent"},x),q=B||"empty"===Z?null:"blur"===Z?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:U,heightInt:V,blurWidth:c,blurHeight:d,blurDataURL:j||"",objectFit:X.objectFit})+'")':'url("'+Z+'")',$=q?{backgroundSize:X.objectFit||"cover",backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},J=function(e){let{config:t,src:n,unoptimized:i,width:r,quality:o,sizes:a,loader:s}=e;if(i)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,t,n){let{deviceSizes:i,allSizes:r}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let i;i=e.exec(n);i)t.push(parseInt(i[2]));if(t.length){let e=.01*Math.min(...t);return{widths:r.filter(t=>t>=i[0]*e),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t?{widths:i,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(t=>t>=e)||r[r.length-1]))],kind:"x"}}(t,r,a),d=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,i)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===c?e:i+1)+c).join(", "),src:s({config:t,src:n,quality:o,width:l[d]})}}({config:l,src:u,unoptimized:p,width:U,quality:G,sizes:h,loader:F});return{props:{...R,loading:W?"lazy":g,fetchPriority:P,width:U,height:V,decoding:S,className:m,style:{...X,...$},sizes:J.sizes,srcSet:J.srcSet,src:k||J.src},meta:{unoptimized:p,priority:f,placeholder:Z,fill:w}}}},6630:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:i,blurHeight:r,blurDataURL:o,objectFit:a}=e,s=i?40*i:t,l=r?40*r:n,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%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='"+(c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},6210:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let i=n(8754),r=n(5283),o=n(4080),a=i._(n(3872));function s(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[600,640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},3872:function(e,t){"use strict";function n(e){var t;let{config:n,src:i,width:r,quality:o}=e,a=o||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>
1Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return n.path+"?url="+encodeURIComponent(i)+"&w="+r+"&q="+a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),n.__next_img_default=!0;let i=n},1159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let i=n(8754)._(n(7294)).default.createContext(null)},5491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let i=n(8754)._(n(7294)),r=n(1159),o=[],a=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{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 d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){let t=new c(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=n.webpack?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function d(e,t){!function(){l();let e=i.default.useContext(r.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let a=i.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),i.default.useMemo(()=>{var t;return a.loading||a.error?i.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?i.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return d.preload=()=>l(),d.displayName="LoadableComponent",i.default.forwardRef(d)}(l,e)}function u(e,t){let n=[];for(;e.length;){let i=e.pop();n.push(i(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{u(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());u(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let h=d},1053:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(5893),r=n(5697),o=n.n(r),a=n(7294),s=n(6665),l=n(9521),c=n(4654),d=n(8474),u=n(7746);let h=(0,l.ZP)(c.JX).withConfig({componentId:"sc-10efa2d2-0"})(["img{width:100%;}@media screen and ","{order:",";}"],c.Hb.tablet,e=>e.order),p=(0,l.ZP)(c.JX).withConfig({componentId:"sc-10efa2d2-1"})(["display:flex;order:",";flex-direction:column;margin-top:",";margin-bottom:",";h5{padding-bottom:",";}@media screen and ","{order:",";}"],e=>e.order,(0,d.Z)(21),(0,d.Z)(40),(0,d.Z)(20),c.Hb.tablet,e=>e.order);(0,l.ZP)(u.Z).withConfig({componentId:"sc-10efa2d2-2"})(["margin-top:",";"],(0,d.Z)(20));var f=n(7879),g=n(1823),m=n(5189);let v=e=>{var t,n,r,o,l,d,u,v,b,y,w,x,k,_;let{src:C,alt:Z,title:j,textContent:P,isImageToRight:S,fontColor:E,blok:O}=e,A=null!==(d=null!==(l=null==O?void 0:O.title)&&void 0!==l?l:j)&&void 0!==d?d:null,I=null!==(v=null!==(u=null==O?void 0:O.text)&&void 0!==u?u:P)&&void 0!==v?v:null,T=null!==(y=null!==(b=null==O?void 0:null===(t=O.image)||void 0===t?void 0:t.filename)&&void 0!==b?b:C)&&void 0!==y?y:null,R=null!==(x=null!==(w=null==O?void 0:null===(n=O.image)||void 0===n?void 0:n.alt)&&void 0!==w?w:Z)&&void 0!==x?x:null,L=null!==(_=null!==(k=null==O?void 0:O.image_to_the_right)&&void 0!==k?k:S)&&void 0!==_?_:null,z=(0,a.useRef)(null);return(0,a.useEffect)(()=>{z.current&&(0,m.Jh)(z.current,2,.1)},[z]),(0,i.jsxs)(c.X2,{width:"100%",colGap:20,ref:z,className:"slide-fade-element",children:[(0,i.jsx)(h,{size:{m:12,t:6,d:6},order:L?"1":"0",children:T&&(0,i.jsx)(g.Z,{src:T,alt:R,sizes:{desktopLarge:{width:920,height:920},desktop:{width:420,height:420},tablet:{width:310,height:310},mobile:{width:364,height:364}}})}),(0,i.jsxs)(p,{size:{m:12,t:6,d:6},order:L?"0":"1",children:[A&&(0,i.jsx)(s.Z,{label:A,type:"h5",color:c.O9.red,weight:"normal"}),("string"==typeof I||(null==I?void 0:null===(o=I.content)||void 0===o?void 0:null===(r=o[0])||void 0===r?void 0:r.content))&&(0,i.jsx)(f.Z,{type:"default",weight:"light",color:null!=E?E:c.O9.black,label:I,...O&&{tag:"div"}})]})]})};
1v.propTypes={textContent:o().string,title:o().string,src:o().string,alt:o().string,isImageToRight:o().bool,fontColor:o().string,blok:o().shape({title:o().string,text:o().shape({}),image:o().shape({filename:o().string,alt:o().string}),image_to_the_right:o().bool})},v.defaultProps={textContent:"",title:"",src:"",alt:"",isImageToRight:!1,fontColor:"",blok:null};var b=v},4726:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r);let a=e=>{let{fill:t}=e;return(0,i.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"none",children:[(0,i.jsx)("rect",{x:"8.41431",y:"7",width:"20",height:"2",rx:"1",transform:"rotate(45 8.41431 7)",fill:t}),(0,i.jsx)("rect",{x:"7.41431",y:"21",width:"20",height:"2",rx:"1",transform:"rotate(-45 7.41431 21)",fill:t})]})};a.propTypes={fill:o().string},a.defaultProps={fill:""},t.Z=a},8900:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r);let a=e=>{let{fill:t}=e;return(0,i.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"none",children:[(0,i.jsx)("rect",{x:"5",y:"8",width:"20",height:"2",rx:"1",fill:t}),(0,i.jsx)("rect",{x:"5",y:"14",width:"20",height:"2",rx:"1",fill:t}),(0,i.jsx)("rect",{x:"5",y:"20",width:"20",height:"2",rx:"1",fill:t})]})};a.propTypes={fill:o().string},a.defaultProps={fill:"#fff"},t.Z=a},656:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r);let a=e=>{let{width:t,height:n,fill:r,fillRect:o,viewBox:a,stroke:s}=e;return(0,i.jsxs)("svg",{width:t,height:n,viewBox:a,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:[(0,i.jsx)("circle",{cx:"30",cy:"30",r:"29",stroke:s,strokeWidth:"2"}),(0,i.jsx)("rect",{x:"29.4916",y:"20.339",width:"2.0339",height:"20.339",fill:o}),(0,i.jsx)("rect",{x:"20.339",y:"29.4915",width:"20.339",height:"2.0339",fill:o})]})};a.propTypes={fill:o().string,width:o().string,height:o().string,fillRect:o().string,stroke:o().string,viewBox:o().string},a.defaultProps={fill:"none",width:"60",height:"60",viewBox:"0 0 60 60",stroke:"#fff",fillRect:"#fff"},t.Z=a},943:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r);let a=e=>{let{width:t,height:n,viewBox:r,fill:o,stroke:a,className:s}=e;return(0,i.jsx)("svg",{width:t,height:n,viewBox:r,fill:o,xmlns:"http://www.w3.org/2000/svg",className:s,role:"none",children:(0,i.jsx)("path",{d:"M1 31L17 16L1 1",stroke:a,strokeWidth:"2"})})};a.propTypes={fill:o().string,width:o().string,height:o().string,stroke:o().string,viewBox:o().string,className:o().string},a.defaultProps={fill:"none",width:"19",height:"32",viewBox:"0 0 19 32",stroke:"#fff",className:""},t.Z=a},8450:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(5893),r=n(5697),o=n.n(r),a=n(1664),s=n.n(a),l=n(943),c=n(9521),d=n(4654),u=n(8474);let h=c.ZP.span.withConfig({componentId:"sc-ca355b1f-0"})(["display:inline-flex;align-items:center;justify-content:end;color:",";font-size:",";text-transform:uppercase;transition:color 0.5s ease-out;cursor:pointer;svg{margin-left:",";margin-right:0;transition:all 0.5s cubic-bezier(0.34,1.56,0.64,1);> path{stroke:currentColor;}@media screen and ","{margin-left:",";}}&:hover,&:focus,&:active{color:",";text-decoration:none;svg{margin-left:",";margin-right:",";@media screen and ","{margin-left:",";}@media screen and (prefers-reduced-motion:reduce){margin-left:",";margin-right:0;}@media screen and "," and (prefers-reduced-motion:reduce){margin-left:",";}}@media screen and (prefers-reduced-motion:reduce){text-decoration:underline;}}"],e=>e.color,(0,u.Z)(12),(0,u.Z)(10),d.Hb.desktop,(0,u.Z)(20),d.O9.red,(0,u.Z)(5),(0,u.Z)(5),d.Hb.desktop,(0,u.Z)(10),(0,u.Z)(10),d.Hb.desktop,(0,u.Z)(20)),p=e=>{let{label:t,href:n,className:r,color:o}=e;return(0,i.jsx)(s(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(h,{className:r,color:o,children:[t,(0,i.jsx)(l.Z,{fillRect:o,stroke:o})]})})};p.propTypes={href:o().string.isRequired,label:o().oneOfType([o().string.isRequired,o().array.isRequired]),className:o().string,color:o().string},p.defaultProps={className:"",color:d.O9.white};var f=p},1902:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(5893),r=n(5697),o=n.n(r),a=n(7294),s=n(455),l=n(1664),c=n.n(l),d=n(656),u=n(9521),h=n(4654),p=n(8474);let f=u.ZP.a.withConfig({componentId:"sc-f7522bc6-0"})(["display:inline-flex;align-items:center;justify-content:end;color:",";font-size:",";text-transform:uppercase;svg{width:",";height:",";transform:rotate(0);transition:transform 0.6s cubic-bezier(0.34,1.56,0.64,1),margin-left 0.5s cubic-bezier(0.34,1.56,0.64,1);> circle{stroke:currentColor;}> rect{fill:currentColor;}@media screen and ","{width:",";height:",";}}&:hover,&:focus,&:active{color:",";svg{transform:rotate(0.5turn);@media screen and (prefers-reduced-motion:reduce){transform:rotate(0);}}@media screen and (prefers-reduced-motion:reduce){top:0;opacity:1;text-decoration:underline;}}@media screen and ","{font-size:",";span{font-size:inherit;}}"],e=>e.color,(0,p.Z)(12),(0,p.Z)(40),(0,p.Z)(40),h.Hb.desktop,(0,p.Z)(50),(0,p.Z)(50),h.O9.red,h.Hb.desktop,(0,p.Z)(14)),g=u.ZP.div.withConfig({componentId:"sc-f7522bc6-1"})(["font-size:",";padding-left:0;padding-right:",";transition:padding-left 0.5s cubic-bezier(0.34,1.56,0.64,1),padding-right 0.5s cubic-bezier(0.34,1.56,0.64,1);a:hover &,a:focus &,a:active &{padding-left:",";padding-right:",";}"],(0,p.Z)(12),(0,p.Z)(12),(0,p.Z)(6),(0,p.Z)(6));var m=n(5189);let v=e=>{let{label:t,href:n,className:r,color:o,target:l,inheritAnim:u,scrollToTop:h,rel:p}=e,v=(0,a.useRef)(null);return(0,a.useEffect)(()=>{v.current&&!u&&(0,m.Jh)(v.current,3,.05)},[v,u]),(0,i.jsx)(c(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,i.jsxs)(f,{onClick:h,target:l,color:o,inheritAnim:u,ref:v,className:[r,u?"":"slide-fade-element"],rel:p,children:[(0,i.jsx)(g,{children:(0,s.sY)(t)||t}),(0,i.jsx)(d.Z,{fillRect:o,stroke:o})]})})};v.propTypes={href:o().string.isRequired,label:o().oneOfType([o().string.isRequired,o().object.isRequired,o().array.isRequired]),className:o().string,color:o().string,target:o().string,rel:o().string,inheritAnim:o().bool,scrollToTop:o().func},v.defaultProps={className:"",color:h.O9.white,target:void 0,inheritAnim:!1,scrollToTop:void 0,label:"",rel:void 0};var b=v},1823:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(5893),r=n(5697),o=n.n(r),a=(0,n(3219).Z)(function(e){return null==e}),s=n(4654),l=n(677),c=n(4646);let d=e=>{let{src:t,alt:n,sizes:r,format:o,lazyload:d,className:u}=e,h=(0,c.uT)(t);return(0,i.jsxs)("picture",{className:u,children:[Object.keys(r).map(e=>a(e)?(0,i.jsx)("source",{srcSet:(0,l.Z)(t,h.width,h.height,o)},e):(0,i.jsx)("source",{srcSet:(0,l.Z)(t,r[e].width,r[e].height,o),media:"screen and ".concat(s.Hb[e])},e)),(0,i.jsx)("img",{src:t,alt:n,...(null==h?void 0:h.width)&&{width:h.width},...(null==h?void 0:h.height)&&{height:h.height},...d&&{loading:"lazy"}})]})};
1d.propTypes={src:o().string,alt:o().string,format:o().string,sizes:o().shape({desktopLarge:o().shape({width:o().number,height:o().number}),desktop:o().shape({width:o().number,height:o().number}),tablet:o().shape({width:o().number,height:o().number}),mobile:o().shape({width:o().number,height:o().number})}),lazyload:o().bool,className:o().string},d.defaultProps={src:"",alt:"",sizes:{},format:"webp",lazyload:!1,className:""};var u=d},7746:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r),a=n(455),s=n(4881);let l=e=>{let{paragraphs:t,weight:n,textColor:r,className:o,centerText:l}=e;return(0,i.jsx)(s.W,{weight:n,textColor:r,className:o,centerText:l,children:(0,a.sY)(t)})};l.propTypes={paragraphs:o().shape({}),weight:o().number,textColor:o().string,className:o().string,centerText:o().bool},l.defaultProps={paragraphs:{},weight:300,textColor:"",className:"",centerText:!1},t.Z=l},4881:function(e,t,n){"use strict";n.d(t,{W:function(){return a},d:function(){return s}});var i=n(9521),r=n(4654),o=n(8474);let a=i.ZP.div.withConfig({componentId:"sc-f42486b-0"})(["font-size:",";line-height:1.4;font-weight:",";"," @media screen and ","{font-size:",";}"],(0,o.Z)(16),e=>e.weight,e=>e.centerText&&(0,i.iv)(["text-align:center;"]),r.Hb.desktop,(0,o.Z)(18)),s=i.ZP.div.withConfig({componentId:"sc-f42486b-1"})(["font-size:",";line-height:1.4;font-weight:",";color:",";"," a{text-decoration:underline;}@media screen and ","{font-size:",";}"],(0,o.Z)(16),e=>e.weight,e=>e.color,e=>e.centerText&&(0,i.iv)(["text-align:center;"]),r.Hb.desktop,(0,o.Z)(18))},7879:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r),a=n(455),s=n(5639);let l=e=>{let{label:t,type:n,color:r,weight:o,className:l,tag:c}=e,d={small:s.KI,mediumText:s.A7,mediumParagraph:s.ov,big:s.y8,default:s.Qi,default16Px:s.R4,default12Px:s.ez,smallTitle:s.h7,cardText:s.SK,smallParagraph:s.sk}[n];return(0,i.jsx)(d,{color:r,type:n,weight:o,className:l,as:c,children:!!t&&((0,a.sY)(t)||t)})};l.propTypes={label:o().oneOfType([o().string,o().object]),type:o().string,color:o().string,weight:o().string,className:o().string,tag:o().string},l.defaultProps={label:"",color:"#000000",type:"default",weight:"",className:"",tag:""},t.Z=l},8801:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(5893),r=n(5697),o=n.n(r),a=n(7294),s=n(455),l=n(4654),c=n(9521),d=n(8474);let u=c.ZP.div.attrs({className:"text_rule"}).withConfig({componentId:"sc-c278712f-0"})(["display:inline-flex;align-items:baseline;flex:0 0 auto;gap:",";color:",";margin:0;::first-letter{text-transform:uppercase;}font-size:",";font-weight:normal;letter-spacing:0.1%;&::after{display:block;width:",";height:2px;background-color:",";content:'';}"," @media screen and ","{gap:",";&::after{width:",";}}@media screen and ","{width:133%;gap:0;justify-content:",";font-size:",";}"],(0,d.Z)(17),e=>e.color,(0,d.Z)(14),(0,d.Z)(44),e=>e.color,e=>!e.inheritAnim&&(0,c.iv)(["opacity:0;transition:opacity 1.2s 0.2s ease-in;&::after{transform-origin:top left;transform:scaleX(0);transition:transform 1.4s 0.4s cubic-bezier(0.87,0,0.13,1);}&.has-intersected{opacity:1;&::after{transform:scaleX(1);}}@media screen and (prefers-reduced-motion:reduce){opacity:1;top:0;}"]),l.Hb.tablet,(0,d.Z)(30),(0,d.Z)(90),l.Hb.desktop,e=>{let{isJustified:t}=e;return t?"space-between":"end"},(0,d.Z)(16));var h=n(5189),p=n(4646);let f=e=>{let{label:t,color:n,inheritAnim:r,className:o,headingLevel:l}=e,c=(0,a.useRef)(null);return(0,a.useEffect)(()=>{c.current&&!r&&(0,h.t_)(c.current)},[c,r]),(0,i.jsx)(u,{color:n,isJustified:!!t,inheritAnim:r,ref:c,className:o,as:l,children:!(0,p.xb)(t)&&((0,s.sY)(t)||t)})};f.propTypes={label:o().oneOfType([o().array,o().object,o().string]),color:o().string,inheritAnim:o().bool,className:o().string,headingLevel:o().string},f.defaultProps={label:{},color:l.O9.white,inheritAnim:!1,className:"",headingLevel:"div"};var g=f},6665:function(e,t,n){"use strict";var i=n(5893),r=n(5697),o=n.n(r),a=n(5639);let s=e=>{let{label:t,type:n,color:r,weight:o,className:s}=e,l={h1:a.H1,h2:a.H2,h3:a.H3,h4:a.H4,h5:a.H5,h6:a.H6}[n];
1return(0,i.jsx)(l,{color:r,weight:o,className:s,children:t})};s.propTypes={label:o().string.isRequired,type:o().string,color:o().string,weight:o().string,className:o().string},s.defaultProps={color:"#000000",type:"h1",weight:"",className:""},t.Z=s},8101:function(e,t,n){"use strict";n.d(t,{Fx:function(){return f},Ji:function(){return c},Vi:function(){return m},aY:function(){return h},dT:function(){return l},lU:function(){return u},m7:function(){return s},s0:function(){return p},sH:function(){return v},u6:function(){return g},xu:function(){return d}});var i=n(9521),r=n(4654),o=n(8474),a=n(1823);let s=(0,i.iv)(["@keyframes newsCardFadeIn{0%{opacity:0;top:1em;}25%{opacity:0;top:0.75em;}100%{opacity:1;top:0;}}animation-duration:0.5s;animation-name:newsCardFadeIn;animation-timing-function:ease-in;animation-fill-mode:backwards;@media screen and (prefers-reduced-motion:reduce){animation:none;}"]),l=i.ZP.div.withConfig({componentId:"sc-18b29365-0"})(["--delay:0;display:flex;flex-direction:column;flex-grow:1;position:relative;"," animation-delay:var(--delay);background-color:transparent;color:",";transition:background-color 0.2s ease-out;svg{path{&[fill]{transition:fill 0.2s ease-out;}&[stroke]{transition:stroke 0.2s ease-out;}}}&.news_card:hover,&.news_card:focus,&.news_card:active{background-color:",";}"],s,r.O9.white,r.O9.red),c=i.ZP.a.withConfig({componentId:"sc-18b29365-1"})(["height:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;.news_tag{position:absolute;top:",";left:",";}@media screen and ","{.news_tag{top:",";left:",";}}"],(0,o.Z)(30),(0,o.Z)(30),r.Hb.desktop,(0,o.Z)(45),(0,o.Z)(45)),d=(0,i.ZP)(a.Z).withConfig({componentId:"sc-18b29365-2"})(["img{width:100%;}"]),u=i.ZP.div.withConfig({componentId:"sc-18b29365-3"})(["display:flex;flex-direction:column;flex-grow:1;position:relative;padding:"," "," ",";&::before{position:absolute;top:-",";height:",";width:2px;background-color:",";content:'';transition:background-color 0.2s ease-out;.news_card:hover &,.news_card:focus &,.news_card:active &{background-color:",";}}.fRed{.news_card:hover &,.news_card:focus &,.news_card:active &{color:inherit;}}@media screen and ","{padding:"," "," "," ",";&::before{top:-",";height:",";}}"],(0,o.Z)(49),(0,o.Z)(30),(0,o.Z)(30),(0,o.Z)(33),(0,o.Z)(58),r.O9.red,r.O9.white,r.Hb.desktop,(0,o.Z)(75),(0,o.Z)(30),(0,o.Z)(46),(0,o.Z)(46),(0,o.Z)(52),(0,o.Z)(90)),h=i.ZP.div.withConfig({componentId:"sc-18b29365-4"})(["flex-grow:1;padding-bottom:",";letter-spacing:0.001em;font-size:",";@media screen and ","{padding-bottom:",";font-size:",";}"],(0,o.Z)(30),(0,o.Z)(25),r.Hb.tablet,(0,o.Z)(40),(0,o.Z)(30)),p=i.ZP.span.withConfig({componentId:"sc-18b29365-5"})(["display:inline-block;margin-bottom:",";font-size:",";color:",";.news_card:hover &,.news_card:focus &,.news_card:active &{color:inherit;}@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],(0,o.Z)(18),(0,o.Z)(12),r.O9.red,r.Hb.tablet,(0,o.Z)(14),r.Hb.desktop,(0,o.Z)(18)),f=i.ZP.div.withConfig({componentId:"sc-18b29365-6"})(["display:flex;flex-direction:column;gap:",";@media screen and ","{flex-direction:row;gap:",";justify-content:stretch;align-items:center;flex-wrap:wrap;}"],(0,o.Z)(10),r.Hb.tablet,(0,o.Z)(20)),g=i.ZP.div.withConfig({componentId:"sc-18b29365-7"})(["display:flex;align-items:center;justify-content:space-between;color:",";"],r.O9.white),m=i.ZP.div.withConfig({componentId:"sc-18b29365-8"})(["display:flex;align-items:center;gap:",";.news_card:hover &,.news_card:focus &,.news_card:active &{svg{path{&[fill]{fill:",";}&[stroke]{stroke:",";}}}}"],(0,o.Z)(14),r.O9.red,r.O9.red),v=i.ZP.div.withConfig({componentId:"sc-18b29365-9"})(["display:flex;align-items:center;"])},4152:function(e,t,n){"use strict";n.d(t,{Dx:function(){return c},WN:function(){return d},c7:function(){return a},cZ:function(){return l},h9:function(){return s}});var i=n(9521),r=n(8474),o=n(4654);let a=(0,i.ZP)(o.W2).withConfig({componentId:"sc-d209fe-0"})(["padding:"," 0;@media screen and ","{padding:"," 0;}@media screen and ","{padding:"," 0;}"],(0,r.Z)(40),o.Hb.tablet,(0,r.Z)(50),o.Hb.desktop,(0,r.Z)(60)),s=(0,i.ZP)(o.JX).withConfig({componentId:"sc-d209fe-1"})(["display:flex;gap:",";justify-content:center;align-items:center;"],(0,r.Z)(10)),l=(0,i.ZP)(o.JX).withConfig({componentId:"sc-d209fe-2"})(["padding-top:",";text-align:center;"],(0,r.Z)(20)),c=i.ZP.h1.withConfig({componentId:"sc-d209fe-3"})(["font-size:",";font-weight:300;@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],(0,r.Z)(35),o.Hb.tablet,(0,r.Z)(45),o.Hb.desktop,(0,r.Z)(60)),d=i.ZP.div.withConfig({componentId:"sc-d209fe-4"})(["display:flex;place-items:center;width:",";height:",";"],(0,r.Z)(30),(0,r.Z)(22))},4242:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});
1var i=n(5893),r=n(5697),o=n.n(r),a=n(7294),s=n(8567),l=n(4654),c=n(7879),d=n(8450),u=n(4152),h=n(9521),p=n(8474),f=n(8101);let g=h.ZP.div.withConfig({componentId:"sc-b3064055-0"})(["--delay:0;position:relative;"," animation-delay:var(--delay);border-bottom:"," solid rgba(6,10,11,0.4);"],f.m7,(0,p.Z)(1)),m=h.ZP.div.withConfig({componentId:"sc-b3064055-1"})([".contentText{padding-left:",";}"],(0,p.Z)(48)),v=h.ZP.div.withConfig({componentId:"sc-b3064055-2"})(["display:flex;.date{padding-left:",";}.shortLabel{padding-left:",";}"],(0,p.Z)(7),(0,p.Z)(18)),b=h.ZP.div.withConfig({componentId:"sc-b3064055-3"})(["padding-top:",";"],(0,p.Z)(20));h.ZP.span.withConfig({componentId:"sc-b3064055-4"})([""]);let y=h.ZP.div.withConfig({componentId:"sc-b3064055-5"})(["display:flex;justify-content:flex-end;padding-top:",";padding-bottom:",";@media screen and ","{padding-top:",";padding-bottom:",";}"],(0,p.Z)(22),(0,p.Z)(20),l.Hb.desktop,(0,p.Z)(38),(0,p.Z)(30));var w=n(1823);let x=e=>{let{linkUrl:t,imgPath:n,imgAlt:r,date:o,country:a,delay:s,city:h,flag:p,shortLabel:f,labelLink:x}=e;return(0,i.jsx)(g,{style:{"--delay":"".concat(s,"s")},children:(0,i.jsxs)(m,{children:[(0,i.jsx)(w.Z,{src:n,alt:r,sizes:{desktop:{width:640,height:360},tablet:{width:600,height:338},mobile:{width:600,height:338}}}),(0,i.jsxs)(b,{children:[(0,i.jsxs)(v,{children:[(0,i.jsx)(u.WN,{children:(0,i.jsx)(w.Z,{src:p})}),(0,i.jsx)(c.Z,{className:"shortLabel",label:f,color:l.O9.red,type:"default"}),(0,i.jsx)(c.Z,{label:o,color:l.O9.black,type:"default",className:"date"})]}),(0,i.jsx)(c.Z,{label:h,color:l.O9.black,type:"mediumText",weight:"bold",className:"contentText"}),(0,i.jsx)(c.Z,{label:a,color:l.O9.black,type:"default",className:"contentText"}),(0,i.jsx)(y,{children:(0,i.jsx)(d.Z,{href:t,label:x,color:l.O9.black})})]})]})})};x.propTypes={linkUrl:o().string.isRequired,labelLink:o().string,flag:o().string,imgPath:o().string,imgAlt:o().string,city:o().string,date:o().string,country:o().string,delay:o().oneOfType([o().number,o().string]),shortLabel:o().string},x.defaultProps={imgPath:"",labelLink:"",flag:"",imgAlt:"",city:"",date:"",country:"",delay:0,shortLabel:""};var k=n(4646),_=n(8801);let C=h.ZP.div.withConfig({componentId:"sc-3c537d8d-0"})(["",""],e=>e.bgColor&&(0,h.iv)(["background-color:",";"],e.bgColor)),Z=h.ZP.div.withConfig({componentId:"sc-3c537d8d-1"})(["@media screen and ","{& div{width:20%;}}"],l.Hb.desktop),j=(0,h.ZP)(l.JX).withConfig({componentId:"sc-3c537d8d-2"})(["display:flex;justify-content:flex-end;"]);var P=n(5189),S=n(455),E=n(656);let O=h.ZP.div.withConfig({componentId:"sc-a95798b-0"})(["display:inline-flex;align-items:center;justify-content:end;cursor:pointer;color:",";font-size:",";span{font-size:",";}text-transform:uppercase;svg{width:",";height:",";margin-left:",";transform:rotate(0);transition:transform 0.6s cubic-bezier(0.34,1.56,0.64,1),margin-left 0.5s cubic-bezier(0.34,1.56,0.64,1);> circle{stroke:currentColor;}> rect{fill:currentColor;}@media screen and ","{width:",";height:",";}}&:hover,&:focus,&:active{color:",";svg{margin-left:",";transform:rotate(0.5turn);@media screen and (prefers-reduced-motion:reduce){margin-left:",";transform:rotate(0);}}@media screen and (prefers-reduced-motion:reduce){top:0;opacity:1;text-decoration:underline;}}@media screen and ","{font-size:",";span{font-size:",";}}"],e=>e.color,(0,p.Z)(12),(0,p.Z)(12),(0,p.Z)(40),(0,p.Z)(40),(0,p.Z)(12),l.Hb.desktop,(0,p.Z)(50),(0,p.Z)(50),l.O9.red,(0,p.Z)(6),(0,p.Z)(12),l.Hb.desktop,(0,p.Z)(14),(0,p.Z)(14)),A=e=>{let{viewAllLabel:t,className:n,color:r,inheritAnim:o,viewAllClick:s}=e,l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{l.current&&!o&&(0,P.Jh)(l.current,3,.05)},[l,o]),(0,i.jsxs)(O,{onClick:s,color:r,inheritAnim:o,ref:l,className:[n,o?"":"slide-fade-element"],children:[(0,S.sY)(t)||t,(0,i.jsx)(E.Z,{fillRect:r,stroke:r})]})};A.propTypes={viewAllLabel:o().string.isRequired,className:o().string,color:o().string,inheritAnim:o().bool,viewAllClick:o().func},A.defaultProps={className:"",color:l.O9.white,inheritAnim:!1,viewAllClick:()=>{}};var I=n(1902),T=n(3348);let R=e=>{var t;let{datas:n,locale:r,textRule:o,colorText:c,viewAllClick:d,viewAllLabel:u,blok:h}=e,p=(0,a.useContext)(s.bu),f=(0,k.yl)(p,"view-race"),g=(0,a.useRef)(null);return(0,a.useEffect)(()=>{g.current&&(0,P.Jh)(g.current)},[g]),(0,i.jsx)(C,{className:"slide-fade-element",ref:g,bgColor:null==h?void 0:h.background_color,children:(0,i.jsxs)(l.W2,{topPadding:{m:40,t:40,d:40},bottomPadding:{m:40,t:40,d:40},children:[!!(null==n?void 0:n.length)&&(0,i.jsx)(Z,{children:(0,i.jsx)(_.Z,{label:o,color:c,isJustified:!0})}),(0,i.jsx)(l.X2,{width:"100%",colGap:20,children:!!(null==n?void 0:n.length)&&(null==n?void 0:n.map((e,t)=>{var n,o,a,s,c,d,u,h,p,g,m,v,b,y;let w=(.2+t/10).toFixed(1);return(0,i.jsx)(l.JX,{size:{m:12,t:6,d:4},topPadding:{m:40,t:40,d:60},children:(0,i.jsx)(x,{linkUrl:!!(null==e?void 0:e.full_slug)&&"/".concat(null==e?void 0:e.full_slug),imgPath:null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(n=o.thumbnail_image)||void 0===n?void 0:n.filename,imgAlt:null==e?void 0:null===(s=e.content)||void 0===s?void 0:null===(a=s.thumbnail_image)||void 0===a?void 0:a.alt,country:null==e?void 0:null===(d=e.content)||void 0===d?void 0:null===(c=d.components[0])||void 0===c?void 0:c.country,city:null==e?void 0:null===(h=e.content)||void 0===h?void 0:null===(u=h.components[0])||void 0===u?void 0:u.city,date:(0,k.wT)(null==e?void 0:null===(p=e.content)||void 0===p?void 0:p.race_date,r,"short"),flag:null==e?void 0:null===(v=e.content)||void 0===v?void 0:null===(m=v.components[0])||void 0===m?void 0:null===(g=m.flag)||void 0===g?void 0:g.filename,shortLabel:null==e?void 0:null===(y=e.content)||void 0===y?void 0:null===(b=y.components[0])||void 0===b?void 0:b.race_number,labelLink:f,delay:w})},null==e?void 0:e.uuid)}))}),!!u&&(0,i.jsx)(l.X2,{width:"100%",colGap:20,topMargin:50,children:(0,i.jsx)(j,{size:{m:12,t:12,d:11},children:(0,i.jsx)(A,{viewAllLabel:u,viewAllClick:d,color:c,inheritAnim:!0})})}),!!(null==h?void 0:null===(t=h.label_link)||void 0===t?void 0:t.length)&&(0,i.jsx)(l.X2,{width:"100%",colGap:20,topMargin:50,children:(0,i.jsx)(j,{size:{m:12,t:12,d:11},children:(0,i.jsx)(I.Z,{href:(0,T.Z)(h.link),label:null==h?void 0:h.label_link,color:(null==h?void 0:h.background_color)===l.O9.white?l.O9.black:l.O9.
1white})})})]})})};R.propTypes={locale:o().string,textRule:o().string,datas:o().arrayOf(o().shape({linkUrl:o().string,imgPath:o().string,country:o().string,city:o().string,date:o().string,flag:o().string,shortLabel:o().string})),colorText:o().string,viewAllClick:o().func,viewAllLabel:o().string,cardScrollRef:o().shape({current:o().element}),blok:o().shape({background_color:o().string,labelLink:o().string,link:o().shape({}),label_link:o().string})},R.defaultProps={locale:"",datas:[],textRule:"",colorText:"",viewAllClick:()=>{},viewAllLabel:"",cardScrollRef:null,blok:{}};var L=R},2709:function(e,t,n){"use strict";n.d(t,{H:function(){return o},J:function(){return r}});var i=n(8474);let r={mobile:639,tablet:640,desktop:1280,desktopLarge:1920,landscapeSmall:940,landscapeSmaller:800},o={mobile:"(max-width: ".concat((0,i.Z)(r.mobile),")"),tablet:"(min-width: ".concat((0,i.Z)(r.tablet),")"),desktop:"(min-width: ".concat((0,i.Z)(r.desktop),")"),desktopLarge:"(min-width: ".concat((0,i.Z)(r.desktopLarge),")"),landscapeSmall:"(min-height: ".concat((0,i.Z)(r.landscapeSmall),")"),landscapeSmaller:"(min-height: ".concat((0,i.Z)(r.landscapeSmaller),")")}},4654:function(e,t,n){"use strict";n.d(t,{JX:function(){return d},W2:function(){return l},X2:function(){return c},O9:function(){return r},Hb:function(){return i.H},J7:function(){return i.J}});var i=n(2709),r={black:"#060A0B",red:"#C3002F",nissan_red:"#EB0000",white:"#FFFFFF",grey:"#EFEFEF",grey_lighter:"#CDCECE",bg_nissan_red:"linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(62.66deg, #C3002F 19.44%, #A70000 75.89%)"},o=n(9521),a=n(8474);let s=e=>{let t=Math.ceil(6.5-e/2);return"".concat(t," / ").concat(t+e)},l=o.ZP.div.withConfig({componentId:"sc-e73dc6e3-0"})(["background-color:",";color:",";padding-top:",";padding-right:",";padding-bottom:",";padding-left:",";@media screen and ","{padding-top:",";padding-right:",";padding-bottom:",";padding-left:",";}@media screen and ","{padding-top:",";padding-right:",";padding-bottom:",";padding-left:",";}"],e=>{let{bgColor:t}=e;return t},e=>{let{fontColor:t}=e;return t},e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.m):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(25)},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.m):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(25)},i.H.tablet,e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.t):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(52)},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.t):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(52)},i.H.desktop,e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.d):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(70)},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.d):0},e=>{let{fullWidth:t}=e;return t?0:(0,a.Z)(70)}),c=o.ZP.div.withConfig({componentId:"sc-e73dc6e3-1"})(["width:",";margin-top:",";margin-bottom:",";padding-bottom:",";display:grid;column-gap:",";grid-template-columns:repeat(",",1fr);background-color:",";color:",";"],e=>{let{width:t}=e;return t},e=>{let{topMargin:t}=e;return t?(0,a.Z)(t):0},e=>{let{bottomMargin:t}=e;return t?(0,a.Z)(t):0},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t):0},e=>{let{colGap:t}=e;return t?(0,a.Z)(t):(0,a.Z)(20)},12,e=>{let{bgColor:t}=e;return t},e=>{let{fontColor:t}=e;return t}),d=o.ZP.div.withConfig({componentId:"sc-e73dc6e3-2"})(["grid-column:span ",";background-color:",";"," padding-top:",";padding-bottom:",";@media screen and ","{grid-column:span ",";"," padding-top:",";padding-bottom:",";}@media screen and ","{grid-column:span ",";"," padding-top:",";padding-bottom:",";}"],e=>{let{size:t}=e;return t.m},e=>{let{bgColor:t}=e;return t},e=>{let{alwaysCentered:t,size:n}=e;return t&&"\n      grid-column: ".concat(s(n.m),";")},e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.m):0},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.m):0},i.H.tablet,e=>{let{size:t}=e;return t.t},e=>{let{alwaysCentered:t,size:n}=e;return t&&"\n      grid-column: ".concat(s(n.t),";")},e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.t):0},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.t):0},i.H.desktop,e=>{let{size:t}=e;return t.d},e=>{let{centered:t,alwaysCentered:n,size:i}=e;return(t||n)&&"\n      grid-column: ".concat(s(i.d),";")},e=>{let{topPadding:t}=e;return t?(0,a.Z)(t.d):0},e=>{let{bottomPadding:t}=e;return t?(0,a.Z)(t.d):0})},5639:function(e,t,n){"use strict";n.d(t,{A7:function(){return f},H1:function(){return s},H2:function(){return l},H3:function(){return c},H4:function(){return d},H5:function(){return u},H6:function(){return h},KI:function(){return p},Qi:function(){return g},R4:function(){return m},SK:function(){return k},ez:function(){return v},h7:function(){return x},ov:function(){return y},sk:function(){return w},y8:function(){return b}});var i=n(9521),r=n(2709),o=n(8474);let a=(0,i.iv)([""," color:",";letter-spacing:0.001em;a:not([class]){text-decoration:underline;}"],e=>{switch(e.weight){case"light":return(0,i.iv)(["font-weight:300;font-style:normal;font-family:'Nissan Brand';"]);case"bold":return(0,i.iv)(["font-weight:bold;font-style:normal;font-family:'Nissan Brand';"]);default:return(0,i.iv)(["font-weight:normal;font-style:normal;font-family:'Nissan Brand';"])}},e=>e.color),s=i.ZP.h1.withConfig({componentId:"sc-10df5790-0"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(70),r.H.desktop,(0,o.Z)(100)),l=i.ZP.h2.withConfig({componentId:"sc-10df5790-1"})([""," font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],a,(0,o.Z)(35),r.H.tablet,(0,o.Z)(45),r.H.desktop,(0,o.Z)(60)),c=i.ZP.h3.withConfig({componentId:"sc-10df5790-2"})([""," font-size:",";line-height:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(25),e=>"bold"===e.weight?"1.4":"1.2",r.H.desktop,(0,o.Z)(45)),d=i.ZP.h4.withConfig({componentId:"sc-10df5790-3"})([""," font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],a,(0,o.Z)(25),r.H.tablet,(0,o.Z)(32),r.H.desktop,(0,o.Z)(30)),u=i.ZP.h5.withConfig({componentId:"sc-10df5790-4"})([""," font-size:",";@media screen and ","{font-size:",";line-height:1.4;}"],a,(0,o.Z)(16),r.H.desktop,(0,o.Z)(20)),h=i.ZP.h6.withConfig({componentId:"sc-10df5790-5"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(14),r.H.desktop,(0,o.Z)(16)),p=i.ZP.p.withConfig({componentId:"sc-10df5790-6"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(12),r.H.desktop,(0,o.Z)(14)),f=i.ZP.div.withConfig({componentId:"sc-10df5790-7"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(20),r.H.desktop,(0,o.Z)(30)),g=i.ZP.p.withConfig({componentId:"sc-10df5790-8"})([""," font-size:",";line-height:1.4;@media screen and ","{font-size:",";}"],a,(0,o.Z)(16),r.H.desktop,(0,o.Z)(18)),m=i.ZP.p.withConfig({componentId:"sc-10df5790-9"})([""," font-size:",";"],a,(0,o.Z)(16)),v=i.ZP.p.withConfig({componentId:"sc-10df5790-10"})([""," font-size:",";"],a,(0,o.Z)(12)),b=i.ZP.p.withConfig({componentId:"sc-10df5790-11"})([""," font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],a,(0,o.Z)(35),r.H.tablet,(0,o.Z)(45),r.H.desktop,(0,o.Z)(60)),y=i.ZP.p.withConfig({componentId:"sc-10df5790-12"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(14),r.H.desktop,(0,o.Z)(16)),w=i.ZP.p.withConfig({componentId:"sc-10df5790-13"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(10),r.H.desktop,(0,o.Z)(12)),x=i.ZP.p.withConfig({componentId:"sc-10df5790-14"})([""," font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],a,(0,o.Z)(16),r.H.tablet,(0,o.Z)(20),r.H.desktop,(0,o.Z)(30)),k=i.ZP.div.withConfig({componentId:"sc-10df5790-15"})([""," font-size:",";@media screen and ","{font-size:",";}"],a,(0,o.Z)(25),r.H.desktop,(0,o.Z)(30))},5189:function(e,t,n){"use strict";n.d(t,{Jh:function(){return i},t_:function(){return r}}),n(4646);let i=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.33,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=null==e?void 0:e.offsetTop,a=e=>{var t,n;return Math.max(Math.min((o-(null===(t=window)||void 0===t?void 0:t.innerHe
1ight)*(i/2)-(null===(n=window)||void 0===n?void 0:n.scrollY))/100,e),0).toPrecision(4)},s=()=>{null==e||e.style.setProperty("--moveY","".concat(a(n),"rem"))},l=()=>{null==e||e.style.setProperty("--moveMaskY","".concat(a(n/2),"rem"))},c=()=>{var t;s(),r&&l(),e.getBoundingClientRect().y<(null===(t=window)||void 0===t?void 0:t.innerHeight)*(1-i)&&(null==e||e.classList.add("has-intersected"))};return s(),r&&l(),e.getBoundingClientRect().y<(null===(t=window)||void 0===t?void 0:t.innerHeight)*(1-i)&&(null==e||e.classList.add("has-intersected")),window.addEventListener("scroll",c),()=>{window.removeEventListener("scroll",c)}},r=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25,i=()=>{var t;e.getBoundingClientRect().y<(null===(t=window)||void 0===t?void 0:t.innerHeight)*(1-n)&&(null==e||e.classList.add("has-intersected"))};return e.getBoundingClientRect().y<(null===(t=window)||void 0===t?void 0:t.innerHeight)*(1-n)&&(null==e||e.classList.add("has-intersected")),window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i)}}},8567:function(e,t,n){"use strict";n.d(t,{A6:function(){return c},E_:function(){return s},MV:function(){return u},QP:function(){return f},bu:function(){return l},m3:function(){return d}});var i=n(7294);n(9036);var r=n(9186),o=n.n(r),a=n(3454);let s=(0,i.createContext)();s.displayName="ConfigContext";let l=(0,i.createContext)();l.displayName="MultiLangLabelsContext";let c=(0,i.createContext)();c.displayName="PageDataContext";let d=(0,i.createContext)();d.displayName="CardsSliderListContext";let u=(0,i.createContext)();u.displayName="CustoContext";let h=!0,p="draft";console.info("Base config: ",o()),console.info("Public runtime config: ",o().publicRuntimeConfig),console.info("Version: ",p),console.info("Proc: ",a),console.info("Public env","staging");let f=e=>(console.info("Locale: ",e),{version:p,language:e,resolve_links:"url"})},8895:function(e,t,n){"use strict";n.d(t,{IS:function(){return i},ML:function(){return a},Q6:function(){return s},Uh:function(){return o},jv:function(){return r}});let i=n(1177).Z.slice(1).map(e=>({id:e.id,color:"white",pattern:void 0})),r={landing:"/others/customise-your-fe",editor:"/others/customise-your-fe/garage",viewer:"/others/customise-your-fe/custom-design?my-fe="},o=["AlbedoPBR","MetalnessPBR","RoughnessPBR","SpecularF0"],a={floor:"Floor",floorShadow:"FloorShadow",custoMainBody:"Custom_MainBody",lightLogoShell:"0_ShellLogoNull",darkLogoShell:"1BottomFrontWing_Logo"},s=()=>o.reduce((e,t)=>({...e,[t]:null}),{})},5472:function(e,t){"use strict";t.Z=["Custom_MainBody","1BottomFrontWing_Logo","2TopFrontWing_Logo","3FrontStabilizer_Logo","4Nose_Logo","5FrontBody_Logo","6SideBody_Logo","7MainBody_Logo","8TopBody_Logo","9RearStabilizer_Logo"]},1177:function(e,t,n){"use strict";var i=n(5472);let r=[{id:"fullbody",datasourceKey:"custo-part-1",inputVisual:"/img/custo/custoPartVisual-fullBody.png",clippingMask:null,povMarker:0,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[1],datasourceKey:"custo-part-2",inputVisual:"/img/custo/custoPartVisual-bottomFrontWing.png",clippingMask:["M1563.5,995l9,9.5v53l27,96-4.5,4.5-15.5,1.5L1544,1166l-14.5-6-25.5-28-26-97,6-36.5Z","M1537.25,1396l34.5-4,5,4.5,21.75,3.25,1.5,5.75-24.25,98-1,18.5-1.5,33.5-7,2.75-37.75-1.5-36,1.25-10.75-51.75,10.5-14,14-52.25,21-39.5Z","M1670,995l-2.25,8.25,12,14.5,19,9.75,4.5,24,15,80.25-20.25,19-2,84,5.5,8.25,3,55.5-8.5,25-1.5,29.75,3.75,4.5.75,56.5,15.25,21.25-24.5,98.5L1678,1548.5l-1.75,10.75,8.25,4.25,98,6.25,11.75-10.5-2.75-23.75,50.25-81.75,1.25-8,22.75-48.25.25-7,.5-54.25,33.75,5.25,5.5-.25L1905,1217.5l-4-.75-29.75,3.75-4.75-4-.75-47.5-1.25-12-17.75-39,2.5-11L1805,1045.75l-28.25-52.5-89.5.5Z"],povMarker:1,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[2],datasourceKey:"custo-part-3",inputVisual:"/img/custo/custoPartVisual-topFrontWing.png",clippingMask:["M1587.75,1371.87,1576.5,1380l1.5,14.25,23.25,5.25-5.75,87.5-20.25,69.75-21,10,19.25,24.5,75.75,4.5,9.75-15.5-.75-25.5,25.75-56.5,5-105.75,7.75-5.75.5-28L1658.5,1353Z","M1557.75,965.25l6,27.75,14.25,10.5,25,151.5-10,4.5-14,1.5-10,4.75.75,10.5,9.25,5.25,32.25,11.25,41,7.25,40-13.25-1.5-136.5-34.5-58.75,3-9,.75-14.75-34.5-8.25-43.75.5Z","M1858.5,1116.75l-5,9.75,14.25,31.75,1.5,52.25,40.5,1,3.5-24.75-4.5-21.75-1.5-10.75L1894.5,1120Z","M1852.75,1435l34.5,8.75,11-11.75,9-30.25v-54.5l-30.75-2.5-8.75,3v50.5Z"],povMarker:2,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]}
1,{id:i.Z[3],datasourceKey:"custo-part-4",inputVisual:"/img/custo/custoPartVisual-frontStabilizer.png",clippingMask:["M1660,982.25v10.5l102-7,92-107,27.5,34.5,20,13.5,35,61,100,9,6-15.5L2013,843.75l-310-2.5Z","M1670.25,1563.75l104,9,80.5,104.5,41-36,43.5-66,103.5-7,5.25,13.5-42.75,134-299-.5-41-142Z"],povMarker:3,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[4],datasourceKey:"custo-part-5",inputVisual:"/img/custo/custoPartVisual-nose.png",clippingMask:["M1700.5 1243.5 1687.25 1229.25 1687.25 1236.5 1674.25 1236.25 1670.75 1240.5 1665.75 1239.25 1637.5 1236.25 1615 1230 1594.75 1223.75 1542.25 1204.75 1504.5 1190 1462.5 1174 1412.25 1154.75 1386.75 1145.75 1386.66 1145.79 1387.25 1146 1387.5 1186.75 1387.5 1373.38 1387.5 1411.41 1425.75 1397.5 1474.75 1379 1496.25 1370.25 1518.25 1362.25 1548.5 1350.75 1615 1327.25 1639.25 1321 1665.75 1318.25 1672.5 1316.5 1679.25 1322.75 1687.5 1322.75 1687.5 1327.75 1690.5 1327.5 1703.5 1298.25 1700.5 1243.5Z","M30.77,1944.84,31,1961l-.5,4.75-.75,3.75-2.25,2.25L0,1974v-57.75l26.25.5L30,1925l.5,2.25.25,17.57H29.51c0-1.63,0-3.67,0-3.82-.14-4.1-8.14-4.77-8-.25,0,.28,0,8.61,0,9,.19,3.64,8,3.69,8-.5,0-.32,0-2.63,0-4.41Z"],povMarker:4,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[5],datasourceKey:"custo-part-6",inputVisual:"/img/custo/custoPartVisual-frontBody.png",clippingMask:["M11.25,1450.5l55-34.75,56,35L116,1491.5,69,1509l-56-13Z","M63.25,1033.5l53.5,41,4.5,43.25L60.5,1142.5l-56-18.25L3.25,1059Z","M1387.25 1146 1319.5 1122.25 1254.5 1104.75 1233.25 1095.75 1193.25 1080 1153.25 1062.5 1137.5 1057.5 1132.75 1056.75 1130.45 1056.65 1131.25 1058.25 1128.25 1057.25 1147.75 1098 1152.25 1112.75 1148.5 1114.75 1153 1119.75 1153 1123.5 1155.75 1124.5 1124.5 1215.25 1123.98 1215.26 1124.5 1215.5 1245.5 1279.25 1124 1342.25 1123.42 1342.53 1156 1433.25 1153.25 1434.75 1153.75 1438.5 1147.5 1443 1153.75 1444.75 1135.5 1484.5 1127.32 1501.26 1131.5 1500.25 1137.5 1499.75 1153.25 1495.25 1159 1492.25 1190.25 1479.5 1253 1453.75 1290.25 1444.75 1360.25 1421 1379.5 1414.75 1387.5 1411.75 1387.5 1373.38 1387.5 1186.75 1387.25 1146Z"],povMarker:5,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[6],datasourceKey:"custo-part-7",inputVisual:"/img/custo/custoPartVisual-sideBody.png",clippingMask:["M1510.75,0l.75,28.75,463.5-1L1986.75,10l.75-10Z","M332.5,1837.25l-4.75,3.5L326,1848l-.25,8.25,498.5-.25,18.75-6.25,2.25-10Z","M1123.42 1342.53 1054.75 1375.5 1029 1390 972.75 1420.75 922 1448.5 845.75 1490 818 1510.75 790.25 1528.75 762.25 1543.5 700.25 1586.5 671.75 1612.25 634.75 1637.75 608.25 1655.75 591.5 1669 570.35 1682.87 570 1683.5 660.75 1674.25 702.75 1667.75 747.75 1662.25 821.5 1654.75 868 1634.5 921 1607.75 968.25 1582.75 1008 1563.25 1045.75 1546 1073.5 1534 1100.5 1525.25 1108 1519.75 1115.25 1522 1119.75 1516.75 1135.5 1484.5 1153.75 1444.75 1147.5 1443 1153.75 1438.5 1153.25 1434.75 1156 1433.25 1123.42 1342.53Z","M606 900.5 632.75 918 671.25 945.75 699.5 971.75 764 1015 803 1036.75 822.75 1049 846.5 1067.5 865 1078.25 940.75 1119.5 1005.5 1155.25 1070.5 1190 1123.98 1215.26 1124.5 1215.25 1155.75 1124.5 1153 1123.5 1153 1119.75 1148.5 1114.75 1152.25 1112.75 1147.75 1098 1128.25 1057.25 1131.25 1058.25 1130.25 1056.25 1114.5 1036.75 1112.25 1035.75 1108.25 1037 1099.25 1031 1073.75 1023 1037.75 1008 991 986 901.25 940.25 822.5 902.5 706.75 891 662.25 883.75 568.91 873.79 606 900.5Z"],povMarker:6,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[7],datasourceKey:"custo-part-8",inputVisual:"/img/custo/custoPartVisual-mainBody.png",clippingMask:["M1245.52,1279.25l-121-63.76-54-25.53-65-34.68-64.76-35.74-75.78-41.24
1-18.51-10.76L822.65,1049l-19.77-12.26-39-21.77-64.52-43.24-28.22-26-38.49-27.72-26.73-17.52-37.48-27L423.71,860.29,429.47,907l-5.26,198-10.76,8.26-89,17.26-164.26-13-12.27.25-7.25,11.26-91.14,2.56L0,1150.52v63.77l131.23-.25.25-72.27,1.5-4.26,77.73,1.5v75.53l77.22-6,35.74-7.26L417.16,1178l94.74-26.48,51-13.26L606.14,1128l10-1.5,80.23-1,39.49-.75,18.27,2,16,2.5,22.27,12,12.52,9.26L819,1163l10.51,12.76,9.26,13.51,4.5,7.76,4.51,12,1.5,11.76.5,10.26,131-2.5,9.26,47.5-9.26,46.74-58.51,21.27-37.24.75-36-1,.5,3.26-3.75,8.75-6.76,12-9.76,14.26-9.26,11-7,7.51-14,10.51-8.51,7-10.51,4.26-11.26,4.25-29,6.26-46-.5-51-1.25-32.23.25-62.52-15-85.68-23.92L391.73,1374,351,1363.23l-32.73-7.51-30.48-6-77-5.51V1419l-5.76,3.5-70,1.5-3.75-3.5.25-77.73-42.74-.25-54.51-.25-34.28.2v34.73l53.05,46.15,71.07,10.51,8,13.51,78.08-5,120.56.1,6.26-15.27,87.23,16,9,23.77,4,58.76,1.25,115.51-13.26,55.26,73.27-5.76,35.73-5.75,34.74-1.26L591.53,1669l16.76-13.26,26.48-18,37-25.53,28.47-25.72,62-43,28-14.77,27.73-18L845.68,1490l76.27-41.5,50.75-27.72L1029,1390l25.73-14.52,69.27-33.23Z"],povMarker:7,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[8],datasourceKey:"custo-part-9",inputVisual:"/img/custo/custoPartVisual-topBody.png",clippingMask:["M131.47 1342.75 131.03 1214 0 1214.25 0 1342.5 131.47 1342.75Z","M895.25,1711.75l331.5.75,28.5,107.25,48,16.5,41.25-21,18-72,26.25-23.25,292.5-1.5,21.75,12.75,1.5,27.75-51,9-303.75,141.75-75,.75L896,1750Z","M41.75,1733.5l-31.5,173.25,58.5,1.5L298.25,1756,377,1728.25l-1.5-15-36-5.25L167,1715.5l-78,6.75Z","M21,655.75l177,106.5,8.25,7.5,12,5.25,130.5,48,21.75,27-2.25,12H334.5l-110.25-8.25L99,844.75,41.25,853,0,667Z","M853.75 1341.75 816.25 1330.25 744.75 1331.25 713.5 1290.5 697.75 1289.75 665.75 1317.5 655.75 1317.5 649.75 1315.5 641 1317.75 618.75 1312.25 609.25 1301.25 604.75 1277.75 617.25 1255.25 637.75 1244.25 664.25 1244.75 686.25 1267.75 708.25 1272.25 714.25 1233.75 849.75 1230.99 849.25 1220.75 847.75 1209 843.25 1197 838.75 1189.25 829.5 1175.75 819 1163 805 1150.5 792.5 1141.25 770.25 1129.25 754.25 1126.75 736 1124.75 696.5 1125.5 616.25 1126.5 606.25 1128 563 1138.25 512 1151.5 417.25 1178 323.75 1201.25 288 1208.5 210.75 1214.5 210.75 1344.25 287.75 1349.75 318.25 1355.75 351 1363.25 391.75 1374 462.25 1392.5 548 1416.25 610.5 1431.25 642.75 1431 693.75 1432.25 739.75 1432.75 768.75 1426.5 780 1422.25 790.5 1418 799 1411 813 1400.5 820 1393 829.25 1382 839 1367.75 845.75 1355.75 849.5 1347 849 1343.75 853.04 1343.86 853.75 1341.75Z"],povMarker:8,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]},{id:i.Z[9],datasourceKey:"custo-part-10",inputVisual:"/img/custo/custoPartVisual-rearStabilizer.png",clippingMask:["M68.75,855l107.75-4.25,134.25,11L270.25,939l47.25,178.75h-112l-1-25.75H151.25l-2.75,2h-2l-6,3.5-5,1.75-17.75-25.75-78.5-
173.25L42,986l136.5.25,11.25-3L208.5,969l-5-5.25-1.25-.75-3.5-3,3.25-3.25-1.25-1-141.5-3.5L39.75,949Z","M283.25,1572.75l16.75-71.5,25.5-48-8.25-9.75L214,1441.25l-1.25,30-54-.25-2.75-2.5h-4.5l-100,92-.75,9.25,1.25,8,156.25.5,15.25,21.5-1,2h-4.75l-2.75,3,3,3-1.75,1-158.5,3.5,23,104,169-8,81.5-1.75L316.5,1688l-43-39-23-41.25Z"],povMarker:9,availableColors:["white","black","red","pink","orange","blueLight","green","yellow","purple","gold","chrome","titanium","ariya","aluminium","charcoal"],availablePatterns:[]}];t.Z=r},4426:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(1752),r=n.n(i),o=n(839),a=Number.isInteger||function(e){return e<<0===e},s=n(3916),l=(0,o.Z)(function(e,t){var n=e<0?t.length+e:e;return(0,s.Z)(t)?t.charAt(n):t[n]}),c=(0,o.Z)(function(e,t){if(null!=t)return a(e)?l(e,t):t[e]}),d=n(3454),u=e=>{let{serverRuntimeConfig:t,publicRuntimeConfig:n}=r()()||{},i=c(e);return void 0!==i(n)?i(n):void 0!==i(t)?i(t):i(d.env)}},4646:function(e,t,n){"use strict";n.d(t,{A_:function(){return g},U9:function(){return c},Xn:function(){return h},Yx:function(){return y},jU:function(){return s},o0:function(){return u},t8:function(){return m},uT:function(){return b},wT:function(){return d},xb:function(){return l},yl:function(){return v}});var i=n(3162),r=n(5733),o=n.n(r),a=n(4654);let s=()=>!0,l=e=>{var t;return null===e||!("object"!=typeof e?!!(null==e?void 0:e.length):!!(null===(t=Object)||void 0===t?void 0:t.keys(e).length))},c=e=>e===a.O9.black?"layout-dark":"layout-light",d=(e,t,n)=>new Date(e).toLocaleString("ja"===t?"ja-JP":"en-US",{year:"numeric",month:n,day:"numeric"}),u=e=>{let t=e.getMinutes(),n=e.getMonth()+1,i=e.getDate();t=t<10?"0".concat(t):t,n=n<10?"0".concat(n):n,i=i<10?"0".concat(i):i;let r="".concat(e.getHours(),":").concat(t);return"".concat(e.getFullYear(),"-").concat(n,"-").concat(i,"  ").concat(r)},h={desktop:{width:1920,height:1080},tablet:{width:1280,height:720},mobile:{width:720,height:405}},p=e=>{let t=e.lastIndexOf("/");return e.slice(t+1,null==e?void 0:e.length)},f=e=>e.replace(/[/\\?%*:|"<>]/g,"-"),g=async(e,t)=>fetch(e.replace("a.storyblok.com","s3.amazonaws.com/a.storyblok.com")).then(e=>e.blob()).then(n=>{(0,i.saveAs)(n,t||p(e))}),m=(e,t)=>{let n=new(o()),r=n.folder(t),a=[];e.forEach(e=>{if(e.Image||e.Mp4Url.url){var t,n,i;let o=e.Image?f((null===(t=e.Image)||void 0===t?void 0:t.title)||(null===(n=e.Image)||void 0===n?void 0:n.name)||e.AlternativeText||p(e.Image.filename).split(".")[0]):f(p(e.Mp4Url.url).split(".")[0]);a.push(fetch(((null==e?void 0:null===(i=e.Image)||void 0===i?void 0:i.filename)||e.Mp4Url.url).replace("a.storyblok.com","s3.amazonaws.com/a.storyblok.com"),{headers:{"content-type":e.Image?"image/jpeg":"video/mp4"}}).then(t=>{r.file(o+(e.Image?".jpg":".mp4"),t.arrayBuffer())}))}}),Promise.all(a).then(()=>{n.generateAsync({type:"blob"}).then(e=>{(0,i.saveAs)(e,"".concat(t,".zip"))})})},v=(e,t)=>{let n=null==e?void 0:e.find(e=>e.name===t);return(null==n?void 0:n.dimension_value)||(null==n?void 0:n.value)},b=e=>{var t,n;return{width:null==e?void 0:null===(t=e.split("/")[5])||void 0===t?void 0:t.split("x")[0],height:null==e?void 0:null===(n=e.split("/")[5])||void 0===n?void 0:n.split("x")[1]}},y=(e,t)=>{var n;let i=null==e?void 0:null===(n=e.content)||void 0===n?void 0:n.SEO,r=e=>e||("en"===t?"At Nissan Motorsport (NISMO) it's all about innovation and performance":"日産モータースポーツ (NISMO) では、イノベーションとパフォーマンスがすべてです");return{title:(null==i?void 0:i.title)||"Nismo",description:r(null==i?void 0:i.description),openGraph:{url:"https://www.nismo.com/".concat((null==e?void 0:e.full_slug)||""),description:r(null==i?void 0:i.og_description),images:[{url:(null==i?void 0:i.og_image)||"/img/nismo.jpg"}]},twitter:{cardType:"summary",site:"@NISMO"}}}},6891:function(e){"use strict";e.exports=[{source:"/driver/norman-nato",destination:"/formulae/team",permanent:!0},{source:"/config",destination:"/",permanent:!0},{source:"/tags/:slug*",destination:"/",permanent:!0},{source:"/error-pages/:slug*",destination:"/",permanent:!0},{source:"/driver/sacha-fenestraz",destination:"/formulae/team",permanent:!0},{source:"/fanboost",destination:"/formulae/team",permanent:!0},{source:"/formula-e",destination:"/formulae/",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-diriyah-rounds-1-2",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-jakarta-e-prix-round-9",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-london-e-prix-rounds-13-and-14",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-marrakesh-e-prix-round-10",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-mexico-city-e-prix-round-3",destination:"/gallery/formula-e-mexico-city-e-prix-2023",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-monaco-e-prix-round-6",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-new-york-city-e-prix-rounds-11-and-12",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-pre-season-testing",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-rome-e-prix-rounds-4-5",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-seoul-e-prix-rounds-15-and-16",destination:"/gallery",permanent:!0},{source:"/gallery/2021-22-abb-fia-formula-e-world-championship-shell-recharge-berlin-e-prix-rounds-7-8",destination:"/gallery",permanent:!0},{source:"/gallery/filter/formula-e",destination:"/gallery",permanent:!0},{source:"/gallery/filter/supergt",destination:"/gallery",permanent:!0},{source:"/gallery/gallery",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-preseason-test-valencia",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-finale-berlin",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-round-7-monaco",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-round-8-9-puebla",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-rounds-10-11-new-york-city",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-rounds-12-13-london",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-rounds-1-2-diriyah",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-rounds-3-4-rome",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-formula-e-season-seven-rounds-5-6-valencia",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-nissan-super-gt-race-cars",destination:"/gallery",permanent:!0}
1,{source:"/gallery/gallery-super-gt-2021-round-1-okayama",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-2-fuji",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-3-suzuka",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-4-motegi",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-5-sugo",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-6-autopolis",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-7-motegi",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2021-round-8-fuiji-speedway",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2022-round-1-okayama",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2022-round-5-suzuka",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2022-round-7-autopolis",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-2022-round-8-motegi",destination:"/gallery",permanent:!0},{source:"/gallery/gallery-super-gt-preseason-test-2021-okayama",destination:"/gallery",permanent:!0},{source:"/management/tommaso-volpe",destination:"/formulae/team",permanent:!0},{source:"/news/12-calsonic-impul-gt-r-grabs-first-win-of-the-season",destination:"/news",permanent:!0},{source:"/news/12-calsonic-impul-z-finishes-3rd-in-turbulent-fuji-race",destination:"/news/calsonic-impul-z-finishes-3rd-turbulent-fuji-race",permanent:!0},{source:"/news/23-motul-autech-gt-r-races-to-3rd-step-on-the-podium",destination:"/news",permanent:!0},{source:"/news/23-nissan-z-grabs-3rd-place-podium-in-super-gt-opening-round",destination:"/news/23-nissan-z-3rd-place-podium-super-gt-opening-round",permanent:!0},{source:"/news/3-craftsports-motul-gt-r-finishes-5th-in-turbulent-fuji-500km-race",destination:"/news",permanent:!0},{source:"/news/3-craftsports-motul-gt-r-finishes-6th-in-sweltering-motegi-race",destination:"/news",permanent:!0},{source:"/news/3-craftsports-motul-gt-r-grabs-9th-in-super-gt-opening-round",destination:"/news",permanent:!0},{source:"/news/3-craftsports-motul-z-powers-to-victory-at-suzuka",destination:"/news",permanent:!0},{source:"/news/3-z-leads-gt500-championship-after-second-season-win-in-tumultuous-race-23-zs-2nd-place-sees-a-1-2-finish-for-the-nissan-z-gt500",destination:"/news",permanent:!0},{source:"/news/a-challenging-berlin-double-header-for-nissan-e-dams-formula-e",destination:"/news",permanent:!0},{source:"/news/calsonic-impul-z-becomes-gt-series-champion-with-2nd-place-finish-at-motegi",destination:"/news",permanent:!0},{source:"/news/calsonic-impul-z-triumphs-and-brings-fifth-consecutive-victory-for-nismo-at-suzuka",destination:"/news",permanent:!0},{source:"/news/change-of-super-gt-gt500-class-vehicles",destination:"/news",permanent:!0},{source:"/news/double-top-10-finish-for-nissan-e-dams-in-mexico-city",destination:"/news",permanent:!0},{source:"/news/filter/formula-e",destination:"/news",permanent:!0},{source:"/news/filter/other-racing",destination:"/news",permanent:!0},{source:"/news/filter/road-car",destination:"/news",permanent:!0},{source:"/news/filter/sentra-cup",destination:"/news",permanent:!0},{source:"/news/filter/supergt",destination:"/news",permanent:!0},{source:"/news/filter/super-gt",destination:"/news",permanent:!0},{source:"/news/gt-rs-dominate-the-podium-at-suzuka",destination:"/news",permanent:!0},{source:"/news/gt-rs-finish-7th-to-9th-in-final-gt500-class-race-for-the-r35",destination:"/news",permanent:!0},{source:"/news/hard-fought-p8-for-nissan-e-dams-in-intense-monaco-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-acquires-e-dams-race-team",destination:"/news/nissan-acquires-edams-race-team",permanent:!0},{source:"/news/nissan-and-nismo-announce-2021-motorsports-programs",destination:"/news",permanent:!0},{source:"/news/nissan-and-nismo-announce-2021-super-gt-gt500-class-driver-lineup",destination:"/news",permanent:!0},{source:"/news/nissan-and-nismo-announce-2022-motorsports-programs",destination:"/nissan-nismo-announce-2022-motorsports-programs",permanent:!0},{source:"/news/nissan-and-nismo-announce-2022-super-gt-gt500-class-driver-lineup",de
1stination:"/news/2022-super-gt-gt500-class-driver-lineup",permanent:!0},{source:"/news/nissan-and-nismo-unveil-nissan-z-gt500-race-car-for-super-gt-series",destination:"/news/nissan-nismo-unveil-nissan-z-gt500-race-car",permanent:!0},{source:"/news/nissan-brain-to-performance-seb-and-max-cinemagraphs",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-adds-to-points-tally-in-new-york-city-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-aiming-for-points-in-season-ending-seoul-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-aiming-to-repeat-past-success-at-new-york-city-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-all-set-for-the-eagerly-anticipated-jakarta-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-announces-maximilian-guenther-as-new-formula-e-driver",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-begins-new-formula-e-season-with-strong-momentum",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-building-pace-ahead-of-formula-e-new-york-city-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-builds-performance-ahead-of-iconic-mexico-city-formula-e-race",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-concludes-successful-pre-season-test-in-valencia",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-fights-hard-in-a-challenging-marrakesh-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-formula-e-driver-maximilian-guenther-becomes-nissan-france-electric-vehicle-ambassador",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-formula-e-team-back-racing-in-iconic-monaco",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-heads-to-rome-for-double-header-formula-e-event",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-kicks-off-european-formula-e-schedule-2",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-looking-forward-to-formula-e-season-finale-in-berlin",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-pushing-hard-for-more-points-at-formula-e-double-header-in-rome",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-races-hard-at-challenging-formula-e-london-races",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-races-hard-at-eventful-formula-e-valencia-double-header",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-races-in-thrilling-formula-e-monaco-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-ready-for-classic-formula-e-double-header-in-berlin",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-ready-for-season-8-inaugural-double-header",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-reveals-bold-new-racing-livery-for-formula-e-season-8",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-rounds-off-season-8-with-points-in-seoul-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-scores-podium-finish-at-the-mexico-formula-e-race",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-scores-podium-in-final-formula-e-world-championship-race",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-scores-points-at-formula-e-races-in-rome",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-scores-points-in-first-two-races-of-new-formula-e-season",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-set-for-unique-semi-indoor-london-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-set-to-go-racing-on-iconic-monaco-street-circuit",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-shows-pace-in-challenging-diriyah-formula-e-opening-rounds",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-take-double-top-10-finish-at-formula-e-new-york-city-race",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-takes-points-finish-in-maiden-jakarta-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-to-race-at-historic-royal-docks-for-formula-e-london-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-to-race-on-new-circuit-for-formula-e-mexico-e-prix",destination:"/news",permanent:!0},{source:"/news/nissan-e-dams-to-take-on-the-heat-in-marrakesh-e-prix-return",destination:"/news",permanent:!0},{source:"/news/nissan-electrifies-manchester-city-with-pulse-racing-driving-stunt",destination:"/news",permanent:!0},{source:"/news/nissan-formula-e-announces-driver-line-up-for-season-9",destination:"/news",permanent:!0},{source:"/news/nissan-launches-brain-function-development-program-to-enhance-racing-driver-performance",destination:"/news/nissan-launches-brain-function-development-program",permanent:!0},{source:"/news/nissan-reveals-high-performance-ariya-single-seater-concept",destination:"/news/nissan-reveals-ariya-single-seater-concept",permanent:!0},{source:"/news/nissan-to-bring-more-formula-e-racing-excitement-through-2026",destination:"/news",permanent:!0},{source:"/news/nissan-to-supply-formula-e-gen3-powertrains-to-mclaren-racing",destination:"/news",permanent:!0},{source:"/news/pole-sitter-24-nissan-z-gt500-grabs-3rd-step-on-the-podium",destination:"/news",permanent:!0},{source:"/news/race-leading-12-calsonic-impul-gt-r-finishes-3rd-after-dramatic-last-lap",destination:"/news",permanent:!0},{source:"/news/two-points-for-nissan-e-dams-in-challenging-formula-e-rome-double-header",destination:"/news",permanent:!0},{source:"/news/two-top-10-finishes-for-nissan-e-dams-in-london-e-prix",destination:"/news",permanent:!0},{source:"/news/two-zs-finish-on-the-podium-at-fuji",destination:"/news",permanent:!0},{source:"/partners/cfi-financial-group",destination:"/formulae/partners",permanent:!0},{source:"/partners/dupont",destination:"/formulae/partners",permanent:!0},{source:"/partners/shell",destination:"/formulae/partners",permanent:!0},{source:"/partners/woolmark",destination:"/formulae/partners/partner/woolmark",permanent:!0},{source:"/pre-race-show",destination:"/formulae/races",permanent:!0},{source:"/pre-race-show/2022-diriyah-nissan-formula-e",destination:"/formulae/races/r2-saudi-arabia-eprix",permanent:!0},{source:"/pre-race-show/2022-mexico-nissan-formula-e",destination:"/formulae/races/r1-mexico-city-eprix",permanent:!0}]},3348:function(e,t,n){"use strict";function i(e){return(null==e?void 0:e.linktype)==="url"?e.url:(null==e?void 0:e.linktype)==="story"&&(null==e?void 0:e.story)?"/".concat(e.story.url):"string"==typeof e?e:void console.error("helpers/renderLinkUrl : Incorrect link object provided.")}n.d(t,{Z:function(){return i}})},677:function(e,t,n){"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,n=arguments.length>
12&&void 0!==arguments[2]?arguments[2]:400,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"webp";return e?"".concat(e,"/m/fit-in/").concat(t,"x").concat(n,"/filters:quality(").concat(i,"):format(").concat(r,")"):null}n.d(t,{Z:function(){return i}})},8474:function(e,t,n){"use strict";function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16;return"".concat(e/t,"rem")}n.d(t,{Z:function(){return i}})},4250:function(e,t,n){"use strict";var i=n(7294),r=n(4646);t.Z=()=>{let[e,t]=(0,i.useState)({width:void 0,height:void 0});return(0,i.useEffect)(()=>{if((0,r.jU)()){let e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}},[]),e}},8805:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{default:function(){return sp}});var r,o=n(5893);n(8851);var a=n(7294),s=n(1163),l=n(9036),c=n(5697),d=n.n(c),u=n(2962);let h=new class{constructor(){this.raf=e=>{requestAnimationFrame(this.raf);let t=e-this.now;this.now=e;for(let n=0;n<this.callbacks.length;n++)this.callbacks[n].callback(e,t)},"undefined"!=typeof window&&(this.callbacks=[],this.now=performance.now(),requestAnimationFrame(this.raf))}
1add(e,t=0){return this.callbacks.push({callback:e,priority:t}),this.callbacks.sort((e,t)=>e.priority-t.priority),()=>this.remove(e)}remove(e){this.callbacks=this.callbacks.filter(({callback:t})=>e!==t)}},p=()=>({events:{},emit(e,...t){let n=this.events[e]||[];for(let e=0,i=n.length;e<i;e++)n[e](...t)},on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}});function f(e,t,n){return Math.max(e,Math.min(t,n))}class g{advance(e){var t,n;if(!this.isRunning)return;let i=!1;if(this.lerp)this.value=(1-(n=this.lerp))*this.value+n*this.to,Math.round(this.value)===this.to&&(this.value=this.to,i=!0);else{this.currentTime+=e;let t=f(0,this.currentTime/this.duration,1),n=(i=t>=1)?1:this.easing(t);this.value=this.from+(this.to-this.from)*n}null==(t=this.onUpdate)||t.call(this,this.value,{completed:i}),i&&this.stop()}stop(){this.isRunning=!1}fromTo(e,t,{lerp:n=.1,duration:i=1,easing:r=e=>e,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=n,this.duration=i,this.easing=r,this.currentTime=0,this.isRunning=!0,this.onUpdate=o}}var m=0;function v(e){return"__private_"+m+++"_"+e}function b(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var y=v("resizeObserver"),w=v("onResize"),x=v("onWindowResize");class k{constructor(e){Object.defineProperty(this,y,{writable:!0,value:void 0}),Object.defineProperty(this,w,{writable:!0,value:([e])=>{if(e){let{width:t,height:n}=e.contentRect;this.width=t,this.height=n}}}),Object.defineProperty(this,x,{writable:!0,value:()=>{this.width=window.innerWidth,this.height=window.innerHeight}}),this.element=e,e===window?(window.addEventListener("resize",b(this,x)[x]),b(this,x)[x]()):(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,b(this,y)[y]=new ResizeObserver(b(this,w)[w]),b(this,y)[y].observe(this.element))}destroy(){window.removeEventListener("resize",this.onWindowResize),b(this,y)[y].disconnect()}}var _=v("wheelMultiplier"),C=v("touchMultiplier"),Z=v("normalizeWheel"),j=v("touchStart"),P=v("emitter"),S=v("onTouchStart"),E=v("onTouchMove"),O=v("onWheel");class A{constructor(e,{wheelMultiplier:t=1,touchMultiplier:n=2,normalizeWheel:i=!1}){Object.defineProperty(this,_,{writable:!0,value:void 0}),Object.defineProperty(this,C,{writable:!0,value:void 0}),Object.defineProperty(this,Z,{writable:!0,value:void 0}),Object.defineProperty(this,j,{writable:!0,value:void 0}),Object.defineProperty(this,P,{writable:!0,value:void 0}),Object.defineProperty(this,S,{writable:!0,value:e=>{let{pageX:t,pageY:n}=e.targetTouches?e.targetTouches[0]:e;b(this,j)[j].x=t,b(this,j)[j].y=n}}),Object.defineProperty(this,E,{writable:!0,value:e=>{let{pageX:t,pageY:n}=e.targetTouches?e.targetTouches[0]:e,i=-(t-b(this,j)[j].x)*b(this,C)[C],r=-(n-b(this,j)[j].y)*b(this,C)[C];b(this,j)[j].x=t,b(this,j)[j].y=n,b(this,P)[P].emit("scroll",{type:"touch",deltaX:i,deltaY:r,event:e})}}),Object.defineProperty(this,O,{writable:!0,value:e=>{let{deltaX:t,deltaY:n}=e;b(this,Z)[Z]&&(t=f(-100,t,100),n=f(-100,n,100)),t*=b(this,_)[_],n*=b(this,_)[_],b(this,P)[P].emit("scroll",{type:"wheel",deltaX:t,deltaY:n,event:e})}}),this.element=e,b(this,_)[_]=t,b(this,C)[C]=n,b(this,Z)[Z]=i,b(this,j)[j]={x:null,y:null},b(this,P)[P]=p(),this.element.addEventListener("wheel",b(this,O)[O],{passive:!1}),this.element.addEventListener("touchstart",b(this,S)[S],{passive:!1}),this.element.addEventListener("touchmove",b(this,E)[E],{passive:!1})}on(e,t){return b(this,P)[P].on(e,t)}destroy(){b(this,P)[P].events={},this.element.removeEventListener("wheel",b(this,O)[O],{passive:!1}),this.element.removeEventListener("touchstart",b(this,S)[S],{passive:!1}),this.element.removeEventListener("touchmove",b(this,E)[E],{passive:!1})}}class I{constructor({direction:e,gestureDirection:t,mouseMultiplier:n,smooth:i,wrapper:r=window,content:o=document.documentElement,smoothWheel:a=null==i||i,smoothTouch:s=!1,duration:l,easing:c=e=>Math.min(1,1.001-Math.pow(2,-10*e)),lerp:d=l?null:.1,infinite:u=!1,orientation:h=null!=e?e:"vertical",gestureOrientation:f=null!=t?t:"vertical",touchMultiplier:m=2,wheelMultiplier:v=null!=n?n:1,normalizeWheel:b=!0}={}){this.onVirtualScroll=({type:e,deltaX:t,deltaY:n,event:i})=>{if(i.ctrlKey||"vertical"===this.options.gestureOrientation&&0===n||"horizontal"===this.options.gestureOrientation&&0===t||i.composedPath().find(e=>null==e||null==e.hasAttribute?void 0:e.hasAttribute("data-lenis-prevent")))return;if(this.isStopped||this.isLocked)return void i.preventDefault();if(this.isSmooth=this.options.smoothTouch&&"touch"===e||this.options.smoothWheel&&"wheel"===e,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();i.preventDefault();let r=n;"both"===this.options.gestureOrientation?r=Math.abs(n)>Math.abs(t)?n:t:"horizontal"===this.options.gestureOrientation&&(r=t),this.scrollTo(this.targetScroll+r,{programmatic:!1})},this.onScroll=()=>{if(!this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-e),this.emit
1()}},e&&console.warn("Lenis: `direction` option is deprecated, use `orientation` instead"),t&&console.warn("Lenis: `gestureDirection` option is deprecated, use `gestureOrientation` instead"),n&&console.warn("Lenis: `mouseMultiplier` option is deprecated, use `wheelMultiplier` instead"),i&&console.warn("Lenis: `smooth` option is deprecated, use `smoothWheel` instead"),window.lenisVersion="1.0.0-dev.8",r!==document.documentElement&&r!==document.body||(r=window),this.options={wrapper:r,content:o,smoothWheel:a,smoothTouch:s,duration:l,easing:c,lerp:d,infinite:u,gestureOrientation:f,orientation:h,touchMultiplier:m,wheelMultiplier:v,normalizeWheel:b},this.wrapper=new k(r),this.content=new k(o),this.rootElement.classList.add("lenis"),this.velocity=0,this.isStopped=!1,this.isSmooth=a||s,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.animate=new g,this.emitter=p(),this.wrapper.element.addEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll=new A(r,{touchMultiplier:m,wheelMultiplier:v,normalizeWheel:b}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.events={},this.wrapper.element.removeEventListener("scroll",this.onScroll,{passive:!1}),this.virtualScroll.destroy()}on(e,t){return this.emitter.on(e,t)}off(e,t){var n;this.emitter.events[e]=null==(n=this.emitter.events[e])?void 0:n.filter(e=>t!==e)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.velocity=0}start(){this.isStopped=!1,this.reset()}stop(){this.isStopped=!0,this.animate.stop(),this.reset()}raf(e){let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:n=!1,lock:i=!1,duration:r=this.options.duration,easing:o=this.options.easing,lerp:a=!r&&this.options.lerp,onComplete:s,force:l=!1,programmatic:c=!0}={}){if(!this.isStopped||l){if(["top","left","start"].includes(e))e=0;else if(["bottom","right","end"].includes(e))e=this.limit;else{var d;let n;if("string"==typeof e?n=document.querySelector(e):null!=(d=e)&&d.nodeType&&(n=e),n){if(this.wrapper.element!==window){let e=this.wrapper.element.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}let i=n.getBoundingClientRect();e=(this.isHorizontal?i.left:i.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):e=f(0,e,this.limit),n)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.animate.stop(),this.reset(),this.emit(),void(null==s||s());c||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:r,easing:o,lerp:a,onUpdate:(e,{completed:t})=>{i&&(this.isLocked=!0),this.isScrolling=!0,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),c&&(this.targetScroll=e),t&&(i&&(this.isLocked=!1),requestAnimationFrame(()=>{this.isScrolling=!1}),this.velocity=0,null==s||s()),this.emit()}})}}}get rootElement(){return this.wrapper.element===window?this.content.element:this.wrapper.element}get limit(){return Math.round(this.isHorizontal?this.content.width-this.wrapper.width:this.content.height-this.wrapper.height)}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){var e;let t;return this.options.infinite?(t=this.animatedScroll%(e=this.limit),(e>0&&t<0||e<0&&t>0)&&(t+=e),t):this.animatedScroll}get progress(){return this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(e){this.__isSmooth!==e&&(this.rootElement.classList.toggle("lenis-smooth",e),this.__isSmooth=e)}get isScrolling(){return this.__isScrolling}set isScrolling(e){this.__isScrolling!==e&&(this.rootElement.classList.toggle("lenis-scrolling",e),this.__isScrolling=e)}get isStopped(){return this.__isStopped}set isStopped(e){this.__isStopped!==e&&(this.rootElement.classList.toggle("lenis-stopped",e),this.__isStopped=e)}}let T=e=>{let t;let n=new Set,i=(e,i)=>{let r="function"==typeof e?e(t):e;if(!Object.is(r,t)){let e=t;t=(null!=i?i:"object"!=typeof r||null===r)?r:Object.assign({}
1,t,r),n.forEach(n=>n(t,e))}},r=()=>t,o={setState:i,getState:r,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(i,r,o);return o},R=e=>e?T(e):T;var L=n(2798);let{useDebugValue:z}=a,{useSyncExternalStoreWithSelector:B}=L,M=!1,N=e=>e,F=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?R(e):e,n=(e,n)=>(function(e,t=N,n){n&&!M&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),M=!0);let i=B(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return z(i),i})(t,e,n);return Object.assign(n,t),n};function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}let D=(i=()=>({}))?F(i):F,U=(0,a.createContext)(),V=(0,a.forwardRef)(({children:e,root:t=!1,options:n={},isStopped:i=!1,className:r},o)=>{let s=(0,a.useRef)(),l=(0,a.useRef)(),[c,d]=(0,a.useState)(),u=(0,a.useRef)([]),p=(0,a.useCallback)((e,t)=>{u.current.push({callback:e,priority:t}),u.current.sort((e,t)=>e.priority-t.priority)},[]),f=(0,a.useCallback)(e=>{u.current=u.current.filter(t=>t.callback!==e)},[]);(0,a.useImperativeHandle)(o,()=>c,[c]),(0,a.useEffect)(()=>{t||(n.wrapper=s.current,n.content=l.current);let e=new I(H({},n));return d(e),()=>{e.destroy(),d(void 0)}},[t]),function(e,t=0){(0,a.useEffect)(()=>{if(e)return h.add(e,t),()=>h.remove(e)},[e,t])}(e=>{null==c||c.raf(e)}),(0,a.useEffect)(()=>{c&&(i?c.stop():c.start())},[c,i]),(0,a.useEffect)(()=>{t&&c&&D.setState({lenis:c,addCallback:p,removeCallback:f})},[t,c,p,f]);let g=(0,a.useCallback)(e=>{for(let t=0;t<u.current.length;t++)u.current[t].callback(e)},[]);return(0,a.useEffect)(()=>{if(c)return c.on("scroll",g),()=>{c.off("scroll",g)}},[c,g]),a.createElement(U.Provider,{value:{lenis:c,addCallback:p,removeCallback:f}},t?e:a.createElement("div",{ref:s,className:r},a.createElement("div",{ref:l},e)))});V.displayName="ReactLenis",V.propTypes={children:c.node,root:c.bool,options:c.object,isStopped:c.bool,className:c.string};var W=n(8567),G=n(455),X=n(8801),q=n(4654),$=n(9521),J=n(8474);$.ZP.div.withConfig({componentId:"sc-3ac11089-0"})(["padding:",";background-color:",";p{margin-top:",";}@media screen and ","{padding:",";p{margin-top:",";}}@media screen and ","{padding:",";.text_rule{margin-right:-",";}p{margin-top:0;}}"],e=>e.hasLink?"0 ".concat((0,J.Z)(17)," ").concat((0,J.Z)(80)):"".concat((0,J.Z)(60)," ").concat((0,J.Z)(17)," 0"),e=>e.bgColor,(0,J.Z)(28),q.Hb.tablet,e=>e.hasLink?" ".concat((0,J.Z)(70)," ").concat((0,J.Z)(37)," ").concat((0,J.Z)(90)):"".concat((0,J.Z)(70)," ").concat((0,J.Z)(37)," 0"),(0,J.Z)(50),q.Hb.desktop,e=>e.hasLink?" ".concat((0,J.Z)(100)," ").concat((0,J.Z)(180)," ").concat((0,J.Z)(120)," ").concat((0,J.Z)(70)):"".concat((0,J.Z)(100)," ").concat((0,J.Z)(180)," 0 ").concat((0,J.Z)(70)),(0,J.Z)(50));let Y=(0,$.ZP)(q.W2).withConfig({componentId:"sc-3ac11089-1"})(["background-color:",";"," .text_rule{opacity:0;position:relative;transition:opacity 1.2s 0.2s ease-in,top 0.5s ease-out;&::after{transform-origin:top left;transform:scaleX(0);transition:transform 1.4s 0.4s cubic-bezier(0.87,0,0.13,1);}@media screen and ","{&.harmonize-height{display:flex;align-items:end;height:",";}}@media screen and (prefers-reduced-motion:reduce){opacity:1;top:0;&::after{transform:scaleX(1);}}}&.has-intersected{.text_content_text{opacity:1;}.text_rule{opacity:1;&::after{transform:scaleX(1);}}}"],e=>e.bgColor,e=>!e.noPaddingTop&&(0,$.iv)(["padding-top:",";padding-bottom:",";@media screen and ","{padding-top:",";padding-bottom:",";}@media screen and ","{padding-top:",";}"],(0,J.Z)(40),(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(50),q.Hb.desktop,(0,J.Z)(120)),q.Hb.desktop,(0,J.Z)(60)),K=$.ZP.div.withConfig({componentId:"sc-3ac11089-2"})(["h1,h2{color:",";font-size:",";letter-spacing:0.001em;font-weight:300;margin-top:",";.has-intersected &{opacity:1;}@media screen and ","{font-size:",";margin-top:",";}@media screen and ","{font-size:",";margin-top:0;&:first-letter{margin-left:12.5%;}}}"],e=>e.color,(0,J.Z)(35),(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(45),(0,J.Z)(35),q.Hb.desktop,(0,J.Z)(60));$.ZP.div.withConfig({componentId:"sc-3ac11089-3"})(["display:flex;justify-content:flex-end;margin-top:",";@media screen and ","{margin-top:-",";}"],(0,J.Z)(10),q.Hb.desktop,(0,J.Z)(95));var Q=n(5189);let ee=e=>{var t,n,i,r,s,c,d,u,h,p,f,g,m,v,b,y;let{blok:w,noPaddingTop:x}=e,k=w.background_color===q.O9.black?q.O9.white:q.O9.black,_=null==w?void 0:w.title;(0,a.useRef)(!0);let C=(0,a.useRef)(null),Z=(0,a.useRef)(null);return(0,a.useEffect)(()=>{C.current&&(0,Q.t_)(C.current,.1)},[C]),!w.title||(null===(t=w.title)||void 0===t?void 0:t.type)||(_={type:"doc",content:[{type:"paragraph",content:[{text:w.title,type:"text"}]}]}),(0,o.jsx)(o.Fragment,{children:((0,G.sY)(_)||(null===(r=w.text)||void 0===r?void 0:null===(i=r.content)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.content))&&(0,o.jsx)(Y,{bgColor:w.background_color,hasLink:(null===(c=w.link)||void 0===c?void 0:null===(s=c.url)||void 0===s?void 0:s.length)>0||(null===(d=w.link)||void 0===d?void 0:d.story),ref:C,className:"text_content",n
1oPaddingTop:x,...(0,l.LF)(w),children:(0,o.jsxs)(q.X2,{width:"100%",colGap:20,children:[(0,o.jsx)(q.JX,{size:{m:12,t:12,d:2},children:((0,G.sY)(_)||(null===(p=w.text)||void 0===p?void 0:null===(h=p.content)||void 0===h?void 0:null===(u=h[0])||void 0===u?void 0:u.content))&&(0,o.jsx)(X.Z,{label:(0,G.sY)(_),color:k,className:(null===(m=w.text)||void 0===m?void 0:null===(g=m.content)||void 0===g?void 0:null===(f=g[0])||void 0===f?void 0:f.content)?"harmonize-height":"",inheritAnim:!0})}),(null===(y=w.text)||void 0===y?void 0:null===(b=y.content)||void 0===b?void 0:null===(v=b[0])||void 0===v?void 0:v.content)&&(0,o.jsx)(q.JX,{size:{m:12,t:12,d:8},children:(0,o.jsx)(K,{color:k,className:"fade-element fade-element--as-child",ref:Z,children:(0,G.sY)(w.text)})})]})})})};function et(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function en(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let i=e[n],r=t[n];return"function"==typeof i?`${i}`==`${r}`:et(i)&&et(r)?en(i,r):i===r})}function ei(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function er(e){return"number"==typeof e}function eo(e){return"string"==typeof e}function ea(e){return"boolean"==typeof e}function es(e){return"[object Object]"===Object.prototype.toString.call(e)}function el(e){return Math.abs(e)}function ec(e){return Math.sign(e)}function ed(e){return ef(e).map(Number)}function eu(e){return e[eh(e)]}function eh(e){return Math.max(0,e.length-1)}function ep(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function ef(e){return Object.keys(e)}function eg(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function em(){let e=[],t={add:function(n,i,r,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(i,r,o),a=()=>n.removeEventListener(i,r,o)):(n.addListener(r),a=()=>n.removeListener(r)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function ev(e=0,t=0){let n=el(e-t);function i(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return i(n)?n<e?e:t:n},reachedAny:i,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function eb(e){let t=e;function n(e){return er(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function ey(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},i=t.style,r=null,o=!1;return{clear:function(){o||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let a=Math.round(100*e.direction(t))/100;a!==r&&(i.transform=n(a),r=a)},toggleActive:function(e){o=!e}}}ee.propTypes={blok:d().shape({title:d().oneOfType([d().string,d().object]),text:d().shape({}),background_color:d().string,link:d().shape({url:d().string,story:d().shape({})}),link_label:d().string}),noPaddingTop:d().bool},ee.defaultProps={blok:d().shape({title:"",text:{},background_color:"",link:{},link_label:""}),noPaddingTop:!1};let ew={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function ex(e,t,n){let i,r,o,a,s;let l=e.ownerDocument,c=l.defaultView,d=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(ef(n).forEach(i=>{let r=t[i],o=n[i],a=es(r)&&es(o);t[i]=a?e(r,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let i=n.breakpoints||{},r=ef(i).filter(t=>e.matchMedia(t).matches).map(e=>i[e]).reduce((e,n)=>t(e,n),{});return t(n,r)},optionsMediaQueries:function(t){return t.map(e=>ef(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(c),u=(s=[],{init:function(e,t){return(s=t.filter(({options:e})=>
1!1!==d.optionsAtMedia(e).active)).forEach(t=>t.init(e,d)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){s=s.filter(e=>e.destroy())}}),h=em(),p=function(){let e,t={},n={init:function(t){e=t},emit:function(i){return(t[i]||[]).forEach(t=>t(e,i)),n},off:function(e,i){return t[e]=(t[e]||[]).filter(e=>e!==i),n},on:function(e,i){return t[e]=(t[e]||[]).concat([i]),n},clear:function(){t={}}};return n}(),{mergeOptions:f,optionsAtMedia:g,optionsMediaQueries:m}=d,{on:v,off:b,emit:y}=p,w=!1,x=f(ew,ex.globalOptions),k=f(x),_=[];function C(t,n){!w&&(k=g(x=f(x,t)),_=n||_,function(){let{container:t,slides:n}=k;o=(eo(t)?e.querySelector(t):t)||e.children[0];let i=eo(n)?o.querySelectorAll(n):n;a=[].slice.call(i||o.children)}(),i=function t(n){let i=function(e,t,n,i,r,o,a){let s,l;let{align:c,axis:d,direction:u,startIndex:h,loop:p,duration:f,dragFree:g,dragThreshold:m,inViewThreshold:v,slidesToScroll:b,skipSnaps:y,containScroll:w,watchResize:x,watchSlides:k,watchDrag:_,watchFocus:C}=o,Z={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:i,offsetHeight:r}=e;return{top:t,right:n+i,bottom:t+r,left:n,width:i,height:r}}},j=Z.measure(t),P=n.map(Z.measure),S=function(e,t){let n="rtl"===t,i="y"===e,r=!i&&n?-1:1;return{scroll:i?"y":"x",cross:i?"x":"y",startEdge:i?"top":n?"right":"left",endEdge:i?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return i?t:n},direction:function(e){return e*r}}}(d,u),E=S.measureSize(j),O={measure:function(e){return e/100*E}},A=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(i,r){return eo(e)?n[e](i):e(t,i,r)}}}(c,E),I=!p&&!!w,{slideSizes:T,slideSizesWithGaps:R,startGap:L,endGap:z}=function(e,t,n,i,r,o){let{measureSize:a,startEdge:s,endEdge:l}=e,c=n[0]&&r,d=function(){if(!c)return 0;let e=n[0];return el(t[s]-e[s])}(),u=c?parseFloat(o.getComputedStyle(eu(i)).getPropertyValue(`margin-${l}`)):0,h=n.map(a),p=n.map((e,t,n)=>{let i=t===eh(n);return t?i?h[t]+u:n[t+1][s]-e[s]:h[t]+d}).map(el);return{slideSizes:h,slideSizesWithGaps:p,startGap:d,endGap:u}}(S,j,P,n,p||!!w,r),B=function(e,t,n,i,r,o,a,s,l){let{startEdge:c,endEdge:d,direction:u}=e,h=er(n);return{groupSlides:function(e){return h?ed(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?ed(e).reduce((n,l,h)=>{let p=eu(n)||0,f=l===eh(e),g=r[c]-o[p][c],m=r[c]-o[l][d],v=i||0!==p?0:u(a),b=el(m-(!i&&f?u(s):0)-(g+v));return h&&b>t+2&&n.push(l),f&&n.push(e.length),n},[]).map((t,n,i)=>{let r=Math.max(i[n-1]||0);return e.slice(r,t)}):[]}}}(S,E,b,p,j,P,L,z,0),{snaps:M,snapsAligned:N}=function(e,t,n,i,r){let{startEdge:o,endEdge:a}=e,{groupSlides:s}=r,l=s(i).map(e=>eu(e)[a]-e[0][o]).map(el).map(t.measure),c=i.map(e=>n[o]-e[o]).map(e=>-el(e)),d=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:d}}(S,A,j,P,B),F=-eu(M)+eu(R),{snapsContained:H,scrollContainLimit:D}=function(e,t,n,i,r){let o=ev(-t+e,0),a=n.map((e,t)=>{let{min:i,max:r}=o,a=o.constrain(e),s=t===eh(n);return t?s||1>=el(i-a)?i:1>=el(r-a)?r:a:r}).map(e=>parseFloat(e.toFixed(3))),s=function(){let e=a[0],t=eu(a);return ev(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===i)return a;let{min:n,max:r}=s;return a.slice(n,r)}(),scrollContainLimit:s}}(E,F,N,w,0),U=I?H:N,{limit:V}=function(e,t,n){let i=t[0];return{limit:ev(n?i-e:eu(t),i)}}(F,U,p),W=function e(t,n,i){let{constrain:r}=ev(0,t),o=t+1,a=s(n);function s(e){return i?el((o+e)%o):r(e)}function l(){return e(t,a,i)}let c={get:function(){return a}
1,set:function(e){return a=s(e),c},add:function(e){return l().set(a+e)},clone:l};return c}(eh(U),h,p),G=W.clone(),X=ed(n),q=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:i}})=>{i||n.constrain(e.pointerDown()),t.seek()},$=({scrollBody:e,translate:t,location:n,offsetLocation:i,previousLocation:r,scrollLooper:o,slideLooper:a,dragHandler:s,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},h)=>{let p=e.settled(),f=!d.shouldConstrain(),g=u?p:p&&f,m=g&&!s.pointerDown();m&&l.stop();let v=n.get()*h+r.get()*(1-h);i.set(v),u&&(o.loop(e.direction()),a.loop()),t.to(i.get()),m&&c.emit("settle"),g||c.emit("scroll")},J=function(e,t,n,i){let r=em(),o=1e3/60,a=null,s=0,l=0;function c(e){if(!l)return;a||(a=e,n(),n());let r=e-a;for(a=e,s+=r;s>=o;)n(),s-=o;i(s/o),l&&(l=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){r.add(e,"visibilitychange",()=>{e.hidden&&(a=null,s=0)})},destroy:function(){d(),r.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:d,update:n,render:i}}(i,r,()=>q(eZ),e=>$(eZ,e)),Y=U[W.get()],K=eb(Y),Q=eb(Y),ee=eb(Y),et=eb(Y),en=function(e,t,n,i,r,o){let a=0,s=0,l=r,c=.68,d=e.get(),u=0;function h(e){return l=e,f}function p(e){return c=e,f}let f={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(){let t=i.get()-e.get(),r=0;return l?(n.set(e),a+=t/l,a*=c,d+=a,e.add(a),r=d-u):(a=0,n.set(i),e.set(i),r=t),s=ec(r),u=d,f},settled:function(){return .001>el(i.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return h(r)},useFriction:p,useDuration:h};return f}(K,ee,Q,et,f,0),ei=function(e,t,n,i,r){let{reachedAny:o,removeOffset:a,constrain:s}=i;function l(e){return e.concat().sort((e,t)=>el(e)-el(t))[0]}function c(t,i){let r=[t,t+n,t-n];if(!e)return t;if(!i)return l(r);let o=r.filter(e=>ec(e)===i);return o.length?l(o):eu(r)-n}return{byDistance:function(n,i){let l=r.get()+n,{index:d,distance:u}=function(n){let i=e?a(n):s(n),{index:r}=t.map((e,t)=>({diff:c(e-i,0),index:t})).sort((e,t)=>el(e.diff)-el(t.diff))[0];return{index:r,distance:i}}(l),h=!e&&o(l);if(!i||h)return{index:d,distance:n};let p=n+c(t[d]-u,0);return{index:d,distance:p}},byIndex:function(e,n){let i=c(t[e]-r.get(),n);return{index:e,distance:i}},shortcut:c}}(p,U,F,V,et),es=function(e,t,n,i,r,o,a){function s(r){let s=r.distance,l=r.index!==t.get();
1o.add(s),s&&(i.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(r.index),a.emit("select"))}return{distance:function(e,t){s(r.byDistance(e,t))},index:function(e,n){let i=t.clone().set(e);s(r.byIndex(i.get(),n))}}}(J,W,G,en,ei,et,a),ew=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(V),ex=em(),ek=function(e,t,n,i){let r;let o={},a=null,s=null,l=!1;return{init:function(){r=new IntersectionObserver(e=>{l||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:i}),t.forEach(e=>r.observe(e))},destroy:function(){r&&r.disconnect(),l=!0},get:function(e=!0){if(e&&a)return a;if(!e&&s)return s;let t=ef(o).reduce((t,n)=>{let i=parseInt(n),{isIntersecting:r}=o[i];return(e&&r||!e&&!r)&&t.push(i),t},[]);return e&&(a=t),e||(s=t),t}}}(t,n,a,v),{slideRegistry:e_}=function(e,t,n,i,r,o){let{groupSlides:a}=r,{min:s,max:l}=i;return{slideRegistry:function(){let i=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?i.slice(s,l).map((e,t,n)=>{let i=t===eh(n);return t?i?ep(eh(o)-eu(n)[0]+1,eu(n)[0]):e:ep(eu(n[0])+1)}):i}()}}(I,w,U,D,B,X),eC=function(e,t,n,i,r,o,a,s){let l={passive:!0,capture:!0},c=0;function d(e){"Tab"===e.code&&(c=new Date().getTime())}return{init:function(u){s&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(ea(s)||s(u,t))&&function(t){if(new Date().getTime()-c>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));er(o)&&(r.useDuration(0),i.index(o,0),a.emit("slideFocus"))}(d)},l)}))}}}(e,n,e_,es,en,ex,a,C),eZ={ownerDocument:i,ownerWindow:r,eventHandler:a,containerRect:j,slideRects:P,animation:J,axis:S,dragHandler:function(e,t,n,i,r,o,a,s,l,c,d,u,h,p,f,g,m,v,b){let{cross:y,direction:w}=e,x=["INPUT","SELECT","TEXTAREA"],k={passive:!1},_=em(),C=em(),Z=ev(50,225).constrain(p.measure(20)),j={mouse:300,touch:400},P={mouse:500,touch:600},S=f?43:25,E=!1,O=0,A=0,I=!1,T=!1,R=!1,L=!1;function z(e){if(!eg(e,i)&&e.touches.length>=2)return B(e);let t=o.readPoint(e),n=o.readPoint(e,y),a=el(t-O),l=el(n-A);if(!T&&!L&&(!e.cancelable||!(T=a>l)))return B(e);let d=o.pointerMove(e);a>g&&(R=!0),c.useFriction(.3).useDuration(.75),s.start(),r.add(w(d)),e.preventDefault()}function B(e){let t=d.byDistance(0,!1).index!==u.get(),n=o.pointerUp(e)*(f?P:j)[L?"mouse":"touch"],i=function(e,t){let n=u.add(-1*ec(e)),i=d.byDistance(e,!f).distance;return f||el(e)<Z?i:m&&t?.5*i:d.byIndex(n.get(),0).distance}(w(n),t),r=function(e,t){var n,i;if(0===e||0===t||el(e)<=el(t))return 0;let r=(n=el(e),i=el(t),el(n-i));return el(r/e)}(n,i);T=!1,I=!1,C.clear(),c.useDuration(S-10*r).useFriction(.68+r/50),l.distance(i,!f),L=!1,h.emit("pointerUp")}function M(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){b&&_.add(t,"dragstart",e=>e.preventDefault(),k).add(t,"touchmove",()=>void 0,k).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",B).add(t,"contextmenu",B).add(t,"click",M,!0);function s(s){(ea(b)||b(e,s))&&function(e){let s=eg(e,i);L=s,R=f&&s&&!e.buttons&&E,E=el(r.get()-a.get())>=2,s&&0!==e.button||function(e){let t=e.nodeName||"";return x.includes(t)}(e.target)||(I=!0,o.pointerDown(e),c.useFriction(0).useDuration(0),r.set(a),function(){let e=L?n:t;C.add(e,"touchmove",z,k).add(e,"touchend",B).add(e,"mousemove",z,k).add(e,"mouseup",B)}(),O=o.readPoint(e),A=o.readPoint(e,y),h.emit("pointerDown"))}(s)}},destroy:function(){_.clear(),C.clear()},pointerDown:function(){return I}}}(S,e,i,r,et,function(e,t){let n,i;function r(e){return e.timeStamp}function o(n,i){let r=i||e.scroll,o=`client${"x"===r?"X":"Y"}`;return(eg(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,i=e,o(e)},pointerMove:function(e){let t=o(e)-o(i),a=r(e)-r(n)>170;return i=e,a&&(n=e),t},pointerUp:function(e){if(!n||!i)return 0;let t=o(i)-o(n),a=r(e)-r(n),s=r(e)-r(i)>170,l=t/a;return a&&!s&&el(l)>.1?l:0},readPoint:o}}(S,r),K,J,es,en,ei,W,a,O,g,m,y,0,_),eventStore:ex,percentOfView:O,index:W,indexPrevious:G,limit:V,location:K,offsetLocation:ee,previousLocation:Q,options:o,resizeHandler:function(e,t,n,i,r,o,a){let s,l;let c=[e].concat(i),d=[],u=!1;function h(e){return r.measureSize(a.measure(e))}return{init:function(r){o&&(l=h(e),d=i.map(h),s=new ResizeObserver(n=>{(ea(o)||o(r,n))&&function(n){for(let o of n){if(u)return;let n=o.target===e,a=i.indexOf(o.target),s=n?l:d[a];if(el(h(n?e:i[a])-s)>=.5){r.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{c.forEach(e=>s.observe(e))}))},destroy:function(){u=!0,s&&s.disconnect()}}}(t,a,r,n,S,x,Z),scrollBody:en,scrollBounds:function(e,t,n,i,r){let o=r.measure(10),a=r.measure(50),s=ev(.1,.99),l=!1;function c(){return!!(!l&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:c,constrain:function(r){if(!c())return;let l=e.reachedMin(t.get())?"min":"max",d=el(e[l]-t.get()),u=n.get()-t.get(),h=s.constrain(d/a);n.subtract(u*h),!r&&el(u)<o&&(n.set(e.constrain(n.get())),i.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(V,ee,et,en,O),scrollLooper:function(e,t,n,i){let{reachedMin:r,reachedMax:o}=ev(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&r(n.get())))return;let a=-1*t*e;i.forEach(e=>e.add(a))}}}(F,V,ee,[K,ee,Q,et]),scrollProgress:ew,scrollSnapList:U.map(ew.get),scrollSnaps:U,scrollTarget:ei,scrollTo:es,slideLooper:function(e,t,n,i,r,o,a,s,l){let c=ed(r),d=p(h(ed(r).reverse(),a[0]),n,!1).concat(p(h(c,t-a[0]-1),-n,!0));function u(e,t){return e.reduce((e,t)=>e-r[t],t)}function h(e,t){return e.reduce((e,n)=>u(e,t)>0?e.concat([n]):e,[])}function p(r,a,c){let d=o.map((e,n)=>({start:e-i[n]+.5+a,end:e+t-.5+a}));return r.map(t=>{let i=c?0:-n,r=c?n:0,o=d[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:eb(-1),translate:ey(e,l[t]),target:()=>s.get()>o?i:r}})}return{canLoop:function(){return d.every(({index:e})=>.1>=u(c.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:i}=e,r=t();r!==i.get()&&(n.to(r),i.set(r))})},loopPoints:d}}(S,E,F,T,R,M,U,ee,n),slideFocus:eC,slidesHandler:(l=!1,{init:function(e){k&&(s=new MutationObserver(t=>{!l&&(ea(k)||k(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){s&&s.disconnect(),l=!0}}),slidesInView:ek,slideIndexes:X,slideRegistry:e_,slidesToScroll:B,target:et,translate:ey(S,t)};return eZ}(e,o,a,l,c,n,p);return n.loop&&!i.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):i}(k),m([x,..._.map(({options:e})=>e)]).forEach(e=>h.add(e,"change",Z)),k.active&&(i.translate.to(i.location.get()),i.animation.init(),i.slidesInView.init(),i.slideFocus.init(E),i.eventHandler.init(E),i.resizeHandler.init(E),i.slidesHandler.init(E),i.options.loop&&i.slideLooper.loop(),o.offsetParent&&a.length&&i.dragHandler.init(E),r=u.init(E,_)))}function Z(e,t){let n=S();j(),C(f({startIndex:n},e),t),p.emit("reInit")}function j(){i.dragHandler.destroy(),i.eventStore.clear(),i.translate.clear(),i.slideLooper.clear(),i.resizeHandler.destroy(),i.slidesHandler.destroy(),i.slidesInView.destroy(),i.animation.destroy(),u.destroy(),h.clear()}function P(e,t,n){k.active&&!w&&(i.scrollBody.useBaseFriction().useDuration(!0===t?0:k.duration),i.scrollTo.index(e,n||0))}function S(){return i.index.get()}let E={canScrollNext:function(){return i.index.add(1).get()!==S()},canScrollPrev:function(){return i.index.add(-1).get()!==S()},containerNode:function(){return o},internalEngine:function(){return i},destroy:function(){w||(w=!0,h.clear(),j(),p.emit("destroy"),p.clear())},off:b,on:v,emit:y,plugins:function(){return r},previousScrollSnap:function(){return i.indexPrevious.get()},reInit:Z,rootNode:function(){return e},scrollNext:function(e){P(i.index.add(1).get(),e,-1)},scrollPrev:function(e){P(i.index.add(-1).get(),e,1)},scrollProgress:function(){return i.scrollProgress.get(i.offsetLocation.get())},scrollSnapList:function(){return i.scrollSnapList},scrollTo:P,selectedScrollSnap:S,slideNodes:function(){return a},slidesInView:function(){return i.slidesInView.get()},slidesNotInView:function(){return i.slidesInView.get(!1)}};return C(t,n),setTimeout(()=>p.emit("init"),0),E}function ek(e={},t=[]){let n=(0,a.useRef)(e),i=(0,a.useRef)(t),[r,o]=(0,a.useState)(),[s,l]=(0,a.useState)(),c=(0,a.useCallback)(()=>{r&&r.reInit(n.current,i.current)},[r]);return(0,a.useEffect)(()=>{en(n.current,e)||(n.current=e,c())},[e,c]),(0,a.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=ei(e),i=ei(t);return n.every((e,t)=>en(e,i[t]))}(i.current,t)&&(i.current=t,c())},[t,c]),(0,a.useEffect)(()=>
1{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){ex.globalOptions=ek.globalOptions;let e=ex(s,n.current,i.current);return o(e),()=>e.destroy()}o(void 0)},[s,o]),[l,r]}ex.globalOptions=void 0,ek.globalOptions=void 0;let e_=$.ZP.div.withConfig({componentId:"sc-63e4bedb-0"})(["position:relative;background-color:",";color:",";.text_content{padding-top:"," !important;}@media screen and ","{.text_content{padding-top:"," !important;}}"],q.O9.white,q.O9.black,(0,J.Z)(78),q.Hb.desktop,(0,J.Z)(120)),eC=$.ZP.div.withConfig({componentId:"sc-63e4bedb-1"})(["padding-top:",";margin-left:",";overflow:hidden;@media screen and ","{padding-top:",";margin-left:",";}@media screen and ","{padding-top:",";margin-left:calc( ((100% - "," - ",") / 6) + "," );}"],(0,J.Z)(40),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(60),(0,J.Z)(220),(0,J.Z)(70),(0,J.Z)(100)),eZ=$.ZP.div.withConfig({componentId:"sc-63e4bedb-2"})(["position:absolute;color:",";top:",";right:",";width:",";text-align:center;font-size:",";z-index:1;span{color:",";}@media screen and ","{right:calc(110 / 744 * 100%);width:",";top:",";}@media screen and ","{top:",";right:calc(290 / 1440 * 100%);width:",";font-size:",";}"],q.O9.black,(0,J.Z)(85),(0,J.Z)(62),(0,J.Z)(60),(0,J.Z)(14),q.O9.red,q.Hb.tablet,(0,J.Z)(40),(0,J.Z)(85),q.Hb.desktop,(0,J.Z)(168),(0,J.Z)(90),(0,J.Z)(16)),ej=$.ZP.div.withConfig({componentId:"sc-63e4bedb-3"})(["display:flex;column-gap:",";@media screen and ","{column-gap:",";}"],(0,J.Z)(20),q.Hb.tablet,(0,J.Z)(40)),eP=$.ZP.div.withConfig({componentId:"sc-63e4bedb-4"})(["display:flex;flex-direction:column;align-items:stretch;flex:0 0 66vw;max-width:",";position:relative;padding-bottom:",";border-bottom:1px solid ",";&:last-of-type{margin-right:",";@media screen and ","{margin-right:",";}@media screen and ","{margin-right:",";}}@media screen and ","{width:45vw;}@media screen and ","{width:25vw;max-width:",";padding-bottom:",";}"],(0,J.Z)(280),(0,J.Z)(20),q.O9.grey_lighter,(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(70),q.Hb.tablet,q.Hb.desktop,(0,J.Z)(420),(0,J.Z)(30)),eS=$.ZP.button.withConfig({componentId:"sc-63e4bedb-5"})(["width:",";height:min-content;border:none;background-color:transparent;cursor:pointer;transform:translate(0);svg{width:100%;[fill]{transition:fill 0.2s ease-out;}[stroke]{transition:stroke 0.2s ease-out;}}"," @media screen and ","{width:",";}"],(0,J.Z)(40),e=>e.enabled?(0,$.iv)(["&:hover,&:focus,&:active{svg{[fill]{fill:",";}}}"],q.O9.red):(0,$.iv)(["opacity:0.2;cursor:default;"]),q.Hb.desktop,(0,J.Z)(50)),eE=(0,$.ZP)(q.JX).withConfig({componentId:"sc-63e4bedb-6"})(["display:flex;position:absolute;top:",";right:",";column-gap:",";transform:translateY(-10%);@media screen and ","{right:",";}@media screen and ","{top:",";}"],(0,J.Z)(78),(0,J.Z)(25),(0,J.Z)(80),q.Hb.tablet,(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(120)),eO=$.ZP.div.withConfig({componentId:"sc-63e4bedb-7"})(["display:flex;align-items:flex-start;margin-top:",";@media screen and ","{margin-top:",";}"],(0,J.Z)(23),q.Hb.desktop,(0,J.Z)(24)),eA=$.ZP.div.withConfig({componentId:"sc-63e4bedb-8"})([""]),eI=$.ZP.img.withConfig({componentId:"sc-63e4bedb-9"})(["display:block;width:",";border-radius:",";& + img{margin-top:",";}@media screen and ","{margin-top:",";width:",";}@media screen and ","{margin-top:",";width:",";height:",";}"],(0,J.Z)(26.67),(0,J.Z)(3),(0,J.Z)(10),q.Hb.tablet,(0,J.Z)(2),(0,J.Z)(28),q.Hb.desktop,(0,J.Z)(7),(0,J.Z)(40),(0,J.Z)(30)),eT=$.ZP.div.withConfig({componentId:"sc-63e4bedb-10"})(["display:block;margin-left:",";p{text-transform:capitalize;line-height:1.4;margin-top:",";}@media screen and ","{p{margin-top:0;}}"],(0,J.Z)(20),(0,J.Z)(4),q.Hb.desktop),eR=$.ZP.h3.withConfig({componentId:"sc-63e4bedb-11"})(["margin:0;font-size:",";line-height:1.2;font-weight:700;@media screen and ","{font-size:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(30)),eL=$.ZP.div.withConfig({componentId:"sc-63e4bedb-12"})(["display:flex;justify-content:flex-end;margin-top:",";svg{width:",";height:",";margin-right:-",";}@media screen and ","{margin-top:",";svg{width:",";height:",";margin-right:-",";}}"],(0,J.Z)(20),(0,J.Z)(18.75),(0,J.Z)(18.75),(0,J.Z)(4),q.Hb.desktop,(0,J.Z)(25),(0,J.Z)(30),(0,J.Z)(35),(0,J.Z)(8)),ez=(0,$.ZP)(q.JX).withConfig({componentId:"sc-63e4bedb-13"})(["display:flex;justify-content:flex-end;padding-bottom:",";@media screen and ","{padding-bottom:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(15));var eB=n(8450),eM=n(3348),eN=n(677),eF=n(1823),eH=n(1902);let eD=e=>{let{width:t,height:n,viewBox:i,fill:r,fillPath:a}=e;return(0,o.jsx)("svg",{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7782 31.7295L0.778156 16.7295L-1.52588e-05 16L0.778156 15.2704L16.7782 0.270447L18.146 1.72952L4.27935 14.7295L52.4621 14.7295V16.7295H3.7024L18.146 30.2704L16.7782 31.7295Z",fill:a})})};eD.propTypes={fill:d().string,width:d().string,height:d().string,fillPath:d().string,viewBox:d().string}
1,eD.defaultProps={fill:"none",width:"53",height:"32",viewBox:"0 0 53 32",fillPath:"#fff"};let eU=e=>{let{width:t,height:n,viewBox:i,fill:r,fillPath:a}=e;return(0,o.jsx)("svg",{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.6839 31.4591L51.6839 16.4591L52.4621 15.7295L51.6839 15L35.6839 0L34.3161 1.45908L48.4712 14.7295L0 14.7295V16.7295H48.4712L34.3161 30L35.6839 31.4591Z",fill:a})})};eU.propTypes={fill:d().string,width:d().string,height:d().string,fillPath:d().string,viewBox:d().string},eU.defaultProps={fill:"none",width:"53",height:"32",viewBox:"0 0 53 32",fillPath:"#fff"};var eV=n(7879),eW=n(4646);let eG=e=>{var t,n,i;let{blok:r}=e,s=(0,a.useContext)(W.bu),[c,d]=ek({align:"start",containScroll:"trimSnaps"}),[u,h]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!1),[g,m]=(0,a.useState)(0),v=(0,a.useRef)(null),b=(0,eW.yl)(s,"prev-slide"),y=(0,eW.yl)(s,"next-slide"),w=(0,a.useCallback)(()=>d&&d.scrollPrev(),[d]),x=(0,a.useCallback)(()=>d&&d.scrollNext(),[d]),k=(0,a.useCallback)(()=>{d&&(m(d.selectedScrollSnap()+1),h(d.canScrollPrev()),f(d.canScrollNext()))},[d]);(0,a.useEffect)(()=>{d&&(k(),d.on("select",k),d.on("reInit",k))},[d,k]);let _={title:null==r?void 0:r.label,link:{url:""}},C={desktop:{width:420,height:510},mobile:{width:280,height:360}};return(0,a.useEffect)(()=>{v.current&&(0,Q.Jh)(v.current)},[v]),(0,o.jsxs)(e_,{...(0,l.LF)(r),ref:v,children:[(0,o.jsxs)("div",{className:"slide-fade-element slide-fade-element--as-child",children:[(0,o.jsx)(ee,{blok:_,inheritAnim:!0}),r.slide.length>2&&(0,o.jsxs)(eZ,{children:[(0,o.jsx)("span",{children:g}),"/",r.slide.length]})]}),(u||p)&&(0,o.jsxs)(eE,{size:{m:5,t:4,d:3},children:[(0,o.jsx)(eS,{onClick:w,enabled:u,"aria-disabled":!u,"aria-label":b,children:(0,o.jsx)(eD,{fillPath:q.O9.black})}),(0,o.jsx)(eS,{onClick:x,enabled:p,"aria-disabled":!p,"aria-label":y,children:(0,o.jsx)(eU,{fillPath:q.O9.black})})]}),(0,o.jsx)(eC,{ref:c,children:(0,o.jsx)(ej,{children:null===(t=r.slide)||void 0===t?void 0:t.map(e=>{var t,n,i,r;return(0,o.jsxs)(eP,{children:[(0,o.jsx)(eF.Z,{src:e.visual.filename,alt:e.visual.alt,sizes:C}),(0,o.jsxs)(eO,{children:[(0,o.jsx)(eA,{children:null===(t=e.flag)||void 0===t?void 0:t.map(e=>(0,o.jsx)(eI,{src:(0,eN.Z)(e.filename,41,30),alt:e.alt},e.id))}),(0,o.jsxs)(eT,{children:[(0,o.jsxs)(eR,{children:[e.first_name,(0,o.jsx)("br",{}),e.last_name]}),(0,o.jsx)(eV.Z,{label:e.fonction})]})]}),(0,o.jsx)(eL,{children:((null===(i=e.link_name)||void 0===i?void 0:null===(n=i.url)||void 0===n?void 0:n.length)>0||(null===(r=e.link_name)||void 0===r?void 0:r.story))&&(0,o.jsx)(eB.Z,{href:"".concat((0,eM.Z)(e.link_name),"#").concat(e.last_name),label:"".concat(e.link_label," ").concat(e.first_name),color:q.O9.black})})]},e._uid)})})}),(null==r?void 0:null===(i=r.link)||void 0===i?void 0:null===(n=i.story)||void 0===n?void 0:n.url)&&(0,o.jsx)(q.W2,{topPadding:{m:40,t:40,d:50},children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsx)(ez,{size:{m:12,t:12,d:11},children:(0,o.jsx)(eH.Z,{href:(0,eM.Z)(r.link),label:null==r?void 0:r.link_name,color:q.O9.black,inheritAnim:!0})})})})]})};eG.propTypes={blok:d().shape({label:d().string,link_name:d().string,text:d().shape({}),link:d().shape({url:d().string,story:d().shape({url:d().string})}),slide:d().arrayOf(d().shape({_uid:d().string,number:d().string,visual:d().shape({filename:d().string,alt:d().string}),flag:d().arrayOf(d().shape({filename:d().string,alt:d().string})),first_name:d().string,name:d().string,link:d().shape({url:d().string}),link_label:d().string}))}),currentSlide:d().number,slideCount:d().number},eG.defaultProps={blok:d().shape({label:"",link_name:"",link:{},text:{},slide:[]}),currentSlide:1,slideCount:1};let eX={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function eq(e){return(Array.isArray(e)?e:[e]).filter(Boolean)}function e$(e,t){e&&t.length&&e.classList.remove(...t)}function eJ(e,t){e&&t.length&&e.classList.add(...t)}function eY(e={}){let t,n,i,r;let o=[],a=[],s=["select"],l=["pointerDown","pointerUp"],c=["slidesInView"],d={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function u(e,t){("pointerDown"===t?eJ:e$)(i,d.dragging)}function h(e=[],t=[],n){let i=t.map(e=>r[e]),o=e.map(e=>r[e]);
1return i.forEach(e=>e$(e,n)),o.forEach(e=>eJ(e,n)),e}function p(){let{slideRegistry:e}=n.internalEngine();o=h(e[n.selectedScrollSnap()],o,d.snapped)}function f(){a=h(n.slidesInView(),a,d.inView)}return{name:"classNames",options:e,init:function(o,a){n=o;let{mergeOptions:h,optionsAtMedia:g}=a,m=h(eX,eY.globalOptions);t=g(h(m,e)),i=n.rootNode(),r=n.slideNodes();let{watchDrag:v,loop:b}=n.internalEngine().options;t.loop&&b&&(d.loop=eq(t.loop),eJ(i,d.loop)),t.draggable&&v&&(d.draggable=eq(t.draggable),eJ(i,d.draggable)),t.dragging&&(d.dragging=eq(t.dragging),l.forEach(e=>n.on(e,u))),t.snapped&&(d.snapped=eq(t.snapped),s.forEach(e=>n.on(e,p)),p()),t.inView&&(d.inView=eq(t.inView),c.forEach(e=>n.on(e,f)),f())},destroy:function(){l.forEach(e=>n.off(e,u)),s.forEach(e=>n.off(e,p)),c.forEach(e=>n.off(e,f)),e$(i,d.loop),e$(i,d.draggable),e$(i,d.dragging),h([],o,d.snapped),h([],a,d.inView),Object.keys(d).forEach(e=>{d[e]=[]})}}}function eK(e={}){let t;let n=[],i=["select","slideFocus"];function r(){let{slideRegistry:e}=t.internalEngine(),i=e[t.selectedScrollSnap()];return i?i.map(e=>n[e]).reduce((e,t)=>Math.max(e,t),0):null}function o(){null!==r()&&(t.containerNode().style.height=`${r()}px`)}return{name:"autoHeight",options:e,init:function(e){let{options:{axis:r},slideRects:a}=(t=e).internalEngine();"y"!==r&&(n=a.map(e=>e.height),i.forEach(e=>t.on(e,o)),o())},destroy:function(){i.forEach(e=>t.off(e,o));let e=t.containerNode();e.style.height="",e.getAttribute("style")||e.removeAttribute("style")}}}eY.globalOptions=void 0,eK.globalOptions=void 0;let eQ=$.ZP.div.withConfig({componentId:"sc-7a7655a5-0"})(["background-color:",";padding-bottom:",";padding-left:0;padding-right:0;max-width:100%;img{margin:0 auto;}@media screen and ","{padding-bottom:",";}@media screen and ","{padding-bottom:",";}"],e=>e.bgColor,e=>e.hasCarDetails?0:(0,J.Z)(85),q.Hb.tablet,e=>e.hasCarDetails?0:(0,J.Z)(70),q.Hb.desktop,e=>e.hasCarDetails?0:(0,J.Z)(115)),e0=$.ZP.div.withConfig({componentId:"sc-7a7655a5-1"})(["position:relative;"]),e1=$.ZP.div.withConfig({componentId:"sc-7a7655a5-2"})(["position:relative;overflow:hidden;z-index:0;"]),e2=$.ZP.div.withConfig({componentId:"sc-7a7655a5-3"})(["display:flex;flex-direction:row;align-items:flex-start;backface-visibility:hidden;touch-action:pan-y;"]),e5=$.ZP.div.withConfig({componentId:"sc-7a7655a5-4"})(["flex:0 0 100%;overflow:hidden;"]),e3=$.ZP.div.withConfig({componentId:"sc-7a7655a5-5"})(["display:flex;column-gap:",";",""],(0,J.Z)(20),e=>e.toTop?(0,$.iv)(["box-sizing:border-box;width:100%;padding:0 "," "," ",";@media screen and ","{padding:0 "," "," ",";}@media screen and ","{padding-left:calc( ((100% - "," - ",") / 6) + "," );padding-right:",";}"],(0,J.Z)(25),(0,J.Z)(8),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),(0,J.Z)(8),(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(220),(0,J.Z)(70),(0,J.Z)(40),(0,J.Z)(70)):(0,$.iv)(["position:absolute;bottom:-",";margin-left:",";@media screen and ","{margin-left:",";column-gap:",";}@media screen and ","{bottom:-",";margin-left:42vw;}"],(0,J.Z)(45),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(30))),e4=$.ZP.button.withConfig({componentId:"sc-7a7655a5-6"})(["position:relative;color:",";background:transparent;border:none;padding:0;font-size:",";font-family:'Nissan Brand';font-weight:300;font-style:normal;"," @media screen and ","{font-size:",";}"],e=>{var t;return null!==(t=e.color)&&void 0!==t?t:q.O9.white},(0,J.Z)(20),e=>e.selected&&(0,$.iv)(["color:",";&::after{position:absolute;width:calc(100% + 8px);left:-4px;bottom:-8px;height:2px;background-color:",";content:'';}"],q.O9.red,q.O9.red),q.Hb.desktop,(0,J.Z)(30)),e6=$.ZP.button.withConfig({componentId:"sc-7a7655a5-7"})(["width:auto;height:auto;padding:"," ",";border:none;margin:0;position:absolute;top:50%;z-index:1;background-color:transparent;box-shadow:none;cursor:pointer;&::before,&::after{content:none;}svg{width:",";height:",";*{transition:stroke 0.2s ease-out;}@media screen and ","{width:",";height:",";}}"," ",""],(0,J.Z)(4),(0,J.Z)(8),(0,J.Z)(12),(0,J.Z)(22),q.Hb.tablet,(0,J.Z)(16),(0,J.Z)(30),e=>"prev"===e.direction?(0,$.iv)(["left:",";transform:translateY(-50%) rotate(180deg);@media screen and ","{left:",";}@media screen and ","{left:",";}"],(0,J.Z)(17),q.Hb.tablet,(0,J.Z)(44),q.Hb.desktop,(0,J.Z)(62)):(0,$.iv)(["right:",";transform:translateY(-50%);@media screen and ","{right:",";}@media screen and ","{right:",";}"],(0,J.Z)(17),q.Hb.tablet,(0,J.Z)(44),q.Hb.desktop,(0,J.Z)(62)),e=>e.enabled?(0,$.iv)(["&:hover,&:focus,&:active{svg *{stroke:",";}}"],q.O9.red):(0,$.iv)(["opacity:0.2;cursor:default;"])),e8=(0,$.ZP)(q.JX).withConfig({componentId:"sc-7a7655a5-8"})(["@media screen and ","{display:flex;justify-content:space-between;align-items:center;grid-column-start:3;grid-column-end:12;}
1"],q.Hb.desktop),e7=$.ZP.h2.withConfig({componentId:"sc-7a7655a5-9"})(["display:none;@media screen and ","{position:relative;padding-right:",";color:",";margin-right:",";font-size:",";font-weight:300;font-style:normal;&::after{content:'';position:absolute;right:0;height:40px;width:1px;background-color:",";}}@media screen and ","{padding-right:",";margin-right:",";font-size:",";margin-top:-",";display:block;}"],q.Hb.tablet,(0,J.Z)(50),q.O9.white,(0,J.Z)(50),(0,J.Z)(20),q.O9.white,q.Hb.desktop,(0,J.Z)(80),(0,J.Z)(80),(0,J.Z)(30),(0,J.Z)(3)),e9=$.ZP.div.withConfig({componentId:"sc-7a7655a5-10"})(["display:flex;-webkit-box-pack:end;justify-content:flex-end;margin-top:",";svg{width:",";}@media screen and ","{margin-top:",";}@media screen and ","{margin-top:",";svg{width:",";}}"],(0,J.Z)(10),(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(42),q.Hb.desktop,(0,J.Z)(3),(0,J.Z)(50)),te=(0,$.iv)(["@keyframes carSpecsFadeIn{0%{opacity:0;}100%{opacity:1;}}animation-duration:0.2s;animation-name:carSpecsFadeIn;animation-timing-function:ease-in;animation-fill-mode:backwards;"]),tt=(0,$.ZP)(q.W2).withConfig({componentId:"sc-185439fe-0"})(["padding-top:",";padding-bottom:",";background-color:",";"],(0,J.Z)(80),(0,J.Z)(80),q.O9.grey),tn=$.ZP.h2.withConfig({componentId:"sc-185439fe-1"})(["margin-bottom:",";font-size:",";font-weight:300;",""],(0,J.Z)(30),(0,J.Z)(20),te),ti=$.ZP.details.withConfig({componentId:"sc-185439fe-2"})(["padding:0 ",";background-color:",";margin-bottom:",";overflow:hidden;"," @media screen and ","{padding:0 ",";}"],(0,J.Z)(32),q.O9.white,(0,J.Z)(20),te,q.Hb.desktop,(0,J.Z)(40)),tr=$.ZP.summary.withConfig({componentId:"sc-185439fe-3"})(["padding:"," 0;position:relative;list-style:none;font-size:",";cursor:pointer;transition:margin-bottom 0.3s ease-out;&::-webkit-details-marker{display:none;}&::before,&::after{content:'';display:block;width:",";height:1px;position:absolute;top:50%;right:0;background-color:",";transform:translateY(-50%);}&::after{transform:translateY(-50%) rotate(90deg);transition:all 0.2s ease-in;details[open] &{opacity:0;transform:translateY(-50%) rotate(0);}}details[open] &{border-bottom:1px solid ",";margin-bottom:",";@media screen and ","{margin-bottom:",";}}@media screen and ","{padding:"," 0;font-size:",";}@media screen and ","{font-weight:300;font-size:",";}"],(0,J.Z)(20),(0,J.Z)(16),(0,J.Z)(20),q.O9.black,q.O9.grey,(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(30),(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(30)),to=$.ZP.div.withConfig({componentId:"sc-185439fe-4"})(["display:grid;padding:0 0 "," 0;gap:",";",";animation-duration:0.6s;@media screen and ","{grid-template-columns:repeat(2,1fr);padding:0 0 "," 0;}"],(0,J.Z)(20),(0,J.Z)(20),te,q.Hb.tablet,(0,J.Z)(40)),ta=$.ZP.ul.withConfig({componentId:"sc-185439fe-5"})(["padding:0;margin:0;list-style:none;"]),ts=$.ZP.li.withConfig({componentId:"sc-185439fe-6"})(["display:flex;justify-content:space-between;gap:",";align-items:center;padding:"," 0;border-top:1px solid ",";&:first-of-type{@media screen and ","{border-top:none;}}"],(0,J.Z)(20),(0,J.Z)(22),q.O9.grey,q.Hb.tablet),tl=e=>{let{title:t,carSpecs:n}=e,[i,r]=(0,a.useState)(0),s=(0,a.useRef)(null),l={desktop:{width:400,height:400},tablet:{width:300,height:300},mobile:{width:300,height:300}},c=(e,t)=>{e.preventDefault(),t===i?r(null):r(t)};return(0,a.useEffect)(()=>{s.current&&(0,Q.t_)(s.current,.2)},[s]),(0,o.jsx)(tt,{children:(0,o.jsx)(q.X2,{children:(0,o.jsxs)(q.JX,{size:{m:12,t:12,d:8},centered:!0,ref:s,children:[(0,o.jsx)(tn,{children:t}),null==n?void 0:n.map((e,t)=>{var n,r,a;return(0,o.jsxs)(ti,{open:t===i,children:[(0,o.jsx)(tr,{onClick:e=>c(e,t),children:e.title}),(0,o.jsxs)(to,{children:[(0,o.jsx)(eF.Z,{src:null===(n=e.image)||void 0===n?void 0:n.filename,alt:null===(r=e.image)||void 0===r?void 0:r.alt,sizes:l}),(0,o.jsx)(ta,{children:null===(a=e.specs)||void 0===a?void 0:a.map(e=>(0,o.jsxs)(ts,{children:[(0,o.jsx)("span",{children:e.spec_label}),(0,o.jsx)("span",{children:e.spec_value})]},e._uid))})]})]},e._uid)})]})})})};tl.propTypes={title:d().string,carSpecs:d().arrayOf(d().shape({title:d().string,image:d().shape({filename:d().string,alt:d().string}
1),specs:d().arrayOf(d().shape({spec_label:d().string,spec_value:d().string}))}))},tl.defaultProps={title:"",carSpecs:[]};let tc=(0,$.iv)(["@keyframes carStatsBlockFadeIn{0%{opacity:0;}100%{opacity:1;}}animation-duration:0.3s;animation-delay:var(--delay);animation-name:carStatsBlockFadeIn;animation-timing-function:ease-in;animation-fill-mode:backwards;"]),td=(0,$.ZP)(q.JX).withConfig({componentId:"sc-d271ee9f-0"})(["display:flex;justify-content:center;border-top:1px solid ",";padding-top:",";@media screen and ","{padding-top:",";}"],q.O9.grey,(0,J.Z)(30),q.Hb.desktop,(0,J.Z)(40)),tu=$.ZP.div.withConfig({componentId:"sc-d271ee9f-1"})(["--delay:0;flex:25% 0 0;padding:0 ",";border-right:1px solid ",";"," &:first-child{padding-left:0;}&:last-child{padding-right:0;border-right:0;}"],(0,J.Z)(10),q.O9.grey,tc),th=$.ZP.div.withConfig({componentId:"sc-d271ee9f-2"})(["text-align:center;color:",";font-size:",";font-weight:700;@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],q.O9.red,(0,J.Z)(35),q.Hb.tablet,(0,J.Z)(45),q.Hb.desktop,(0,J.Z)(60)),tp=$.ZP.div.withConfig({componentId:"sc-d271ee9f-3"})(["text-align:center;font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-weight:300;font-size:",";}"],(0,J.Z)(16),q.Hb.tablet,(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(30)),tf=e=>{let{carStats:t}=e,n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{n.current&&(0,Q.t_)(n.current,.1)},[n]),(0,o.jsx)(q.W2,{bottomPadding:{m:40,t:50,d:60},children:(0,o.jsx)(q.X2,{children:(0,o.jsx)(td,{size:{m:12,t:12,d:8},centered:!0,children:null==t?void 0:t.map((e,t)=>{let n=(.2+t/10).toFixed(1);return(0,o.jsxs)(tu,{style:{"--delay":"".concat(n,"s")},children:[(0,o.jsx)(th,{children:null==e?void 0:e.stat_value}),(0,o.jsx)(tp,{children:null==e?void 0:e.stat_name})]},e._uid)})})})})};tf.propTypes={carStats:d().arrayOf(d().shape({_uid:d().string,stat_value:d().string,stat_name:d().string}))},tf.defaultProps={carStats:[]};var tg=n(5675),tm=n.n(tg);function tv(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,r)}function tb(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function a(e){tv(o,i,r,a,s,"next",e)}function s(e){tv(o,i,r,a,s,"throw",e)}a(void 0)})}}function ty(){return(ty=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}var tw=n(5478),tx=n.n(tw),tk=n(7066);let{Axios:t_,AxiosError:tC,CanceledError:tZ,isCancel:tj,CancelToken:tP,VERSION:tS,all:tE,Cancel:tO,isAxiosError:tA,spread:tI,toFormData:tT,AxiosHeaders:tR,HttpStatusCode:tL,formToJSON:tz,getAdapter:tB,mergeConfig:tM}=tk.default;var tN=n(3454);let tF="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,tH=new Set,tD="object"==typeof tN&&tN?tN:{},tU=(e,t,n,i)=>{"function"==typeof tD.emitWarning?tD.emitWarning(e,t,n,i):console.error(`[${n}] ${t}: ${e}`)},tV=globalThis.AbortController,tW=globalThis.AbortSignal;if(void 0===tV){tW=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e,t){this._onabort.push(t)}},tV=class{constructor(){t()}signal=new tW;abort(e){if(!this.signal.aborted){for(let t of(this.signal.reason=e,this.signal.aborted=!0,this.signal._onabort))t(e);this.signal.onabort?.(e)}}};let e=tD.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{e&&(e=!1,tU("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}let tG=e=>!tH.has(e);Symbol("type");let tX=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),tq=e=>tX(e)?e<=256?Uint8Array:e<=65536?Uint16Array:e<=4294967296?Uint32Array:e<=Number.MAX_SAFE_INTEGER?t$:null:null;class t$ extends Array{constructor(e){super(e),this.fill(0)}}class tJ{heap;length;static #e=!1;static create(e){let t=tq(e);
1if(!t)return[];tJ.#e=!0;let n=new tJ(e,t);return tJ.#e=!1,n}constructor(e,t){if(!tJ.#e)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class tY{#t;#n;#i;#r;#o;#a;#s;#l;get perf(){return this.#l}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#c;#d;#u;#h;#p;#f;#g;#m;#v;#b;#y;#w;#x;#k;#_;#C;#Z;#j;#P;static unsafeExposeInternals(e){return{starts:e.#x,ttls:e.#k,autopurgeTimers:e.#_,sizes:e.#w,keyMap:e.#u,keyList:e.#h,valList:e.#p,next:e.#f,prev:e.#g,get head(){return e.#m},get tail(){return e.#v},free:e.#b,isBackgroundFetch:t=>e.#S(t),backgroundFetch:(t,n,i,r)=>e.#E(t,n,i,r),moveToTail:t=>e.#O(t),indexes:t=>e.#A(t),rindexes:t=>e.#I(t),isStale:t=>e.#T(t)}}get max(){return this.#t}get maxSize(){return this.#n}get calculatedSize(){return this.#d}get size(){return this.#c}get fetchMethod(){return this.#a}get memoMethod(){return this.#s}get dispose(){return this.#i}get onInsert(){return this.#r}get disposeAfter(){return this.#o}constructor(e){let{max:t=0,ttl:n,ttlResolution:i=1,ttlAutopurge:r,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:s,dispose:l,onInsert:c,disposeAfter:d,noDisposeOnSet:u,noUpdateTTL:h,maxSize:p=0,maxEntrySize:f=0,sizeCalculation:g,fetchMethod:m,memoMethod:v,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:w,allowStaleOnFetchAbort:x,ignoreFetchAbort:k,perf:_}=e;if(void 0!==_&&"function"!=typeof _?.now)throw TypeError("perf option must have a now() method if specified");if(this.#l=_??tF,0!==t&&!tX(t))throw TypeError("max option must be a nonnegative integer");let C=t?tq(t):Array;if(!C)throw Error("invalid max value: "+t);if(this.#t=t,this.#n=p,this.maxEntrySize=f||this.#n,this.sizeCalculation=g,this.sizeCalculation){if(!this.#n&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw TypeError("sizeCalculation set to non-function")}if(void 0!==v&&"function"!=typeof v)throw TypeError("memoMethod must be a function if defined");if(this.#s=v,void 0!==m&&"function"!=typeof m)throw TypeError("fetchMethod must be a function if specified");if(this.#a=m,this.#Z=!!m,this.#u=new Map,this.#h=Array(t).fill(void 0),this.#p=Array(t).fill(void 0),this.#f=new C(t),this.#g=new C(t),this.#m=0,this.#v=0,this.#b=tJ.create(t),this.#c=0,this.#d=0,"function"==typeof l&&(this.#i=l),"function"==typeof c&&(this.#r=c),"function"==typeof d?(this.#o=d,this.#y=[]):(this.#o=void 0,this.#y=void 0),this.#C=!!this.#i,this.#P=!!this.#r,this.#j=!!this.#o,this.noDisposeOnSet=!!u,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!w,this.allowStaleOnFetchAbort=!!x,this.ignoreFetchAbort=!!k,0!==this.maxEntrySize){if(0!==this.#n&&!tX(this.#n))throw TypeError("maxSize must be a positive integer if specified");if(!tX(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#R()}if(this.allowStale=!!s,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=tX(i)||0===i?i:1,this.ttlAutopurge=!!r,this.ttl=n||0,this.ttl){if(!tX(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#L()}if(0===this.#t&&0===this.ttl&&0===this.#n)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#t&&!this.#n){let e="LRU_CACHE_UNBOUNDED";tG(e)&&(tH.add(e),tU("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,tY))}}getRemainingTTL(e){return this.#u.has(e)?1/0:0}#L(){let e=new t$(this.#t),t=new t$(this.#t);this.#k=e,this.#x=t;let n=this.ttlAutopurge?Array(this.#t):void 0;this.#_=n,this.#z=(i,r,o=this.#l.now())=>{if(t[i]=0!==r?o:0,e[i]=r,n?.[i]&&(clearTimeout(n[i]),n[i]=void 0),0!==r&&n){let e=setTimeout(()=>{this.#T(i)&&this.#B(this.#h[i],"expire")},r+1);e.unref&&e.unref(),n[i]=e}},this.#M=n=>{t[n]=0!==e[n]?this.#l.now():0},this.#N=(n,o)=>
1{if(e[o]){let a=e[o],s=t[o];if(!a||!s)return;n.ttl=a,n.start=s,n.now=i||r();let l=n.now-s;n.remainingTTL=a-l}};let i=0,r=()=>{let e=this.#l.now();if(this.ttlResolution>0){i=e;let t=setTimeout(()=>i=0,this.ttlResolution);t.unref&&t.unref()}return e};this.getRemainingTTL=n=>{let o=this.#u.get(n);if(void 0===o)return 0;let a=e[o],s=t[o];return a&&s?a-((i||r())-s):1/0},this.#T=n=>{let o=t[n],a=e[n];return!!a&&!!o&&(i||r())-o>a}}#M=()=>{};#N=()=>{};#z=()=>{};#T=()=>!1;#R(){let e=new t$(this.#t);this.#d=0,this.#w=e,this.#F=t=>{this.#d-=e[t],e[t]=0},this.#H=(e,t,n,i)=>{if(this.#S(t))return 0;if(!tX(n)){if(i){if("function"!=typeof i)throw TypeError("sizeCalculation must be a function");if(!tX(n=i(t,e)))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.")}return n},this.#D=(t,n,i)=>{if(e[t]=n,this.#n){let n=this.#n-e[t];for(;this.#d>n;)this.#U(!0)}this.#d+=e[t],i&&(i.entrySize=n,i.totalCalculatedSize=this.#d)}}#F=e=>{};#D=(e,t,n)=>{};#H=(e,t,n,i)=>{if(n||i)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#A({allowStale:e=this.allowStale}={}){if(this.#c)for(let t=this.#v;this.#V(t)&&((e||!this.#T(t))&&(yield t),t!==this.#m);)t=this.#g[t]}*#I({allowStale:e=this.allowStale}={}){if(this.#c)for(let t=this.#m;this.#V(t)&&((e||!this.#T(t))&&(yield t),t!==this.#v);)t=this.#f[t]}#V(e){return void 0!==e&&this.#u.get(this.#h[e])===e}*entries(){for(let e of this.#A())void 0===this.#p[e]||void 0===this.#h[e]||this.#S(this.#p[e])||(yield[this.#h[e],this.#p[e]])}*rentries(){for(let e of this.#I())void 0===this.#p[e]||void 0===this.#h[e]||this.#S(this.#p[e])||(yield[this.#h[e],this.#p[e]])}*keys(){for(let e of this.#A()){let t=this.#h[e];void 0===t||this.#S(this.#p[e])||(yield t)}}*rkeys(){for(let e of this.#I()){let t=this.#h[e];void 0===t||this.#S(this.#p[e])||(yield t)}}*values(){for(let e of this.#A())void 0===this.#p[e]||this.#S(this.#p[e])||(yield this.#p[e])}*rvalues(){for(let e of this.#I())void 0===this.#p[e]||this.#S(this.#p[e])||(yield this.#p[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,t={}){for(let n of this.#A()){let i=this.#p[n],r=this.#S(i)?i.__staleWhileFetching:i;if(void 0!==r&&e(r,this.#h[n],this))return this.get(this.#h[n],t)}}forEach(e,t=this){for(let n of this.#A()){let i=this.#p[n],r=this.#S(i)?i.__staleWhileFetching:i;void 0!==r&&e.call(t,r,this.#h[n],this)}}rforEach(e,t=this){for(let n of this.#I()){let i=this.#p[n],r=this.#S(i)?i.__staleWhileFetching:i;void 0!==r&&e.call(t,r,this.#h[n],this)}}purgeStale(){let e=!1;for(let t of this.#I({allowStale:!0}))this.#T(t)&&(this.#B(this.#h[t],"expire"),e=!0);return e}info(e){let t=this.#u.get(e);if(void 0===t)return;let n=this.#p[t],i=this.#S(n)?n.__staleWhileFetching:n;if(void 0===i)return;let r={value:i};if(this.#k&&this.#x){let e=this.#k[t],n=this.#x[t];if(e&&n){let t=e-(this.#l.now()-n);r.ttl=t,r.start=Date.now()}}return this.#w&&(r.size=this.#w[t]),r}dump(){let e=[];for(let t of this.#A({allowStale:!0})){let n=this.#h[t],i=this.#p[t],r=this.#S(i)?i.__staleWhileFetching:i;if(void 0===r||void 0===n)continue;let o={value:r};if(this.#k&&this.#x){o.ttl=this.#k[t];let e=this.#l.now()-this.#x[t];o.start=Math.floor(Date.now()-e)}this.#w&&(o.size=this.#w[t]),e.unshift([n,o])}return e}load(e){for(let[t,n]of(this.clear(),e)){if(n.start){let e=Date.now()-n.start;n.start=this.#l.now()-e}this.set(t,n.value,n)}}set(e,t,n={}){if(void 0===t)return this.delete(e),this;let{ttl:i=this.ttl,start:r,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:s}=n,{noUpdateTTL:l=this.noUpdateTTL}=n,c=this.#H(e,t,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return s&&(s.set="miss",s.maxEntrySizeExceeded=!0),this.#B(e,"set"),this;let d=0===this.#c?void 0:this.#u.get(e);if(void 0===d)d=0===this.#c?this.#v:0!==this.#b.length?this.#b.pop():this.#c===this.#t?this.#U(!1):this.#c,this.#h[d]=e,this.#p[d]=t,this.#u.set(e,d),this.#f[this.#v]=d,this.#g[d]=this.#v,this.#v=d,this.#c++,this.#D(d,c,s),s&&(s.set="add"),l=!1,this.#P&&this.#r?.(t,e,"add");else{this.#O(d);let n=this.#p[d];if(t!==n){if(this.#Z&&this.#S(n)){n.__abortController.abort(Error("replaced"));let{__staleWhileFetching:t}=n;void 0!==t&&!o&&(this.#C&&this.#i?.(t,e,"set"),this.#j&&this.#y?.push([t,e,"set"]))}else!o&&(this.#C&&this.#i?.(n,e,"set"),this.#j&&this.#y?.push([n,e,"set"]));
1if(this.#F(d),this.#D(d,c,s),this.#p[d]=t,s){s.set="replace";let e=n&&this.#S(n)?n.__staleWhileFetching:n;void 0!==e&&(s.oldValue=e)}}else s&&(s.set="update");this.#P&&this.onInsert?.(t,e,t===n?"update":"replace")}if(0===i||this.#k||this.#L(),this.#k&&(l||this.#z(d,i,r),s&&this.#N(s,d)),!o&&this.#j&&this.#y){let e;let t=this.#y;for(;e=t?.shift();)this.#o?.(...e)}return this}pop(){try{for(;this.#c;){let e=this.#p[this.#m];if(this.#U(!0),this.#S(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(void 0!==e)return e}}finally{if(this.#j&&this.#y){let e;let t=this.#y;for(;e=t?.shift();)this.#o?.(...e)}}}#U(e){let t=this.#m,n=this.#h[t],i=this.#p[t];return this.#Z&&this.#S(i)?i.__abortController.abort(Error("evicted")):(this.#C||this.#j)&&(this.#C&&this.#i?.(i,n,"evict"),this.#j&&this.#y?.push([i,n,"evict"])),this.#F(t),this.#_?.[t]&&(clearTimeout(this.#_[t]),this.#_[t]=void 0),e&&(this.#h[t]=void 0,this.#p[t]=void 0,this.#b.push(t)),1===this.#c?(this.#m=this.#v=0,this.#b.length=0):this.#m=this.#f[t],this.#u.delete(n),this.#c--,t}has(e,t={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:i}=t,r=this.#u.get(e);if(void 0!==r){let e=this.#p[r];if(this.#S(e)&&void 0===e.__staleWhileFetching)return!1;if(!this.#T(r))return n&&this.#M(r),i&&(i.has="hit",this.#N(i,r)),!0;i&&(i.has="stale",this.#N(i,r))}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:n=this.allowStale}=t,i=this.#u.get(e);if(void 0===i||!n&&this.#T(i))return;let r=this.#p[i];return this.#S(r)?r.__staleWhileFetching:r}#E(e,t,n,i){let r=void 0===t?void 0:this.#p[t];if(this.#S(r))return r;let o=new tV,{signal:a}=n;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let s={signal:o.signal,options:n,context:i},l=(i,r=!1)=>{let{aborted:a}=o.signal,l=n.ignoreFetchAbort&&void 0!==i;if(n.status&&(a&&!r?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,l&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),a&&!l&&!r)return c(o.signal.reason);let u=this.#p[t];return(u===d||l&&r&&void 0===u)&&(void 0===i?void 0!==d.__staleWhileFetching?this.#p[t]=d.__staleWhileFetching:this.#B(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,i,s.options))),i},c=i=>{let{aborted:r}=o.signal,a=r&&n.allowStaleOnFetchAbort,s=a||n.allowStaleOnFetchRejection,l=s||n.noDeleteOnFetchRejection;if(this.#p[t]!==d||(l&&void 0!==d.__staleWhileFetching?a||(this.#p[t]=d.__staleWhileFetching):this.#B(e,"fetch")),s)return n.status&&void 0!==d.__staleWhileFetching&&(n.status.returnedStale=!0),d.__staleWhileFetching;if(d.__returned===d)throw i};n.status&&(n.status.fetchDispatched=!0);let d=new Promise((t,i)=>{let a=this.#a?.(e,r,s);a&&a instanceof Promise&&a.then(e=>t(void 0===e?void 0:e),i),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(t(void 0),n.allowStaleOnFetchAbort&&(t=e=>l(e,!0)))})}).then(l,e=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=e),c(e))),u=Object.assign(d,{__abortController:o,__staleWhileFetching:r,__returned:void 0});return void 0===t?(this.set(e,u,{...s.options,status:void 0}),t=this.#u.get(e)):this.#p[t]=u,u}#S(e){return!!this.#Z&&!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof tV}async fetch(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:s=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:u=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:f,forceRefresh:g=!1,status:m,signal:v}=t;if(!this.#Z)return m&&(m.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:r,status:m});let b={allowStale:n,updateAgeOnGet:i,noDeleteOnStaleGet:r,ttl:o,noDisposeOnSet:a,size:s,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:u,allowStaleOnFetchAbort:p,ignoreFetchAbort:h,status:m,signal:v},y=this.#u.get(e);if(void 0===y){m&&(m.fetch="miss");let t=this.#E(e,y,b,f);return t.__returned=t}{let t=this.#p[y];if(this.#S(t)){let e=n&&void 0!==t.__staleWhileFetching;return m&&(m.fetch="inflight",e&&(m.returnedStale=!0)),e?t.__staleWhileFetching:t.__returned=t}let r=this.#T(y);if(!g&&!r)return m&&(m.fetch="hit"),this.#O(y),i&&this.#M(y),m&&this.#N(m,y),t;let o=this.#E(e,y,b,f),a=void 0!==o.__staleWhileFetching&&n;return m&&(m.fetch=r?"stale":"refresh",a&&r&&(m.returnedStale=!0)),a?o.__staleWhileFetching:o.__returned=o}}async forceFetch(e,t={}){let n=await this.fetch(e,t);if(void 0===n)throw Error("fetch() returned undefined");return n}memo(e,t={}){let n=this.#s;if(!n)throw Error("no memoMethod provided to constructor");let{context:i,forceRefresh:r,...o}=t,a=this.get(e,o);if(!r&&void 0!==a)return a;let s=n(e,a,{options:o,context:i});return this.set(e,s,o),s}get(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:o}=t,a=this.#u.get(e);if(void 0!==a){let t=this.#p[a],s=this.#S(t);return(o&&this.#N(o,a),this.#T(a))?(o&&(o.get="stale"),s)?(o&&n&&void 0!==t.__staleWhileFetching&&(o.returnedStale=!0),n?t.__staleWhileFetching:void 0):(r||this.#B(e,"expire"),o&&n&&(o.returnedStale=!0),n?t:void 0):(o&&(o.get="hit"),s)?t.__staleWhileFetching:(this.#O(a),i&&this.#M(a),t)}o&&(o.get="miss")}#W(e,t){this.#g[t]=e,this.#f[e]=t}#O(e){e!==this.#v&&(e===this.#m?this.#m=this.#f[e]:this.#W(this.#g[e],this.#f[e]),this.#W(this.#v,e),this.#v=e)}delete(e){return this.#B(e,"delete")}#B(e,t){let n=!1;if(0!==this.#c){let i=this.#u.get(e);if(void 0!==i){if(this.#_?.[i]&&(clearTimeout(this.#_?.[i]),this.#_[i]=void 0),n=!0,1===this.#c)this.#G(t);else{this.#F(i);let n=this.#p[i];if(this.#S(n)?n.__abortController.abort(Error("deleted")):(this.#C||this.#j)&&(this.#C&&this.#i?.(n,e,t),this.#j&&this.#y?.push([n,e,t])),this.#u.delete(e),this.#h[i]=void 0,this.#p[i]=void 0,i===this.#v)this.#v=this.#g[i];else if(i===this.#m)this.#m=this.#f[i];else{let e=this.#g[i];this.#f[e]=this.#f[i];let t=this.#f[i];this.#g[t]=this.#g[i]}this.#c--,this.#b.push(i)}}}if(this.#j&&this.#y?.length){let e;let t=this.#y;for(;e=t?.shift();)this.#o?.(...e)}return n}clear(){return this.#G("delete")}#G(e){for(let t of this.#I({allowStale:!0})){let n=this.#p[t];if(this.#S(n))n.__abortController.abort(Error("deleted"));else{let i=this.#h[t];this.#C&&this.#i?.(n,i,e),this.#j&&this.#y?.push([n,i,e])}}if(this.#u.clear(),this.#p.fill(void 0),this.#h.fill(void 0),this.#k&&this.#x){for(let e of(this.#k.fill(0),this.#x.fill(0),this.#_??[]))void 0!==e&&clearTimeout(e);this.#_?.fill(void 0)}if(this.#w&&this.#w.fill(0),this.#m=0,this.#v=0,this.#b.length=0,this.#d=0,this.#c=0,this.#j&&this.#y){let e;let t=this.#y;for(;e=t?.shift();)this.#o?.(...e)}}}var tK=Object.prototype.hasOwnProperty,tQ={REQUEST_START:"REQUEST_START",REQUEST_END:"REQUEST_END"},t0={manual:!1,useCache:!0,ssr:!0,autoCancel:!0},t1=function(e){var t,n,i,r=[];function o(){t=new tY({max:500}),n=tk.default,i=t0}function s(e){void 0===e&&(e={}),void 0!==e.axios&&(n=e.axios),void 0!==e.cache&&(t=e.cache),void 0!==e.defaultOptions&&(i=ty({},t0,e.defaultOptions))}function l(){return(l=tb(tx().mark(function e(){var n;return tx().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=[].concat(r),r.length=0,e.next=4,Promise.all(n);case 4:return e.abrupt("return",t.dump());case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}return o(),s(e),Object.assign(function e(t,r){var o,s=a.useMemo(function(){return t5(t)},t3(t)),l=a.useMemo(function(){return ty({},i,r)},t3(r)),u=a.useRef(),p=a.useReducer(c,(o=!l.manual&&d(s,l),ty({loading:!l.manual&&!o,error:null},o?{data:o.data,response:o}:null))),f=p[0],g=p[1];"undefined"==typeof window&&l.ssr&&!l.manual&&e.__ssrPromises.push(n(s));var m=a.useCallback(function(){u.current&&u.current.abort()},[]),v=a.useCallback(function(e){return l.autoCancel&&m(),u.current=ne
1w AbortController,e.signal=u.current.signal,e},[m,l.autoCancel]);return a.useEffect(function(){return l.manual||h(v(s),l,g).catch(function(){}),function(){l.autoCancel&&m()}},[s,l,v,m]),[f,a.useCallback(function(e,t){var n;return e=t5(e),h(v(ty({},s,(n=e)&&n.nativeEvent&&n.nativeEvent instanceof Event?null:e)),ty({useCache:!1},t),g)},[s,v]),m]},{__ssrPromises:r,resetConfigure:o,configure:s,loadCache:function(e){t.load(e)},serializeCache:function(){return l.apply(this,arguments)},clearCache:function(){t.clear()}});function c(e,t){var n;switch(t.type){case tQ.REQUEST_START:return ty({},e,{loading:!0,error:null});case tQ.REQUEST_END:return ty({},e,{loading:!1},t.error?{}:{data:t.payload.data,error:null},((n={})[t.error?"error":"response"]=t.payload,n))}}function d(e,n,i){if(t&&n.useCache){var r=t2(e),o=t.get(r);return o&&i&&i({type:tQ.REQUEST_END,payload:o}),o}}function u(){return(u=tb(tx().mark(function e(i,r){var o;return tx().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r({type:tQ.REQUEST_START}),e.next=4,n(i);case 4:return!function(e,n){if(t){var i=t2(e),r=ty({},n);delete r.config,delete r.request,t.set(i,r)}}(i,o=e.sent),r({type:tQ.REQUEST_END,payload:o}),e.abrupt("return",o);case 10:throw e.prev=10,e.t0=e.catch(0),tj(e.t0)||r({type:tQ.REQUEST_END,payload:e.t0,error:!0}),e.t0;case 14:case"end":return e.stop()}},e,null,[[0,10]])}))).apply(this,arguments)}function h(e,t,n){return p.apply(this,arguments)}function p(){return(p=tb(tx().mark(function e(t,n,i){return tx().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",d(t,n,i)||function(e,t){return u.apply(this,arguments)}(t,i));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}}();function t2(e){var t=ty({},e);return delete t.cancelToken,JSON.stringify(t)}function t5(e){return"string"==typeof e?{url:e}:Object.assign({},e)}function t3(e){var t=a.useRef(),n=a.useRef(0);return!function e(t,n){var i,r;if(t===n)return!0;if(t&&n&&(i=t.constructor)===n.constructor){if(i===Date)return t.getTime()===n.getTime();if(i===RegExp)return t.toString()===n.toString();if(i===Array){if((r=t.length)===n.length)for(;r--&&e(t[r],n[r]););return -1===r}if(!i||"object"==typeof t){for(i in r=0,t)if(tK.call(t,i)&&++r&&!tK.call(n,i)||!(i in n)||!e(t[i],n[i]))return!1;return Object.keys(n).length===r}}return t!=t&&n!=n}(e,t.current)&&(t.current=e,n.current+=1),[n.current]}t1.__ssrPromises,t1.resetConfigure,t1.configure,t1.loadCache,t1.serializeCache,t1.clearCache;var t4=Object.defineProperty,t6=new Map,t8=new WeakMap,t7=0,t9=void 0;function ne({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:r,triggerOnce:o,skip:s,initialInView:l,fallbackInView:c,onChange:d}={}){var u;let[h,p]=a.useState(null),f=a.useRef(d),[g,m]=a.useState({inView:!!l,entry:void 0});f.current=d,a.useEffect(()=>{let a;if(!s&&h)return a=function(e,t,n={},i=t9){if(void 0===window.IntersectionObserver&&void 0!==i){let r=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:o,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(t8.has(n)||(t7+=1,t8.set(n,t7.toString())),t8.get(n)):"0":e[t]}`}).toString(),n=t6.get(t);if(!n){let i;let r=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let o=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach(e=>{e(o,t)})})},e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},t6.set(t,n)}return n}(n),s=a.get(e)||[];return a.has(e)||a.set(e,s),s.push(t),o.observe(e),function(){s.splice(s.indexOf(t),1),0===s.length&&(a.delete(e),o.unobserve(e)),0===a.size&&(o.disconnect(),t6.delete(r))}}(h,(e,t)=>{m({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&o&&a&&(a(),a=void 0)},{root:r,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{a&&a()}},[Array.isArray(e)?e.toString():e,h,r,i,o,s,n,c,t]);let v=null==(u=g.entry)?void 0:u.target,b=a.useRef(void 0);h||!v||o||s||b.current===v||(b.current=v,m({inView:!!l,entry:void 0}));let y=[p,g.inView,g.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}a.Component;let nt=$.ZP.div.withConfig({componentId:"sc-f0641b2c-0"})(["position:relative;z-index:0;"]),nn=$.ZP.iframe.withConfig({componentId:"sc-f0641b2c-1"})(["display:flex;justify-content:center;width:100%;border:0;overflow:hidden;",""],e=>e.inCusto?(0,$.iv)(["height:calc(100dvh - ",");@media screen and ","{height:calc(100dvh - ",");}"],(0,J.Z)(300),q.Hb.desktop,(0,J.Z)(244)):(0,$.iv)(["min-height:",";max-height:",";aspect-ratio:16 / 9;"],e=>
1e.heightConstrains?"25vh":0,e=>e.heightConstrains?(0,J.Z)(810):"none")),ni=$.ZP.div.withConfig({componentId:"sc-f0641b2c-2"})(["display:flex;justify-content:center;position:absolute;width:100%;height:100%;top:0;left:0;z-index:1;overflow:hidden;opacity:1;background-color:",";transition:opacity 0.4s 0.4s ease-out,visibility 0.8s linear;&.webGL-loaded{opacity:0;}&.webGL-fully-visible{visibility:hidden;}"],e=>{var t;return null!==(t=e.bgColor)&&void 0!==t?t:"transparent"}),nr=$.ZP.div.withConfig({componentId:"sc-f0641b2c-3"})([""," ",""],e=>e.fullOpacity?(0,$.iv)(["opacity:1;"]):(0,$.iv)(["opacity:0.5;mask-image:linear-gradient( to right,#0000,#000 1rem,#000 calc(100% - 1rem),#0000 );"]),e=>e.inCusto&&(0,$.iv)(["img{width:auto;max-width:none;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);mask-image:linear-gradient( to right,#0000,#000 1rem,#000 calc(100% - 1rem),#0000 );}"])),no=$.ZP.div.withConfig({componentId:"sc-f0641b2c-4"})(["display:flex;align-items:center;justify-content:center;width:7rem;height:7rem;position:absolute;top:50%;left:50%;background-color:rgba(0,0,0,0.5);transform:translate(-50%,-50%);border-radius:50%;&::before{content:'';width:calc(100% - 10px);height:calc(100% - 10px);border:2px solid transparent;border-top:2px solid red;position:absolute;top:3px;left:3px;border-radius:50%;animation-duration:0.85s;animation-name:rotate;animation-timing-function:ease-out;animation-fill-mode:backwards;animation-iteration-count:infinite;}@media screen and ","{width:8rem;height:8rem;&::before{width:calc(100% - 12px);height:calc(100% - 12px);border-width:4px;top:2px;left:2px;}}@keyframes rotate{0%{transform:rotate(0);}100%{transform:rotate(1turn);}}"],q.Hb.tablet),na={annotation_tooltip_visible:0,annotations_visible:0,autospin:0,camera:0,preload:0,scrollwheel:1,transparent:0,ui_loading:1,ui_animations:0,ui_infos:0,ui_start:0,ui_stop:0,ui_inspector:0,ui_watermark_link:0,ui_watermark:0,ui_ar:0,ui_help:0,ui_settings:0,ui_vr:0,ui_fullscreen:0,ui_annotations:0},ns="https://api.sketchfab.com/v3/models/",nl=e=>{let{iframeElement:t,sketchfabID:i,successCallback:r,customParams:o}=e;(0,eW.jU)()&&document&&i&&t&&(["local","development"].includes("staging")&&console.log("skfbAPIInit"),new(n(2604))("1.12.1",t).init(i,{success:e=>{r(e)},error:()=>{console.error("Sketchfab API error")},...na,...o}))},nc=e=>{e.classList.add("webGL-loaded","webGL-fully-visible")},nd=e=>{var t,n;let{blok:i,inSlider:r,isCurrent:s,bgColor:l}=e,c=(0,a.useRef)(null),d=(0,a.useRef)(null),u=(0,a.useRef)(!1),[h,p]=(0,a.useState)(null),[f,g]=(0,a.useState)(""),{logo:m}=(0,a.useContext)(W.E_),[{data:v}]=t1("".concat(ns).concat(i.sketchfabId)),b=null==v?void 0:null===(t=v.thumbnails)||void 0===t?void 0:t.images[0],{ref:y}=ne({threshold:r?.05:.5,triggerOnce:!r,onChange:e=>{r||(e?g("fade-element has-intersected"):g("fade-element"))}});return(0,a.useEffect)(()=>{var e,t;let n=(null===(e=i.sketchfabId)||void 0===e?void 0:e.indexOf("?"))!==-1&&(null===(t=i.sketchfabId)||void 0===t?void 0:t.indexOf("?")),o=n?i.sketchfabId.slice(0,n):i.sketchfabId,a=!!n&&i.sketchfabId.slice(n+1).split("&").map(e=>e.split("=").map(e=>e.trim())).reduce((e,t)=>(e[t[0]]=t[1],e),{});nl({iframeElement:c.current,sketchfabID:o,successCallback:e=>{p(e),r||e.start()},customParams:{...a,autospin:.2,ui_loading:r?0:1}})},[i.sketchfabId,r]),(0,a.useEffect)(()=>{let e,t;if(h&&r){if(s){if(!u.current)return e=setTimeout(()=>{h.load(()=>{u.current=!0,h.addEventListener("viewerready",()=>{t=setTimeout(()=>{h.start(()=>{nc(d.current)})},200)})})},200),()=>{clearTimeout(e),clearTimeout(t)};h.start()}else h.stop()}},[h,s,r]),(0,o.jsxs)(nt,{ref:y,className:f,children:[(0,o.jsx)(nn,{ref:c,title:i.Title,heightConstrains:!0,frameborder:"0",allowfullscreen:!0,mozallowfullscreen:"true",webkitallowfullscreen:"true",allow:"autoplay; fullscreen; xr-spatial-tracking;","xr-spatial-tracking":!0,"execution-while-out-of-viewport":!0,"execution-while-not-rendered":!0,"web-share":!0,src:""}),(null==b?void 0:b.url)&&r&&(0,o.jsxs)(ni,{ref:d,bgColor:l,children:[(0,o.jsx)(nr,{children:(0,o.jsx)(tm(),{width:1440,height:810,src:b.url,alt:i.Title})}),(0,o.jsx)(no,{children:(null==m?void 0:m.length)>0&&(0,o.jsx)(tm(),{width:76,height:9,src:null===(n=m[0].logo_nismo_only)||void 0===n?void 0:n.filename,alt:""})})]})]})};
1nd.propTypes={blok:d().shape({Title:d().string,sketchfabId:d().string,placeholder_image:d().shape({filename:d().string})}),inSlider:d().bool,bgColor:d().string,isCurrent:d().bool},nd.defaultProps={blok:{Title:"",sketchfabId:"",placeholder_image:null},inSlider:!1,bgColor:"",isCurrent:!1};var nu=n(943);let nh=e=>{var t,n,i,r,s,l,c,d;let{blok:u}=e,h=u.slide,[p,f]=ek({containScroll:"trimSnaps"},[eY(),eK()]),g=(0,a.useContext)(W.bu),m=u.background_color===q.O9.white?q.O9.black:q.O9.white,v=h.some(e=>e.car_stats&&0!==e.car_stats.length),b=(0,eW.yl)(g,"prev-slide"),y=(0,eW.yl)(g,"next-slide"),[w,x]=(0,a.useState)(0),[k,_]=(0,a.useState)(!1),[C,Z]=(0,a.useState)(!1),[j,P]=(0,a.useState)([]),S=(0,a.useRef)(null),E={desktop:{width:1920,height:1080},tablet:{width:1280,height:720},mobile:{width:640,height:360}},O=(0,a.useCallback)(()=>f&&f.scrollPrev(),[f]),A=(0,a.useCallback)(()=>f&&f.scrollNext(),[f]),I=(0,a.useCallback)(e=>f&&f.scrollTo(e),[f]),T=(0,a.useCallback)(()=>{f&&(x(f.selectedScrollSnap()),_(f.canScrollPrev()),Z(f.canScrollNext()))},[f,x]);return(0,a.useEffect)(()=>{f&&(T(),P(f.scrollSnapList()),f.on("select",T),f.on("reInit",T))},[f,P,T]),(0,a.useEffect)(()=>{S.current&&(0,Q.t_)(S.current,v?.1:.5)},[S,v]),(0,o.jsx)(eQ,{bgColor:u.background_color,hasCarDetails:v,children:(0,o.jsxs)("div",{ref:S,className:"fade-element",children:[(0,o.jsxs)(e0,{children:[v&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e6,{direction:"prev",onClick:O,enabled:k,"aria-disabled":!k,"aria-label":b,children:(0,o.jsx)(nu.Z,{fillRect:m,stroke:m})}),(0,o.jsx)(e6,{direction:"next",onClick:A,enabled:C,"aria-disabled":!C,"aria-label":y,children:(0,o.jsx)(nu.Z,{fillRect:m,stroke:m})})]}),(0,o.jsx)(e3,{toTop:v,children:null==j?void 0:j.map((e,t)=>{var n;return(0,o.jsx)(e4,{type:"button",color:m,selected:t===w,onClick:()=>I(t),children:null===(n=h[t])||void 0===n?void 0:n.title},t)})}),(0,o.jsx)(e1,{ref:p,children:(0,o.jsx)(e2,{children:null==h?void 0:h.map((e,t)=>{var n,i;return(0,o.jsx)(e5,{children:e.webgl_iframe&&e.webgl_iframe.length?(0,o.jsx)(nd,{blok:e.webgl_iframe[0],inSlider:!0,bgColor:u.background_color,isCurrent:t===w}):!!(null===(i=e.visual)||void 0===i?void 0:null===(n=i.filename)||void 0===n?void 0:n.length)&&(v?(0,o.jsx)(q.W2,{topPadding:{m:40,t:50,d:60},children:(0,o.jsx)(eF.Z,{src:e.visual.filename,alt:e.visual.alt,sizes:E})}):(0,o.jsx)(eF.Z,{src:e.visual.filename,alt:e.visual.alt,sizes:E}))},e._uid)})})})]}),v&&!!(null===(n=h[w])||void 0===n?void 0:null===(t=n.car_stats)||void 0===t?void 0:t.length)&&(0,o.jsx)(tf,{carStats:h[w].car_stats}),v&&!!(null===(r=h[w])||void 0===r?void 0:null===(i=r.car_specs)||void 0===i?void 0:i.length)&&(0,o.jsx)(tl,{title:h[w].car_specs_title,carSpecs:h[w].car_specs}),(u.title||(null===(l=u.link)||void 0===l?void 0:null===(s=l.story)||void 0===s?void 0:s.url))&&(0,o.jsx)(q.W2,{children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsxs)(e8,{size:{m:12,t:12,d:9},children:[(0,o.jsx)(e7,{children:u.title}),(0,o.jsx)(e9,{children:(null==u?void 0:null===(d=u.link)||void 0===d?void 0:null===(c=d.story)||void 0===c?void 0:c.url)&&(0,o.jsx)(eH.Z,{href:(0,eM.Z)(u.link),label:u.link_label,inheritAnim:!0})})]})})})]})})};nh.propTypes={blok:d().shape({title:d().string,slide:d().arrayOf(d().shape({_uid:d().string,visual:d().shape({filename:d().string,alt:d().string}),title:d().string,car_stats:d().arrayOf(d().shape({})),car_specs_title:d().string,car_specs:d().arrayOf(d().shape({}))})),link:d().shape({url:d().string,story:d().shape({url:d().string})}),link_label:d().string,background_color:d().string})},nh.defaultProps={blok:d().shape({title:"",slide:[],link:{},link_label:"",background_color:"",car_stats:{},car_specs_title:"",car_specs:{}})};let np=$.ZP.svg.withConfig({componentId:"sc-adbb45ed-0"})([".path-1{animation:sdb07 2s infinite;opacity:0;animation-delay:0s;}.path-2{animation:sdb07 2s infinite;opacity:0;animation-delay:0.15s;}.path-3{animation:sdb07 2s infinite;opacity:0;animation-delay:0.3s;}@keyframes sdb07{0%{opacity:0;}50%{opacity:1;}100%{opacity:0;}}"]),nf=e=>{let{width:t,height:n,viewBox:i,fill:r,stroke:a}=e;return(0,o.jsxs)(np,{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:[(0,o.jsx)("path",{className:"path-1",d:"M1 1L13.5001 14.3334L26.0002 1",stroke:a,strokeWidth:"2"}),(0,o.jsx)("path",{className:"path-2",d:"M1 14.3339L13.5001 27.6673L26.0002 14.3339",stroke:a,strokeWidth:"2"}),(0,o.jsx)("path",{className:"path-3",d:"M1 27.6663L13.5001 40.9998L26.0002 27.6663",stroke:a,strokeWidth:"2"})]})};nf.propTypes={fill:d().string,width:d().string,height:d().string,
1stroke:d().string,viewBox:d().string},nf.defaultProps={fill:"none",width:"27",height:"41",viewBox:"0 0 27 41",stroke:"#fff"};let ng=(0,$.iv)(["@keyframes heroContentFadeIn{0%{opacity:0;}100%{opacity:1;}}animation-duration:1s;animation-delay:1.5s;animation-name:heroContentFadeIn;animation-timing-function:ease-out;animation-fill-mode:backwards;"]),nm=$.ZP.div.withConfig({componentId:"sc-9fd9d0bb-0"})(["box-sizing:border-box;position:relative;display:flex;align-items:flex-start;justify-content:center;width:100%;height:100vh;overflow:hidden;background-color:#000107;"]),nv=(0,$.ZP)(q.W2).withConfig({componentId:"sc-9fd9d0bb-1"})(["position:absolute;top:0;left:0;width:100%;height:100%;padding-top:25vh;z-index:2;text-align:center;"," picture{display:inline-block;}"],ng),nb=(0,$.iv)(["position:absolute;top:0;left:0;max-width:100%;height:100%;z-index:1;object-fit:cover;"]),ny=(0,$.iv)(["@keyframes heroMediaFadeIn{0%{opacity:0;filter:blur(2em) brightness(2) saturate(0.2);}100%{opacity:1;filter:blur(0) brightness(1) saturate(1);}}@keyframes heroMediaScale{0%{transform:scale(1);}10%{transform:scale(1.1);}100%{transform:scale(1);}}animation-duration:2s,1s;animation-delay:0.5s,0;animation-name:heroMediaFadeIn,heroMediaScale;animation-timing-function:cubic-bezier(0.26,0.53,0.74,1.48),ease-out;animation-fill-mode:backwards;"]),nw=$.ZP.video.withConfig({componentId:"sc-9fd9d0bb-2"})(["position:absolute;z-index:1;object-fit:fill;opacity:1;"," @media screen and ","{-webkit-mask-image:linear-gradient( to right,#0000,#000 2rem,#000 calc(100% - 2rem),#0000 );mask-image:linear-gradient( to right,#0000,#000 2rem,#000 calc(100% - 2rem),#0000 );}"],ny,q.Hb.desktop),nx=$.ZP.img.withConfig({componentId:"sc-9fd9d0bb-3"})([""," ",""],nb,ny),nk=$.ZP.div.withConfig({componentId:"sc-9fd9d0bb-4"})(["h1{position:relative;color:",";padding-top:",";text-align:center;font-size:",";font-weight:300;letter-spacing:0.001em;@media screen and ","{padding-top:",";}@media screen and ","{font-size:",";padding-top:",";}}"],q.O9.white,(0,J.Z)(17),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(22),q.Hb.desktop,(0,J.Z)(30),(0,J.Z)(16)),n_=$.ZP.button.withConfig({componentId:"sc-9fd9d0bb-5"})(["background:transparent;border:0;cursor:pointer;position:absolute;left:50%;bottom:",";transform:translateX(-50%);",""],(0,J.Z)(40),ng),nC=$.ZP.video.withConfig({componentId:"sc-9fd9d0bb-6"})(["width:",";height:",";@media screen and ","{width:",";height:",";}@media screen and ","{width:",";height:",";}
1"],(0,J.Z)(230),(0,J.Z)(28),q.Hb.tablet,(0,J.Z)(260),(0,J.Z)(32),q.Hb.desktop,(0,J.Z)(340),(0,J.Z)(42));var nZ=n(4250);let nj=e=>{var t,n,i,r,s,c,d,u,h;let{blok:p}=e,f=(0,a.useContext)(W.bu);(0,a.useRef)(!0);let g=(0,a.useRef)(null),m=(0,a.useRef)(null),{width:v,height:b}=(0,nZ.Z)(),y=v<744?null==p?void 0:null===(n=p.videos_hero_banner[0])||void 0===n?void 0:null===(t=n.video_mp4_mobile)||void 0===t?void 0:t.url:v<821?null==p?void 0:null===(r=p.videos_hero_banner[0])||void 0===r?void 0:null===(i=r.video_mp4_tablet)||void 0===i?void 0:i.url:null==p?void 0:null===(c=p.videos_hero_banner[0])||void 0===c?void 0:null===(s=c.video_mp4_desktop)||void 0===s?void 0:s.url,w=v<744?{height:16*v/9,width:v}:v<821?{height:4*v/3,width:v}:{height:b,width:16*b/9},x=(0,eW.yl)(f,"scroll-to-main-content"),k=(null==p?void 0:p.videos_hero_banner)?(0,o.jsx)(nw,{className:"videoMp4",src:y,autoPlay:!0,loop:!0,controls:!1,muted:!0,style:{height:"".concat(w.height,"px"),width:"".concat(w.width,"px"),bottom:0}}):(null===(d=p.image)||void 0===d?void 0:d.filename)?(0,o.jsx)(nx,{src:null===(u=p.image)||void 0===u?void 0:u.filename,alt:p.image.alt}):null;return(0,o.jsxs)(nm,{ref:g,...(0,l.LF)(p),children:[k,(0,o.jsxs)(nv,{children:[(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsxs)(q.JX,{size:{m:12,t:12,d:6},centered:!0,children:[(null==p?void 0:p.logo_image)&&(0,o.jsx)(eF.Z,{src:p.logo_image.filename,alt:p.logo_image.alt,sizes:{desktop:{width:340,height:42},tablet:{width:260,height:32},mobile:{width:227,height:28}}}),(null==p?void 0:p.logo_video)&&(null==p?void 0:null===(h=p.logo_video)||void 0===h?void 0:h.filename)&&(0,o.jsx)(nC,{autoplay:!0,loop:!0,children:(0,o.jsx)("source",{src:p.logo_video.filename,type:"video/mp4",alt:p.logo_video.alt})}),(0,o.jsx)(nk,{ref:m,className:"herobanner__text",children:(0,G.sY)(p.text)})]})}),(0,o.jsx)(n_,{type:"button",onClick:()=>{let e=g.current.offsetTop+g.current.offsetHeight;window.scrollTo({top:e,behavior:"smooth"})},"aria-label":x,children:(0,o.jsx)(nf,{})})]})]})};nj.propTypes={blok:d().shape({videos_hero_banner:d().arrayOf(d().shape({video_mp4_desktop:d().shape({url:d().string}),video_mp4_tablet:d().shape({url:d().string}),video_mp4_mobile:d().shape({url:d().string})})),image:d().shape({filename:d().string,alt:d().string}),logo_image:d().shape({filename:d().string,alt:d().string}),logo_video:d().shape({filename:d().string,alt:d().string}),text:d().shape({})})},nj.defaultProps={blok:d().shape({videos_hero_banner:[],logo_image:{},logo_video:{},text:{},image:{}})};var nP=n(4426),nS=n(1664),nE=n.n(nS);let nO=$.ZP.div.withConfig({componentId:"sc-2c199833-0"})(["position:relative;"]),nA=$.ZP.div.withConfig({componentId:"sc-2c199833-1"})(["padding-top:",";margin-left:",";overflow:hidden;"," @media screen and ","{padding-top:",";margin-left:",";}@media screen and ","{padding-top:",";margin-left:calc( ((100% - "," - ",") / 6) + "," );}"],(0,J.Z)(40),(0,J.Z)(25),e=>e.useOnPartners&&(0,$.iv)(["padding-bottom:",";position:relative;&::after{content:'';display:block;position:absolute;bottom:",";left:0;width:100%;height:1px;background-color:",";}"],(0,J.Z)(40),(0,J.Z)(40),q.O9.grey_lighter),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(60),(0,J.Z)(220),(0,J.Z)(70),(0,J.Z)(100)),nI=$.ZP.div.withConfig({componentId:"sc-2c199833-2"})(["grid-column:1 / span 6;@media screen and ","{grid-column:3 / span 6;}"],q.Hb.desktop),nT=$.ZP.div.withConfig({componentId:"sc-2c199833-3"})(["display:flex;"]),nR=$.ZP.div.withConfig({componentId:"sc-2c199833-4"})(["display:flex;justify-content:center;align-items:center;flex:0 0 content;padding:0 "," "," ",";position:relative;img{max-width:",";max-height:",";@media screen and ","{max-width:",";max-height:",";}}&:not(:first-of-type)::before{content:'';display:block;position:absolute;top:0;left:0;bottom:",";width:1px;background-color:",";}&:last-of-type{margin-right:",";@media screen and ","{margin-right:",";}@media screen and ","{margin-right:",";}}",""],(0,J.Z)(8),(0,J.Z)(30),(0,J.Z)(8),(0,J.Z)(172),(0,J.Z)(96),q.Hb.desktop,(0,J.Z)(310),(0,J.Z)(174),(0,J.Z)(30),q.O9.grey_lighter,(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(70),e=>e.active&&(0,$.iv)(["&::after{content:'';display:block;width:100%;height:2px;position:absolute;
1left:0;bottom:0;background-color:",";}"],q.O9.red)),nL=$.ZP.button.withConfig({componentId:"sc-2c199833-5"})(["width:",";height:min-content;border:none;background-color:transparent;cursor:pointer;transform:translate(0);svg{width:100%;[fill]{transition:fill 0.2s ease-out;}[stroke]{transition:stroke 0.2s ease-out;}}"," @media screen and ","{width:",";}"],(0,J.Z)(40),e=>e.enabled?(0,$.iv)(["&:hover,&:focus,&:active{svg{[fill]{fill:",";}}}"],q.O9.red):(0,$.iv)(["opacity:0.2;cursor:default;"]),q.Hb.desktop,(0,J.Z)(50)),nz=(0,$.ZP)(q.JX).withConfig({componentId:"sc-2c199833-6"})(["display:flex;position:absolute;top:",";right:",";column-gap:",";@media screen and ","{top:",";right:",";}@media screen and ","{top:",";right:",";}"],(0,J.Z)(40),(0,J.Z)(25),(0,J.Z)(80),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(120),(0,J.Z)(70));(0,$.ZP)(eZ).withConfig({componentId:"sc-2c199833-7"})([""," ",""],e=>e.useOnPartners&&(0,$.iv)(["top:0;"]),e=>!e.useOnPartners&&(0,$.iv)(["top:",";@media screen and ","{top:",";}"],(0,J.Z)(45),q.Hb.desktop,(0,J.Z)(155)));let nB=$.ZP.div.withConfig({componentId:"sc-2c199833-8"})(["position:absolute;bottom:",";left:50%;transform:translateX(-50%);svg{height:",";@media screen and ","{height:",";}}@media screen and ","{bottom:",";}"],(0,J.Z)(-32),(0,J.Z)(12),q.Hb.desktop,(0,J.Z)(16),q.Hb.desktop,(0,J.Z)(-36)),nM=(0,$.ZP)(q.JX).withConfig({componentId:"sc-2c199833-9"})(["display:flex;justify-content:flex-end;padding-bottom:",";@media screen and ","{padding-bottom:",";}@media screen and ","{padding-bottom:",";}"],(0,J.Z)(80),q.Hb.tablet,(0,J.Z)(98),q.Hb.desktop,(0,J.Z)(120));var nN=n(6665);let nF=$.ZP.video.withConfig({componentId:"sc-fbe57ee7-0"})([""]),nH=e=>{let{mp4Src:t,autoPlay:n,loop:i,controls:r,muted:s,className:l,inheritAnim:c}=e,d=(0,a.useRef)(null);return(0,a.useEffect)(()=>{d.current&&(0,Q.t_)(d.current,.5)},[d]),(0,o.jsxs)(nF,{controls:r,autoPlay:n,loop:i,muted:s,inheritAnim:c,className:[l,c?"":"fade-element"],ref:d,children:[(0,o.jsx)("source",{src:t,type:"video/mp4"}),(0,o.jsx)("track",{kind:""}),(0,o.jsxs)("p",{children:["Your browser doesn't support HTML video. Here is a",(0,o.jsx)("a",{href:t,children:"link to the video"})," instead."]})]})};nH.propTypes={mp4Src:d().string.isRequired,autoPlay:d().bool,loop:d().bool,controls:d().bool,muted:d().bool,className:d().string,inheritAnim:d().bool},nH.defaultProps={autoPlay:!1,loop:!0,controls:!0,muted:!0,className:"",inheritAnim:!1};let nD=(0,$.ZP)(q.W2).withConfig({componentId:"sc-57e7654d-0"})(["h2:not([class*='PartnerTitle']){font-size:30px;font-weight:300;line-height:1.2;}@media screen and ","{padding-top:",";}@media screen and ","{padding-top:0;}"],q.Hb.tablet,(0,J.Z)(20),q.Hb.desktop),nU=(0,$.ZP)(q.X2).withConfig({componentId:"sc-57e7654d-1"})(["@media screen and ","{margin-top:",";}"],q.Hb.desktop,(0,J.Z)(60)),nV=(0,$.ZP)(q.JX).withConfig({componentId:"sc-57e7654d-2"})(["@media screen and ","{grid-column-start:3;grid-column-end:11;}"],q.Hb.desktop),nW=(0,$.ZP)(nN.Z).withConfig({componentId:"sc-57e7654d-3"})(["font-size:35px;@media screen and ","{font-size:60px;}"],q.Hb.desktop),nG=(0,$.ZP)(nH).withConfig({componentId:"sc-57e7654d-4"})(["width:100%;"]);(0,$.ZP)(eF.Z).withConfig({componentId:"sc-57e7654d-5"})(["margin-top:",";max-width:100%;"],(0,J.Z)(20));let nX=$.ZP.div.withConfig({componentId:"sc-57e7654d-6"})(["width:100%;display:flex;justify-content:flex-end;margin-bottom:",";text-align:center;@media screen and ","{margin-top:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(38)),nq=$.ZP.a.withConfig({componentId:"sc-614f44c3-0"})(["position:relative;display:inline-flex;align-items:center;justify-content:center;width:",";min-width:",";height:",";padding:",";margin-right:",";border:2px solid ",";border-radius:50%;color:",";text-transform:uppercase;font-size:",";transition:color 0.5s ease-out,border-color 0.5s ease-out;@media screen and ","{width:",";min-width:",";height:",";font-size:",";}@media screen and ","{width:",";min-width:",";height:",";font-size:",";}&:hover,&:focus{color:",";border-color:",";@media screen and (prefers-reduced-motion:reduce){text-decoration:underline;}}"],(0,J.Z)(134),(0,J.Z)(134),(0,J.Z)(134),(0,J.Z)(50),(0,J.Z)(26),e=>e.color,e=>e.color,(0,J.Z)(12),q.Hb.desktop,(0,J.Z)(191),(0,J.Z)(191),(0,J.Z)(191),(0,J.Z)(14),q.Hb.desktopLarge,(0,J.Z)(266),(0,J.Z)(266),(0,J.Z)(266),(0,J.Z)(20),q.O9.red,q.O9.red),n$=$.ZP.span.withConfig({componentId:"sc-614f44c3-1"})(["position:absolute;display:inline-block;right:-",";padding:"," 0;background-color:",";transition:right 0.3s cubic-bezier(0.34,1.56,0.64,1);svg{width:",";> path{fill:currentColor;}@media screen and ","{width:",";}}@media screen and ","{padding:"," 0;right:-",";a:hover &,a:focus &{right:-",";@media screen and (prefers-reduced-motion:reduce){right:-",";}}}"],(0,J.Z)(12),(0,J.Z)(6),e=>e.bgColor,(0,J.Z)(35),q.Hb.desktop,(0,J.Z)(50),q.Hb.desktop,(0,J.Z)(20),(0,J.Z)(26),(0,J.Z)(14),(0,J.Z)(26)),nJ=e=>{let{label:t,href:n,className:i,color:r,target:a,title:s}=e,l=r===q.O9.black?q.O9.white:q.O9.black;return(0,o.jsx)(nE(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,o.jsxs)(nq,{className:i,color:r,target:a,title:s,rel:"noopener noreferrer",children:[t,(0,o.jsx)(n$,{bgColor:l,children:(0,o.jsx)(eU,{fillPath:r})})]})})};
1nJ.propTypes={href:d().string.isRequired,label:d().string.isRequired,className:d().string,color:d().string,target:d().string,title:d().string},nJ.defaultProps={className:"",color:q.O9.white,target:"",title:""};var nY=n(1053),nK=n(7746);let nQ=$.ZP.iframe.withConfig({componentId:"sc-c8fb9d78-0"})(["border:0;overflow:hidden;"]),n0=(0,$.ZP)(nH).withConfig({componentId:"sc-4b296c3c-0"})(["width:100%;"]),n1=(0,$.ZP)(e=>{let t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{t.current&&(0,Q.t_)(t.current,.5)},[t]),(0,o.jsx)(nQ,{...e,ref:t})}).withConfig({componentId:"sc-4b296c3c-1"})(["width:100%;aspect-ratio:16 / 9;"]),n2=$.ZP.div.withConfig({componentId:"sc-4b296c3c-2"})(["padding-top:",";@media screen and ","{padding-top:",";}"],(0,J.Z)(30),q.Hb.desktop,(0,J.Z)(40)),n5=e=>{var t,n,i,r,s;let c,{blok:d,inheritAnim:u}=e,h=(0,a.useRef)(null);if((0,a.useEffect)(()=>{h.current&&!u&&(0,Q.t_)(h.current,.25)},[h,u]),d)return(null===(t=d.Mp4Url)||void 0===t?void 0:t.url)?c=(0,o.jsx)(n0,{mp4Src:d.Mp4Url.url,autoPlay:!d.Mp4UrlHasControls,loop:!d.Mp4UrlHasControls,controls:!!d.Mp4UrlHasControls&&d.Mp4UrlHasControls,muted:!0,inheritAnim:u}):(null===(n=d.PlayerUrl)||void 0===n?void 0:n.url)?c=(0,o.jsx)(n1,{src:"".concat(d.PlayerUrl.url,"?loop=1&showinfo=0&controls=1"),frameBorder:"0",allowfullscreen:!0,...!!(null===(r=d.PlayerUrl)||void 0===r?void 0:r.title)&&{title:null===(s=d.PlayerUrl)||void 0===s?void 0:s.title}}):d.IframeEmbedCode&&(c=(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:d.IframeEmbedCode}})),(0,o.jsxs)("div",{ref:h,children:[c,(null===(i=d.cta)||void 0===i?void 0:i.length)>0&&d.cta.map(e=>(0,o.jsx)(n2,{children:(0,o.jsx)(l.Xj,{blok:e})},e._uid))]})};n5.propTypes={blok:d().shape({Mp4Url:d().shape({url:d().string}),PlayerUrl:d().shape({url:d().string,title:d().string}),IframeEmbedCode:d().string,cta:d().arrayOf(d().shape({})),Mp4UrlHasControls:d().bool}),inheritAnim:d().bool},n5.defaultProps={blok:{Mp4Url:{url:""},PlayerUrl:{url:""},IframeEmbedCode:"",cta:[],Mp4UrlHasControls:!1},inheritAnim:!1};let n3=e=>{var t,n;let{stories:i}=e,r={paragraph:e=>(0,o.jsx)(nK.Z,{paragraphs:e}),title:e=>(0,o.jsx)(nW,{label:e,type:"h1",weight:"light"}),image:e=>(0,o.jsx)(eF.Z,{src:e,sizes:eW.Xn}),video:e=>(0,o.jsx)(nG,{mp4Src:e,autoPlay:!0,controls:!1,muted:!0}),page_video:e=>(0,o.jsx)(n5,{blok:e}),image_text:e=>(0,o.jsx)(nY.Z,{...e}),image_text_v2:e=>(0,o.jsx)(nY.Z,{...e}),arrow_link:(e,t)=>(0,o.jsx)(nX,{children:(0,o.jsx)(nJ,{href:e,label:t,color:q.O9.black,target:"_blank"})})},l=(0,s.useRouter)(),c=(0,a.useRef)(null);(0,a.useEffect)(()=>{c.current&&(0,Q.t_)(c.current)},[c]);let d=i&&!l.query.partner?null==i?void 0:i.find(e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.components.length}):null==i?void 0:i.find(e=>e.slug===l.query.partner&&e),u=(null==d?void 0:null===(t=d.content)||void 0===t?void 0:t.PartnerComponents)&&(null==d?void 0:null===(n=d.content)||void 0===n?void 0:n.PartnerComponents.map(e=>{let t;if("function"==typeof r[e.component]){var n,i,a,s,l,c;let d={video:null==e?void 0:e.url_mp4,page_video:e,image:null==e?void 0:null===(n=e.image)||void 0===n?void 0:n.filename,arrow_link:null==e?void 0:null===(i=e.href)||void 0===i?void 0:i.url,title:null==e?void 0:e.text,paragraph:null==e?void 0:e.text,image_text:{src:null==e?void 0:null===(a=e.Image)||void 0===a?void 0:a.filename,alt:null==e?void 0:null===(s=e.Image)||void 0===s?void 0:s.alt,textContent:null==e?void 0:e.Text,title:null==e?void 0:e.Title,isImageToRight:null==e?void 0:e.Image_to_the_right},image_text_v2:{src:null==e?void 0:null===(l=e.image)||void 0===l?void 0:l.filename,alt:null==e?void 0:null===(c=e.Image)||void 0===c?void 0:c.alt,textContent:null==e?void 0:e.text,title:null==e?void 0:e.title,isImageToRight:null==e?void 0:e.image_to_the_right}};t="video"!==e.component?(0,o.jsx)(nU,{width:"100%",colGap:20,topMargin:40,children:(0,o.jsx)(nV,{size:{m:12,t:12,d:10},children:r[e.component](d[e.component],null==e?void 0:e.label)})},null==e?void 0:e._uid):(0,o.jsx)(nU,{width:"100%",colGap:20,topMargin:40,children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:12},children:r[e.component](d[e.component])})},null==e?void 0:e._uid)}return t}));return Array.isArray(u)?(0,o.jsx)(nD,{children:u}):null};
1n3.propTypes={stories:d().arrayOf(d().shape({}))},n3.defaultProps={stories:[]};var n4=()=>(0,o.jsx)("svg",{width:"30",height:"16",viewBox:"0 0 30 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"none",children:(0,o.jsx)("path",{d:"M0 0L15 16L30 1.66909e-06",stroke:"#C3002F",strokeWidth:"2"})});let n6=e=>{var t,n,i,r,c,d,u;let{blok:h}=e,p=(0,s.useRouter)(),[f,g]=ek({align:"start",containScroll:"trimSnaps"}),m=(0,a.useContext)(W.bu),[v,b]=(0,a.useState)({}),[y,w]=(0,a.useState)(!1),[x,k]=(0,a.useState)(!1),_=(0,a.useRef)(null),C=p.query.partner?p.query.partner:null==v?void 0:null===(t=v.stories)||void 0===t?void 0:t.find(e=>{var t;return null===(t=e.content)||void 0===t?void 0:t.components.length}).slug,Z=(null==h?void 0:null===(n=h.link_label)||void 0===n?void 0:n.length)===0,j=(0,eW.yl)(m,"prev-slide"),P=(0,eW.yl)(m,"next-slide"),S=(0,a.useCallback)(()=>g&&g.scrollPrev(),[g]),E=(0,a.useCallback)(()=>g&&g.scrollNext(),[g]),O=(0,a.useCallback)(()=>{g&&(w(g.canScrollPrev()),k(g.canScrollNext()))},[g]);(0,a.useEffect)(()=>{g&&(O(),g.on("select",O),g.on("reInit",O))},[g,O]);let A={desktop:{width:310,height:174},tablet:{width:210,height:115},mobile:{width:180,height:100}},I={title:null==h?void 0:h.title,text:null==h?void 0:h.text,link:null==h?void 0:h.link};return(0,a.useEffect)(()=>{(0,l.bS)().get("cdn/stories?starts_with=formulae/partners/partner/",(0,W.QP)(p.locale)).then(e=>{b(e.data)}).catch(e=>console.error(e))},[p.locale,C]),(0,a.useEffect)(()=>{_.current&&(0,Q.t_)(_.current)},[_]),(0,o.jsx)("div",{ref:_,className:"fade-element",children:(0,o.jsxs)(nO,{children:[Z?(0,o.jsx)(q.W2,{topPadding:{m:40,t:60,d:120},children:(0,o.jsx)(q.X2,{children:(0,o.jsx)(nI,{children:(0,o.jsx)(eV.Z,{label:null==I?void 0:I.title})})})}):(0,o.jsx)(ee,{blok:I}),(y||x)&&(0,o.jsxs)(nz,{size:{m:5,t:4,d:3},children:[(0,o.jsx)(nL,{onClick:S,enabled:y,"aria-disabled":!y,"aria-label":j,children:(0,o.jsx)(eD,{fillPath:q.O9.black})}),(0,o.jsx)(nL,{onClick:E,enabled:x,"aria-disabled":!x,"aria-label":P,children:(0,o.jsx)(eU,{fillPath:q.O9.black})})]}),(0,o.jsx)(nA,{ref:f,useOnPartners:Z,children:(0,o.jsx)(nT,{children:(null==v?void 0:v.stories)&&v.stories.map((e,t)=>e.content.LogoSlider&&(0,o.jsxs)(nR,{active:Z&&C===e.slug,children:[e.content.components.length?(0,o.jsx)(nE(),{href:"/formulae/partners/partner/".concat(e.slug),passHref:!0,legacyBehavior:!0,children:(0,o.jsx)("a",{style:{"--delay":"".concat(.2+t/10,"s")},children:(0,o.jsx)(eF.Z,{src:e.content.LogoSlider.filename,alt:e.content.LogoSlider.alt.length?e.content.LogoSlider.alt:e.name,sizes:A})})}):(0,o.jsx)("div",{style:{"--delay":"".concat(.2+t/10,"s")},children:(0,o.jsx)(eF.Z,{src:e.content.LogoSlider.filename,alt:e.content.LogoSlider.alt.length?e.content.LogoSlider.alt:e.name,sizes:A})}),C===e.slug&&Z&&(0,o.jsx)(nB,{children:(0,o.jsx)(n4,{})})]},e.uuid))})}),Z&&(0,o.jsx)(n3,{stories:null==v?void 0:v.stories}),(null==h?void 0:null===(i=h.link_label)||void 0===i?void 0:i.length)>0&&((null==h?void 0:null===(c=h.link)||void 0===c?void 0:null===(r=c.story)||void 0===r?void 0:r.url)||(null==h?void 0:null===(d=h.link)||void 0===d?void 0:d.url))&&(0,o.jsx)(q.W2,{topPadding:{m:40,t:40,d:50},children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsx)(nM,{size:{m:12,t:12,d:11},children:(0,o.jsx)(eH.Z,{href:(0,eM.Z)(h.link),target:(null==h?void 0:null===(u=h.link)||void 0===u?void 0:u.url.length)>0?"_blank":"_self",label:null==h?void 0:h.link_label,color:q.O9.black,inheritAnim:!0})})})})]})})};n6.propTypes={blok:d().shape({title:d().string,text:d().shape({}),slide:d().arrayOf(d().shape({_uid:d().string,number:d().string,visual:d().shape({filename:d().string,alt:d().string}),flag:d().arrayOf(d().shape({filename:d().string,alt:d().string})),first_name:d().string,name:d().string,link:d().shape({url:d().string}),link_label:d().string})),link:d().shape({url:d().string,story:d().shape({url:d().string})}),link_label:d().string})},n6.defaultProps={blok:d().shape({title:"",text:{},slide:[],link:{},link_label:""})};let n8=$.ZP.div.withConfig({componentId:"sc-990e0a22-0"})(["display:grid;gap:0 ",";padding-top:",";position:relative;overflow:hidden;grid-template-columns:60% 1fr;grid-template-areas:'topimg topimg' 'driverid picture' 'separator separator' 'labelsvalues labelsvalues' 'victories victories';transition-duration:1.2s;transition-delay:0.2s;@media screen and ","{grid-template-columns:repeat(2,1fr);grid-template-areas:'topimg topimg' 'driverid picture' 'labelsvalues picture' 'separator separator' 'victories victories';}@media screen and ","{grid-template-columns:calc(17% - ",") calc(33% - ",") calc(33% - ",") calc(17% - ",");","}"],(0,J.Z)(20),(0,J.Z)(40),q.Hb.tablet,q.Hb.desktop,(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(20),(0,J.Z)(10),e=>e.manyDrivers?(0,$.iv)(["grid-template-rows:min-content min-content 1fr auto;grid-template-areas:'topimg topimg topimg topimg' '. driverid picture picture' '. labelsvalues picture picture' '. separator separator .' '. victories victories .';"]):(0,$.iv)(["grid-template-rows:1fr min-content 1fr auto;grid-template-areas:'topimg topimg picture picture' '. driverid picture picture' '. labelsvalues picture picture' '. separator separator .' '. victories victories .';"])),n7=(0,$.ZP)(q.X2).withConfig({componentId:"sc-990e0a22-1"})(["grid-area:topimg;align-items:center;padding-bottom:",";"," @media screen and ","{","}@media screen and ","{.text_rule{width:80%;}}"],(0,J.Z)(40),e=>
1e.scrollThumbnails&&(0,$.iv)(["position:relative;&::after{content:'';display:block;width:",";position:absolute;z-index:2;right:0;top:0;bottom:",";background:linear-gradient(to right,transparent,",");}"],(0,J.Z)(20),(0,J.Z)(40),q.O9.white),q.Hb.tablet,e=>e.scrollThumbnails&&(0,$.iv)(["&::after{width:",";}"],(0,J.Z)(40)),q.Hb.desktop),n9=(0,$.ZP)(q.JX).withConfig({componentId:"sc-990e0a22-2"})(["display:flex;position:relative;z-index:2;gap:",";"," @media screen and ","{gap:",";}@media screen and ","{","}"],(0,J.Z)(10),e=>e.scrollThumbnails&&(0,$.iv)(["overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;scroll-behavior:smooth;padding-right:",";::-webkit-scrollbar{display:none;}"],(0,J.Z)(70)),q.Hb.tablet,(0,J.Z)(20),q.Hb.desktop,e=>e.scrollThumbnails&&(0,$.iv)(["padding-right:",";overflow-y:auto;overflow-x:hidden;"],(0,J.Z)(100))),ie=$.ZP.div.withConfig({componentId:"sc-990e0a22-3"})(["cursor:pointer;display:flex;justify-content:center;align-items:center;width:",";height:",";@media screen and ","{width:",";height:",";}@media screen and ","{width:",";height:",";transition:all 0.5s ease-in;:hover{opacity:50%;}}"],(0,J.Z)(45),(0,J.Z)(45),q.Hb.tablet,(0,J.Z)(110),(0,J.Z)(110),q.Hb.desktop,(0,J.Z)(120),(0,J.Z)(120)),it=$.ZP.div.withConfig({componentId:"sc-990e0a22-4"})(["font-weight:300;font-size:",";@media screen and ","{font-size:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(30)),ii=$.ZP.span.withConfig({componentId:"sc-990e0a22-5"})(["color:",";margin-left:",";"],q.O9.red,(0,J.Z)(10)),ir=$.ZP.h2.withConfig({componentId:"sc-990e0a22-6"})(["font-weight:700;font-size:",";padding-top:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],(0,J.Z)(35),(0,J.Z)(10),q.Hb.tablet,(0,J.Z)(45),q.Hb.desktop,(0,J.Z)(60)),io=(0,$.ZP)(q.JX).withConfig({componentId:"sc-990e0a22-7"})(["visibility:",";height:",";grid-area:driverid;padding-bottom:",";opacity:",";transition:opacity 0.3s 0.5s cubic-bezier(0.32,0,0.67,0);"],e=>e.active?"visible":"hidden",e=>e.active?"auto":0,(0,J.Z)(12),e=>e.active?1:0),ia=$.ZP.div.withConfig({componentId:"sc-990e0a22-8"})(["display:flex;visibility:",";height:",";grid-area:picture;align-items:end;justify-content:center;opacity:",";transform:",";transition:opacity 0.6s 0.1s ease-in,transform 0.7s cubic-bezier(0.33,1,0.68,1);"],e=>e.active?"visible":"hidden",e=>e.active?"auto":0,e=>e.active?1:0,e=>e.active?"translateX(0)":"translateX(5%)"),is=$.ZP.hr.withConfig({componentId:"sc-990e0a22-9"})(["grid-area:separator;width:100%;border:0 solid transparent;border-bottom:1px solid ",";margin:0;visibility:",";opacity:0.2;"],q.O9.black,e=>e.active?"visible":"hidden"),il=$.ZP.ul.withConfig({componentId:"sc-990e0a22-10"})(["visibility:",";height:",";grid-area:labelsvalues;padding:"," 0;margin:0;list-style-type:none;opacity:",";transition:opacity 0.28s 0.56s cubic-bezier(0.32,0,0.67,0);@media screen and ","{padding:"," 0 "," 0;}@media screen and ","{padding:"," 0;}"],e=>e.active?"visible":"hidden",e=>e.active?"auto":0,(0,J.Z)(34),e=>e.active?1:0,q.Hb.tablet,(0,J.Z)(14),(0,J.Z)(34),q.Hb.desktop,(0,J.Z)(34)),ic=$.ZP.li.withConfig({componentId:"sc-990e0a22-11"})(["display:flex;justify-content:start;padding:",";font-size:",";@media screen and ","{font-size:",";}"],(0,J.Z)(6),(0,J.Z)(14),q.Hb.desktop,(0,J.Z)(16)),id=$.ZP.div.withConfig({componentId:"sc-990e0a22-12"})(["flex:0 0 40%;"]),iu=$.ZP.div.withConfig({componentId:"sc-990e0a22-13"})(["position:relative;padding-right:",";"],(0,J.Z)(40)),ih=$.ZP.div.withConfig({componentId:"sc-990e0a22-14"})(["width:",";height:",";position:absolute;right:0;top:50%;overflow:hidden;border-radius:",";transform:translateY(-50%);"],(0,J.Z)(30),(0,J.Z)(22),(0,J.Z)(3)),ip=(0,$.ZP)(q.X2).withConfig({componentId:"sc-990e0a22-15"})(["visibility:",";height:",";grid-area:victories;position:relative;opacity:",";transition:opacity 0.26s 0.64s cubic-bezier(0.32,0,0.67,0);"],e=>e.active?"visible":"hidden",e=>e.active?"auto":0,e=>e.active?1:0),ig=(0,$.ZP)(q.JX).withConfig({componentId:"sc-990e0a22-16"})(["border-top:"," solid ",";opacity:0.2;&:not(:last-child){@media screen and ","{display:none;}}"],(0,J.Z)(1),q.O9.black,q.Hb.tablet),im=$.ZP.div.withConfig({componentId:"sc-990e0a22-17"})(["font-weight:700;font-size:",";line-height:1;color:",";width:30%;@media screen and ","{padding-right:",";width:auto;}@media screen and ","{font-size:",";padding-right:",";"],(0,J.Z)(70),q.O9.red,q.Hb.tablet,(0,J.Z)(25),q.Hb.desktop,(0,J.Z)(100),(0,J.Z)(22)),iv=$.ZP.p.withConfig({componentId:"sc-990e0a22-18"})(["font-size:",";font-style:normal;font-weight:300;padding-top:",";width:70%;@media screen and ","{width:auto;}@media screen and ","{font-size:",";}"],(0,J.Z)(14),(0,J.Z)(8),q.Hb.tablet,q.Hb.desktop,(0,J.Z)(18)),ib=(0,$.ZP)(q.JX).withConfig({componentId:"sc-990e0a22-19"})(["display:flex;align-items:center;padding:"," 0;width:100%;@media screen and ","{align-items:start;padding:"," ",";&::after{content:'';width:1px;position:absolute;top:",";left:50%;bottom:",";opacity:0.2;background-color:",";}}"],(0,J.Z)(35),q.Hb.tablet,(0,J.Z)(35),(0,J.Z)(10),(0,J.Z)(35),(0,J.Z)(35),q.O9.black),iy=(0,$.ZP)(q.JX).withConfig({componentId:"sc-990e0a22-20"})(["display:flex;align-items:center;padding:"," 0;width:100%;@media screen and ","{align-items:start;padding:"," ",";}"],(0,J.Z)(35),q.Hb.tablet,(0,J.Z)(35),(0,J.Z)(10)),iw=$.ZP.div.withConfig({componentId:"sc-990e0a22-21"})(["margin-top:",";"],(0,J.Z)(60)),ix=(0,$.ZP)(q.X2).withConfig({componentId:"sc-990e0a22-22"})(["div > div > p{font-weight:",";font-size:",";}@media screen and ","{div > div > p{font-size:",";}}"],e=>e.weight,(0,J.Z)(16),q.Hb.desktop,(0,J.Z)(18)),ik=(0,$.ZP)(q.X2).withConfig({componentId:"sc-990e0a22-23"})(["padding-top:",";padding-bottom:",";.col{grid-column:2/12;@media screen and ","{grid-column:3/11;}@media screen and ","{grid-column:4/10;}align-items:start;padding:"," ",";}"],(0,J.Z)(40),(0,J.Z)(40),q.Hb.tablet,q.Hb.desktop,(0,J.Z)(35),(0,J.Z)(10));var i_=n(4881);let iC=e=>{let{color:t,weight:n,bgColor:i,content:r,blok:s}=e,l=(0,a.useRef)(null),c={[G.et]:(e,t)=>{let{linktype:n,href:i,target:r,anchor:a,custom:s}=t,l=a?"".concat(i,"#").concat(a):i;return"email"===n?(0,o.jsx)("a",{href:"mailto:".concat(i),children:e}):(0,o.jsx)("a",{href:l,target:r,...s,children:e})}};return(0,a.useEffect)(()=>{l.current&&(0,Q.Jh)(l.current,2,.1)},[l]),(0,o.jsx)(i_.d,{color:t,weight:n,bgColor:i,ref:l,className:"slide-fade-element",centerText:s.center_text,children:(0,G.sY)(s.text||r,{markResolvers:c})})};iC.propTypes={content:d().shape({}),bgColor:d().string,weight:d().oneOfType([d().string,d().number]),color:d().string,blok:d().shape({text:d().oneOfType([d().shape({}),d().string]),center_text:d().bool})},iC.defaultProps={content:{},bgColor:q.O9.white,weight:400,color:"",blok:{text:"",center_text:!1}};let iZ=e=>{var t,n,i,r,l,c,d,u,h,p,f,g,m,v,b,y,w,x,k;let{blok:_}=e,C=(0,s.useRouter)(),Z=C.asPath.split("#")[1],j=Z?(null==_?void 0:null===(t=_.thumbnails)||void 0===t?void 0:t.length)&&(null==_?void 0:_.thumbnails.findIndex(e=>!!e.pilot_name&&!!e.pilot_name.length&&e.pilot_name.split(" ").join("-")===Z)):0,[P,S]=(0,a.useState)(j),E=(0,a.useRef)(null),O=(0,a.useRef)(null),A=(e,t)=>
1{S(t),C.push("#".concat(e.split(" ").join("-")))},[I,T]=(0,a.useState)(),R=e=>{T(e)},{width:L}=(0,nZ.Z)(),z={desktop:{width:130,height:130},tablet:{width:130,height:130},mobile:{width:130,height:130}},B={desktop:{width:749,height:749},tablet:{width:382,height:382},mobile:{width:140,height:140}};return(0,a.useEffect)(()=>{E.current&&(0,Q.t_)(E.current)},[E]),(0,a.useEffect)(()=>{let e=O.current;if(e){let t=t=>{if(0!==Math.abs(t.deltaX)||15>Math.abs(t.deltaY)){t.stopPropagation();return}0!==t.deltaY&&(t.preventDefault(),e.scrollTo({left:e.scrollLeft+t.deltaY,behavior:"smooth"}))};return e.addEventListener("wheel",t),()=>{e.removeEventListener("wheel",t)}}},[]),(0,o.jsxs)(q.W2,{className:"layout-light",bottomPadding:{m:60,t:80,d:120},children:[(0,o.jsxs)(n8,{ref:E,manyDrivers:(null==_?void 0:null===(n=_.thumbnails)||void 0===n?void 0:n.length)>3,className:"fade-element",children:[(0,o.jsxs)(n7,{scrollThumbnails:(null==_?void 0:null===(i=_.thumbnails)||void 0===i?void 0:i.length)>3,children:[(0,o.jsx)(q.JX,{size:{m:6,t:4,d:(null==_?void 0:null===(r=_.thumbnails)||void 0===r?void 0:r.length)>3?2:4},children:(0,o.jsx)(X.Z,{label:null==_?void 0:_.title,color:q.O9.black,inheritAnim:!0,headingLevel:"h1"})}),(0,o.jsx)(n9,{ref:(null==_?void 0:null===(l=_.thumbnails)||void 0===l?void 0:l.length)>3?O:null,size:{m:6,t:8,d:(null==_?void 0:null===(c=_.thumbnails)||void 0===c?void 0:c.length)>3?10:8},scrollThumbnails:(null==_?void 0:null===(d=_.thumbnails)||void 0===d?void 0:d.length)>3,children:null==_?void 0:_.thumbnails.map((e,t)=>{var n,i,r,a;return(0,o.jsx)(q.JX,{size:{m:4,t:4,d:4},children:(0,o.jsx)(ie,{onClick:()=>A(e.pilot_name,t),onMouseEnter:()=>R(t),onMouseLeave:()=>R(void 0),children:(0,o.jsx)(eF.Z,{src:P===t||I===t?null==e?void 0:null===(n=e.thumbnail_active)||void 0===n?void 0:n.filename:null==e?void 0:null===(i=e.thumbnail_unactive)||void 0===i?void 0:i.filename,alt:P===t||I===t?null==e?void 0:null===(r=e.thumbnail_active)||void 0===r?void 0:r.alt:null==e?void 0:null===(a=e.thumbnail_unactive)||void 0===a?void 0:a.alt,sizes:z})})},e._uid)})})]}),null==_?void 0:_.team_driver_template.map((e,t)=>{var n,i,r,s,l,c,d,u,h,p,f;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsxs)(io,{active:t===P,size:{m:7,t:6,d:6},className:"col",children:[(0,o.jsxs)(it,{children:[null===(n=e.role[0])||void 0===n?void 0:n.label,(0,o.jsx)(ii,{children:null===(i=e.role[0])||void 0===i?void 0:i.id})]}),(0,o.jsxs)(ir,{children:[null===(r=e.role[0])||void 0===r?void 0:r.first_name,(0,o.jsx)("br",{}),null===(s=e.role[0])||void 0===s?void 0:s.last_name]})]}),(0,o.jsx)(ia,{active:t===P,children:(0,o.jsx)(eF.Z,{src:null===(l=e.visual)||void 0===l?void 0:l.filename,alt:null===(c=e.visual)||void 0===c?void 0:c.alt,sizes:B},null===(d=e.visual)||void 0===d?void 0:d._uid)}),(0,o.jsx)(is,{active:t===P}),(0,o.jsx)(il,{active:t===P,colGap:20,children:e.identity_informations.map(e=>{var t;let{label:n,value:i,flag:r,_uid:a}=e;return(0,o.jsxs)(ic,{children:[(0,o.jsx)(id,{children:n}),(0,o.jsxs)(iu,{children:[i,r.length>0&&(0,o.jsx)(ih,{children:(0,o.jsx)(tm(),{src:null===(t=r[0])||void 0===t?void 0:t.filename,width:30,height:22})})]})]},a)})}),(0,o.jsxs)(ip,{active:t===P,colGap:20,children:[(0,o.jsx)(ig,{size:{m:12,t:12,d:8}}),!!e.victories.length&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(ib,{size:{m:12,t:6,d:6},children:[(0,o.jsx)(im,{children:null===(u=e.victories[0])||void 0===u?void 0:u.data}),(0,o.jsx)(iv,{children:null===(h=e.victories[0])||void 0===h?void 0:h.paragraph_1})]},null===(p=e.victories[0])||void 0===p?void 0:p._uid),(0,o.jsx)(ig,{size:{m:12,t:12,d:8}}),(0,o.jsxs)(iy,{size:{m:12,t:6,d:6},children:[(0,o.jsx)(im,{children:"/"}),(0,o.jsx)(iv,{children:null===(f=e.victories[0])||void 0===f?void 0:f.paragraph_2})]})]}),(0,o.jsx)(ig,{size:{m:12,t:12,d:12}})]})]},e._uid)})]}),(0,o.jsxs)(iw,{children:[(0,o.jsx)(ix,{width:"100%",colGap:20,children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:8},centered:!0,className:"col",children:(0,o.jsx)(iC,{weight:L>q.J7.desktop?300:400,content:null==_?void 0:null===(h=_.team_driver_template[P])||void 0===h?void 0:null===(u=h.description[0])||void 0===u?void 0:u.text,color:null==_?void 0:null===(f=_.team_driver_template[P])||void 0===f?void 0:null===(p=f.description[0])||void 0===p?void 0:p.text_color})})}),(0,o.jsx)(ik,{width:"100%",colGap:20,children:(0,o.jsx)(q.JX,{size:{m:10,t:8,d:6},centered:!0,className:"col",children:(0,o.jsx)(iC,{content:null==_?void 0:null===(m=_.team_driver_template[P])||void 0===m?void 0:null===(g=m.description[1])||void 0===g?void 0:g.text,color:null==_?void 0:null===(b=_.team_driver_template[P])||void 0===b?void 0:null===(v=b.description[1])||void 0===v?void 0:v.text_color})})}),(0,o.jsx)(ix,{width:"100%",colGap:20,children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:8},centered:!0,className:"col",children:(0,o.jsx)(iC,{weight:L>q.J7.desktop?300:400,content:null==_?void 0:null===(w=_.team_driver_template[P])||void 0===w?void 0:null===(y=w.description[2])||void 0===y?void 0:y.text,color:null==_?void 0:null===(k=_.team_driver_template[P])||void 0===k?void 0:null===(x=k.description[2])||void 0===x?void 0:x.text_color})})})]})]})};iZ.propTypes={blok:d().shape({title:d().string,thumbnails:d().arrayOf(d().shape({_uid:d().string,pilot_name:d().string,thumbnail_active:d().shape({filename:d().string,alt:d().string}),thumbnail_inactive:d().shape({filename:d().string,alt:d().string})})),team_driver_template:d().arrayOf(d().shape({_uid:d().string,description:d().arrayOf(d().shape({_uid:d().string,text_color:d().string,text:d().oneOfType([d().string,d().shape({}),d().arrayOf(d().shape({_uid:d().string,type:d().string,content:d().arrayOf(d().shape({content:d().arrayOf(d().shape({text:d().string,type:d().string,marks:d().arrayOf(d().shape({attrs:d().shape({class:d().string}),type:d().string}))}))}))}))])})),role:d().arrayOf(d().shape({_uid:d().string,label:d().string,id:d().string,first_name:d().string,last_name:d().string})),identity_informations:d().arrayOf(d().shape({_uid:d().string,label:d().string,value:d().string,flag:d().arrayOf(d().shape({filename:d().string,alt:d().string}))})),victories:d().arrayOf(d().shape({_uid:d().string,data:d().string,paragraph_1:d().string,paragraph_2:d().string})),visual:d().shape({_uid:d().string,filename:d().string,alt:d().string})}))})},iZ.defaultProps={blok:d().shape({title:"",thumbnails:[],team_driver_template:[]})};let ij=(0,$.ZP)(q.W2).withConfig({componentId:"sc-7c202507-0"})(["display:flex;flex-direction:column;background-color:",";"],q.O9.black),iP=(0,$.ZP)(q.JX).withConfig({componentId:"sc-7c202507-1"})(["position:relative;@media screen and ","{grid-column:3/11;}"],q.Hb.desktop),iS=(0,$.ZP)(q.JX).withConfig({componentId:"sc-7c202507-2"})(["--delay:0;padding-bottom:",";padding-top:5%;opacity:0;transition:all 0.5s var(--delay) ease-out;.has-intersected &{padding-top:0;opacity:1;}@media screen and ","{padding-bottom:",";}@media screen and (prefers-reduced-motion:reduce){padding-top:0;opacity:1;}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(60)),iE=$.ZP.div.withConfig({componentId:"sc-7c202507-3"})([""]),iO=$.ZP.span.withConfig({componentId:"sc-7c202507-4"})(["color:",";font-style:normal;font-weight:400;font-size:",";@media screen and ","{font-size:",";}"],q.O9.white,(0,J.Z)(16),q.Hb.desktop,(0,J.Z)(18)),iA=$.ZP.p.withConfig({componentId:"sc-7c202507-5"})(["color:",";font-style:normal;font-weight:400;font-size:",";padding-top:",";padding-bottom:",";@media screen and ","{font-size:",";padding-top:",";}"],q.O9.white,(0,J.Z)(12),(0,J.Z)(18),(0,J.Z)(10),q.Hb.tablet,(0,J.Z)(14),(0,J.Z)(20)),iI=(0,$.ZP)(q.W2).withConfig({componentId:"sc-9a5aafc5-0"})(["display:flex;background-color:",";@media screen and ","{.col{grid-column:3/11;}}"],e=>e.bgColor,q.Hb.desktop),iT=e=>{let{blok:t,sizes:n}=e;return(0,o.jsx)(iI,{...(0,l.LF)(t),bgColor:t.background_color,children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,className:"row",children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:8},className:"col",children:(0,o.jsx)(eF.Z,{src:(null==t?void 0:t.image)&&t.image.filename,alt:(null==t?void 0:t.image)&&t.image.alt,sizes:n})})})})};
1iT.propTypes={blok:d().shape({background_color:d().string,image:d().shape({filename:d().string,alt:d().string})}),sizes:d().shape({desktopLarge:d().shape({width:d().number,height:d().number}),desktop:d().shape({width:d().number,height:d().number}),tablet:d().shape({width:d().number,height:d().number}),mobile:d().shape({width:d().number,height:d().number})})},iT.defaultProps={blok:{background_color:"",image:{}},sizes:{}};let iR=e=>{let{blok:t}=e,n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{n.current&&(0,Q.Jh)(n.current)},[n]),(0,o.jsxs)(ij,{...(0,l.LF)(t),children:[(0,o.jsx)(iT,{sizes:{desktop:{width:860,height:484},tablet:{width:670,height:377},mobile:{width:380,height:214}}}),(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsx)(iP,{size:{m:12,t:12,d:8},ref:n,className:"slide-fade-element",children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:t.team_cards.map((e,t)=>(0,o.jsxs)(iS,{size:{m:6,t:3,d:3},style:{"--delay":"".concat((.2+t/10).toFixed(1),"s")},children:[(0,o.jsx)(iE,{children:(0,o.jsx)(tm(),{src:e.image.filename,alt:e.image.alt,width:400,height:400})}),(0,o.jsxs)(iA,{children:[" ",e.function]}),(0,o.jsxs)(iO,{children:[e.first_name,(0,o.jsx)("br",{}),e.last_name]})]},e._uid))})})})]})};iR.propTypes={blok:d().shape({team_cards:d().arrayOf(d().shape({_uid:d().string,first_name:d().string,last_name:d().string,image:d().shape({filename:d().string,alt:d().string})}))})},iR.defaultProps={blok:d().shape({team_cards:[]})};let iL=$.ZP.div.withConfig({componentId:"sc-c50d0df-0"})(["display:flex;flex-direction:column;position:relative;background-color:",";"],e=>{var t;return null!==(t=e.bgColor)&&void 0!==t?t:q.O9.black}),iz=$.ZP.div.withConfig({componentId:"sc-c50d0df-1"})(["overflow:hidden;order:0;"]),iB=$.ZP.div.withConfig({componentId:"sc-c50d0df-2"})(["display:flex;flex-direction:row;backface-visibility:hidden;touch-action:pan-y;"]),iM=$.ZP.div.withConfig({componentId:"sc-c50d0df-3"})(["flex:0 0 100%;overflow:hidden;img{filter:blur(0.25em) saturate(0.4);transition:filter 0.4s cubic-bezier(0.26,0.53,0.74,1.48);}&.is-snapped{img{filter:blur(0) saturate(1);}}"]),iN=$.ZP.div.withConfig({componentId:"sc-c50d0df-4"})(["order:1;"]),iF=$.ZP.button.withConfig({componentId:"sc-c50d0df-5"})(["max-width:50%;padding:0;border:none;margin:0;position:relative;cursor:pointer;background-color:",";box-shadow:none;img{display:block;opacity:0.4;transition:opacity 0.4s ease-in;}svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}&:hover,&:focus,&:active{img{opacity:1;}}@media screen and ","{width:",";position:absolute;top:50%;z-index:1;transform:translateY(-50%);","}@media screen and ","{width:",";}"],q.O9.black,q.Hb.tablet,(0,J.Z)(95),e=>"prev"===e.direction?(0,$.iv)(["left:0;"]):(0,$.iv)(["right:0;"]),q.Hb.desktop,(0,J.Z)(200)),iH=e=>{var t,n,i,r,s,c,d,u;let{blok:h}=e,p=h.slide.length>0?h.slide:null,[f,g]=ek({containScroll:"trimSnaps",loop:!0},[eY()]),m=(0,a.useContext)(W.bu),v=(0,eW.yl)(m,"prev-slide"),b=(0,eW.yl)(m,"next-slide"),[y,w]=(0,a.useState)(0),x=(0,a.useRef)(null),k={desktop:{width:1920,height:1080},tablet:{width:1280,height:720},mobile:{width:640,height:360}},_={desktop:{width:200,height:112},tablet:{width:95,height:54},mobile:{width:320,height:180}},C=(0,a.useCallback)(()=>g&&g.scrollPrev(),[g]),Z=(0,a.useCallback)(()=>g&&g.scrollNext(),[g]),j=(0,a.useCallback)(()=>{g&&w(g.selectedScrollSnap())},[g,w]);(0,a.useEffect)(()=>{g&&(j(),g.on("select",j),g.on("reInit",j))},[g,j]);let P=null!==(c=null!==(s=null==p?void 0:p[y-1])&&void 0!==s?s:null==p?void 0:p[p.length-1])&&void 0!==c?c:null,S=null!==(u=null!==(d=null==p?void 0:p[y+1])&&void 0!==d?d:null==p?void 0:p[0])&&void 0!==u?u:null;return(0,a.useEffect)(()=>{x.current&&(0,Q.t_)(x.current,.5)},[x]),(0,o.jsx)(iL,{...(0,l.LF)(h),ref:x,className:"fade-element",bgColor:null==h?void 0:h.background_color,children:p&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(iN,{children:[P&&(0,o.jsxs)(iF,{direction:"prev",onClick:C,"aria-label":v,children:[(0,o.jsx)(eF.Z,{src:null===(t=P.visual)||void 0===t?void 0:t.filename,alt:null===(n=P.visual)||void 0===n?void 0:n.alt,sizes:_}),(0,o.jsx)(eD,{fillPath:q.O9.white})]}),S&&(0,o.jsxs)(iF,{direction:"next",onClick:Z,"aria-label":b,children:[(0,o.jsx)(eF.Z,{src:null===(i=S.visual)||void 0===i?void 0:i.filename,alt:null===(r=S.visual)||void 0===r?void 0:r.alt,sizes:_}),(0,o.jsx)(eU,{fillPath:q.O9.white})]})]}),(0,o.jsx)(iz,{ref:f,children:(0,o.jsx)(iB,{children:null==p?void 0:p.map(e=>{var t,n;return(0,o.jsx)(iM,{children:(0,o.jsx)(eF.Z,{src:null===(t=e.visual)||void 0===t?void 0:t.filename,alt:null===(n=e.visual)||void 0===n?void 0:n.alt,sizes:k})},e._uid)})})})]})})};
1iH.propTypes={blok:d().shape({background_color:d().string,slide:d().arrayOf(d().shape({_uid:d().string,visual:d().shape({filename:d().string,alt:d().string})}))}),currentSlide:d().number,slideCount:d().number},iH.defaultProps={blok:d().shape({slide:[]}),currentSlide:1,slideCount:1};let iD=$.ZP.div.withConfig({componentId:"sc-8ddcf3d9-0"})(["padding-bottom:",";&:last-of-type{padding-bottom:0;}@media screen and ","{padding-bottom:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(60)),iU=$.ZP.div.withConfig({componentId:"sc-8ddcf3d9-1"})(["display:flex;padding-bottom:",";@media screen and ","{padding-top:",";padding-bottom:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(20),(0,J.Z)(24)),iV=$.ZP.div.withConfig({componentId:"sc-8ddcf3d9-2"})(["padding-bottom:",";> p{display:inline;}&:last-of-type{padding-bottom:0;}@media screen and ","{padding-bottom:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(24)),iW=e=>{let{blok:t}=e;return(0,o.jsx)(o.Fragment,{children:t.content.map(e=>(0,o.jsxs)(iD,{children:[(0,o.jsx)(iU,{children:(0,o.jsx)(eV.Z,{label:e.title,color:q.O9.white,weight:"light"})}),e.terms_conditions_item.map(e=>(0,o.jsxs)(iV,{children:[(0,o.jsx)(eV.Z,{label:e.number_paragraph,color:q.O9.red,type:"mediumParagraph"}),"\xa0",(0,o.jsx)(eV.Z,{label:e.text,color:q.O9.white,type:"mediumParagraph"})]},e._uid))]},e._uid))})};iW.propTypes={blok:d().shape({content:d().arrayOf(d().shape({_uid:d().string,title:d().string,terms_conditions_item:d().arrayOf(d().shape({_uid:d().string,number_paragraph:d().string,text:d().string}))}))})},iW.defaultProps={blok:d().shape({content:[]})};let iG=(0,$.ZP)(q.W2).withConfig({componentId:"sc-c245fa3a-0"})(["padding-top:",";background-color:",";@media screen and ","{padding-top:",";.text_rule{margin-bottom:",";}}@media screen and ","{padding-top:",";padding-bottom:",";position:relative;overflow:hidden;}"],(0,J.Z)(19),q.O9.black,q.Hb.tablet,(0,J.Z)(67),(0,J.Z)(15),q.Hb.desktop,(0,J.Z)(120),(0,J.Z)(80)),iX=$.ZP.div.withConfig({componentId:"sc-c245fa3a-1"})([".col{&::after{content:'';display:block;width:100%;height:0;border-bottom:2px solid ",";}}.row:last-child .col{&::after{content:none;}}@media screen and ","{.col{grid-column:3 / 12;}}"],q.O9.white,q.Hb.desktop),iq=$.ZP.a.withConfig({componentId:"sc-c245fa3a-2"})(["display:flex;align-items:start;position:relative;padding:"," 0;background:transparent;> p,> span{z-index:1;}@media screen and ","{cursor:pointer;padding:"," 0;transition:opacity 0.25s ease-in-out;"," ","}"],(0,J.Z)(48),q.Hb.desktop,(0,J.Z)(120),e=>"active"===e.buttonState&&(0,$.iv)(["opacity:1;z-index:2;"]),e=>"not-active"===e.buttonState&&(0,$.iv)(["opacity:0.2;z-index:0;"])),i$=$.ZP.span.withConfig({componentId:"sc-c245fa3a-3"})(["display:block;margin-top:",";margin-right:",";font-size:",";color:",";font-weight:300;line-height:1;@media screen and ","{margin-top:",";margin-right:",";font-size:",";}@media screen and ","{margin-top:",";margin-right:",";font-size:",";}"],(0,J.Z)(2),(0,J.Z)(38),(0,J.Z)(18),q.O9.white,q.Hb.tablet,(0,J.Z)(8),(0,J.Z)(85),(0,J.Z)(25),q.Hb.desktop,(0,J.Z)(12),(0,J.Z)(80),(0,J.Z)(30)),iJ=$.ZP.p.withConfig({componentId:"sc-c245fa3a-4"})(["font-size:",";line-height:1;color:",";font-weight:300;text-transform:uppercase;span{color:",";}@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],(0,J.Z)(35),q.O9.white,q.O9.red,q.Hb.tablet,(0,J.Z)(70),q.Hb.desktop,(0,J.Z)(100)),iY=$.ZP.div.withConfig({componentId:"sc-c245fa3a-5"})(["display:none;@media screen and ","{display:block;width:",";height:",";position:fixed;z-index:1;opacity:",";transform-origin:top left;transform:translate(-20%,-20%);transition:opacity 0.5s 0.2s ease-in-out;.row:last-child &{transform:translate(-20%,-60%);}}"],q.Hb.desktop,e=>e.displayState?"640px":0,e=>e.displayState?"640px":0,e=>e.displayState?1:0),iK=$.ZP.video.withConfig({componentId:"sc-c245fa3a-6"})(["@media screen and ","{width:100%;height:100%;}"],q.Hb.desktop),iQ=$.ZP.div.withConfig({componentId:"sc-c245fa3a-7"})(["@media screen and ","{display:block;width:100%;height:100%;}"],q.Hb.desktop),i0=e=>{let{blok:t}=e,{width:n}=(0,nZ.Z)(),i=(0,a.useRef)(null),[r,s]=(0,a.useState)(),[l,c]=(0,a.useState)(),d=e=>{s(e)},u=e=>{let t=(null==e?void 0:e.pageY)-window.scrollY;c({x:Math.min(null==e?void 0:e.pageX,n-512),y:t})};return(0,o.jsxs)(iG,{children:[(0,o.jsx)(q.X2,{width:"100%",children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:2},children:(0,o.jsx)(X.Z,{label:t.title})})}),(0,o.jsx)(iX,{children:null==t?void 0:t.motorsport_blok.map((e,t)=>{var a,s,c,h;return(0,o.jsx)(q.X2,{width:"100%",colGap:20,className:"row",children:(0,o.jsxs)(q.JX,{size:{m:12,t:12,d:8}
1,className:"col",children:[(0,o.jsx)(iY,{ref:i,style:{top:"".concat(null==l?void 0:l.y,"px"),left:"".concat(null==l?void 0:l.x,"px")},index:t,displayState:r===e._uid,children:(null==e?void 0:null===(a=e.mp4_video)||void 0===a?void 0:a.url)?(0,o.jsx)(iK,{src:e.mp4_video.url,autoPlay:!0,loop:!0,controls:!1,muted:!0,loading:"lazy"}):(null==e?void 0:null===(s=e.image)||void 0===s?void 0:s.filename)&&(0,o.jsx)(iQ,{children:(0,o.jsx)(tm(),{src:null==e?void 0:null===(c=e.image)||void 0===c?void 0:c.filename,alt:null==e?void 0:null===(h=e.image)||void 0===h?void 0:h.alt,width:n<1920?660:880,height:n<1920?660:880})})}),(0,o.jsx)(nE(),{href:(0,eM.Z)(e.link),passHref:!0,legacyBehavior:!0,children:(0,o.jsxs)(iq,{buttonState:r&&r!==e._uid?"not-active":"active",onMouseEnter:()=>d(e._uid),onMouseLeave:()=>d(null),onMouseMove:e=>u(e),children:[(0,o.jsx)(i$,{children:"".concat(t+1).toString().padStart(2,0)}),(0,o.jsxs)(iJ,{children:[e.title,"\xa0",(0,o.jsx)("span",{children:e.title_highlight_letter})]})]})})]})},e._uid)})})]})};i0.propTypes={blok:d().shape({title:d().string,motorsport_blok:d().arrayOf(d().shape({_uid:d().string,title:d().string,visual:d().shape({filename:d().string,alt:d().string})}))})},i0.defaultProps={blok:d().shape({title:"",motorsport_blok:[]})};var i1=n(656);let i2=$.ZP.div.withConfig({componentId:"sc-77bb07d8-0"})(["display:flex;justify-content:end;"]),i5=$.ZP.a.withConfig({componentId:"sc-77bb07d8-1"})(["position:relative;display:inline-flex;align-items:center;justify-content:center;color:",";text-transform:uppercase;font-size:",";@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],e=>{let{color:t}=e;return t},(0,J.Z)(12),q.Hb.desktop,(0,J.Z)(14),q.Hb.desktopLarge,(0,J.Z)(20)),i3=$.ZP.span.withConfig({componentId:"sc-77bb07d8-2"})(["display:inline-block;margin-right:",";font-size:",";font-weight:normal;@media screen and ","{margin-right:",";font-size:",";}@media screen and ","{font-size:",";}"],(0,J.Z)(10),(0,J.Z)(12),q.Hb.desktop,(0,J.Z)(20),(0,J.Z)(14),q.Hb.desktopLarge,(0,J.Z)(16)),i4=e=>{var t,n;let{blok:i}=e;return(0,o.jsx)(i2,{children:(0,o.jsx)(nE(),{href:null==i?void 0:null===(n=i.LinkUrl)||void 0===n?void 0:null===(t=n.story)||void 0===t?void 0:t.url,passHref:!0,legacyBehavior:!0,children:(0,o.jsxs)(i5,{color:i.Color,children:[(0,o.jsx)(i3,{children:null==i?void 0:i.LinkLabel}),(0,o.jsx)(i1.Z,{fillRect:i.Color,stroke:i.Color})]})})})};i4.propTypes={blok:d().shape({LinkUrl:d().shape({story:d().shape({url:d().string})}),LinkLabel:d().string,Color:d().string})},i4.defaultProps={blok:{LinkUrl:{story:{url:""}},LinkLabel:"",Color:"#FFFFFF"}};let i6=e=>{let{blok:t}=e;return(0,o.jsx)(ee,{blok:{...t,Text:t.Title}})};i6.propTypes={blok:d().shape({Title:d().string,Text:d().string})},i6.defaultProps={blok:{Title:"",Text:""}};let i8=$.ZP.div.withConfig({componentId:"sc-65619dda-0"})(["",";"],e=>e.addPadding&&(0,$.iv)(["padding-bottom:",";@media screen and ","{padding-bottom:",";}@media screen and ","{padding-bottom:",";}"],(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(50),q.Hb.desktop,(0,J.Z)(60))),i7=(0,$.ZP)(q.JX).withConfig({componentId:"sc-65619dda-1"})(["display:flex;justify-content:flex-end;padding-bottom:",";@media screen and ","{padding-bottom:0;}"],(0,J.Z)(40),q.Hb.tablet),i9=e=>{var t,n,i,r,s,l,c,d,u,h;let{blok:p,withoutGrid:f,addPadding:g}=e,m=(0,a.useRef)(null);return(0,a.useEffect)(()=>{m.current&&(0,Q.Jh)(m.current,3,f?.25:.33,!0)},[f,m]),(0,o.jsxs)(o.Fragment,{children:[f&&(0,o.jsx)(i8,{addPadding:g,ref:m,className:"slide-fade-element",children:"image"===p.component?(0,o.jsx)(eF.Z,{src:null==p?void 0:null===(t=p.image)||void 0===t?void 0:t.filename,alt:null==p?void 0:null===(n=p.image)||void 0===n?void 0:n.alt,sizes:eW.Xn}):(0,o.jsx)(eF.Z,{src:null==p?void 0:null===(i=p.Image)||void 0===i?void 0:i.filename,alt:(null==p?void 0:p.AlternativeText)||(null==p?void 0:null===(r=p.Image)||void 0===r?void 0:r.alt),sizes:eW.Xn})}),!f&&(0,o.jsx)(q.W2,{children:(0,o.jsxs)(q.X2,{width:"100%",colGap:20,children:[(0,o.jsx)(q.JX,{size:{m:12,t:12,d:12},children:(0,o.jsx)("div",{ref:m,className:"slide-fade-element",children:(0,o.jsx)(eF.Z,{src:null==p?void 0:null===(s=p.Image)||void 0===s?void 0:s.filename,alt:(null==p?void 0:p.AlternativeText)||(null==p?void 0:null===(l=p.Image)||void 0===l?void 0:l.alt),sizes:eW.Xn})})}),(0,o.jsx)(i7,{size:{m:12,t:12,d:11},children:((null==p?void 0:null===(d=p.link)||void 0===d?void 0:null===(c=d.story)||void 0===c?void 0:c.url)||(null==p?void 0:null===(u=p.link)||void 0===u?void 0:u.url))&&(0,o.jsx)(eH.Z,{href:(0,eM.Z)(p.link),target:(null==p?void 0:null===(h=p.link)||void 0===h?void 0:h.url.length)>0?"_blank":"_self",label:null==p?void 0:p.link_name,color:q.O9.white})})]})})]})};i9.propTypes={blok:d().shape({component:d().string,image:d().shape({filename:d().string,alt:d().string}),Image:d().shape({filename:d().string}
1),AlternativeText:d().string,link:d().shape({url:d().string,story:d().shape({url:d().string})}),link_name:d().string}),withoutGrid:d().bool,addPadding:d().bool},i9.defaultProps={blok:{component:"",image:{filename:"",alt:""},Image:{filename:""},AlternativeText:""},withoutGrid:!1,addPadding:!0};let re=e=>{let{width:t,height:n,viewBox:i,fill:r,fillRect:a,fillPath:s}=e;return(0,o.jsxs)("svg",{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:[(0,o.jsx)("rect",{width:t,height:n,rx:"4",fill:a}),(0,o.jsx)("path",{d:"M20.5 20H9.5C9.23478 20 8.98043 19.8946 8.79289 19.7071C8.60536 19.5196 8.5 19.2652 8.5 19C8.5 18.7348 8.60536 18.4804 8.79289 18.2929C8.98043 18.1054 9.23478 18 9.5 18H20.5C20.7652 18 21.0196 18.1054 21.2071 18.2929C21.3946 18.4804 21.5 18.7348 21.5 19C21.5 19.2652 21.3946 19.5196 21.2071 19.7071C21.0196 19.8946 20.7652 20 20.5 20ZM20.5 16H9.5C9.23478 16 8.98043 15.8946 8.79289 15.7071C8.60536 15.5196 8.5 15.2652 8.5 15C8.5 14.7348 8.60536 14.4804 8.79289 14.2929C8.98043 14.1054 9.23478 14 9.5 14H20.5C20.7652 14 21.0196 14.1054 21.2071 14.2929C21.3946 14.4804 21.5 14.7348 21.5 15C21.5 15.2652 21.3946 15.5196 21.2071 15.7071C21.0196 15.8946 20.7652 16 20.5 16ZM15.5 12H9.5C9.23478 12 8.98043 11.8946 8.79289 11.7071C8.60536 11.5196 8.5 11.2652 8.5 11C8.5 10.7348 8.60536 10.4804 8.79289 10.2929C8.98043 10.1054 9.23478 10 9.5 10H15.5C15.7652 10 16.0196 10.1054 16.2071 10.2929C16.3946 10.4804 16.5 10.7348 16.5 11C16.5 11.2652 16.3946 11.5196 16.2071 11.7071C16.0196 11.8946 15.7652 12 15.5 12Z",fill:s})]})};re.propTypes={fill:d().string,width:d().string,height:d().string,fillRect:d().string,viewBox:d().string,fillPath:d().string},re.defaultProps={fill:"none",width:"30",height:"30",viewBox:"0 0 30 30",fillRect:"#fff",fillPath:"#060A0B"};let rt=$.ZP.div.withConfig({componentId:"sc-9a969a5f-0"})(["display:inline-flex;padding:"," ",";background-color:",";color:",";border-radius:2px;font-size:",";text-transform:uppercase;span{color:",";}@media screen and ","{font-size:",";}"],(0,J.Z)(10),(0,J.Z)(20),q.O9.white,q.O9.black,(0,J.Z)(12),q.O9.red,q.Hb.tablet,(0,J.Z)(14)),rn=e=>{let{label:t,className:n}=e;return(0,o.jsx)(rt,{className:n,children:(0,G.sY)(t)||t})};rn.propTypes={label:d().oneOfType([d().string,d().object]),className:d().string},rn.defaultProps={label:"",className:""};let ri=(0,$.ZP)(q.W2).withConfig({componentId:"sc-b3b92c2a-0"})(["padding-top:",";padding-bottom:",";@media screen and ","{padding-top:",";padding-bottom:",";}"],(0,J.Z)(50),(0,J.Z)(50),q.Hb.tablet,(0,J.Z)(60),(0,J.Z)(60)),rr=$.ZP.div.withConfig({componentId:"sc-b3b92c2a-1"})(["text-align:center;"]),ro=$.ZP.h1.withConfig({componentId:"sc-b3b92c2a-2"})(["margin:"," 0 "," 0;text-align:center;font-size:",";color:",";letter-spacing:0.001em;font-weight:300;@media screen and ","{font-size:",";}@media screen and ","{font-size:",";}"],(0,J.Z)(12),(0,J.Z)(30),(0,J.Z)(35),q.O9.white,q.Hb.tablet,(0,J.Z)(45),q.Hb.desktop,(0,J.Z)(60)),ra=$.ZP.div.withConfig({componentId:"sc-b3b92c2a-3"})(["display:flex;justify-content:center;align-items:center;gap:2rem;"]),rs=$.ZP.div.withConfig({componentId:"sc-b3b92c2a-4"})(["display:inline-flex;justify-content:start;align-items:center;gap:1rem;cursor:default;&.download{cursor:pointer;}"]);var rl=n(5639);let rc=e=>{var t,n;let{blok:i,articleDate:r,locale:l}=e,c=(0,s.useRouter)(),d=(0,a.useContext)(W.bu),u=(0,a.useContext)(W.A6);(0,a.useRef)(!0);let h=(0,a.useRef)(null),p=(0,a.useRef)(null),f=null==u?void 0:null===(n=u.tag[0])||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.tag_label,g=(0,eW.wT)(r,l,"long"),m=(0,eW.yl)(d,"minutes-reading");return(0,a.useEffect)(()=>{h.current&&(0,Q.Jh)(h.current,5,.1)},[h]),(0,o.jsx)(ri,{bgColor:q.O9.black,ref:h,className:"slide-fade-element",children:(0,o.jsx)(q.X2,{children:(0,o.jsxs)(q.JX,{size:{m:12,t:12,d:8},centered:!0,children:[f&&(0,o.jsx)(rr,{children:(0,o.jsx)(rn,{label:f})}),(0,o.jsx)("div",{ref:p,children:(0,o.jsx)(ro,{children:null==i?void 0:i.title})}),(0,o.jsxs)(ra,{children:[(0,o.jsx)(rl.KI,{color:q.O9.red,children:g}),m&&i.time_reading&&(0,o.jsxs)(rs,{children:[(0,o.jsx)(re,{}),(0,o.jsx)(rl.KI,{color:q.O9.white,children:"".concat(i.time_reading).concat("ja"!==c.locale?" ":"").concat(m)})]})]})]})})})};rc.propTypes={blok:d().shape({title:d().oneOfType([d().string,d().object]),minutes_reading:d().string,time_reading:d().string,tag:d().arrayOf(d().shape({tag_label:d().shape({})}))}),articleDate:d().string,locale:d().string},rc.defaultProps={blok:d().shape({title:"",minutes_reading:"",time_reading:"",tag:[]}),articleDate:"",locale:""};var rd=n(8101);let ru=e=>{let{width:t,height:n,viewBox:i,fill:r,stroke:a}=e;return(0,o.jsx)("svg",{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:(0,o.jsx)("path",{d:"M1 31L17 16L1 1",stroke:a,strokeWidth:"2"})})};ru.propTypes={fill:d().string,width:d().string,height:d().string,
1stroke:d().string,viewBox:d().string},ru.defaultProps={fill:"none",width:"32",height:"21",viewBox:"0 0 19 32",stroke:"#fff"};let rh=e=>{let{stroke:t,fill:n}=e;return(0,o.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"30",height:"30",rx:"4",fill:n}),(0,o.jsx)("path",{d:"M9.07922 18.3347H16.6339C17.2299 18.3347 17.7131 17.8525 17.7131 17.2577V9.71875C17.7131 9.12394 17.2299 8.64175 16.6339 8.64175L9.07922 8.64175C8.48318 8.64175 7.99998 9.12394 7.99998 9.71875L7.99998 17.2577C7.99998 17.8525 8.48318 18.3347 9.07922 18.3347Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M20.4112 13.1653L21.253 13.4345C21.3889 13.4784 21.5146 13.5487 21.623 13.6414C21.7314 13.7341 21.8203 13.8473 21.8845 13.9745C21.9488 14.1017 21.9871 14.2404 21.9972 14.3825C22.0074 14.5246 21.9892 14.6673 21.9438 14.8023L19.591 21.8997C19.5021 22.171 19.309 22.3959 19.054 22.5251C18.799 22.6544 18.5031 22.6773 18.2312 22.589L13.4609 21.0274",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M8 15.6423H17.7132",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})};rh.propTypes={stroke:d().string,fill:d().string},rh.defaultProps={stroke:"#060A0B",fill:"#FFFFFF"};let rp=$.ZP.button.withConfig({componentId:"sc-fd4032c2-0"})(["display:flex;justify-content:center;align-items:center;min-height:",";padding:"," ",";border-width:1px;border-style:solid;border-color:",";background-color:transparent;color:",";font-size:",";font-weight:bold;text-transform:uppercase;border-radius:",";transition:background-color 0.2s ease-in,border-color 0.2s ease-in;&:hover,&:focus,&:active{background-color:",";}&[disabled],&[disabled]:hover,&[disabled]:focus,&[disabled]:active{opacity:0.4;cursor:default;}@media screen and ","{width:fit-content;font-size:",";}"],(0,J.Z)(48),(0,J.Z)(10),(0,J.Z)(30),e=>"light"===e.colorScheme?"1px solid rgba(0, 0, 0, 0.3)":"1px solid rgba(255, 255, 255, 0.3)",e=>"light"===e.colorScheme?q.O9.black:q.O9.white,(0,J.Z)(12),(0,J.Z)(30),e=>"light"===e.colorScheme?"rgba(0, 0, 0, 0.1)":"rgba(255, 255, 255, 0.1)",q.Hb.tablet,(0,J.Z)(14)),rf=e=>{let{label:t,href:n,disabled:i,callback:r,colorScheme:a,className:s}=e;return(0,o.jsx)(o.Fragment,{children:n?(0,o.jsx)(nE(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(rp,{as:"a",disabled:i,colorScheme:a,className:s,children:t})}):(0,o.jsx)(rp,{onClick:r,disabled:i,colorScheme:a,type:"button",className:s,children:t})})};rf.propTypes={label:d().oneOfType([d().string.isRequired,d().array.isRequired]),href:d().string,disabled:d().bool,callback:d().func,colorScheme:d().string,className:d().string},rf.defaultProps={href:void 0,disabled:!1,callback:()=>{},colorScheme:"dark",className:void 0};let rg=$.ZP.button.withConfig({componentId:"sc-72266865-0"})(["display:flex;justify-content:center;align-items:center;position:relative;z-index:1;overflow:hidden;min-height:",";padding:"," ",";border:none;background-color:transparent;color:",";font-size:",";font-weight:bold;text-transform:uppercase;border-radius:",";&::before{content:'';display:block;width:calc(100% + 2px);aspect-ratio:1/1;position:absolute;top:50%;left:-1px;z-index:-2;background:linear-gradient( to right,#14ff00,#0081ca 20%,#0081ca 30%,#6428b0,red );transform:translateY(-50%) rotate(0);transition:transform 1s linear;}&::after{content:'';display:block;width:calc(100% - ",");height:calc(100% - ",");position:absolute;top:",";left:",";z-index:-1;background-color:white;border-radius:",";}&:hover,&:focus,&:active{&::before{transform:translateY(-50%) rotate(1turn);}}&[disabled],&[disabled]:hover,&[disabled]:focus,&[disabled]:active{color:",";opacity:0.4;cursor:default;&::before{transform:translateY(-50%) rotate(0);}}@media screen and ","{width:fit-content;padding:"," ",";font-size:",";&::after{width:calc(100% - ",");height:calc(100% - ",");top:",";left:",";}}"],(0,J.Z)(40),(0,J.Z)(12),(0,J.Z)(32),q.O9.black,(0,J.Z)(12),(0,J.Z)(30),(0,J.Z)(4),(0,J.Z)(4),(0,J.Z)(2),(0,J.Z)(2),(0,J.Z)(30),q.O9.black,q.Hb.tablet,(0,J.Z)(14),(0,J.Z)(34),(0,J.Z)(14),(0,J.Z)(8),(0,J.Z)(8),(0,J.Z)(4),(0,J.Z)(4)),rm=e=>{let{label:t,href:n,disabled:i,callback:r,classname:a}=e;return(0,o.jsx)(o.Fragment,{children:n?(0,o.jsx)(nE(),{href:n,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(rg,{as:"a",disabled:i,className:a,children:t})}):(0,o.jsx)(rg,{onClick:r,disabled:i,className:a,type:"button",children:t})})};rm.propTypes={label:d().oneOfType([d().string.isRequired,d().array.isRequired]),href:d().string,disabled:d().bool,callback:d().func,classname:d().string},rm.defaultProps={href:void 0,disabled:!1,callback:()=>{},classname:void 0};let rv=e=>{var t,n;let{type:i,linkUrl:r,tag:l,imgPath:c,imgAlt:d,date:u,title:h,timeReading:p,delay:f,mediasDataSource:g,mediasCount:m,mainLink:v,secondaryLink:b,category:y,genericCtaLabel:w,target:x,rel:k}=e,_=(0,s.useRouter)(),C=(0,a.useContext)(W.bu),Z=(0,a.useContext)(W.m3),j=null==Z?void 0:Z.rels,P=(0,eW.yl)(C,"minutes-reading"),S=l&&j?null===(n=j.find(e=>e.uuid===l))||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.tag_label:null,E={tablet:{width:"custo"===i?640:600,height:"custo"===i?640:600},mobile:{width:"custo"===i?360:280,height:"custo"===i?360:280}}
1,O=()=>(0,o.jsxs)(o.Fragment,{children:[S&&(0,o.jsx)(rn,{label:S,className:"news_tag"}),(0,o.jsx)(rd.xu,{src:c,alt:d,sizes:E}),(0,o.jsxs)(rd.lU,{children:[(!!u||!!y)&&(0,o.jsx)(rd.s0,{children:u||y}),(0,o.jsx)(rd.aY,{children:(0,G.sY)(h)}),"custo"===i?(0,o.jsxs)(rd.Fx,{children:[!!b&&(0,o.jsx)(rf,{label:b.label,href:b.url}),!!v&&(0,o.jsx)(rm,{label:v.label,callback:v.callback})]}):(0,o.jsxs)(rd.u6,{children:[(0,o.jsxs)(rd.Vi,{children:[!!p&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(re,{}),"".concat(p).concat("ja"!==_.locale?" ":"").concat(P)]}),!!m&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(rh,{stroke:q.O9.black,fill:q.O9.white}),(0,o.jsxs)(rl.KI,{color:q.O9.white,children:[m," ",g]})]})]}),(0,o.jsxs)(rd.sH,{children:[!!w&&(0,o.jsx)(eV.Z,{label:w,type:"smallParagraph",color:q.O9.white}),(0,o.jsx)(ru,{})]})]})]})]});return(0,o.jsx)(rd.dT,{...r&&{className:"news_card"},style:{"--delay":"".concat(f,"s")},children:r?(0,o.jsx)(nE(),{href:r,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(rd.Ji,{target:x,rel:k,children:O()})}):(0,o.jsx)(o.Fragment,{children:O()})})};rv.propTypes={type:d().string,linkUrl:d().string,imgPath:d().string,imgAlt:d().string,tag:d().oneOfType([d().string,d().object]),date:d().string,title:d().oneOfType([d().string,d().object]),timeReading:d().string,delay:d().string,mediasDataSource:d().oneOfType([d().bool,d().string]),mediasCount:d().number,mainLink:d().shape({callback:d().func,label:d().string}),secondaryLink:d().shape({url:d().string,label:d().string}),target:d().string,genericCtaLabel:d().string,rel:d().string},rv.defaultProps={type:void 0,linkUrl:void 0,imgPath:"",imgAlt:"",tag:"",date:"",timeReading:"",delay:"0",mediasDataSource:"",mediasCount:null,title:"",mainLink:void 0,secondaryLink:void 0,target:void 0,genericCtaLabel:void 0,rel:void 0};let rb=$.ZP.div.withConfig({componentId:"sc-1645a209-0"})(["background-color:",";position:relative;.text_rule{text-transform:uppercase;}"],q.O9.black),ry=$.ZP.div.withConfig({componentId:"sc-1645a209-1"})(["padding-top:",";margin-left:",";overflow:hidden;@media screen and ","{padding-top:",";margin-left:",";}@media screen and ","{padding-top:",";margin-left:",";}"],(0,J.Z)(40),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(60),(0,J.Z)(70)),rw=$.ZP.div.withConfig({componentId:"sc-1645a209-2"})(["display:flex;gap:0 20px;"]),rx=$.ZP.div.withConfig({componentId:"sc-1645a209-3"})(["display:flex;align-items:stretch;flex:0 0 ",";max-width:",";&:last-of-type{margin-right:",";@media screen and ","{margin-right:",";}@media screen and ","{margin-right:",";}}@media screen and ","{max-width:",";}"],e=>"custo"===e.type?"80vw":"66vw",e=>"custo"===e.type?(0,J.Z)(360):(0,J.Z)(280),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(70),q.Hb.tablet,e=>"custo"===e.type?(0,J.Z)(640):(0,J.Z)(420)),rk=$.ZP.button.withConfig({componentId:"sc-1645a209-4"})(["width:",";height:min-content;border:none;background-color:transparent;cursor:pointer;transform:translate(0);svg{width:100%;[fill]{transition:fill 0.2s ease-out;}[stroke]{transition:stroke 0.2s ease-out;}}"," @media screen and ","{width:",";}"],(0,J.Z)(40),e=>e.enabled?(0,$.iv)(["&:hover,&:focus,&:active{svg{[fill]{fill:",";}}}"],q.O9.red):(0,$.iv)(["opacity:0.2;cursor:default;"]),q.Hb.desktop,(0,J.Z)(50)),r_=(0,$.ZP)(q.JX).withConfig({componentId:"sc-1645a209-5"})(["display:flex;",""],e=>e.absoluteTopPos?(0,$.iv)(["justify-content:flex-end;padding-right:",";column-gap:",";@media screen and ","{position:absolute;padding-right:0;top:",";right:",";}"],(0,J.Z)(25),(0,J.Z)(80),q.Hb.desktop,e=>e.isCustoPage?"".concat((0,J.Z)(e.absoluteTopPos-40)):"".concat((0,J.Z)(e.absoluteTopPos-90)),(0,J.Z)(70)):(0,$.iv)(["justify-content:space-between;grid-column-end:13;@media screen and ","{grid-column-end:12;}"],q.Hb.desktop)),rC=(0,$.ZP)(q.JX).withConfig({componentId:"sc-1645a209-6"})(["display:flex;justify-content:end;"]);var rZ=n(8895);let rj=(e,t,n)=>e.map(e=>{var i,r,o;if("fullbody"===e.id)return;let a=null===(i=t.find(t=>t.id===e.color))||void 0===i?void 0:i.shareLinkCode;if(!e.pattern)return a;{let t=null===(o=n.find(t=>
1t.id===e.pattern.id))||void 0===o?void 0:null===(r=o.variations.find(t=>t.id===e.pattern.variation))||void 0===r?void 0:r.shareLinkCode;return"".concat(a).concat(t)}}).join(""),rP=(e,t,n,i)=>{let r=1,o=[];for(let l of e.matchAll(RegExp("(?<colorCode>[a-zA-Z])(?<patternCode>[0-9]*)","g"))){var a,s;let e;let{colorCode:c,patternCode:d}=l.groups,u=(null===(a=t.find(e=>e.shareLinkCode===c))||void 0===a?void 0:a.id)||"white";d&&n.forEach(t=>{let n=t.variations.find(e=>e.shareLinkCode===d);n&&(e={id:t.id,variation:n.id})}),o.push({id:null===(s=i[r])||void 0===s?void 0:s.id,color:u,pattern:e}),r++}return o},rS=e=>{var t,n,i,r,l,c,d,u;let{blok:h,isCustoPage:p}=e,f=(0,s.useRouter)(),[g,m]=ek({align:"start",containScroll:"trimSnaps"}),v=(0,a.useContext)(W.bu),{rels:b,stories:y}=(0,a.useContext)(W.m3),{custoModelPartsSettings:w,custoColors:x,custoPatterns:k,setBaseCusto:_}=(0,a.useContext)(W.MV),[C,Z]=(0,a.useState)(!1),[j,P]=(0,a.useState)(!1),S=(0,a.useRef)(null),E=(0,a.useRef)(null),O=(0,eW.yl)(v,"medias"),A=null==h?void 0:h.content_type,I=h.card_category&&b?null===(t=b.find(e=>e.uuid===h.card_category))||void 0===t?void 0:t.slug:null,T=(null==h?void 0:h.card_category)?y.filter(e=>{var t;return(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.category)===(null==h?void 0:h.card_category)}):y.slice(0,6),R=e=>{var t,n;return null==e?void 0:null===(n=e.find(e=>"media_gallery"===e.component))||void 0===n?void 0:null===(t=n.medias)||void 0===t?void 0:t.length},L=(0,eW.yl)(v,"prev-slide"),z=(0,eW.yl)(v,"next-slide"),B=(0,a.useCallback)(()=>null==m?void 0:m.scrollPrev(),[m]),M=(0,a.useCallback)(()=>null==m?void 0:m.scrollNext(),[m]),N=(0,a.useCallback)(()=>{m&&(Z(m.canScrollPrev()),P(m.canScrollNext()))},[m]),F=(0,a.useCallback)(e=>{let t=[],n=(e,t)=>{var n;return null===(n=i.find(t=>t.id===e))||void 0===n?void 0:n[t]},i=rP(e,x,k,w);w.forEach(e=>
1{"fullbody"!==e.id&&t.push({id:e.id,color:n(e.id,"color")||"white",pattern:n(e.id,"pattern")||void 0})}),_(t),f.push(rZ.jv.editor)},[w,x,k,_,f]);return((0,a.useEffect)(()=>{m&&(N(),m.on("select",N),m.on("reInit",N))},[m,N]),(0,a.useEffect)(()=>{T&&T.length&&(null==S?void 0:S.current)&&(0,Q.t_)(S.current)},[S,T]),T&&T.length)?(0,o.jsxs)(rb,{ref:S,className:"fade-element",children:[(null===(i=h.title)||void 0===i?void 0:null===(n=i.content[0])||void 0===n?void 0:n.content)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:E,children:(0,o.jsx)(ee,{blok:{title:h.label,text:h.title,background_color:q.O9.black},noPaddingTop:p})}),(C||j)&&(0,o.jsxs)(r_,{size:{m:5,t:4,d:3},isCustoPage:p,absoluteTopPos:null===(r=E.current)||void 0===r?void 0:r.clientHeight,children:[(0,o.jsx)(rk,{onClick:B,enabled:C,"aria-disabled":!C,"aria-label":L,children:(0,o.jsx)(eD,{})}),(0,o.jsx)(rk,{onClick:M,enabled:j,"aria-disabled":!j,"aria-label":z,children:(0,o.jsx)(eU,{})})]})]}):(0,o.jsx)(q.W2,{children:(0,o.jsxs)(q.X2,{children:[!!(null==h?void 0:null===(c=h.label)||void 0===c?void 0:null===(l=c.content[0])||void 0===l?void 0:l.content)&&(0,o.jsx)(q.JX,{size:{m:6,t:6,d:2},children:(0,o.jsx)(X.Z,{label:null==h?void 0:h.label})}),(C||j)&&(0,o.jsxs)(r_,{size:{m:5,t:4,d:3},children:[(0,o.jsx)(rk,{onClick:B,enabled:C,"aria-disabled":!C,"aria-label":L,children:(0,o.jsx)(eD,{})}),(0,o.jsx)(rk,{onClick:M,enabled:j,"aria-disabled":!j,"aria-label":z,children:(0,o.jsx)(eU,{})})]})]})}),(0,o.jsx)(ry,{ref:g,children:(0,o.jsx)(rw,{children:T.map((e,t)=>{var n,i,r,a,s,l,c,d,u,h,p,g,m,v,b,y,w,x,k,_,C,Z,j,P;let S=null===(i=e.content)||void 0===i?void 0:null===(n=i.components)||void 0===n?void 0:n.find(e=>"news_headline"===e.component),E=(.2+t/10).toFixed(1);switch(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.component){case"news":case"News":return(0,o.jsx)(rx,{children:(0,o.jsx)(rv,{type:"news",linkUrl:"/".concat(null==e?void 0:e.full_slug),imgPath:null==e?void 0:null===(s=e.content)||void 0===s?void 0:null===(a=s.slider_card_image)||void 0===a?void 0:a.filename,imgAlt:null==e?void 0:null===(c=e.content)||void 0===c?void 0:null===(l=c.slider_card_image)||void 0===l?void 0:l.alt,tag:null!==(h=null==e?void 0:null===(d=e.content)||void 0===d?void 0:d.category)&&void 0!==h?h:"",date:(0,eW.wT)((null==e?void 0:e.first_published_at)||(null==e?void 0:e.created_at),f.locale,"long"),title:null==e?void 0:null===(u=e.content)||void 0===u?void 0:u.slider_card_description,timeReading:null==S?void 0:S.time_reading,delay:E})},null==e?void 0:e.uuid);case"gallery":return(0,o.jsx)(rx,{children:(0,o.jsx)(rv,{type:"gallery",linkUrl:"/".concat(null==e?void 0:e.full_slug),imgPath:null==e?void 0:null===(g=e.content)||void 0===g?void 0:null===(p=g.slider_card_image)||void 0===p?void 0:p.filename,imgAlt:null==e?void 0:null===(v=e.content)||void 0===v?void 0:null===(m=v.slider_card_image)||void 0===m?void 0:m.alt,tag:null!==(k=null==e?void 0:null===(b=e.content)||void 0===b?void 0:b.category)&&void 0!==k?k:"",title:null==e?void 0:null===(y=e.content)||void 0===y?void 0:y.slider_card_description,delay:E,mediasDataSource:R(null===(w=e.content)||void 0===w?void 0:w.components)&&O?O:null,mediasCount:R(null===(x=e.content)||void 0===x?void 0:x.components)})},null==e?void 0:e.uuid);default:return(0,o.jsx)(rx,{type:"custo",children:(0,o.jsx)(rv,{type:"custo",imgPath:null==e?void 0:null===(C=e.content)||void 0===C?void 0:null===(_=C.slider_card_image)||void 0===_?void 0:_.filename,title:null==e?void 0:null===(Z=e.content)||void 0===Z?void 0:Z.slider_card_description,delay:E,mainLink:{callback:()=>{var t;return F(null===(t=e.content)||void 0===t?void 0:t.custo_id)},label:null==e?void 0:null===(j=e.content)||void 0===j?void 0:j.slider_card_start_design_cta_label},secondaryLink:{url:"/".concat(null==e?void 0:e.full_slug),label:null==e?void 0:null===(P=e.content)||void 0===P?void 0:P.slider_card_view_more_cta_label}})},null==e?void 0:e.uuid)}})})}),!!(null==h?void 0:null===(u=h.link_name)||void 0===u?void 0:null===(d=u.content[0])||void 0===d?void 0:d.content)&&(0,o.jsx)(q.W2,{topPadding:{m:40,t:40,d:47},children:(0,o.jsx)(q.X2,{width:"100%",colGap:20,children:(0,o.jsx)(rC,{size:{m:12,t:12,d:11}
1,children:(0,o.jsx)(eH.Z,{href:I?"/".concat(A,"#").concat(I):"/".concat(A),label:null==h?void 0:h.link_name,inheritAnim:!0,scrollToTop:()=>{var e,t,n;return!!eW.jU&&(null===(n=window)||void 0===n?void 0:null===(t=n.document)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.pathname.includes(A))&&window.scrollTo(0,0)}})})})})]}):null};rS.propTypes={blok:d().shape({label:d().oneOfType([d().string,d().object]),title:d().object,link_name:d().oneOfType([d().string,d().object]),machine_name:d().string,card_category:d().oneOfType([d().string,d().object]),content_type:d().string}),isCustoPage:d().bool},rS.defaultProps={blok:d().shape({label:"",title:void 0,link_name:"",machine_name:"",card_category:"",content_type:""}),isCustoPage:!1};var rE=n(4152);let rO=e=>{var t,n,i;let{blok:r,story:l}=e,c=(0,s.useRouter)();(0,a.useRef)(!0);let d=(0,a.useRef)(null),u=(0,a.useRef)(null);return(0,a.useEffect)(()=>{d.current&&(0,Q.t_)(d.current,.1)},[d]),(0,o.jsxs)(rE.c7,{ref:d,className:"slide-fade-element",children:[(0,o.jsx)(q.X2,{children:(0,o.jsxs)(rE.h9,{size:{m:12,t:12,d:4},centered:!0,children:[(0,o.jsx)(rE.WN,{children:(0,o.jsx)(tm(),{width:30,height:22,src:null==r?void 0:null===(t=r.flag)||void 0===t?void 0:t.filename,alt:null==r?void 0:null===(n=r.flag)||void 0===n?void 0:n.alt})}),(0,o.jsx)(eV.Z,{label:null==r?void 0:r.race_number,color:q.O9.red,type:"smallTitle"}),(0,o.jsx)(eV.Z,{label:(0,eW.wT)(null==l?void 0:null===(i=l.content)||void 0===i?void 0:i.race_date,c.locale,"short"),color:q.O9.black,type:"smallTitle"})]})}),(0,o.jsx)(q.X2,{children:(0,o.jsx)(rE.cZ,{size:{m:12,t:12,d:12},centered:!0,ref:u,children:(0,o.jsx)(rE.Dx,{children:" ".concat(null==r?void 0:r.city," ").concat(null==r?void 0:r.e_prix,", ").concat(null==r?void 0:r.country)})})})]})};rO.propTypes={blok:d().shape({flag:d().shape({filename:d().string,alt:d().string}),race_number:d().string,race_date:d().string,e_prix:d().string,city:d().string,country:d().string}),story:d().shape({content:d().shape({race_date:d().string})})},rO.defaultProps={blok:{},story:{}};var rA=n(1358),rI=n.n(rA);let rT=(0,$.ZP)(q.JX).withConfig({componentId:"sc-b7333ae5-0"})([".pagination{padding-left:",";list-style:none;color:",";display:flex;gap:",";justify-content:center;align-items:center;
1li{width:",";padding:"," 0;text-align:center;font-size:",";line-height:1.4;font-weight:700;cursor:pointer;transition:color 0.2s ease-out;svg{[fill]{transition:fill 0.2s ease-out;}[stroke]{transition:stroke 0.2s ease-out;}}&:not(.selected){&:hover,&:focus,&:active{color:",";svg{[fill]{fill:",";}[stroke]{stroke:",";}}}}}.previous{margin-right:",";}.next{margin-left:",";}.disabled{opacity:0.2;}.selected{background-color:",";border-radius:",";}}"],(0,J.Z)(0),q.O9.white,(0,J.Z)(10),(0,J.Z)(30),(0,J.Z)(4),(0,J.Z)(17),q.O9.red,q.O9.red,q.O9.red,(0,J.Z)(40),(0,J.Z)(40),q.O9.red,(0,J.Z)(4)),rR=e=>{let{width:t,height:n,viewBox:i,fill:r,stroke:a}=e;return(0,o.jsx)("svg",{width:t,height:n,viewBox:i,fill:r,xmlns:"http://www.w3.org/2000/svg",role:"none",children:(0,o.jsx)("path",{d:"M18 31L2 16L18 1",stroke:a,strokeWidth:"2"})})};rR.propTypes={fill:d().string,width:d().string,height:d().string,stroke:d().string,viewBox:d().string},rR.defaultProps={fill:"none",width:"32",height:"21",viewBox:"0 0 19 32",stroke:"#fff"};let rL=e=>{let{onPageChange:t,pageCount:n,pageRangeDisplayed:i}=e;return(0,o.jsx)(rT,{size:{m:12,t:12,d:4},centered:!0,children:(0,o.jsx)(rI(),{className:"pagination",breakLabel:"...",nextLabel:(0,o.jsx)(ru,{}),previousLabel:(0,o.jsx)(rR,{}),onPageChange:t,pageRangeDisplayed:i,pageCount:n,renderOnZeroPageCount:null})})};rL.propTypes={onPageChange:d().func,pageCount:d().number,pageRangeDisplayed:d().number},rL.defaultProps={onPageChange:void 0,pageCount:0,pageRangeDisplayed:3};let rz=$.ZP.div.withConfig({componentId:"sc-9114abe0-0"})(["display:flex;justify-content:start;align-items:center;gap:"," ",";padding:"," 0;border-bottom:",";flex-wrap:wrap;"],(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(30),e=>e.bgColor===q.O9.black?"".concat((0,J.Z)(1)," solid rgba(255, 255, 255, 0.5)"):"".concat((0,J.Z)(1)," solid rgba(6, 10, 11, 0.4)")),rB=$.ZP.span.withConfig({componentId:"sc-9114abe0-1"})(["flex:1 0 100%;margin-bottom:",";font-size:",";color:",";font-weight:300;@media screen and ","{flex:0 0 auto;margin-right:",";margin-bottom:0;}@media screen and ","{font-size:",";}"],(0,J.Z)(20),(0,J.Z)(12),e=>e.color,q.Hb.tablet,(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(14)),rM=$.ZP.button.withConfig({componentId:"sc-9114abe0-2"})(["flex:0 0 auto;padding:",";border:",";background-color:transparent;font-family:'Nissan Brand';font-size:",";line-height:1.2;color:",";text-transform:uppercase;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;box-shadow:none;transition:all 0.2s ease-out;&:focus{outline:none;}"," @media screen and ","{padding:"," ",";font-size:",";}"],(0,J.Z)(10),e=>e.color===q.O9.white?"".concat((0,J.Z)(1)," solid rgba(255, 255, 255, 0.5)"):"".concat((0,J.Z)(1)," solid rgba(6, 10, 11, 0.4)"),(0,J.Z)(12),e=>e.color,e=>e.active?(0,$.iv)(["background-color:",";color:",";"],q.O9.white,q.O9.black):(0,$.iv)(["&:hover,&:focus,&:active{border-color:",";color:",";}"],q.O9.red,q.O9.red),q.Hb.desktop,(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(14)),rN=$.ZP.div.withConfig({componentId:"sc-9114abe0-3"})(["display:flex;flex-direction:column;align-tiems:start;justify-content:start;padding-top:",";padding-bottom:",";row-gap:",";@media screen and ","{padding-top:",";row-gap:",";}@media screen and ","{padding-top:",";row-gap:",";}"],(0,J.Z)(40),(0,J.Z)(80),(0,J.Z)(80),q.Hb.tablet,(0,J.Z)(50),(0,J.Z)(100),q.Hb.desktop,(0,J.Z)(120),(0,J.Z)(120)),rF=(0,$.ZP)(q.W2).withConfig({componentId:"sc-9114abe0-4"})(["display:flex;flex-direction:column;align-tiems:start;justify-content:start;row-gap:",";.text_rule{text-transform:uppercase;}"],(0,J.Z)(50)),rH=(0,$.ZP)(q.X2).withConfig({componentId:"sc-9114abe0-5"})(["row-gap:",";@media screen and ","{row-gap:",";}@media screen and ","{row-gap:",";}"],(0,J.Z)(40),q.Hb.tablet,(0,J.Z)(50),q.Hb.desktop,(0,J.Z)(80)),rD=(0,$.ZP)(q.JX).withConfig({componentId:"sc-9114abe0-6"})(["display:flex;align-items:stretch;justify-content:stretch;"]),rU=e=>{var t,n;let{blok:i}=e,r=(0,s.useRouter)(),[c,d]=(0,a.useState)(0),[u,h]=(0,a.useState)(null),[p,f]=(0,a.useState)(null),[g,m]=(0,a.useState)(null),v=(0,a.useRef)(null),{rels:b}=(0,a.useContext)(W.m3),y=(0,a.useContext)(W.bu),w=(0,eW.yl)(y,"download"),x=(0,eW.yl)(y,"medias"),k=b.sort((e,t)=>
1t.position-e.position),_=(0,a.useCallback)(e=>{(0,l.bS)().get("cdn/stories?starts_with=".concat(i.filtered_content_type),{...(0,W.QP)(r.locale),is_startpage:!1,sort_by:"first_published_at:desc",excluding_fields:"SEO",page:null!=e?e:1,per_page:9,filter_query:{components:{is:"not_null"},category:{in:p}}}).then(e=>{var t;d(e.total),h(null===(t=e.data)||void 0===t?void 0:t.stories)})},[r.locale,i.filtered_content_type,p]),C=e=>{if(e){var t;let n=null===(t=k.find(t=>t.slug===e))||void 0===t?void 0:t.uuid;r.push("#".concat(e)),m(e),f(n)}else r.push(r.pathname),m(null),d(0),h(null),f(null)},Z=e=>{var t,n;return null==e?void 0:null===(n=e.find(e=>"media_gallery"===e.component))||void 0===n?void 0:null===(t=n.medias)||void 0===t?void 0:t.length};return(0,a.useEffect)(()=>{if(r.asPath.includes("#")){var e;let t=r.asPath.split("#")[1],n=null===(e=k.find(e=>e.slug===t))||void 0===e?void 0:e.uuid;m(t),f(n)}},[r.asPath,k]),(0,a.useEffect)(()=>{p&&_()},[p,_]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(q.W2,{bgColor:q.O9.black,color:q.O9.white,children:(0,o.jsxs)(rz,{size:{m:12,t:12,d:12},bgColor:q.O9.black,children:[(0,o.jsx)(rB,{color:q.O9.white,children:i.filter_label}),(0,o.jsx)(rM,{type:"button",onClick:()=>C(),color:q.O9.white,active:!g,children:i.filter_all_label}),null==k?void 0:k.map(e=>(0,o.jsx)(rM,{type:"button",onClick:()=>C(e.slug),color:q.O9.white,active:e.slug===g,children:(0,G.sY)(e.content.tag_label)},e.uuid))]})}),u&&(0,o.jsxs)(rF,{bgColor:q.O9.black,topPadding:{m:40,t:80,d:120},bottomPadding:{m:40,t:40,d:80},ref:v,children:[(0,o.jsx)(q.X2,{children:(0,o.jsx)(q.JX,{size:{m:12,t:12,d:2},children:k&&0!==k.length&&(0,o.jsx)(X.Z,{label:(null===(n=k.find(e=>e.slug===g))||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.tag_label)||i.filter_all_label})})}),(0,o.jsx)(rH,{children:u.map((e,t)=>{var n,i,a,s,l,c,d,u,h,p,f;let g=null===(i=e.content)||void 0===i?void 0:null===(n=i.components)||void 0===n?void 0:n.find(e=>"news_headline"===e.component),m=(.2+t/10).toFixed(1);return(0,o.jsx)(rD,{size:{m:12,t:6,d:4},children:(0,o.jsx)(rv,{linkUrl:"/".concat(e.full_slug),imgPath:null===(s=e.content)||void 0===s?void 0:null===(a=s.slider_card_image)||void 0===a?void 0:a.filename,tag:null!==(f=null==e?void 0:null===(l=e.content)||void 0===l?void 0:l.category)&&void 0!==f?f:"",date:((null==e?void 0:null===(c=e.content)||void 0===c?void 0:c.component)==="news"||(null==e?void 0:null===(d=e.content)||void 0===d?void 0:d.component)==="News")&&(0,eW.wT)(e.first_published_at||e.created_at,r.locale,"long"),title:null===(u=e.content)||void 0===u?void 0:u.slider_card_description,timeReading:null==g?void 0:g.time_reading,delay:m,mediasDataSource:(null==e?void 0:null===(h=e.content)||void 0===h?void 0:h.component)==="gallery"&&x,mediasCount:Z(null===(p=e.content)||void 0===p?void 0:p.components),downloadLabel:w})},e.uuid)})}),c>9&&(0,o.jsx)(q.X2,{children:(0,o.jsx)(rL,{onPageChange:e=>{_(e.selected+1),setTimeout(()=>{var e;window.scrollTo({top:null===(e=v.current)||void 0===e?void 0:e.offsetTop,left:0,behavior:"smooth"})},200)},pageCount:Math.ceil(c/9),pageRangeDisplayed:3})})]}),!g&&(0,o.jsx)(rN,{children:!!i.default_display&&i.default_display.map(e=>(0,o.jsx)(l.Xj,{blok:e},e._uid))})]})};rU.propTypes={blok:d().shape({_uid:d().string,filter_label:d().string,filter_all_label:d().string,filtered_tags:d().arrayOf(d().string),filtered_content_type:d().string,default_display:d().arrayOf(d().shape({}))})},rU.defaultProps={blok:d().shape({_uid:"",filter_label:"",filter_all_label:"",filtered_tags:[],filtered_content_type:"",default_display:[]})};let rV=e=>{var t,n,i,r,s,l,c;let{blok:d}=e,u=(0,a.useRef)(null);return(0,a.useEffect)(()=>{u.current&&(0,Q.Jh)(u.current,5,.1)},[u]),(0,o.jsxs)("div",{ref:u,className:"slide-fade-element",children:[(!!(null==d?void 0:null===(t=d.Mp4Url)||void 0===t?void 0:t.url)||!!(null==d?void 0:null===(n=d.PlayerUrl)||void 0===n?void 0:n.url)>0)&&(0,o.jsx)(n5,{blok:d}),!!(null==d?void 0:null===(i=d.image)||void 0===i?void 0:i.filename)&&!(null==d?void 0:null===(r=d.Mp4Url)||void 0===r?void 0:r.url)&&!(null==d?void 0:null===(s=d.PlayerUrl)||void 0===s?void 0:s.url)&&(0,o.jsx)(eF.Z,{src:null==d?void 0:null===(l=d.image)||void 0===l?void 0:l.filename,alt:null==d?void 0:null===(c=d.image)||void 0===c?void 0:c.alt,sizes:eW.Xn})]})};rV.propTypes={blok:d().shape({Mp4Url:d().shape({url:d().string}),PlayerUrl:d().shape({url:d().string}),IframeEmbedCode:d().string,image:d().shape({filename:d().string,alt:d().string})})},rV.defaultProps={blok:{}};let rW=$.ZP.div.withConfig({componentId:"sc-6faf37f3-0"})(["width:100%;padding-top:",";padding-bottom:",";@media screen and ","{width:50%;}"],(0,J.Z)(130),(0,J.Z)(90),q.Hb.tablet),rG=$.ZP.div.withConfig({componentId:"sc-6faf37f3-1"})(["margin-bottom:",";opacity:0;transform:translateX(25%);transition:opacity 0.4s 0.2s ease-in,transform 0.8s ease-out;.intersects &{opacity:1;transform:translateX(0);}@media screen and ","{display:none;}@media screen and (prefers-reduced-motion:reduce){transition:opacity 0.5s ease-in;}"],(0,J.Z)(10),q.Hb.tablet),rX=$.ZP.div.withConfig({componentId:"sc-6faf37f3-2"})(["padding:0 ",";@media screen and ","{padding:0 0 0 ",";}@media screen and ","{padding-left:",";}"],(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(52),q.Hb.desktop,(0,J.Z)(70)),rq=$.ZP.div.withConfig({componentId:"sc-6faf37f3-3"})(["grid-column:1 / 14;@media screen and ","{grid-column:3 / 14;}
1"],q.Hb.desktop),r$=$.ZP.h2.withConfig({componentId:"sc-6faf37f3-4"})(["margin-bottom:",";opacity:0;font-size:",";font-size:min(15vh,",");font-weight:700;color:",";line-height:1;letter-spacing:0.001em;transform:translateX(-15%);transition:opacity 0.4s 0.3s ease-in,transform 0.9s ease-out;.intersects &{opacity:1;transform:translateX(0);}@media screen and ","{margin-top:20vh;font-size:",";font-size:min(15vh,",");}@media screen and ","{margin-bottom:",";font-size:",";font-size:min(20vh,",");}@media screen and (prefers-reduced-motion:reduce){transition:opacity 0.5s ease-in;}"],(0,J.Z)(10),(0,J.Z)(110),(0,J.Z)(110),q.O9.red,q.Hb.tablet,(0,J.Z)(120),(0,J.Z)(120),q.Hb.desktop,(0,J.Z)(20),(0,J.Z)(200),(0,J.Z)(200)),rJ=$.ZP.div.withConfig({componentId:"sc-6faf37f3-5"})(["grid-column:3 / 11;opacity:0;transform:translateX(15%);transition:opacity 0.4s 0.4s ease-in,transform 1s ease-out;.intersects &{opacity:1;transform:translateX(0);}@media screen and ","{grid-column:3 / 13;}@media screen and ","{grid-column:5 / 11;}@media screen and (prefers-reduced-motion:reduce){transition:opacity 0.5s ease-in;}"],q.Hb.tablet,q.Hb.desktop),rY=$.ZP.div.withConfig({componentId:"sc-6faf37f3-6"})(["display:none;@media screen and ","{display:flex;align-items:start;justify-content:center;width:100%;padding-right:",";padding-left:",";img{max-height:calc(100vh - ",");width:auto;}}@media screen and ","{padding-right:",";padding-left:",";}"],q.Hb.tablet,(0,J.Z)(52),(0,J.Z)(52),(0,J.Z)(240),q.Hb.desktop,(0,J.Z)(70),(0,J.Z)(70)),rK=$.ZP.div.withConfig({componentId:"sc-6faf37f3-7"})(["opacity:0;transition:opacity 0.3s 0.2s ease-in;.intersects + .history-slide &,.intersects &{opacity:1;}"]),rQ=(0,$.ZP)(q.W2).withConfig({componentId:"sc-6faf37f3-8"})(["padding-top:",";padding-bottom:",";background-color:",";@media screen and ","{display:block;width:100%;}"],(0,J.Z)(130),(0,J.Z)(90),q.O9.grey,q.Hb.tablet),r0=(0,$.ZP)(q.X2).withConfig({componentId:"sc-6faf37f3-9"})(["@media screen and ","{height:100%;overflow:hidden;}"],q.Hb.desktop),r1=(0,$.ZP)(q.JX).withConfig({componentId:"sc-6faf37f3-10"})(["display:none;@media screen and ","{display:flex;height:100%;justify-content:center;align-items:start;position:relative;overflow:hidden;opacity:0;transform-origin:top center;transition:opacity 0.4s ease-in;img{max-height:calc(100vh - ",");width:auto;}.intersects &{opacity:1;}}@media screen and (max-height:",") and ","{grid-column:span 5;align-items:center;}"],q.Hb.desktop,(0,J.Z)(240),(0,J.Z)(q.J7.landscapeSmaller-1),q.Hb.desktop),r2=(0,$.ZP)(q.JX).withConfig({componentId:"sc-6faf37f3-11"})([".history-date__content-title,.history-date__content-paragraphs{opacity:0;.intersects &{opacity:1;transform:translateY(0);}}.history-date__content-title{margin-bottom:",";transform:translateY(-1em);transition:opacity 0.2s 0.2s ease-in,transform 0.4s ease-out;@media screen and (max-height:","){margin-bottom:",";font-size:",";}}.history-date__content-paragraphs{line-height:1.2;transform:translateY(-3em);transition:opacity 0.2s 0.3s ease-in,transform 0.4s 0.1s ease-out;p + p{margin-top:",";}@media screen and "," and ","{line-height:1.4;}}@media screen and ","{grid-column:9 / 13;}@media screen and (max-height:",") and ","{display:flex;flex-direction:column;justify-content:center;align-items:start;grid-column:6 / 13;}"],(0,J.Z)(30),(0,J.Z)(q.J7.landscapeSmaller-1),(0,J.Z)(16),(0,J.Z)(25),(0,J.Z)(8),q.Hb.desktop,q.Hb.landscapeSmaller,q.Hb.desktop,(0,J.Z)(q.J7.landscapeSmaller-1),q.Hb.desktop),r5=e=>{var t,n,i,r,a,s,l,c,d,u,h;let{blok:p,className:f}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(rW,{id:p.year,className:f,"data-slide-name":p.year,children:[(0,o.jsx)(rG,{children:(0,o.jsx)(eF.Z,{src:null===(t=p.main_visual)||void 0===t?void 0:t.filename,alt:null===(n=p.main_visual)||void 0===n?void 0:n.alt,sizes:{mobile:{width:720,height:405}},lazyload:!0})}),(0,o.jsxs)(rX,{children:[(0,o.jsx)(q.X2,{children:(0,o.jsx)(rq,{children:(0,o.jsx)(r$,{children:p.year})})}),p.intro&&(0,o.jsx)(q.X2,{children:(0,o.jsx)(rJ,{children:(0,o.jsx)(rl.Qi,{weight:"light",children:p.intro})})})]})]}
1),(0,o.jsx)(rY,{className:f,"data-slide-name":p.year,children:(0,o.jsx)(rK,{children:(0,o.jsx)(eF.Z,{src:null===(i=p.main_visual)||void 0===i?void 0:i.filename,alt:null===(r=p.main_visual)||void 0===r?void 0:r.alt,sizes:{desktop:{width:1920,height:1080},tablet:{width:1280,height:720}},lazyload:!0})})}),((null===(a=p.secondary_visual)||void 0===a?void 0:a.filename)||!!p.content_title.length||(null===(l=p.paragraphs)||void 0===l?void 0:null===(s=l.content[0])||void 0===s?void 0:s.content))&&(0,o.jsx)(rQ,{className:f,"data-slide-name":p.year,children:(0,o.jsxs)(r0,{children:[p.secondary_visual&&(0,o.jsx)(r1,{size:{m:0,t:0,d:7},children:(0,o.jsx)(eF.Z,{src:null===(c=p.secondary_visual)||void 0===c?void 0:c.filename,alt:null===(d=p.secondary_visual)||void 0===d?void 0:d.alt,sizes:{desktop:{width:1280,height:720}},lazyload:!0})}),(p.content_title||(null===(h=p.paragraphs)||void 0===h?void 0:null===(u=h.content[0])||void 0===u?void 0:u.content))&&(0,o.jsxs)(r2,{size:{m:12,t:10,d:4},children:[p.content_title&&(0,o.jsx)(rl.H3,{weight:"light",color:q.O9.black,className:"history-date__content-title",children:p.content_title}),p.paragraphs&&(0,o.jsx)(nK.Z,{paragraphs:p.paragraphs,weight:300,textColor:q.O9.black,className:"history-date__content-paragraphs"})]})]})})]})};r5.propTypes={blok:d().shape({year:d().string.isRequired,main_visual:d().shape({filename:d().string,alt:d().string}),intro:d().string,secondary_visual:d().shape({filename:d().string,alt:d().string}),content_title:d().string,paragraphs:d().shape({content:d().arrayOf(d().shape({content:d().arrayOf(d().shape({}))}))})}),className:d().string},r5.defaultProps={blok:d().shape({main_visual:d().shape({filename:"",alt:""}),intro:"",secondary_visual:d().shape({filename:"",alt:""}),content_title:"",paragraphs:d().shape({content:d().arrayOf(d().shape({content:d().shape({})}))})}),className:""};let r3=(0,$.ZP)(q.W2).withConfig({componentId:"sc-1540436c-0"})(["padding-top:",";@media screen and ","{padding-top:",";}"],(0,J.Z)(50),q.Hb.tablet,(0,J.Z)(60)),r4=e=>{var t,n;let{blok:i}=e,r=(0,a.useContext)(W.A6);(0,a.useRef)(!0);let s=(0,a.useRef)(null),l=(0,a.useRef)(null),c=null==r?void 0:null===(n=r.tag[0])||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.tag_label;return(0,a.useEffect)(()=>{s.current&&(0,Q.t_)(s.current)},[s]),(0,o.jsx)(r3,{bgColor:q.O9.black,ref:s,className:"fade-element",children:(0,o.jsx)(q.X2,{children:(0,o.jsxs)(q.JX,{size:{m:12,t:12,d:8},centered:!0,children:[c&&(0,o.jsx)(rr,{children:(0,o.jsx)(rn,{label:c})}),(0,o.jsx)("div",{ref:l,children:(0,o.jsx)(ro,{children:null==i?void 0:i.title})})]})})})};r4.propTypes={blok:d().shape({title:d().oneOfType([d().string,d().object]),minutes_reading:d().string,time_reading:d().string,tag:d().arrayOf(d().shape({tag_label:d().shape({})}))})},r4.defaultProps={blok:d().shape({title:"",minutes_reading:"",time_reading:"",tag:[]})};var r6=n(5152),r8=n.n(r6);let r7=$.ZP.div.withConfig({componentId:"sc-b7feda1a-0"})(["width:100%;margin-bottom:",";"],(0,J.Z)(15)),r9=$.ZP.div.withConfig({componentId:"sc-b7feda1a-1"})(["background-color:",";position:relative;z-index:0;padding-top:",";@media screen and ","{padding-top:",";}"],q.O9.black,(0,J.Z)(50),q.Hb.tablet,(0,J.Z)(60)),oe=$.ZP.div.withConfig({componentId:"sc-b7feda1a-2"})(["--delay:0;position:relative;opacity:0;transition:opacity 0.5s var(--delay) ease-out;.has-intersected &{opacity:1;}"]),ot=$.ZP.div.withConfig({componentId:"sc-b7feda1a-3"})(["display:flex;justify-content:center;align-items:center;width:100%;min-height:100vh;overflow:hidden;&video,iframe{width:100vw;height:auto;}"]),on=$.ZP.div.withConfig({componentId:"sc-b7feda1a-4"})(["display:",";justify-content:center;align-items:center;width:100%;height:100vh;position:fixed;z-index:1080;left:0;top:0;background-color:",";overflow:hidden;"],e=>e.displayFullScreen?"flex":"none",q.O9.black),oi=$.ZP.button.withConfig({componentId:"sc-b7feda1a-5"})(["border:none;background:none;padding:0;"]),or=(0,$.iv)(["display:flex;gap:",";position:absolute;z-index:1;width:100%;justify-content:end;"],(0,J.Z)(20)),oo=$.ZP.div.withConfig({componentId:"sc-b7feda1a-6"})(["",";top:",";right:",";"],or,(0,J.Z)(20),(0,J.Z)(20)),oa=$.ZP.div.withConfig({componentId:"sc-b7feda1a-7"})(["",";top:",";right:",";@media screen and ","{top:",";right:",";}"],or,(0,J.Z)(70),(0,J.Z)(20),q.Hb.tablet,(0,J.Z)(90),(0,J.Z)(40)),os=(0,$.iv)(["background-color:rgba(6,10,11,0.4);:hover,:focus{opacity:0.4;}border-radius:",";cursor:pointer;display:block;padding:"," "," ",";position:absolute;top:48%;@media screen and ","{padding:"," "," ",";}@media screen and ","{top:50%;}z-index:1080;border:none;outline:0;"],(0,J.Z)(2),(0,J.Z)(1),(0,J.Z)(10),(0,J.Z)(1),q.Hb.tablet,(0,J.Z)(8),(0,J.Z)(10),(0,J.Z)(9),q.Hb.desktop),ol=$.ZP.button.withConfig({componentId:"sc-b7feda1a-8"})([""," left:90%;@media screen and ","{left:94%;}"],os,q.Hb.desktop),oc=$.ZP.button.withConfig({componentId:"sc-b7feda1a-9"})([""," right:90%;@media screen and ","{right:94%;}"],os,q.Hb.desktop),od=$.ZP.div.withConfig({componentId:"sc-b7feda1a-10"})(["background-color:rgba(6,10,11,0.4);:hover,:focus{opacity:0.4;}border-radius:",";cursor:pointer;display:block;margin-top:-",";padding:"," "," ",";position:absolute;top:6%;left:85%;@media screen and ","{top:3%;left:90%;}@media screen and ","{left:96%;}z-index:1080;border:none;outline:0;"],(0,J.Z)(2),(0,J.Z)(10),(0,J.Z)(8),(0,J.Z)(10),(0,J.Z)(9),q.Hb.tablet,q.Hb.desktop),ou=e=>{let{stroke:t,fill:n}=e;return(0,o.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"30",height:"30",rx:"4",fill:n}),(0,o.jsx)("path",{d:"M22 8L8 22",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M22 12.2V8H17.8",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M8 17.8V22H12.2",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M8 8L22 22",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M8 12.2V8H12.2",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M22 17.8V22H17.8",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})};ou.propTypes={stroke:d().string,fill:d().string},ou.defaultProps={stroke:q.O9.black,fill:q.O9.white};let oh=e=>{let{stroke:t,fill:n}=e;return(0,o.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"30",height:"30",rx:"4",fill:n}),(0,o.jsx)("path",{d:"M10.8 13.6667L14.9994 17.8667L19.1994 13.6667H16.866V9.46667C16.866 9.3429 16.8169 9.2242 16.7293 9.13668C16.6418 9.04917 16.5231 9 16.3994 9H13.5994C13.4756 9 13.3569 9.04917 13.2694 9.13668C13.1819 9.2242 13.1327 9.3429 13.1327 9.46667V13.6667H10.8Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}
1),(0,o.jsx)("path",{d:"M22 18.8V20.6667C22 20.9143 21.9017 21.1516 21.7266 21.3267C21.5516 21.5017 21.3142 21.6 21.0667 21.6H8.93333C8.6858 21.6 8.4484 21.5017 8.27337 21.3267C8.09833 21.1516 8 20.9143 8 20.6667V18.8",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})};oh.propTypes={stroke:d().string,fill:d().string},oh.defaultProps={stroke:"#060A0B",fill:"#FFFFFF"};var op=n(4726);let of=e=>{var t,n,i,r,s,l,c,d;let{datas:u,displayFullScreen:h,setDisplayFullscreen:p,fill:f,index:g}=e,[m,v]=(0,a.useState)(0),[b,y]=(0,a.useState)(0),[w,x]=(0,a.useState)({asset:u[g],index:g}),{width:k}=(0,nZ.Z)(),_=e=>{y(0),v(e.targetTouches[0].clientX)},C=e=>{y(e.targetTouches[0].clientX)},Z=()=>{let{index:e}=w;if(!m||!b)return;let t=m-b;t>50&&(e===u.length-1?p(!1):x({asset:u[e+1],index:e+1})),t<-50&&(e>0?x({asset:u[e-1],index:e-1}):p(!1))},j=e=>{let{index:t}=w;"next"===e&&(t===u.length-1?p(!1):x({asset:u[t+1],index:t+1})),"prev"===e&&(t>0?x({asset:u[t-1],index:t-1}):p(!1)),e||p(!1)};return(0,o.jsxs)(on,{displayFullScreen:h,index:g,children:[(0,o.jsx)(od,{onClick:()=>j(),children:(0,o.jsx)(op.Z,{fill:f})}),(0,o.jsx)(oc,{onClick:()=>j("prev"),children:(0,o.jsx)(eD,{width:k<=639?20:53})}),(null==w?void 0:null===(n=w.asset)||void 0===n?void 0:null===(t=n.Mp4Url)||void 0===t?void 0:t.url)||(null==w?void 0:null===(r=w.asset)||void 0===r?void 0:null===(i=r.PlayerUrl)||void 0===i?void 0:i.url)?(0,o.jsx)(ot,{onTouchStart:_,onTouchMove:C,onTouchEnd:Z,children:(0,o.jsx)(n5,{blok:null==w?void 0:w.asset})}):(0,o.jsx)(ot,{onTouchStart:_,onTouchMove:C,onTouchEnd:Z,children:(0,o.jsx)(eF.Z,{src:null==w?void 0:null===(l=w.asset)||void 0===l?void 0:null===(s=l.Image)||void 0===s?void 0:s.filename,alt:null==w?void 0:null===(d=w.asset)||void 0===d?void 0:null===(c=d.Image)||void 0===c?void 0:c.alt})}),(0,o.jsx)(ol,{onClick:()=>j("next"),children:(0,o.jsx)(eU,{width:k<=639?20:53})})]})};of.propTypes={datas:d().arrayOf(d().shape({Mp4Url:d().shape({url:d().string}),PlayerUrl:d().shape({url:d().string}),Image:d().shape({filename:d().string,alt:d().string,title:d().string})})),displayFullScreen:d().bool,fill:d().string,index:d().number,setDisplayFullscreen:d().func},of.defaultProps={datas:[],displayFullScreen:!1,fill:"",index:null,setDisplayFullscreen:()=>{}};let og=r8()(()=>n.e(378).then(n.bind(n,2378)).then(e=>e.ResponsiveMasonry),{loadableGenerated:{webpack:()=>[2378]},ssr:!1}),om=r8()(()=>n.e(378).then(n.bind(n,2378)).then(e=>e.default),{loadableGenerated:{webpack:()=>[2378]},ssr:!1}),ov=e=>{var t,n,i,r,s,l,c,d,u,h,p;let{blok:f,story:g}=e,[m,v]=(0,a.useState)(0),b=(0,a.useContext)(W.bu),y=(0,eW.yl)(b,"download"),w=(0,eW.yl)(b,"medias"),[x,k]=(0,a.useState)(!1),_=e=>{v(e),k(!0)},C=(0,a.useRef)(null),Z=(0,a.useRef)(null);return(0,a.useEffect)(()=>{Z.current&&(0,Q.t_)(Z.current),C.current&&(0,Q.t_)(C.current,.25)},[Z,C]),(0,o.jsxs)(o.Fragment,{children:[!!x&&(0,o.jsx)(of,{displayFullScreen:x,setDisplayFullscreen:k,datas:null==f?void 0:f.medias,index:m,fill:q.O9.white}),(0,o.jsxs)(ra,{children:[!!w&&!!(null==f?void 0:null===(t=f.medias)||void 0===t?void 0:t.length)&&(0,o.jsxs)(rs,{children:[(0,o.jsx)(rh,{stroke:q.O9.black,fill:q.O9.white}),(0,o.jsxs)(rl.KI,{color:q.O9.white,children:[null==f?void 0:null===(n=f.medias)||void 0===n?void 0:n.length," ",w]})]}),!!y&&!!(null==f?void 0:null===(i=f.medias)||void 0===i?void 0:i.length)&&(0,o.jsxs)(rs,{className:"download",onClick:()=>(0,eW.t8)(null==f?void 0:f.medias,g.name),children:[(0,o.jsx)(oh,{stroke:q.O9.black,fill:q.O9.white}),(0,o.jsx)(rl.KI,{color:q.O9.white,children:y})]})]}),(0,o.jsxs)(r9,{children:[(0,o.jsx)(r7,{className:"fade-element",ref:Z,children:(null==f?void 0:f.medias)&&(null==f?void 0:null===(s=f.medias[0])||void 0===s?void 0:null===(r=s.Mp4Url)||void 0===r?void 0:r.url)||(null==f?void 0:null===(c=f.medias[0])||void 0===c?void 0:null===(l=c.PlayerUrl)||void 0===l?void 0:l.url)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(oa,{children:[(0,o.jsx)(oi,{onClick:()=>_(0),children:(0,o.jsx)(ou,{})}),(0,o.jsx)(oi,{onClick:()=>{var e,t;return(0,eW.A_)(null==f?void 0:null===(t=f.medias[0])||void 0===t?void 0:null===(e=t.Mp4Url)||void 0===e?void 0:e.url)},children:(0,o.jsx)(oh,{})})]}),(0,o.jsx)(n5,{blok:null==f?void 0:f.medias[0],inheritAnim:!0})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(oa,{children:[(0,o.jsx)(oi,{onClick:()=>_(0),children:(0,o.jsx)(ou,{})}),(0,o.jsx)(oi,{onClick:()=>{var e,t;return(0,eW.A_)(null==f?void 0:null===(t=f.medias[0])||void 0===t?void 0:null===(e=t.Image)||void 0===e?void 0:e.filename,(null==f?void 0:f.medias[0].Image.title)||(null==f?void 0:f.medias[0].Image.name))},children:(0,o.jsx)(oh,{})})]}),(0,o.jsx)(eF.Z,{src:null==f?void 0:null===(u=f.medias[0])||void 0===u?void 0:null===(d=u.Image)||void 0===d?void 0:d.filename,alt:null==f?void 0:null===(p=f.medias[0])||void 0===p?void 0:null===(h=p.Image)||void 0===h?void 0:h.alt})]})}),(0,o.jsx)("div",{className:"slide-fade-element",ref:C,children:(0,o.jsx)(og,{columnsCountBreakPoints:{350:1,750:2,900:3},children:(0,o.jsx)(om,{gutter:"20px",style:{position:"relative"},children:null==f?void 0:f.medias.map((e,t)=>{let n=(.2+t/10).toFixed(1);if(t>0){var i,r,a,s,l;return(null==e?void 0:null===(i=e.Mp4Url)||void 0===i?void 0:i.url)||(null==e?void 0:null===(r=e.PlayerUrl)||void 0===r?void 0:r.url)?(0,o.jsxs)(oe,{style:{"--delay":"".concat(n,"s")},children:[(0,o.jsxs)(oo,{children:[(0,o.jsx)(oi,{onClick:()=>_(t),children:(0,o.jsx)(ou,{})}),!!(null==e?void 0:null===(a=e.Mp4Url)||void 0===a?void 0:a.url)&&(0,o.jsx)(oi,{onClick:()=>{var t;return(0,eW.A_)(null==e?void 0:null===(t=e.Mp4Url)||void 0===t?void 0:t.url)},children:(0,o.jsx)(oh,{})})]}),(0,o.jsx)(n5,{blok:e,inheritAnim:!0})]},null==e?void 0:e._uid):(0,o.jsxs)(oe,{style:{"--delay":"".concat(n,"s")},children:[(0,o.jsxs)(oo,{children:[(0,o.jsx)(oi,{onClick:()=>_(t),children:(0,o.jsx)(ou,{})}),(0,o.jsx)(oi,{onClick:()=>{var t;return(0,eW.A_)(null==e?void 0:null===(t=e.Image)||void 0===t?void 0:t.filename,e.Image.title||e.Image.name)},children:(0,o.jsx)(oh,{})})]}),(0,o.jsx)(eF.Z,{src:null==e?void 0:null===(s=e.Image)||void 0===s?void 0:s.filename,alt:null==e?void 0:null===(l=e.Image)||void 0===l?void 0:l.alt})]},null==e?void 0:e._uid)}return null})})})})]})]})};ov.propTypes={blok:d().shape({medias:d().arrayOf(d().shape({Mp4Url:d().shape({url:d().string}),PlayerUrl:d().shape({url:d().string}),Image:d().shape({filename:d().string,alt:d().string,title:d().string,name:d().string})}))}),story:d().shape({name:d().string})},ov.defaultProps={blok:{},story:{name:""}};var ob=n(4242);let oy=e=>{let{blok:t}=e,{locale:n}=(0,s.useRouter)(),[i,r]=(0,a.useState)(),c=(0,eW.o0)(new Date);return(0,a.useEffect)(()=>{(0,l.bS)().get("cdn/stories?starts_with=formulae/races&filter_query[race_date][gt_date]=".concat(c),{...(0,W.QP)(n),is_startpage:!1,sort_by:"content.race_date:asc"}).then(e=>{var t;r((null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.stories).slice(0,3))}).catch(e=>console.error(e))},[n,null==i?void 0:i.length,c]),(0,o.jsx)(ob.Z,{datas:i,blok:t,locale:n})};oy.propTypes={blok:d().shape({})},oy.defaultProps={blok:{}};let ow=$.ZP.button.withConfig({componentId:"sc-859fa350-0"})(["border:1px solid #c3002f !important;color:#fff !important;background-color:#c3002f !important;font-family:'Nissan Regular',Verdana,Arial,sans-serif;text-transform:uppercase;padding:0.8571428571em 20px;&:hover{background-color:#c3002f !important;color:#060a0b !important;border-color:#fff !important;}"]),ox=$.ZP.div.withConfig({componentId:"sc-859fa350-1"})(["padding-top:4.375rem;"]),ok=e=>{let{blok:t}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ow,{id:"ot-sdk-btn",className:"ot-sdk-show-settings",children:null==t?void 0:t.button_label}),(0,o.jsx)(ox,{id:"ot-sdk-cookie-policy"})]})};ok.propTypes={blok:d().shape({button_label:d().string})},ok.defaultProps={blok:{button_label:"COOKIES SETTINGS"}};let o_=$.ZP.div.withConfig({componentId:"sc-d48ca356-0"})(["display:flex;flex-direction:row;align-items:start;justify-content:start;box-sizing:border-box;width:100%;padding:1.5rem;border:1px solid white;gap:1.5rem;"]),oC=$.ZP.div.withConfig({componentId:"sc-d48ca356-1"})(["display:flex;justify-content:center;align-items:center;width:3rem;height:3rem;flex-grow:0;flex-shrink:0;background-color:",";img{width:1.25rem;height:1.25rem;}"],e=>{var t;
1return null!==(t=e.bgColor)&&void 0!==t?t:q.O9.white}),oZ=e=>{var t,n,i;let{blok:r,fontColor:a}=e;return(0,o.jsxs)(o_,{...(0,l.LF)(r),children:[(null===(t=r.icon)||void 0===t?void 0:t.filename)&&(0,o.jsx)(oC,{bgColor:a,children:(0,o.jsx)(eF.Z,{src:r.icon.filename,alt:r.icon.alt,sizes:{mobile:{width:20,height:20}}})}),(null===(i=r.text)||void 0===i?void 0:null===(n=i.content[0])||void 0===n?void 0:n.content)&&(0,o.jsx)(eV.Z,{type:"default",weight:"light",tag:"div",color:null!=a?a:q.O9.black,label:r.text})]})};oZ.propTypes={blok:d().shape({text:d().shape({content:d().arrayOf(d().shape({content:d().arrayOf(d().shape({}))}))}),icon:d().shape({filename:d().string,alt:d().string})}),fontColor:d().string},oZ.defaultProps={blok:null,fontColor:""};let oj=$.ZP.div.withConfig({componentId:"sc-729a2505-0"})(["display:flex;flex-direction:column;width:100%;align-items:stretch;gap:1.25rem;@media screen and ","{gap:2.5rem;}"],q.Hb.tablet),oP=e=>{let{blok:t,fontColor:n}=e,i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{i.current&&(0,Q.Jh)(i.current,2,.1)},[i]),(0,o.jsxs)(oj,{...(0,l.LF)(t),ref:i,className:"slide-fade-element",children:[t.title&&(0,o.jsx)(eV.Z,{type:"mediumText",color:n,weight:"light",tag:"h3",label:t.title}),t.icon_texts.length&&t.icon_texts.map(e=>(0,o.jsx)(l.Xj,{blok:e,fontColor:n},e._uid))]})};oP.propTypes={blok:d().shape({title:d().string,icon_texts:d().arrayOf(d().shape({})),_uid:d().string}),fontColor:d().string},oP.defaultProps={blok:{title:"",icon_texts:[],_uid:""},fontColor:""};var oS=[{id:"normal",datasourceKey:"custo-color-render-1"},{id:"glossy",datasourceKey:"custo-color-render-2"},{id:"matte",datasourceKey:"custo-color-render-3"}],oE=[{id:"white",datasourceKey:"custo-color-1",inputVisual:"/img/custo/custoColorVisual-white.png",materialRenderTypeID:"normal",logoVariant:"dark",shareLinkCode:"a",AlbedoPBR:{type:"color",value:"#FAFAFA"},RoughnessPBR:{type:"color",value:"#B3B3B3"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#FFFFFF"}},{id:"black",datasourceKey:"custo-color-2",inputVisual:"/img/custo/custoColorVisual-black.png",materialRenderTypeID:"normal",logoVariant:"light",shareLinkCode:"b",AlbedoPBR:{type:"color",value:"#181818"},RoughnessPBR:{type:"color",value:"#1A1A1A"},SpecularF0:{type:"color",value:"#040404"},MetalnessPBR:{type:"color",value:"#000000"}},{id:"red",datasourceKey:"custo-color-3",inputVisual:"/img/custo/custoColorVisual-red.png",materialRenderTypeID:"normal",logoVariant:"light",shareLinkCode:"c",AlbedoPBR:{type:"color",value:"#DF1D2B"},RoughnessPBR:{type:"color",value:"#1A1A1A"},SpecularF0:{type:"color",value:"#0D0D0D"},MetalnessPBR:{type:"color",value:"#0D0D0D"}},{id:"pink",datasourceKey:"custo-color-4",inputVisual:"/img/custo/custoColorVisual-pink.png",materialRenderTypeID:"normal",logoVariant:"dark",shareLinkCode:"d",AlbedoPBR:{type:"color",value:"#E19DBE"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"orange",datasourceKey:"custo-color-5",inputVisual:"/img/custo/custoColorVisual-orange.png",materialRenderTypeID:"normal",logoVariant:"light",shareLinkCode:"e",AlbedoPBR:{type:"color",value:"#FF5324"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"blueLight",datasourceKey:"custo-color-6",inputVisual:"/img/custo/custoColorVisual-blueLight.png",materialRenderTypeID:"normal",logoVariant:"dark",shareLinkCode:"f",AlbedoPBR:{type:"color",value:"#4ECFEB"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"green",datasourceKey:"custo-color-7",inputVisual:"/img/custo/custoColorVisual-green.png",materialRenderTypeID:"normal",logoVariant:"dark",shareLinkCode:"g",AlbedoPBR:{type:"color",value:"#2EAA11"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"yellow",datasourceKey:"custo-color-8",inputVisual:"/img/custo/custoColorVisual-yellow.png",materialRenderTypeID:"normal",logoVariant:"dark",shareLinkCode:"h",AlbedoPBR:{type:"color",value:"#E8D301"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"purple",datasourceKey:"custo-color-9",inputVisual:"/img/cu
1sto/custoColorVisual-purple.png",materialRenderTypeID:"normal",logoVariant:"light",shareLinkCode:"i",AlbedoPBR:{type:"color",value:"#7407C9"},RoughnessPBR:{type:"color",value:"#262626"},SpecularF0:{type:"color",value:"#1A1A1A"},MetalnessPBR:{type:"color",value:"#0D0E0C"}},{id:"gold",datasourceKey:"custo-color-10",inputVisual:"/img/custo/custoColorVisual-gold.png",materialRenderTypeID:"glossy",logoVariant:"dark",shareLinkCode:"j",AlbedoPBR:{type:"color",value:"#93710F"},RoughnessPBR:{type:"color",value:"#0D0D0D"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#CACACA"}},{id:"chrome",datasourceKey:"custo-color-11",inputVisual:"/img/custo/custoColorVisual-chrome.png",materialRenderTypeID:"glossy",logoVariant:"dark",shareLinkCode:"k",AlbedoPBR:{type:"color",value:"#B8B8B8"},RoughnessPBR:{type:"color",value:"#1A1A1A"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#FFFFFF"}},{id:"titanium",datasourceKey:"custo-color-12",inputVisual:"/img/custo/custoColorVisual-titanium.png",materialRenderTypeID:"glossy",logoVariant:"light",shareLinkCode:"l",AlbedoPBR:{type:"color",value:"#2C2B32"},RoughnessPBR:{type:"color",value:"#505050"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#7F7F7F"}},{id:"ariya",datasourceKey:"custo-color-13",inputVisual:"/img/custo/custoColorVisual-ariya.png",materialRenderTypeID:"matte",logoVariant:"dark",shareLinkCode:"m",AlbedoPBR:{type:"color",value:"#966643"},RoughnessPBR:{type:"color",value:"#717171"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#FFFFFF"}},{id:"aluminium",datasourceKey:"custo-color-14",inputVisual:"/img/custo/custoColorVisual-aluminium.png",materialRenderTypeID:"matte",logoVariant:"dark",shareLinkCode:"n",AlbedoPBR:{type:"color",value:"#B8B6B6"},RoughnessPBR:{type:"color",value:"#575757"},SpecularF0:{type:"color",value:"#000000"},MetalnessPBR:{type:"color",value:"#FFFFFF"}},{id:"charcoal",datasourceKey:"custo-color-15",inputVisual:"/img/custo/custoColorVisual-charcoal.png",materialRenderTypeID:"matte",logoVariant:"light",shareLinkCode:"o",AlbedoPBR:{type:"color",value:"#000000"},RoughnessPBR:{type:"color",value:"#2D2D2D"},SpecularF0:{type:"color",value:"#414141"},MetalnessPBR:{type:"color",value:"#CECECE"}}],oO=[{id:"manga",inputVisual:"/img/custo/custoPatternVisual-manga.png",isActive:!0,variations:[{id:"white",shareLinkCode:"0",inputVisual:"/img/custo/custoPatternVariationVisual-white.png",AlbedoPBR:"/img/cu
1sto/patterns/manga-white-albedo.png"},{id:"black",shareLinkCode:"1",inputVisual:"/img/custo/custoPatternVariationVisual-black.png",AlbedoPBR:"/img/custo/patterns/manga-black-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/manga-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/manga-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/manga-specular.png"}},{id:"typo",inputVisual:"/img/custo/custoPatternVisual-typo.png",isActive:!0,variations:[{id:"black",shareLinkCode:"2",inputVisual:"/img/custo/custoPatternVariationVisual-black.png",AlbedoPBR:"/img/custo/patterns/typo-black-albedo.png"},{id:"blueLight",shareLinkCode:"3",inputVisual:"/img/custo/custoPatternVariationVisual-blueLight.png",AlbedoPBR:"/img/custo/patterns/typo-blueLight-albedo.png"},{id:"pink",shareLinkCode:"4",inputVisual:"/img/custo/custoPatternVariationVisual-pink.png",AlbedoPBR:"/img/custo/patterns/typo-pink-albedo.png"},{id:"red",shareLinkCode:"5",inputVisual:"/img/custo/custoPatternVariationVisual-red.png",AlbedoPBR:"/img/cu
1sto/patterns/typo-red-albedo.png"},{id:"yellow",shareLinkCode:"6",inputVisual:"/img/custo/custoPatternVariationVisual-yellow.png",AlbedoPBR:"/img/custo/patterns/typo-yellow-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/typo-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/typo-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/typo-specular.png"}},{id:"cherryBlossom",inputVisual:"/img/custo/custoPatternVisual-cherryBlossom.png",isActive:!0,variations:[{id:"pinkBlossom",shareLinkCode:"7",inputVisual:"/img/custo/custoPatternVariationVisual-pinkBlossom.png",AlbedoPBR:"/img/custo/patterns/cherryBlossom-pinkBlossom-albedo.png"},{id:"purpleBlossom",shareLinkCode:"8",inputVisual:"/img/custo/custoPatternVariationVisual-purpleBlossom.png",AlbedoPBR:"/img/custo/patterns/cherryBlossom-purpleBlossom-albedo.png"},{id:"orangeBlossom",shareLinkCode:"9",inputVisual:"/img/custo/custoPatternVariationVisual-orangeBlossom.png",AlbedoPBR:"/img/custo/patterns/cherryBlossom-orangeBlossom-albedo.png"},{id:"purple",shareLinkCode:"10",inputVisual:"/img/custo/custoPatternVariationVisual-purple.png",AlbedoPBR:"/img/cu
1sto/patterns/cherryBlossom-purple-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/cherryBlossom-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/cherryBlossom-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/cherryBlossom-specular.png"}},{id:"japanesePattern",inputVisual:"/img/custo/custoPatternVisual-japanesePattern.png",isActive:!0,variations:[{id:"white",shareLinkCode:"11",inputVisual:"/img/custo/custoPatternVariationVisual-white.png",AlbedoPBR:"/img/custo/patterns/japanesePattern-white-albedo.png"},{id:"red",shareLinkCode:"12",inputVisual:"/img/custo/custoPatternVariationVisual-red.png",AlbedoPBR:"/img/custo/patterns/japanesePattern-red-albedo.png"},{id:"yellow",shareLinkCode:"13",inputVisual:"/img/custo/custoPatternVariationVisual-yellow.png",AlbedoPBR:"/img/custo/patterns/japanesePattern-yellow-albedo.png"},{id:"purple",shareLinkCode:"14",inputVisual:"/img/custo/custoPatternVariationVisual-purple.png",AlbedoPBR:"/img/custo/patterns/japanesePattern-purple-albedo.png"},{id:"green",shareLinkCode:"15",inputVisual:"/img/custo/custoPatternVariationVisual-green.png",AlbedoPBR:"/img/cu
1sto/patterns/japanesePattern-green-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/japanesePattern-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/japanesePattern-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/japanesePattern-specular.png"}},{id:"topography",inputVisual:"/img/custo/custoPatternVisual-topography.png",isActive:!0,variations:[{id:"black",shareLinkCode:"16",inputVisual:"/img/custo/custoPatternVariationVisual-black.png",AlbedoPBR:"/img/custo/patterns/topography-black-albedo.png"},{id:"blueLight",shareLinkCode:"17",inputVisual:"/img/custo/custoPatternVariationVisual-blueLight.png",AlbedoPBR:"/img/custo/patterns/topography-blueLight-albedo.png"},{id:"pink",shareLinkCode:"18",inputVisual:"/img/custo/custoPatternVariationVisual-pink.png",AlbedoPBR:"/img/custo/patterns/topography-pink-albedo.png"},{id:"purple",shareLinkCode:"19",inputVisual:"/img/custo/custoPatternVariationVisual-purple.png",AlbedoPBR:"/img/custo/patterns/topography-purple-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/topography-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/topography-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/topography-specular.png"}},{id:"wipeout",inputVisual:"/img/custo/custoPatternVisual-wipeout.png",isActive:!0,variations:[{id:"white",shareLinkCode:"20",inputVisual:"/img/custo/custoPatternVariationVisual-white.png",AlbedoPBR:"/img/cu
1sto/patterns/wipeout-white-albedo.png"},{id:"black",shareLinkCode:"21",inputVisual:"/img/custo/custoPatternVariationVisual-black.png",AlbedoPBR:"/img/custo/patterns/wipeout-black-albedo.png"},{id:"pink",shareLinkCode:"22",inputVisual:"/img/custo/custoPatternVariationVisual-pink.png",AlbedoPBR:"/img/custo/patterns/wipeout-pink-albedo.png"},{id:"green",shareLinkCode:"23",inputVisual:"/img/custo/custoPatternVariationVisual-green.png",AlbedoPBR:"/img/custo/patterns/wipeout-green-albedo.png"},{id:"purple",shareLinkCode:"24",inputVisual:"/img/custo/custoPatternVariationVisual-purple.png",AlbedoPBR:"/img/custo/patterns/wipeout-purple-albedo.png"}],MetalnessPBR:{type:"texture",value:"/img/custo/patterns/wipeout-metalness.png"},RoughnessPBR:{type:"texture",value:"/img/custo/patterns/wipeout-roughness.png"},SpecularF0:{type:"texture",value:"/img/custo/patterns/wipeout-specular.png"}}],oA=n(1177);let oI=$.ZP.div.withConfig({componentId:"sc-659d30a4-0"})(["height:100dvh;position:relative;overflow:hidden;.custo-popover-3,.custo-popover-reset{&__backdrop{opacity:0;backdrop-filter:blur(0);}}.custo-popover-3__dialog{top:",";}.custo-popover-reset__dialog{top:auto;bottom:100%;&::after{left:25%;}}"],(0,J.Z)(100)),oT=$.ZP.div.withConfig({componentId:"sc-659d30a4-1"})(["display:flex;align-items:center;gap:",";padding:"," "," "," ",";position:absolute;top:0;left:0;z-index:1;@media screen and ","{padding:",";}"],(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(12),q.Hb.desktop,(0,J.Z)(40)),oR=$.ZP.label.withConfig({componentId:"sc-659d30a4-2"})(["display:flex;align-items:center;gap:",";padding:"," "," "," ",";position:absolute;top:0;right:0;z-index:1;color:",";cursor:pointer;&::after{content:'';width:",";height:",";border:1px solid ",";border-radius:",";background-image:radial-gradient( circle,"," 0,"," ",",transparent "," );background-repeat:no-repeat;background-size:",";background-position:",";transition:color 0.12s ease-in,border 0.12s ease-in,background-position 0.2s ease-in-out;}@media screen and ","{padding:",";&::after{width:",";height:",";background-image:radial-gradient( circle,"," 0,"," ",",transparent "," );background-size:",";background-position:",";}}"],(0,J.Z)(15),(0,J.Z)(40),(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(16),e=>e.textColor,(0,J.Z)(44),(0,J.Z)(26),e=>e.textColor,(0,J.Z)(16),e=>e.textColor,e=>e.textColor,(0,J.Z)(9),(0,J.Z)(10),(0,J.Z)(20),e=>e.isChecked?"".concat((0,J.Z)(3)," 0"):"".concat((0,J.Z)(21)," 0"),q.Hb.desktop,(0,J.Z)(40),(0,J.Z)(58),(0,J.Z)(28),e=>e.textColor,e=>e.textColor,(0,J.Z)(11),(0,J.Z)(12),(0,J.Z)(24),e=>e.isChecked?"".concat((0,J.Z)(3)," 0"):"".concat((0,J.Z)(31)," 0")),oL=(0,$.ZP)(rl.ez).withConfig({componentId:"sc-659d30a4-3"})(["display:none;color:inherit;text-transform:uppercase;@media screen and ","{display:block;}"],q.Hb.desktop),oz=$.ZP.input.withConfig({componentId:"sc-659d30a4-4"})(["display:none;"]),oB=$.ZP.div.withConfig({componentId:"sc-1e388574-0"})(["display:flex;flex-direction:column;align-items:end;gap:10px;position:fixed;top:15%;right:1rem;"]),oM=$.ZP.div.withConfig({componentId:"sc-1e388574-1"})(["width:380px;height:100vh;padding:1rem;position:fixed;top:0;right:0;z-index:10;background-color:",";color:",";overflow-x:hidden;overflow-y:auto;visibility:",";"],q.O9.white,q.O9.black,e=>e.isOpen?"visible":"hidden"),oN=$.ZP.div.withConfig({componentId:"sc-1e388574-2"})(["width:332px;height:332px;border:2px solid grey;margin:0.25rem 0 1rem 0;position:relative;overflow:hidden;"]),oF=$.ZP.canvas.withConfig({componentId:"sc-1e388574-3"})(["transform-origin:top left;transform:",";"],e=>e.isVisible?"scale(16%)":"none"),oH=$.ZP.img.withConfig({componentId:"sc-1e388574-4"})(["display:none;"]),oD=e=>{let{currentCusto:t,sketchfabAPI:n,latestPartCusto:i,update3Dcanvas:r,sketchfabIsReady:s,ghostTexturesUIDsRefs:l,setCanvases2DReady:c,isVideoMode:d}=e,{custoColors:u,custoModelPartsSettings:h,custoPatterns:p,baseCusto:f}=(0,a.useContext)(W.MV),[g,m]=(0,a.useState)(!1),v=(0,a.useRef)(null),b=(0,a.useRef)(null),y=(0,a.useRef)(null),w=(0,a.useRef)(null),x=(0,a.useRef)({AlbedoPBR:null,MetalnessPBR:null,RoughnessPBR:null,SpecularF0:null}),k=(0,a.useRef)(2048),_=(0,a.useRef)(null),C=(0,a.useRef)(null),Z=(0,a.useRef)(!1),j=(0,a.useCallback)(async(e,n,i)=>{let r=(e,t,n)=>{var i,r,o;let a=p.find(t=>
1t.id===e);return n===rZ.Uh[0]?null!==(r=null==a?void 0:null===(i=a.variations.find(e=>e.id===t))||void 0===i?void 0:i[n])&&void 0!==r?r:null:null==a?void 0:null===(o=a[n])||void 0===o?void 0:o.value},o=e=>{var n,o,a,s;let l=null===(n=t.find(t=>t.id===e))||void 0===n?void 0:n.pattern,c=null===(o=t.find(t=>t.id===e))||void 0===o?void 0:o.color,d=null===(s=u.find(e=>e.id===c))||void 0===s?void 0:null===(a=s[i])||void 0===a?void 0:a.value,h=_.current[e],p=x.current[i];if(p&&h){if(p.save(),p.clip(h,"evenodd"),p.strokeStyle=d,p.fillStyle=d,p.stroke(h),p.fill(h),l){let e=r(l.id,l.variation,i);if(e){let t=C.current.querySelector('img[src="'.concat(e,'"]'));t&&p.drawImage(t,0,0)}}p.restore()}};return(null==n?void 0:n.length)>1?h.forEach(e=>{o(e.id)}):o(Object.keys(n)[0]),e.toDataURL()},[t,u,h,p]),P=e=>{switch(e){case"node":n.getNodeMap((e,t)=>{e||console.log("nodes",t)});break;case"material":n.getMaterialList((e,t)=>{e||console.log("materials",t)});break;case"texture":n.getTextureList((e,t)=>{e||console.log("textures",t)});break;case"camera":n.getCameraLookAt((e,t)=>{e||(console.log("camera pos",t.position),console.log("camera target",t.target))})}};return(0,a.useEffect)(()=>{if(!v||!b||!y||!w||!document||!u)return;["local","development"].includes("staging")&&console.log("setup 2D canvas useEffect");let e=[v.current,b.current,y.current,w.current];e.forEach((t,n)=>{var i,r,o,a;let s=Object.keys(x.current)[n];t.width=k.current,t.height=k.current;let l=null==t?void 0:t.getContext("2d",{alpha:!1});switch(l.imageSmoothingEnabled=!1,l.lineWidth=4,n){case 0:let c=document.createElement("img");c.src="/img/custo/Body_albedo.jpg",c.onload=()=>{l.drawImage(c,0,0)};break;case 1:l.fillStyle=null===(r=u[0])||void 0===r?void 0:null===(i=r.MetalnessPBR)||void 0===i?void 0:i.value,l.fillRect(0,0,k.current,k.current);break;case 2:l.fillStyle=null===(a=u[0])||void 0===a?void 0:null===(o=a.RoughnessPBR)||void 0===o?void 0:o.value,l.fillRect(0,0,k.current,k.current);break;case 3:l.fillStyle="#1F1F1F",l.fillRect(0,0,k.current,k.current)}x.current[s]=l,n===e.length-1&&(Z.current=!0)})},[u]),(0,a.useEffect)(()=>{if(!h)return;let e={};h.forEach(t=>{var n;let i=new Path2D;null===(n=t.clippingMask)||void 0===n||n.forEach(e=>{let t=new Path2D(e);i.addPath(t)}),e[t.id]=i}),_.current=e},[h]),(0,a.useEffect)(()=>{if(!h||!u||!n||!_||!s||!Z.current||Object.values(x.current).every(e=>!e))return;["local","development"].includes("staging")&&console.log("react to custo changes useEffect");let e={[rZ.Uh[0]]:v.current,[rZ.Uh[1]]:b.current,[rZ.Uh[2]]:y.current,[rZ.Uh[3]]:w.current};Promise.all(Object.keys(e).map(t=>j(e[t],Object.keys(i)>0?i:f,t))).then(e=>{r(e,f)})},[i,u,h,n,j,r,s,f,l,c]),(0,o.jsxs)(o.Fragment,{children:[["local","development"].includes("staging")&&!d&&(0,o.jsxs)(oB,{children:[(0,o.jsx)("button",{type:"button",onClick:()=>m(!0),children:"Show 2D canvases"}),(0,o.jsx)("button",{type:"button",onClick:()=>P("node"),children:"Log nodes"}),(0,o.jsx)("button",{type:"button",onClick:()=>P("material"),children:"Log materials"}),(0,o.jsx)("button",{type:"button",onClick:()=>P("texture"),children:"Log textures"}),(0,o.jsx)("button",{type:"button",onClick:()=>P("camera"),children:"Log camera"})]}),(0,o.jsxs)(oM,{isOpen:g&&["local","development"].includes("staging"),children:[(0,o.jsx)("button",{type:"button",onClick:()=>m(!1),children:"Hide 2D canvases"}),(0,o.jsxs)("div",{children:["AlbedoPBR",(0,o.jsx)(oN,{children:(0,o.jsx)(oF,{isVisible:g&&["local","development"].includes("staging"),ref:v})})]}),(0,o.jsxs)("div",{children:["MetalnessPBR",(0,o.jsx)(oN,{children:(0,o.jsx)(oF,{isVisible:g&&["local","development"].includes("staging"),ref:b})})]}),(0,o.jsxs)("div",{children:["RoughnessPBR",(0,o.jsx)(oN,{children:(0,o.jsx)(oF,{isVisible:g&&["local","development"].includes("staging"),ref:y})})]}),(0,o.jsxs)("div",{children:["SpecularF0",(0,o.jsx)(oN,{children:(0,o.jsx)(oF,{isVisible:g&&["local","development"].includes("staging"),ref:w})})]})]}),(0,o.jsx)("div",{ref:C,children:p.map(e=>(0,o.jsxs)(a.Fragment,{children:[e.variations.map(e=>(0,o.jsx)(oH,{src:e.AlbedoPBR,alt:""},e.id)),(0,o.jsx)(oH,{src:e.MetalnessPBR.value,alt:""}),(0,o.jsx)(oH,{src:e.RoughnessPBR.value,alt:""}),(0,o.jsx)(oH,{src:e.SpecularF0.value,alt:""})]},e.id))})]})};oD.propTypes={ghostTexturesUIDsRefs:d().shape({}),currentCusto:d().arrayOf(d().shape({})),sketchfabAPI:d().shape({}),latestPartCusto:d().shape({}),update3Dcanvas:d().func,sketchfabIsReady:d().bool,isVideoMode:d().bool},oD.defaultProps={ghostTexturesUIDsRefs:null,currentCusto:[],sketchfabAPI:null,latestPartCusto:{},update3Dcanvas:void 0,sketchfabIsReady:!1,isVideoMode:!1};var oU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAABbWlDQ1BpY2MAACiRdZE9S8NQFIYfW8WiFQUdRBwyqDgoiII4ah26FClVwa8ljUkrJDUkLVJcBReHgoPo4tfgP9BVcFUQBEUQcXP3axGJ51qhReoNN+fhvfc9nLyBUM
1I2HL9+HJxc3kvFY9rc/ILW+EyUCG200KYbvjuRTCb4d33cUqfqzaDq9f+9mqt52fQNqIsIjxqulxeWaUis5V3FW8IdRlZfFj4QHvBkQOFLpafL/KQ4U+Y3xd5MahJCqqeWqeJ0FRtZzxHuF+5x7ILxO4/6kqiZm52W2iW7G58UcWJopCmwgk2eQak5yay2b+jHN8WqeAx5uxTxxJEhK94BUQvS1ZRqiW7KY1NUuf/N07dGhsvdozFoeAyC115o3IavUhB8HgbB1xGEH+A8V/GvSk5j76KXKlrPPrRuwOlFRUvvwNkmdN67uqf/SGHZIcuClxNomYf2a2haLGf1e87xHcysyy+6gt096JP7rUvfwIVn7NvdeAgAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAALSURBVAjXY/gPBAAJ+wP9YybFjwAAAABJRU5ErkJggg==";let oV=(0,$.F4)(["from{opacity:0;}to{opacity:1;}"]),oW=$.ZP.dialog.withConfig({componentId:"sc-c8f543e4-0"})(["box-sizing:border-box;width:fit-content;max-width:min(",",calc(100% - 2rem));max-height:calc(100vh - 2rem);padding:1rem;border:none;background-color:",";border-radius:0.5rem;animation:"," 0.3s cubic-bezier(0.5,0,0.75,0);",""],(0,J.Z)(300),q.O9.white,oV,e=>e.anchored?(0,$.iv)(["position:absolute;top:0;left:0;z-index:11;&::after{content:'';width:",";height:",";position:absolute;bottom:0;left:50%;background-color:",";transform:translate(-50%,50%) rotate(-45deg);}"],(0,J.Z)(20),(0,J.Z)(20),q.O9.white):(0,$.iv)(["position:fixed;top:50vh;transform:translateY(-50%);z-index:11;"])),oG=$.ZP.form.withConfig({componentId:"sc-c8f543e4-1"})(["display:flex;justify-content:end;align-items:center;flex-wrap:wrap;gap:0.5rem;margin-top:1rem;.popover__button{font-size:",";font-weight:normal;text-transform:unset;}.popover__button-confirm{border-color:",";background-color:",";color:",";&:hover,&:focus,&:active{border-color:#333;background-color:#333;}}"],(0,J.Z)(12),q.O9.black,q.O9.black,q.O9.white),oX=$.ZP.div.withConfig({componentId:"sc-c8f543e4-2"})(["background-color:rgba(0,0,0 0.2);backdrop-filter:blur(3px);position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;animation "," .3s cubic-bezier(0.5,0,0.75,0);"],oV),oq=e=>{let{open:t,description:n,buttonCancel:i,buttonConfirm:r,hasBackdrop:a,anchored:s,backdropCallback:l,classNameBackdrop:c,classNameDialog:d}=e;return(0,o.jsxs)(o.Fragment,{children:[a&&t&&(0,o.jsx)(oX,{anchored:s,onClick:l,className:c}),(0,o.jsxs)(oW,{open:t,anchored:s,className:d,children:[(0,o.jsx)(rl.ez,{children:n}),(i||r)&&(0,o.jsxs)(oG,{method:"dialog",children:[i&&(0,o.jsx)(rf,{label:i.label,callback:i.callback,colorScheme:"light",className:"popover__button"}),r&&(0,o.jsx)(rf,{label:r.label,callback:r.callback,colorScheme:"light",className:"popover__button popover__button-confirm",autofocus:!0})]})]})]})};oq.propTypes={open:d().bool,description:d().string,buttonCancel:d().shape({label:d().string,callback:d().func}),buttonConfirm:d().shape({label:d().string,callback:d().func}),hasBackdrop:d().bool,anchored:d().bool,backdropCallback:d().func,classNameBackdrop:d().string,classNameDialog:d().string},oq.defaultProps={open:!1,description:void 0,buttonCancel:void 0,buttonConfirm:void 0,hasBackdrop:!1,anchored:!1,backdropCallback:void 0,classNameBackdrop:void 0,classNameDialog:void 0};let o$=(0,a.forwardRef)(function(e,t){var n,i;let{inCustoEditor:r,sketchfabId:s,currentCusto:l,selectedPart:c,setSelectedPart:d,sketchfabAPI:u,skfbCamera:h,latestPartCusto:p,tutorialStep:f,hideTutorial:g,isVideoMode:m,skfbHighlight:v}=e,{logo:b}=(0,a.useContext)(W.E_),{custoColors:y,custoModelPartsSettings:w}=(0,a.useContext)(W.MV),x=(0,a.useContext)(W.bu),[{data:k}]=t1("".concat(ns).concat(s)),[_,C]=(0,a.useState)(!1),[Z,j]=(0,a.useState)(!1),P=(0,a.useRef)(""),S=(0,a.useRef)(null),E=(0,a.useRef)(rZ.Uh),O=(0,a.useRef)({firstSet:(0,rZ.Q6)(),secondSet:(0,rZ.Q6)()}),A=(0,a.useRef)(null),I=(0,a.useRef)(null),{width:T}=(0,nZ.Z)(),R=null==k?void 0:null===(n=k.thumbnails)||void 0===n?void 0:n.images[0],L=(0,a.useCallback)((e,t,n)=>{let i=e=>{var t,n;return(null===(t=e.pattern)||void 0===t?void 0:t.id)==="cherryBlossom"?"dark":null===(n=y.find(t=>t.id===e.color))||void 0===n?void 0:n.logoVariant},r=e=>t.find(t=>t.name===e),o=(t,n)=>{t.channels.AlbedoPBR.texture.uid="light"===i(n)?I.current:A.current,e.setMaterial(t)},a=e=>{let t=r(e.id);t&&o(t,e)};if("fullbody"===n.id){l.slice(1).forEach(e=>{a(e)});return}a(n)},[y,l]),z=(0,a.useCallback)((e,t)=>{let n="secondSet"===P.current||""===P.current?"firstSet":"secondSet",i=e=>({internalFormat:"RGB",magFilter:"LINEAR",minFilter:"LINEAR_MIPMAP_LINEAR",texCoordUnit:0,textureTarget:"TEXTURE_2D",uid:O.current[n][e],wrapS:"REPEAT",wrapT:"REPEAT"}),r=async(e,t)=>{u.updateTexture(e,O.current[n][t])};Promise.all(e.map((e,t)=>{r(e,E.current[t])})).then(()=>{u.getMaterialList((e,r)=>{if(e)console.log(e);else{let e=r.find(e=>e.name===rZ.ML.custoMainBody);if(e){let o=rZ.Uh.reduce((t,n)=>{var r;
1return{...t,[n]:{...null===(r=e.channels)||void 0===r?void 0:r[n],texture:i(n)}}},{});e.channels={...e.channels,...o},u.setMaterial(e,e=>{e||Z||j(!0)}),P.current=n,0===Object.keys(p).length?t.forEach(e=>{L(u,r,e)}):L(u,r,l.find(e=>e.id===Object.keys(p)[0]))}}})})},[u,Z,p,l,L]);return(0,a.useEffect)(()=>{u&&(["local","development"].includes("staging")&&console.log("start sketchfab load & start useEffect"),null==u||u.load(()=>{u.addEventListener("viewerready",()=>{u.start(),u.addEventListener("textureLoadProgress",e=>{1===e.progress&&(u.getMaterialList((e,t)=>{if(!e){var n,i;I.current=null===(n=t.find(e=>e.name===rZ.ML.lightLogoShell))||void 0===n?void 0:n.channels.AlbedoPBR.texture.uid,A.current=null===(i=t.find(e=>e.name===rZ.ML.darkLogoShell))||void 0===i?void 0:i.channels.AlbedoPBR.texture.uid;let e=t.find(e=>e.name===rZ.ML.custoMainBody);rZ.Uh.forEach(t=>{e.channels[t].factor=1}),u.setMaterial(e)}}),(-1!==Object.values(O.current.firstSet).findIndex(e=>!e)||-1!==Object.values(O.current.secondSet).findIndex(e=>!e))&&E.current.forEach((e,t)=>{u.addTexture(oU,(n,i)=>{n||(O.current.firstSet[e]=i,u.addTexture(oU,(n,i)=>{n||(O.current.secondSet[e]=i,t===E.current.length-1&&C(!0))}))})}))})})}))},[u,d,C]),(0,a.useEffect)(()=>{_&&(h.defineEasing(),h.setConstrains(),r&&(m||(v.addHighlightOnMouseEnter(),v.removeHighlightOnMouseLeave()),T<q.J7.tablet&&h.setStartCameraPosition(),u.addEventListener("click",e=>{var t;if(null==e?void 0:null===(t=e.material)||void 0===t?void 0:t.name){let t=w.findIndex(t=>t.id===e.material.name);-1===t||(d(t),m||h.moveToPart(t))}},{pick:"slow"})))},[_,r,h,v,w,u,d,m,T]),(0,a.useEffect)(()=>{T&&u&&u.setTextureQuality(T>=q.J7.desktop?"hd":"sd")},[T,u]),(0,a.useEffect)(()=>{_&&Z&&nc(S.current)},[_,Z]),(0,o.jsxs)(o.Fragment,{children:[!!s&&(0,o.jsxs)(nt,{children:[(0,o.jsx)(nn,{inCusto:r,heightConstrains:!1,ref:t,title:"",frameborder:"0","xr-spatial-tracking":!0,"execution-while-out-of-viewport":!0,"execution-while-not-rendered":!0,"web-share":!0,src:""}),null!==f&&(0,o.jsx)(oq,{open:2===f,description:(0,eW.yl)(x,"custo-tuto-step3"),buttonConfirm:{label:(0,eW.yl)(x,"custo-tuto-skip-btn2-label"),callback:()=>g()},hasBackdrop:!0,anchored:!0,backdropCallback:()=>g(),classNameBackdrop:"custo-popover-3__backdrop",classNameDialog:"custo-popover-3__dialog"}),(0,o.jsxs)(ni,{ref:S,bgColor:q.O9.black,children:[(null==R?void 0:R.url)&&(0,o.jsx)(nr,{inCusto:r,fullOpacity:!0,children:(0,o.jsx)(tm(),{width:1920,height:1080,src:R.url,alt:""})}),(0,o.jsx)(no,{children:(null==b?void 0:b.length)>0&&(0,o.jsx)(tm(),{width:76,height:9,src:null===(i=b[0].logo_nismo_only)||void 0===i?void 0:i.filename,alt:""})})]})]}),(0,o.jsx)(oD,{ghostTexturesUIDsRefs:O.current,sketchfabIsReady:_,currentCusto:l,sketchfabAPI:u,selectedPart:c,latestPartCusto:p,update3Dcanvas:z,canvases2DReadyState:Z,setCanvases2DReady:j,isVideoMode:m})]})});o$.propTypes={inCustoEditor:d().bool,sketchfabId:d().string,currentCusto:d().arrayOf(d().shape({})),sketchfabAPI:d().shape({}),skfbCamera:d().shape({}),selectedPart:d().number,setSelectedPart:d().func,latestPartCusto:d().shape({}),tutorialStep:d().number,hideTutorial:d().func,isVideoMode:d().bool,skfbHighlight:d().shape({})},o$.defaultProps={inCustoEditor:!1,sketchfabId:"",currentCusto:[],sketchfabAPI:null,skfbCamera:null,selectedPart:0,setSelectedPart:void 0,latestPartCusto:{},tutorialStep:null,hideTutorial:void 0,isVideoMode:!1,skfbHighlight:null};let oJ=$.ZP.div.withConfig({componentId:"sc-df565a88-0"})(["display:flex;flex-direction:column;height:",";position:relative;opacity:",";background-color:",";transition:opacity 0.2s ease-out;"," @media screen and ","{height:",";}"],(0,J.Z)(300),e=>e.active?1:0,q.O9.black,e=>0!==e.pullMenuAnimationRatio&&new String("transform: translatey(-".concat(e.pullMenuAnimationRatio,"px);\n    ")),q.Hb.desktop,(0,J.Z)(244));oJ.__hash="8e0c41bb6a306d98";let oY=$.ZP.div.withConfig({componentId:"sc-df565a88-1"})(["z-index:10;opacity:1;filter:blur(0);",""],e=>e.isOpeningPartsList&&0!==e.pullMenuAnimationRatio&&new String("opacity: ".concat(e.pullMenuAnimationRatio,";\n      filter: blur(").concat(.25-.25*e.pullMenuAnimationRatio,"rem);\n    ")));oY.__hash="f411a6526bed5f0e";let oK=$.ZP.div.withConfig({componentId:"sc-df565a88-2"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 ",";position:relative;margin-bottom:",";flex-grow:0;flex-shrink:0;&::before{content:'';width:100%;height:",";position:absolute;top:0;left:0;background:linear-gradient( to right,",","," 50%,"," 50%,"," );background-size:200%;background-position:",";background-repeat:no-repeat;transition:background-position 0.4s cubic-bezier(0.16,1,0.3,1);}@media screen and ","{padding:"," "," 0 ",";gap:",";}"],(0,J.Z)(20),(0,J.Z)(16),(0,J.Z)(4),q.O9.red,q.O9.red,q.O9.white,q.O9.white,e=>"".concat(100-e.progressBarStatus,"%"),q.Hb.desktop,(0,J.Z)(24),(0,J.Z)(40),(0,J.Z)(40),(0,J.Z)(10)),oQ=$.ZP.button.withConfig({componentId:"sc-df565a88-3"})(["display:flex;padding:0;border:none;position:relative;overflow:hidden;font-size:0;background-color:transparent;svg{width:0;height:0;}@media screen and ","{align-items:center;gap:",";padding:"," ",";border:1px solid ",";position:absolute;top:",";left:",";font-size:",";color:",";text-transform:uppercase;border-radius:",";transition:background-color 0.2s ease-in;svg{width:",";height:",";}&:hover,&:focus,&:active{background-color:rgba(255,255,255,0.1);}}"],q.Hb.desktop,(0,J.Z)(8),(0,J.Z)(10),(0,J.Z)(20),q.O9.white,(0,J.Z)(24),(0,J.Z)(40),(0,J.Z)(12),q.O9.white,(0,J.Z)(20),(0,J.Z)(16),(0,J.Z)(16)),o0=$.ZP.span.withConfig({componentId:"sc-df565a88-4"})(["padding:"," "," "," ",";&::before{content:'';display:block;width:",";height:",";background-color:",";border-radius:",";}@media screen and ","{display:none;}"],(0,J.Z)(20),(0,J.Z)(20),(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(3),q.O9.white,(0,J.Z)(2),q.Hb.desktop),o1=$.ZP.div.withConfig({componentId:"sc-df565a88-5"})(["display:flex;justify-content:space-between;align-items:center;width:100%;max-width:30rem;height:",";"],(0,J.Z)(40)),o2=$.ZP.button.withConfig({componentId:"sc-df565a88-6"})(["padding:",";border:none;background-color:transparent;transition:opacity 0.2s cubic-bezier(0.33,1,0.68,1);&[disabled]{opacity:0.2;}",""],(0,J.Z)(4),e=>"next"===e.direction&&new String("transform: rotate(0.5turn);\n    "));o2.__hash="2bb9ed9416493a9f";let o5=$.ZP.div.withConfig({componentId:"sc-df565a88-7"})(["display:flex;gap:",";font-size:",";font-weight:300;letter-spacing:0.01em;text-transform:uppercase;.fRed{font-weight:400;}@media screen and ","{font-size:",";}"],(0,J.Z)(8),(0,J.Z)(18),q.Hb.tablet,(0,J.Z)(22)),o3=$.ZP.div.withConfig({componentId:"sc-df565a88-8"})(["display:flex;flex-direction:column;align-items:center;justify-content:stretch;flex-grow:1;flex-shrink:1;"]),o4=$.ZP.div.withConfig({componentId:"sc-df565a88-9"})(["display:flex;justify-content:center;align-items:baseline;width:100%;position:relative;&::after{content:'';position:absolute;right:",";bottom:0;left:",";border-bottom:1px solid rgba(255,255,255,0.2);@media screen and ","{right:",";left:",";}}@media screen and ","{gap:",";}"],(0,J.Z)(20),(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(40),(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(20)),o6=$.ZP.button.withConfig({componentId:"sc-df565a88-10"})(["padding:"," "," "," ",";border:none;border-bottom-width:",";border-bottom-style:solid;border-bottom-color:",";color:",";text-transform:uppercase;background-color:transparent;
1transition:box-shadow 0.4s cubic-bezier(0.76,0,0.24,1);"],(0,J.Z)(4),(0,J.Z)(20),(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(2),e=>e.active?q.O9.white:"transparent",q.O9.white),o8=$.ZP.ul.withConfig({componentId:"sc-df565a88-11"})(["--start-anim-gap:",";--end-anim-gap:",";"," @keyframes custoListWrapperFadeIn{from{opacity:0;}to{opacity:1;}}@keyframes custoListWrapperSlideIn{from{transform:translateX(max(",",20%));gap:var(--start-anim-gap);}to{transform:translateX(0);gap:var(--end-anim-gap);}}display:",";align-items:center;max-width:100%;padding:",";flex-grow:1;margin:0;list-style-type:none;overflow-x:auto;overflow-y:hidden;line-height:1;::-webkit-scrollbar{display:none;}scrollbar-width:none;animation-name:custoListWrapperFadeIn,custoListWrapperSlideIn;animation-duration:0.4s,0.3s;animation-delay:0.1s,0;animation-timing-function:ease-in,cubic-bezier(0.5,1,0.89,1);animation-fill-mode:both,both;"," @media screen and ","{padding:",";}"],(0,J.Z)(40),(0,J.Z)(20),e=>"color"===e.type&&new String("@media screen and ".concat(q.Hb.desktop," {--start-anim-gap: ").concat((0,J.Z)(80),";\n        --end-anim-gap: ").concat((0,J.Z)(40),";\n      }")),(0,J.Z)(100),e=>e.active?"flex":"none",e=>"color"===e.type?"".concat((0,J.Z)(12)," ").concat((0,J.Z)(40)," 0 ").concat((0,J.Z)(20)):"".concat((0,J.Z)(20)," ").concat((0,J.Z)(40)," ").concat((0,J.Z)(14)," ").concat((0,J.Z)(20)),e=>e.increaseZIndex&&new String("position: relative;\n      z-index: 20;\n    "),q.Hb.desktop,e=>"color"===e.type?"".concat((0,J.Z)(12)," ").concat((0,J.Z)(40)," 0 ").concat((0,J.Z)(40)):"".concat((0,J.Z)(20)," ").concat((0,J.Z)(40)," ").concat((0,J.Z)(14)," ").concat((0,J.Z)(40)));o8.__hash="3d5a85b54077986a";let o7=$.ZP.div.withConfig({componentId:"sc-df565a88-12"})(["display:flex;align-items:center;justify-content:center;gap:",";padding:"," "," "," ",";flex-grow:0;flex-shink:0;position:relative;.custo-toolbox__share-button{@media screen and ","{width:fit-content;padding:"," ",";font-size:",";&::after{width:calc(100% - ",");height:calc(100% - ",");top:",";left:",";}}}@media screen and ","{gap:",";padding:0 ",";position:absolute;top:",";right:0;}"],(0,J.Z)(16),(0,J.Z)(12),(0,J.Z)(20),(0,J.Z)(20),(0,J.Z)(20),q.Hb.tablet,(0,J.Z)(12),(0,J.Z)(22),(0,J.Z)(12),(0,J.Z)(4),(0,J.Z)(4),(0,J.Z)(2),(0,J.Z)(2),q.Hb.desktop,(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(24)),o9=(0,$.ZP)(rl.ez).withConfig({componentId:"sc-df565a88-13"})(["padding:0;border:none;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;"]);var ae=n(8900);let at=$.ZP.span.withConfig({componentId:"sc-d4011c7b-0"})(["font-size:",";line-height:1;color:rgba(255,255,255,0.3);"],(0,J.Z)(10)),an=$.ZP.ul.withConfig({componentId:"sc-d4011c7b-1"})(["@keyframes colorListSlideIn{from{gap:",";}to{gap:",";}}display:flex;padding:"," 0 0 0;margin:0;list-style-type:none;animation:colorListSlideIn 0.3s cubic-bezier(0.5,1,0.89,1) both;"],(0,J.Z)(30),(0,J.Z)(15),(0,J.Z)(8)),ai=$.ZP.button.withConfig({componentId:"sc-d4011c7b-2"})(["display:flex;flex-direction:column;align-items:center;padding:0 0 "," 0;border:none;position:relative;background-color:transparent;"],(0,J.Z)(24)),ar=$.ZP.span.withConfig({componentId:"sc-d4011c7b-3"})(["display:block;width:",";height:",";position:relative;overflow:hidden;border-radius:50%;
1outline:0 solid rgba(255,255,255,0.2);transform:rotate(0);box-shadow:0 "," "," 0 rgba(0,0,0,0);transition:outline 0.2s cubic-bezier(0.5,0,0.75,0),box-shadow 0.2s cubic-bezier(0.5,0,0.75,0),transform 0.2s cubic-bezier(0.5,0,0.75,0);",""],(0,J.Z)(40),(0,J.Z)(40),(0,J.Z)(2),(0,J.Z)(3),e=>e.active&&(0,$.iv)(["outline:"," solid rgba(255,255,255,0.2);box-shadow:0 -"," "," 0 rgba(0,0,0,0.6);transform:rotate(-0.5turn);"],(0,J.Z)(5),(0,J.Z)(2),(0,J.Z)(3))),ao=$.ZP.span.withConfig({componentId:"sc-d4011c7b-4"})(["width:max-content;position:absolute;bottom:0;left:50%;opacity:",";font-size:",";color:",";line-height:1;text-transform:uppercase;transform:",";transition:opacity 0.4s 0.1s cubic-bezier(0.5,0,0.75,0),transform 0.5s cubic-bezier(0.83,0,0.17,1);"],e=>e.active?1:0,(0,J.Z)(12),q.O9.white,e=>e.active?"translate(-50%, 0)":"translate(-50%, -100%)"),aa=e=>{let{partsCustoSettings:t,selectedPart:n,handleApplyCusto:i,active:r,tutorialStep:s,setTutorialStep:l,increaseZIndex:c}=e,{custoColors:d,custoModelPartsSettings:u,custoMaterialRenderTypes:h}=(0,a.useContext)(W.MV),p=(0,a.useContext)(W.bu),f=(0,a.useMemo)(()=>{var e;let t={};return null===(e=u[n])||void 0===e||e.availableColors.forEach(e=>{let n=d.find(t=>t.id===e),i=null==n?void 0:n.materialRenderTypeID;if(t.hasOwnProperty(i))t[i].colors.push({id:n.id,datasourceKey:n.datasourceKey,inputVisual:n.inputVisual});else{var r;t[i]={datasourceKey:null===(r=h.find(e=>e.id===i))||void 0===r?void 0:r.datasourceKey,colors:[{id:n.id,datasourceKey:n.datasourceKey,inputVisual:n.inputVisual}]}}}),t},[d,h,u,n]),g=e=>d.find(t=>t.id===e),m=e=>{var t;i(u[n].id,null===(t=g(e))||void 0===t?void 0:t.id,"color"),null!==s&&l(2)};return(0,o.jsx)(o8,{active:r,increaseZIndex:c,type:"color",children:Object.values(f).map((e,i)=>(0,o.jsxs)("li",{children:[(0,o.jsx)(at,{children:e.datasourceKey&&(0,o.jsx)(o.Fragment,{children:(0,eW.yl)(p,e.datasourceKey)})}),(0,o.jsx)(an,{children:e.colors.map(e=>(0,o.jsx)("li",{children:(0,o.jsxs)(ai,{onClick:()=>m(e.id),children:[(0,o.jsx)(ar,{active:t[n].color===e.id,children:(0,o.jsx)(tm(),{src:e.inputVisual,width:40,height:40,alt:""})}),(0,o.jsx)(ao,{active:t[n].color===e.id,children:e.datasourceKey&&(0,o.jsx)(o.Fragment,{children:(0,eW.yl)(p,e.datasourceKey)})})]})},e.id))})]},i))})};aa.propTypes={partsCustoSettings:d().arrayOf(d().shape({})),selectedPart:d().number,handleApplyCusto:d().func,active:d().bool,tutorialStep:d().number,setTutorialStep:d().func,increaseZIndex:d().bool},aa.defaultProps={partsCustoSettings:[],selectedPart:0,handleApplyCusto:void 0,active:!1,tutorialStep:void 0,setTutorialStep:void 0,increaseZIndex:!1};let as=$.ZP.li.withConfig({componentId:"sc-42d6d0b4-0"})(["display:flex;align-items:center;"]),al=$.ZP.button.withConfig({componentId:"sc-42d6d0b4-1"})(["display:block;width:",";height:",";border:"," solid ",";position:relative;overflow:hidden;background:transparent;border-radius:50%;box-shadow:none;&::after{content:'';width:100%;height:",";position:absolute;top:50%;left:50%;background-color:",";transform:translate(-50%,-50%) rotate(-45deg);}"],(0,J.Z)(46),(0,J.Z)(46),(0,J.Z)(2),q.O9.white,(0,J.Z)(2),q.O9.white),ac=$.ZP.li.withConfig({componentId:"sc-42d6d0b4-2"})(["display:flex;align-items:center;padding-right:",";border:",";border-radius:",";&:hover,&:focus,&:active{border:1px solid ",";}"],e=>e.active?"".concat((0,J.Z)(10)):0,e=>e.active?"1px solid ".concat(q.O9.white):"1px solid transparent",(0,J.Z)(50),q.O9.white),ad=$.ZP.button.withConfig({componentId:"sc-42d6d0b4-3"})(["display:block;width:",";height:",";padding:0;border:none;position:relative;overflow:hidden;background:transparent;border-radius:50%;"],(0,J.Z)(60),(0,J.Z)(60)),au=(0,$.ZP)(tm()).withConfig({componentId:"sc-42d6d0b4-4"})(["clip-path:",";transition:clip-path 0.16s cubic-bezier(0,0.55,0.45,1);&:hover,&:focus,&:active{clip-path:circle("," at 50%);}"],e=>e.active?"circle(".concat((0,J.Z)(22)," at 50%)"):"circle(".concat((0,J.Z)(30)," at 50%)"),(0,J.Z)(22)),ah=$.ZP.ul.withConfig({componentId:"sc-42d6d0b4-5"})(["display:flex;gap:",";width:",";padding:",";list-style-type:none;margin:0;position:relative;overflow:hidden;opacity:",";border-radius:",";transition:width 0.6s cubic-bezier(0.33,1,0.68,1),padding 0.3s cubic-bezier(0.33,1,0.68,1),opacity 0.3s cubic-bezier(0.5,0,0.75,0);"],(0,J.Z)(10),e=>e.active&&e.variationsLength?"".concat((0,J.Z)(30*e.variationsLength+(e.variationsLength-1)*10+20)):0,e=>e.active?"".concat((0,J.Z)(5)," ").concat((0,J.Z)(10)):0,e=>e.active?1:0,(0,J.Z)(20)),ap=$.ZP.button.withConfig({componentId:"sc-42d6d0b4-6"})(["display:block;width:",";height:",";padding:0;border:none;position:relative;background-color:transparent;border-radius:50%;opacity:",";transition:",";&::before{content:'';display:block;width:",";height:",";border:",";position:absolute;top:50%;left:50%;z-index:-1;border-radius:50%;transform:translate(-50%,-50%);transition:width 0.3s cubic-bezier(0.5,0,0.75,0),height 0.3s cubic-bezier(0.5,0,0.75,0),border 0.3s cubic-bezier(0.5,0,0.75,0);}"],(0,J.Z)(30),(0,J.Z)(30),e=>e.activePattern?1:0,e=>e.index?"opacity 0.3s ".concat(.1*parseInt(e.index,10),"s cubic-bezier(0.5, 0, 0.75, 0)"):"none",e=>e.active?"".concat((0,J.Z)(38)):"".concat((0,J.Z)(28)),e=>e.active?"".concat((0,J.Z)(38)):"".concat((0,J.Z)(28)),e=>e.active?"1px solid rgba(255, 255, 255, 0.3)":"1px solid rgba(255, 255, 255, 0)"),af=e=>{var t;let{partsCustoSettings:n,selectedPart:i,handleApplyCusto:r,active:s}=e,{custoPatterns:l,custoModelPartsSettings:c}=(0,a.useContext)(W.MV),[d,u]=(0,a.useState)(null===(t=n[i].pattern)||void 0===t?void 0:t.id),h=(0,a.useRef)([]),p=(e,t)=>{d===e?u(""):(u(e),setTimeout(()=>{var e;null===(e=h.current[t])||void 0===e||e.scrollIntoView({behavior:"smooth",block:"end",inline:"center"})},300))};return(0,a.useEffect)(()=>{var e;u(null===(e=n[i].pattern)||void 0===e?void 0:e.id)},[n,i,u]),(0,o.jsxs)(o8,{active:s,children:[(0,o.jsx)(as,{children:(0,o.jsx)(al,{type:"button",onClick:()=>{r(c[i].id,void 0,"pattern"),u("")}})}),l.map((e,t)=>(0,o.jsxs)(ac,{active:d===e.id,ref:e=>h.current[t]=e,children:[(0,o.jsx)(ad,{type:"button",onClick:()=>p(e.id,t),active:d===e.id,children:(0,o.jsx)(au,{src:e.inputVisual,width:60,height:60,alt:"",active:d===e.id})}),(0,o.jsx)(ah,{active:d===e.id,variationsLength:e.variations.length,children:e.variations.map((t,a)=>{var s,l;return(0,o.jsx)("li",{children:(0,o.jsx)(ap,{type:"button",onClick:()=>r(c[i].id,{id:e.id,variation:t.id},"pattern"),activePattern:d===e.id,index:a,active:(null===(s=n[i].pattern)||void 0===s?void 0:s.id)===e.id&&(null===(l=n[i].pattern)||void 0===l?void 0:l.variation)===t.id,children:(0,o.jsx)(tm(),{src:t.inputVisual,width:30,height:30,alt:""})})},t.id)})})]},e.id))]})};af.propTypes={partsCustoSettings:d().arrayOf(d().shape({})),selectedPart:d().number,handleApplyCusto:d().func,active:d().bool},af.defaultProps={partsCustoSettings:[],selectedPart:0,handleApplyCusto:void 0,active:!1};let ag=e=>{var t;let{selectedPart:n,setSelectedPart:i,setPartsCustoSettings:r,partsCustoSettings:s,setCurrentMenu:l,setLatestPartCusto:c,tutorialStep:d,setTutorialStep:u,hideTutorial:h,partsListButtonLabel:p,colorTabLabel:f,patternTabLabel:g,resetButtonLabel:m,shareButtonLabel:v,active:b,skfbHighlight:y,skfbCamera:w,isVideoMode:x}=e,{custoModelPartsSettings:k}=(0,a.useContext)(W.MV),_=(0,a.useContext)(W.bu),[C,Z]=(0,a.useState)("color"),[j,P]=(0,a.useState)(!1),[S,E]=(0,a.useState)(!1),[O,A]=(0,a.useState)(0),I=(0,a.useRef)(null),T=(0,a.useRef)(s),R=(e,t,n)=>{let i={[n]:t};T.current=s,c({[e]:i}),"fullbody"===e?r(s.map(e=>({...e,...i}))):r(s.map(t=>
1t.id===e?{...t,...i}:{...t}))},L=()=>{c({fullbody:{color:"white",pattern:void 0}}),r(s.map(e=>({...e,color:"white",pattern:void 0}))),P(!1),i(0),Z("color")},z=e=>{"prev"===e?(i(n-1),x||(y.addHighlightOnPartSelection(n-1),w.moveToPart(n-1))):(i(n+1),x||(y.addHighlightOnPartSelection(n+1),w.moveToPart(n+1))),Z("color")},B=e=>{E(!0),A(0),I.current=e},M=e=>{S&&(A(I.current-e),I.current-e>80&&(l("partsList"),E(!1),setTimeout(()=>{A(0)},500)))};return(0,o.jsxs)(oJ,{active:b,inert:!b&&"",pullMenuAnimationRatio:O,onMouseEnter:()=>null==y?void 0:y.removeHighlightOutside3DCanvas(),children:[null!==d&&(0,o.jsx)(oq,{open:1===d,description:(0,eW.yl)(_,"custo-tuto-step2"),buttonConfirm:{label:(0,eW.yl)(_,"custo-tuto-skip-btn2-label"),callback:()=>h()},hasBackdrop:!0,anchored:!0,backdropCallback:()=>h()}),(0,o.jsxs)(oY,{isOpeningPartsList:S,pullMenuAnimationRatio:1-O/80,children:[(0,o.jsxs)(oK,{progressBarStatus:(n+1)/s.length*100,children:[(0,o.jsxs)(oQ,{type:"button",onClick:()=>l("partsList"),children:[(0,o.jsx)(ae.Z,{}),p,(0,o.jsx)(o0,{onTouchStart:e=>B(e.touches[0].clientY),onTouchMove:e=>M(e.touches[0].clientY),onTouchEnd:()=>{E(!1),A(0)}})]}),(0,o.jsxs)(o1,{children:[(0,o.jsx)(o2,{type:"button",disabled:0===n,direction:"prev",onClick:()=>z("prev"),"aria-label":"Previous",children:(0,o.jsx)(rR,{})}),(0,o.jsxs)(o5,{children:[(null===(t=k[n])||void 0===t?void 0:t.datasourceKey)&&(0,o.jsx)(o.Fragment,{children:(0,eW.yl)(_,k[n].datasourceKey)}),(0,o.jsxs)("div",{className:"fRed",children:[n+1,"/",s.length]})]}),(0,o.jsx)(o2,{type:"button",disabled:n===s.length-1,direction:"next",onClick:()=>z("next"),"aria-label":"Next",children:(0,o.jsx)(rR,{})})]})]}),(0,o.jsxs)(o3,{children:[(0,o.jsxs)(o4,{children:[(0,o.jsx)(o6,{type:"button",onClick:()=>Z("color"),active:"color"===C,children:(0,o.jsx)(rl.KI,{children:f})}),(0,o.jsx)(o6,{type:"button",onClick:()=>Z("patterns"),active:"patterns"===C,children:(0,o.jsx)(rl.KI,{children:g})})]}),(0,o.jsx)(aa,{partsCustoSettings:s,selectedPart:n,handleApplyCusto:R,active:"color"===C,tutorialStep:d,setTutorialStep:u,increaseZIndex:1===d}),(0,o.jsx)(af,{partsCustoSettings:s,selectedPart:n,handleApplyCusto:R,active:"patterns"===C})]}),(0,o.jsxs)(o7,{children:[(0,o.jsx)(oq,{open:j,description:(0,eW.yl)(_,"custo-reset-text"),buttonCancel:{label:(0,eW.yl)(_,"custo-reset-cancel-btn"),callback:()=>P(!1)},buttonConfirm:{label:(0,eW.yl)(_,"custo-reset-confirm-btn"),callback:()=>L()},hasBackdrop:!0,anchored:!0,backdropCallback:()=>P(!1),classNameBackdrop:"custo-popover-reset__backdrop",classNameDialog:"custo-popover-reset__dialog"}),(0,o.jsx)(o9,{as:"button",type:"button",onClick:()=>P(!0),children:m}),(0,o.jsx)(rm,{label:v,disabled:s.every(e=>"white"===e.color&&!e.pattern),callback:()=>l("share"),classname:"custo-toolbox__share-button"})]})]})]})};ag.propTypes={selectedPart:d().number,setSelectedPart:d().func,partsCustoSettings:d().arrayOf(d().shape({})),setPartsCustoSettings:d().func,setCurrentMenu:d().func,setLatestPartCusto:d().func,tutorialStep:d().number,setTutorialStep:d().func,hideTutorial:d().func,partsListButtonLabel:d().string,colorTabLabel:d().string,patternTabLabel:d().string,resetButtonLabel:d().string,shareButtonLabel:d().string,active:d().bool,skfbHighlight:d().shape({}),skfbCamera:d().shape({}),isVideoMode:d().bool},ag.defaultProps={selectedPart:0,setSelectedPart:void 0,partsCustoSettings:[],setPartsCustoSettings:()=>{},setCurrentMenu:()=>{},setLatestPartCusto:()=>{},tutorialStep:null,setTutorialStep:void 0,hideTutorial:void 0,partsListButtonLabel:"",colorTabLabel:"",patternTabLabel:"",resetButtonLabel:"",shareButtonLabel:"",active:!0,skfbHighlight:null,skfbCamera:null,skfbHighlight:null,isVideoMode:!1};let am=$.ZP.div.withConfig({componentId:"sc-84531d55-0"})(["width:100%;max-height:100dvh;padding:"," "," "," ",";position:absolute;bottom:-100%;z-index:0;overflow-x:hidden;overflow-y:scroll;opacity:0;background-color:",";filter:blur(0.25rem);transition:bottom 0.4s cubic-bezier(0.65,0,0.35,1),opacity 0.4s cubic-bezier(0.5,0,0.75,0),filter 0.2s 0.1s cubic-bezier(0.5,0,0.75,0);"," "," @media screen and ","{padding-left:",";padding-right:",";overflow-y:hidden;}"],(0,J.Z)(70),(0,J.Z)(20),(0,J.Z)(60),(0,J.Z)(20),q.O9.black,e=>e.active&&(0,$.iv)(["bottom:0;opacity:1;filter:blur(0);z-index:1;"]),e=>0!==e.pullMenuAnimationRatio&&(0,$.iv)(["transform:translateY(","px);"],e.pullMenuAnimationRatio),q.Hb.desktop,(0,J.Z)(100),(0,J.Z)(100)),av=$.ZP.button.withConfig({componentId:"sc-84531d55-1"})(["display:block;border:none;position:absolute;top:",";left:50%;overflow:hidden;background-color:transparent;transform:translateX(-50%);@media screen and ","{width:",";height:",";border:1px solid rgba(255,255,255,0.3);position:absolute;top:",";left:",";background-color:transparent;border-radius:50%;transform:none;&::before,&::after{content:'';display:block;width:",";height:",";position:absolute;top:50%;left:50%;background-color:",";border-radius:",";transform-origin:center center;}&::before{transform:translate(-50%,-50%) rotate(-0.125turn);}&::after{transform:translate(-50%,-50%) rotate(0.125turn);}}"],(0,J.Z)(10),q.Hb.desktop,(0,J.Z)(38),(0,J.Z)(38),(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(16),(0,J.Z)(2),q.O9.white,(0,J.Z)(1)),ab=$.ZP.span.withConfig({componentId:"sc-84531d55-2"})(["padding:"," "," "," ",";&::before{content:'';display:block;width:",";height:",";background-color:",";border-radius:",";}@media screen and ","{display:none;}"],(0,J.Z)(20),(0,J.Z)(20),(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(40),(0,J.Z)(3),q.O9.white,(0,J.Z)(2),q.Hb.desktop),ay=$.ZP.ul.withConfig({componentId:"sc-84531d55-3"})(["padding:0;margin:0;list-style-type:none;opacity:1;filter:blur(0);"," @media screen and ","{display:grid;grid-template:repeat(4,1fr) / repeat(3,1fr);grid-auto-flow:column;gap:0 ",";}"],e=>e.isClosingPartsList&&0!==e.pullMenuAnimationRatio&&(0,$.iv)(["opacity:",";filter:blur(","rem);"],e.pullMenuAnimationRatio,.25-.25*e.pullMenuAnimationRatio),q.Hb.desktop,(0,J.Z)(40)),aw=$.ZP.li.withConfig({componentId:"sc-84531d55-4"})(["border-top:1px solid rgb(30,30,30);border-bottom:1px solid rgb(30,30,30);margin-bottom:-1px;@media screen and ","{&:nth-child(3n + 5){grid-row-start:2;}}"],q.Hb.desktop),ax=$.ZP.button.withConfig({componentId:"sc-84531d55-5"})(["display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;width:100%;padding:"," "," "," ",";border:none;text-align:left;font-size:",";color:",";text-transform:uppercase;background-color:transparent;transition:background-color 0.2s ease-out,padding 0.3s cubic-bezier(0.76,0,0.24,1);&:hover,&:focus,&:active{padding:"," "," "," ",";background-color:rgba(255,255,255,0.1);}@media screen and ","{font-size:",";font-weight:300;}"],(0,J.Z)(10),(0,J.Z)(10),(0,J.Z)(10),(0,J.Z)(20),(0,J.Z)(14),q.O9.white,(0,J.Z)(10),(0,J.Z)(10),(0,J.Z)(10),(0,J.Z)(25),q.Hb.tablet,(0,J.Z)(16)),ak=e=>{let{selectedPart:t,setSelectedPart:n,setCurrentMenu:i,active:r,skfbHighlight:s,skfbCamera:l,isVideoMode:c}=e,{custoModelPartsSettings:d}=(0,a.useContext)(W.MV),u=(0,a.useContext)(W.bu),[h,p]=(0,a.useState)(!1),[f,g]=(0,a.useState)(0),m=(0,a.useRef)(null),v=e=>{n(e),i("toolbox"),c||(s.addHighlightOnPartSelection(e),l.moveToPart(e))},b=e=>{p(!0),g(0),m.current=e},y=e=>{h&&(g(-((m.current-e)*1)),m.current-e<-80&&(i("toolbox"),p(!1),setTimeout(()=>{g(0)},500)))};return(0,o.jsxs)(am,{active:r,inert:!r&&"",pullMenuAnimationRatio:f,onMouseEnter:()=>null==s?void 0:s.removeHighlightOutside3DCanvas(),children:[(0,o.jsx)(av,{type:"button",onClick:()=>i("toolbox"),children:(0,o.jsx)(ab,{onTouchStart:e=>b(e.touches[0].clientY),onTouchMove:e=>y(e.touches[0].clientY),onTouchEnd:()=>{p(!1),g(0)}})}),(0,o.jsx)(ay,{isClosingPartsList:h,pullMenuAnimationRatio:1-f/80,children:d.map((e,n)=>(0,o.jsx)(aw,{children:(0,o.jsxs)(ax,{type:"button",disabled:n===t,onClick:()=>v(n),children:[(0,o.jsxs)("span",{children:[(0,o.jsx)("span",{className:"fRed",children:new Intl.NumberFormat("en-GB",{minimumIntegerDigits:2}).format(n+1)}),"\xa0",e.datasourceKey&&(0,o.jsx)(o.Fragment,{children:(0,eW.yl)(u,e.datasourceKey)})]}),(0,o.jsx)(tm(),{src:e.inputVisual,width:107,height:60,alt:""})]})},e.id))})]})};ak.propTypes={selectedPart:d().number,setSelectedPart:d().func,setCurrentMenu:d().func,active:d().bool,skfbHighlight:d().shape({}),skfbCamera:d().shape({}),isVideoMode:d().bool},ak.defaultProps={selectedPart:0,setSelectedPart:()=>{},setCurrentMenu:()=>{},active:!1,skfbHighlight:null,skfbCamera:null,isVideoMode:!1};let a_=$.ZP.div.withConfig({componentId:"sc-e7606385-0"})(["width:100%;height:100dvh;position:absolute;bottom:-100%;z-index:0;overflow-x:hidden;overflow-y:scroll;opacity:0;background-color:",";filter:blur(0.25rem);transition:all 0.5s ease-in-out;",""],q.O9.black,e=>e.isOpened&&(0,$.iv)(["bottom:0;opacity:1;filter:blur(0);z-index:1;"])),aC=$.ZP.button.withConfig({componentId:"sc-e7606385-1"})(["display:block;width:",";height:",";border:1px solid rgba(255,255,255,0.3);position:absolute;top:",";right:",";background-color:transparent;border-radius:50%;transform:none;&::before,&::after{content:'';display:block;width:",";height:",";position:absolute;top:50%;left:50%;background-color:",";border-radius:",";transform-origin:center center;}&::before{transform:translate(-50%,-50%) rotate(-0.125turn);}&::after{transform:translate(-50%,-50%) rotate(0.125turn);}@media screen and ","{right:",";}"],(0,J.Z)(38),(0,J.Z)(38),(0,J.Z)(20),(0,J.Z)(20),(0,J.Z)(16),(0,J.Z)(2),q.O9.white,(0,J.Z)(1),q.Hb.desktop,(0,J.Z)(40)),aZ=$.ZP.div.withConfig({componentId:"sc-e7606385-2"})(["margin-bottom:",";text-align:center;
1"],(0,J.Z)(52)),aj=$.ZP.h2.withConfig({componentId:"sc-e7606385-3"})(["margin-bottom:",";text-align:center;font-weight:bold;text-transform:uppercase;@media screen and ","{font-size:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(45)),aP=$.ZP.div.withConfig({componentId:"sc-e7606385-4"})(["text-align:center;font-size:",";font-weight:bold;margin-bottom:",";&:last-of-type{margin-bottom:",";}"],(0,J.Z)(25),(0,J.Z)(100),(0,J.Z)(60)),aS=$.ZP.div.withConfig({componentId:"sc-e7606385-5"})(["color:",";"],q.O9.red),aE=(0,$.ZP)(eF.Z).withConfig({componentId:"sc-e7606385-6"})(["img{margin-top:",";}"],(0,J.Z)(60)),aO=$.ZP.button.withConfig({componentId:"sc-e7606385-7"})(["display:inline-grid;grid-template-columns:1fr;grid-template-rows:1fr;width:fit-content;padding:"," ",";border:none;margin-top:",";background-color:",";font-size:",";color:",";font-weight:bold;text-transform:uppercase;border-radius:",";transition:background-color 0.2s ease-in;&:hover,&:focus,&:active{background-color:rgba(255,255,255,0.9);}"],(0,J.Z)(15),(0,J.Z)(30),(0,J.Z)(40),q.O9.white,(0,J.Z)(14),q.O9.black,(0,J.Z)(30)),aA=$.ZP.span.withConfig({componentId:"sc-e7606385-8"})(["display:inline-flex;justify-content:center;align-items:center;gap:",";grid-column:1/2;grid-row:1/2;position:relative;transition:opacity 0.15s ease-out,visibility 0.15s linear;",""],(0,J.Z)(8),e=>e.isVisible?(0,$.iv)(["opacity:1;z-index:1;visibility:visible;"]):(0,$.iv)(["opacity:0;z-index:0;visibility:hidden;"])),aI=(0,$.ZP)(rl.ez).withConfig({componentId:"sc-e7606385-9"})(["margin-top:",";"],(0,J.Z)(20)),aT=$.ZP.div.withConfig({componentId:"sc-e7606385-10"})(["display:flex;flex-direction:column;align-items:center;box-sizing:border-box;width:100%;margin-top:",";@media screen and ","{flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:",";padding:",";border:1px solid rgba(255,255,255,0.3);}@media screen and ","{gap:",";padding:",";}"],(0,J.Z)(60),q.Hb.desktop,(0,J.Z)(5),(0,J.Z)(40),q.Hb.desktopLarge,(0,J.Z)(10),(0,J.Z)(60)),aR=$.ZP.ul.withConfig({componentId:"sc-e7606385-11"})(["display:flex;justify-content:center;gap:",";padding:0;margin:0;list-style-type:none;@media screen and ","{flex-direction:column-reverse;gap:0;}"],(0,J.Z)(22),q.Hb.desktop),aL=$.ZP.button.withConfig({componentId:"sc-e7606385-12"})(["display:flex;flex-direction:column;align-items:center;gap:",";padding:",";border:none;background:transparent;color:",";@media screen and ","{flex-direction:row;gap:",";padding:"," 0;}"],(0,J.Z)(20),(0,J.Z)(14),q.O9.white,q.Hb.desktop,(0,J.Z)(5),(0,J.Z)(14)),az=$.ZP.span.withConfig({componentId:"sc-e7606385-13"})(["display:block;flex-grow:0;flex-shrink:0;width:",";height:",";position:relative;background-color:",";border-radius:",";transition:background-color 0.3s cubic-bezier(0.32,0,0.67,0);&::after{content:'';display:block;width:",";height:",";border-left:3px solid ",";border-bottom:3px solid ",";position:absolute;top:5px;left:4px;transform:rotate(-45deg) ",";transition:transform 0.2s cubic-bezier(0.76,0,0.24,1);}"],(0,J.Z)(20),(0,J.Z)(20),e=>e.active?"".concat(q.O9.red):"#282828",(0,J.Z)(10),(0,J.Z)(9),(0,J.Z)(4),q.O9.white,q.O9.white,e=>e.active?"scale(1)":"scale(0)"),aB=(0,$.ZP)(rl.R4).withConfig({componentId:"sc-e7606385-14"})(["display:flex;align-items:center;justify-content:space-between;gap:",";&::after{content:'';display:inline-block;height:",";border:1px solid ",";aspect-ratio:",";border-radius:",";}"],(0,J.Z)(8),(0,J.Z)(22),q.O9.white,e=>{var t;return null!==(t=e.screenFormat)&&void 0!==t?t:"1/1"},(0,J.Z)(2)),aM=$.ZP.div.withConfig({componentId:"sc-e7606385-15"})(["width:",";height:",";position:relative;margin-top:",";@media screen and ","{margin-top:0;}"],(0,J.Z)(356),(0,J.Z)(200),(0,J.Z)(10),q.Hb.desktop),aN=$.ZP.div.withConfig({componentId:"sc-e7606385-16"})(["height:100%;position:absolute;top:0;left:50%;overflow:hidden;aspect-ratio:",";border:1px dashed rgba(255,255,255,0.2);border-radius:",";transform:translateX(-50%);"],e=>{var t;return null!==(t=e.screenFormat)&&void 0!==t?t:"1/1"},(0,J.Z)(6)),aF=(0,$.ZP)(tm()).withConfig({componentId:"sc-e7606385-17"})(["width:100%;height:auto;opacity:",";transform:",";filter:",";transition:opacity 0.2s 0.2s cubic-bezier(0.32,0,0.67,0),filter 0.2s 0.2s cubic-bezier(0.7,0,0.84,0),transform 0.4s 0.1s cubic-bezier(0.76,0,0.24,1);"],e=>e.active?"1":"0",e=>e.active?"scale(1)":"scale(.3)",e=>e.active?"brightness(1) saturate(1)":"brightness(4) saturate(0)"),aH=$.ZP.div.withConfig({componentId:"sc-e7606385-18"})(["display:flex;justify-content:center;width:100%;margin-top:",";"],(0,J.Z)(40)),aD=$.ZP.a.withConfig({componentId:"sc-e7606385-19"})(["display:block;padding:"," ",";border:1px solid rgba(255,255,255,0.3);background-color:transparent;color:",";font-size:",";font-weight:bold;text-transform:uppercase;border-radius:",";transition:background-color 0.2s ease-in,border-color 0.2s ease-in;&:hover,&:focus,&:active{background-color:rgba(255,255,255,0.1);}&[disabled],&[disabled]:hover,&[disabled]:focus,&[disabled]:active{opacity:0.4;cursor:default;}"],(0,J.Z)(14),(0,J.Z)(30),q.O9.white,(0,J.Z)(14),(0,J.Z)(30));var aU=()=>(0,o.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M0.714844 6.68372V8.67347",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M0.714844 12.6531V14.6429",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6.68359 0.714294H8.67335",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M12.6523 0.714294H14.642",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M0.714844 2.70405V2.04079C0.714844 1.30819 1.30874 0.714294 2.04136 0.714294H2.7046",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M19.2872 17.805C19.2872 18.6227 18.6243 19.285
17 17.8066 19.2857H5.96115C5.1434 19.2857 4.48047 18.6227 4.48047 17.805V5.95963C4.48047 5.14187 5.1434 4.47894 5.96115 4.47894H17.8066C18.6243 4.47894 19.2872 5.14187 19.2872 5.95963V17.805Z",stroke:"black",strokeWidth:"1.42857",strokeLinecap:"round",strokeLinejoin:"round"})]}),aV=()=>(0,o.jsx)("svg",{width:"18",height:"13",viewBox:"0 0 18 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M17 1L6 12L1 7",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});let aW=e=>{let{sketchfabAPI:t,skfbCamera:n,setCurrentMenu:i,currentCusto:r,content:s,active:l}=e,{custoColors:c,custoPatterns:d}=(0,a.useContext)(W.MV),{width:u}=(0,nZ.Z)(),[h,p]=(0,a.useState)(""),[f,g]=(0,a.useState)(!1),[m,v]=(0,a.useState)(null),[b,y]=(0,a.useState)(null),[w,x]=(0,a.useState)(null),[k,_]=(0,a.useState)("portrait"),[C,Z]=(0,a.useState)(null),j=(0,a.useRef)({portrait:{width:900,height:1600,label:"9:16",cameraPosition:[6.815946728540453,-8.71292035124296,4.206616792426175],cameraTarget:[-.20615543942046563,-.36066434199024966,-1.3632800330088573]},square:{width:1280,height:1280,label:"1:1",cameraPosition:[2.2021580198177686,-2.436062482109262,7.170821683355006],cameraTarget:[.25057414460083033,-.5222572800156623,.007541737304723358]},landscape:{width:1600,height:900,label:"16:9",cameraPosition:[3.43096730538396,-3.3150343472169888,1.846177427611138],cameraTarget:[-.134202711688223,-.537886930010642,-1.0625888823194152]}}),P={desktop:{width:1280,height:720},tablet:{width:1280,height:720},mobile:{width:720,height:405}},S=async e=>{let i;switch(e){case"portrait":m||(i=()=>{t.getScreenShot(j.current.portrait.width,j.current.portrait.height,"image/jpeg",(e,t)=>{e||v(t)})});break;case"square":b||(i=()=>{t.getScreenShot(j.current[e].width,j.current[e].height,"image/jpeg",(e,t)=>{e||y(t)})});break;case"landscape":w||(i=()=>{t.getScreenShot(j.current[e].width,j.current[e].height,"image/jpeg",(e,t)=>{e||x(t)})})}"function"==typeof i&&n.moveToViewPoint(j.current[e].cameraPosition,j.current[e].cameraTarget,i),_(e)};return(0,a.useEffect)(()=>{u>q.J7.desktop&&_("landscape")},[u,_]),(0,a.useEffect)(()=>{t&&n&&l&&(t.getCameraLookAt((e,t)=>{e||Z({position:t.position,target:t.target})}),setTimeout(()=>{let e;u>q.J7.desktop?(e=()=>{t.getScreenShot(j.current.landscape.width,j.current.landscape.height,"image/jpeg",(e,t)=>{e||x(t)})},n.moveToViewPoint(j.current.landscape.cameraPosition,j.current.landscape.cameraTarget,e)):(e=()=>{t.getScreenShot(j.current.portrait.width,j.current.portrait.height,"image/jpeg",(e,t)=>{e||v(t)})},n.moveToViewPoint(j.current.portrait.cameraPosition,j.current.portrait.cameraTarget,e))},500))},[l,t,u,x,v,n]),(0,o.jsx)(a_,{isOpened:l,inert:!l&&"",children:(0,o.jsx)(q.W2,{topPadding:{m:80,t:80,d:120},bottomPadding:{m:40,t:40,d:60},children:(0,o.jsx)(q.X2,{children:(0,o.jsxs)(q.JX,{size:{m:12,t:8,d:6},alwaysCentered:!0,children:[(0,o.jsx)(aC,{type:"button",onClick:()=>{i("toolbox"),v(null),y(null),x(null),u>q.J7.desktop?_("landscape"):_("portrait"),null==n||n.moveToViewPoint(C.position,C.target)}}),(0,o.jsxs)(aZ,{children:[(0,o.jsx)(aj,{children:s.title}),(0,o.jsx)(rl.Qi,{weight:"light",children:s.subtitle})]}),(0,o.jsxs)(aP,{children:[(0,o.jsx)(aS,{children:s.steps[0].number}),s.steps[0].title&&(0,G.sY)(s.steps[0].title)&&(0,o.jsx)("div",{children:(0,G.sY)(s.steps[0].title)}),s.copy_link_cta_label&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(aO,{type:"button",onClick:()=>{var e,t;if(navigator.clipboard){let t;navigator.clipboard.writeText("".concat(null===(e=window.location)||void 0===e?void 0:e.origin).concat(rZ.jv.viewer).concat(rj(r,c,d))),g(!0),t=setTimeout(()=>{g(!1),clearTimeout(t)},1600)}else p("".concat(null===(t=window.location)||void 0===t?void 0:t.origin).concat(rZ.jv.viewer).concat(rj(r,c,d)))},children:[(0,o.jsxs)(aA,{isVisible:!f,children:[s.copy_link_cta_label,(0,o.jsx)(aU,{})]}),(0,o.jsxs)(aA,{isVisible:f,children:[s.copied_link_cta_label,(0,o.jsx)(aV,{})]})]}),h&&(0,o.jsxs)(aI,{children:[s.copied_link_cta_label," : ",h]})]}),(0,o.jsxs)(aT,{children:[(0,o.jsx)(aR,{children:Object.keys(j.current).map(e=>(0,o.jsx)("li",{children:(0,o.jsxs)(aL,{type:"button",onClick:()=>S(e),children:[(0,o.jsx)(az,{active:k===e}),(0,o.jsx)(aB,{screenFormat:"".concat(j.current[e].width,"/").concat(j.current[e].height),weight:"bold",as:"span",children:j.current[e].label})]})},e))}),(0,o.jsxs)(aM,{children:[(0,o.jsx)(aN,{screenFormat:"9/16",children:m&&(0,o.jsx)(aF,{width:112.5,height:200,alt:"",src:m,active:"portrait"===k})}),(0,o.jsx)(aN,{children:b&&(0,o.jsx)(aF,{width:200,height:200,alt:"",src:b,active:"square"===k})}),(0,o.jsx)(aN,{screenFormat:"16/9",children:w&&(0,o.jsx)(aF,{width:3200/9,height:200,alt:"",src:w,active:"landscape"===k})})]}),(0,o.jsx)(aH,{children:(0,o.jsx)(aD,{href:(()=>{switch(k){case"portrait":return m;case"square":return b;case"landscape":return w}})(),download:"my-nismo-fe-".concat(k,".jpg"),children:s.download_cta_label})})]})]}),s.steps.slice(1).map(e=>{var t;return(0,o.jsxs)(aP,{children:[(0,o.jsx)(aS,{children:e.number}),e.title&&(0,G.sY)(e.title)&&(0,o.jsx)("div",{children:(0,G.sY)(e.title)}),(null===(t=e.image)||void 0===t?void 0:t.filename)&&(0,o.jsx)(aE,{src:e.image.filename,sizes:P,alt:e.image.alt,lazyload:!0})]},e._uid)})]})})})})};aW.propTypes={sketchfabAPI:d().shape({getScreenShot:d().func}),skfbCamera:d().shape({}),setCurrentMenu:d().func,currentCusto:d().arrayOf(d().shape({}
1)),content:d().shape({title:d().string,subtitle:d().string,steps:d().arrayOf(d().shape({_uid:d().string,number:d().string,title:d().shape({}),image:d().shape({filename:d().string,alt:d().string})})),copy_link_cta_label:d().string,download_cta_label:d().string}),active:d().bool},aW.defaultProps={sketchfabAPI:{},skfbCamera:null,setCurrentMenu:()=>{},currentCusto:[],content:void 0,active:!1};var aG=n(5472);let aX=e=>{let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(q.O9.red);return t?[parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,e]:null};class aq{highlightParams(e,t){return{outlineWidth:1,outlineColor:t?aX(1):[0,0,0,0],outlineDuration:t?e?100:2:0,highlightColor:t?aX(.2):[0,0,0,0],highlightDuration:t?e?100:2:0}}addHighlightOnMouseEnter(){var e;null===(e=this.sketchfabAPI)||void 0===e||e.addEventListener("nodeMouseEnter",e=>{var t;(null==e?void 0:null===(t=e.material)||void 0===t?void 0:t.name)&&-1!==oA.Z.findIndex(t=>t.id===e.material.name)&&!this.isCameraMoving&&(this.sketchfabAPI.setHighlightOptions(this.highlightParams(!0,!0)),this.sketchfabAPI.highlightMaterial(e.material))},{pick:"fast"})}addHighlightOnPartSelection(e){var t;["local","development"].includes("staging")&&console.log("addHighlightOnPartSelection"),null===(t=this.sketchfabAPI)||void 0===t||t.getMaterialList((t,n)=>{if(!t){let t=(null==n?void 0:n.find(t=>t.name===aG.Z[e]))||null;t&&(this.sketchfabAPI.setHighlightOptions(this.highlightParams(!1,!0)),this.sketchfabAPI.highlightMaterial(t))}})}removeHighlightOnMouseLeave(){var e;null===(e=this.sketchfabAPI)||void 0===e||e.addEventListener("nodeMouseLeave",e=>{e&&!this.isCameraMoving&&(this.sketchfabAPI.setHighlightOptions(this.highlightParams(!0,!1)),this.sketchfabAPI.highlightMaterial(e.material))},{pick:"fast"})}removeHighlightOutside3DCanvas(){this.sketchfabAPI&&(this.sketchfabAPI.setHighlightOptions(this.highlightParams(!1,!1)),aG.Z.forEach(e=>{this.sketchfabAPI.highlightMaterial(e)}),this.sketchfabAPI.getMaterialList((e,t)=>{e||t.forEach(e=>{aG.Z.includes(e.name)&&this.sketchfabAPI.highlightMaterial(e)})}))}constructor(e){this.sketchfabAPI=e,this.isActive=!1,this.isCameraMoving=!1,this.sketchfabAPI&&(this.sketchfabAPI.addEventListener("camerastart",()=>{this.isCameraMoving=!0}),this.sketchfabAPI.addEventListener("camerastop",()=>{this.isCameraMoving=!1}))}}let a$=[-.20615543942046563,-.36066434199024966,-1.3632800330088573],aJ=[{title:aG.Z[0],position:[4.334881575822575,-4.278859449240296,2.123446143254617],target:[-1.256410229558427,.20611386663853723,-2.0415431430324538]},{title:aG.Z[1],position:[0,-5.2,.3],target:[0,-.36066434199024966,-1.3632800330088573]},{title:aG.Z[2],position:[0,-4.4,.7228468780480137],target:[0,-.36066434199024966,-1.3632800330088573]},{title:aG.Z[3],position:[2.508600444443469,-3.6507121127868354,-.4555276139255844],target:[-.9359747385659831,-1.3261254169396852,-1.614782950778701]},{title:aG.Z[4],position:[0,-4.4369834652435385,.53050781741936],target:[0,-.3606643419902494,-1.3632800330088573]},{title:aG.Z[5],position:[0,-1.423117615423754,1.8367459201863097],target:[0,-1.377417655510145,-1.0727055178223848]},{title:aG.Z[6],position:[4.171686615134861,-1.3289190566709943,1.0134324955515837],target:[.4888102802579132,-.07616840724173696,-.8973067471642647]},{title:aG.Z[7],position:[2.6492886125728985,-2.0563872418511915,1.9870040074872728],target:[.2911358531570412,.00710931127993328,-.731378043227407]},{title:aG.Z[8],position:[1.4030946060012588,3.577751223245804,1.696915370402088],target:[-.06431682771618989,.8245729505945031,-1.4723938213461685]},{title:aG.Z[9],position:[2.229002954226011,4.536215589391859,.018242971011060094],target:[-.5592347617407126,1.290260872552283,-1.1930852608036695]}];class aY{setConstrains(){this.sketchfabAPI&&(this.sketchfabAPI.removeAllAnnotations(),this.sketchfabAPI.setCameraConstraints({useCameraConstraints:!0,usePanConstraints:!0,useZoomConstraints:!0,usePitchConstraints:!0,useYawConstraints:!1,zoomIn:4,zoomOut:15,up:1.5707963267948966,down:.08726646259971647}),this.sketchfabAPI.setEnableCameraConstraints(!0,{preventCameraConstraintsFocus:!1}))}defineEasing(e){var t;null===(t=this.sketchfabAPI)||void 0===t||t.setCameraEasing(null!=e?e:"easeInOutQuart")}moveToPart(e){let t;if(this.isUserControlled=!1,this.sketchfabAPI){var n,i;this.sketchfabAPI.setCameraLookAt(null===(n=aJ[e])||void 0===n?void 0:n.position,null===(i=aJ[e])||void 0===i?void 0:i.target,1.33,()=>{this.sketchfabAPI.setUserInteraction(!1),t=setTimeout(()=>{this.isUserControlled=!0,this.sketchfabAPI.setUserInteraction(!0),clearTimeout(t)},200)}),this.isUserControlled||this.sketchfabAPI.setCameraLookAtEndAnimationCallback(e=>{e||(this.sketchfabAPI.setUserInteraction(!0),this.isUserControlled=!0)})}}setStartCameraPosition(){var e;this.isUserControlled=!1,this.isSettingStartPos=!0,null===(e=this.sketchfabAPI)||void 0===e||e.setCameraLookAt([5.51301926778571
17,-6.39629374486737,1.7940321653796498],a$,0)}moveToViewPoint(e,t,n){var i;let r;this.isUserControlled=!1,null===(i=this.sketchfabAPI)||void 0===i||i.setCameraLookAt(e,t,0,()=>{this.sketchfabAPI.setEnableCameraConstraints(!1),r=setTimeout(()=>{n&&n(),this.isUserControlled=!0,this.sketchfabAPI.setEnableCameraConstraints(!0,{preventCameraConstraintsFocus:!1}),clearTimeout(r)},200)})}constructor(e){this.sketchfabAPI=e,this.isUserControlled=!0,this.isSettingStartPos=!1,this.sketchfabAPI&&this.sketchfabAPI.addEventListener("camerastart",()=>{this.isUserControlled&&!this.isSettingStartPos&&this.sketchfabAPI.getCameraLookAt((e,t)=>{e||this.sketchfabAPI.setCameraLookAt(t.position,a$,0)})})}}let aK=e=>{var t,n,i,r,s,l,c,d,u;let{blok:h}=e,{custoModelPartsSettings:p,baseCusto:f}=(0,a.useContext)(W.MV),{logo:g}=(0,a.useContext)(W.E_),m=(0,a.useContext)(W.bu),{width:v}=(0,nZ.Z)(),b=(0,a.useCallback)(()=>{let e=[];return p.forEach(t=>{var n,i;let r=null==f?void 0:null===(n=f.find(e=>e.id===t.id))||void 0===n?void 0:n.color,o=null==f?void 0:null===(i=f.find(e=>e.id===t.id))||void 0===i?void 0:i.pattern;e.push({id:t.id,color:r||"white",pattern:o||void 0})}),e},[p,f]),[y,w]=(0,a.useState)(b()),[x,k]=(0,a.useState)(0),[_,C]=(0,a.useState)("toolbox"),[Z,j]=(0,a.useState)(null),[P,S]=(0,a.useState)({}),[E,O]=(0,a.useState)(null),[A,I]=(0,a.useState)(!0),[T,R]=(0,a.useState)(null),[L,z]=(0,a.useState)(null),B=(0,a.useRef)(null),M=(0,a.useRef)(null),N=(0,a.useRef)(null),F=(0,a.useRef)(627),H=()=>{O(null),localStorage.setItem("noTuto","true")},D=e=>{I(e),new Promise(e=>{M.current&&N.current?e({hiddenFloorShadowMaterial:M.current,visibleFloorShadowMaterial:N.current}):null==Z||Z.getMaterialList((t,n)=>{if(!t){let t=M.current=n.find(e=>e.name===rZ.ML.floorShadow),i=N.current={...t,channels:{...t.channels,Opacity:{...t.channels.Opacity,factor:1}}};e({hiddenFloorShadowMaterial:t,visibleFloorShadowMaterial:i})}})}).then(t=>{e?(Z.show(F.current),Z.setMaterial(t.hiddenFloorShadowMaterial)):(Z.hide(F.current),Z.setMaterial(t.visibleFloorShadowMaterial)),Z.setBackground({color:e?[0,0,0]:[242,242,242]})})};return(0,a.useEffect)(()=>{localStorage.getItem("noTuto")||O(0)},[O]),(0,a.useEffect)(()=>{nl({iframeElement:B.current,sketchfabID:h.sketchfabId,successCallback:e=>{j(e),R(new aq(e)),z(new aY(e))},customParams:{autospin:h.videoMode?.2:0}})},[h.sketchfabId,j,h.videoMode]),(0,o.jsxs)(oI,{"data-lenis-prevent":!0,children:[!(null==h?void 0:h.videoMode)&&(0,o.jsxs)("header",{children:[g&&(0,o.jsxs)(oT,{children:[(0,o.jsx)(nE(),{href:rZ.jv.landing,children:(0,o.jsx)(rR,{stroke:A?q.O9.white:q.O9.black})}),(0,o.jsx)(nE(),{href:"/",children:(0,o.jsx)(tm(),{src:A?null===(n=g[0])||void 0===n?void 0:null===(t=n.logo_desktop)||void 0===t?void 0:t.filename:null===(r=g[0])||void 0===r?void 0:null===(i=r.logo_desktop_black)||void 0===i?void 0:i.filename,alt:A?null===(l=g[0])||void 0===l?void 0:null===(s=l.logo_desktop)||void 0===s?void 0:s.alt:null===(d=g[0])||void 0===d?void 0:null===(c=d.logo_desktop_black)||void 0===c?void 0:c.alt,width:v<q.J7.desktop?100:133,height:v<q.J7.desktop?30:40})})]}),(0,o.jsxs)(oR,{textColor:A?q.O9.white:q.O9.black,isChecked:A,children:[(0,o.jsx)(oL,{children:h.background_switcher_label}),(0,o.jsx)(oz,{type:"checkbox",checked:A,onChange:e=>D(e.target.checked)})]})]}),(0,o.jsx)(o$,{sketchfabId:h.sketchfabId,currentCusto:y,selectedPart:x,setSelectedPart:k,sketchfabAPI:Z,skfbCamera:L,latestPartCusto:P,inCustoEditor:!0,tutorialStep:E,hideTutorial:H,isVideoMode:h.videoMode,skfbHighlight:T,ref:B}),(0,o.jsx)(ag,{partsCustoSettings:y,setPartsCustoSettings:w,selectedPart:x,setSelectedPart:k,setCurrentMenu:C,setLatestPartCusto:S,tutorialStep:E,setTutorialStep:O,hideTutorial:H,partsListButtonLabel:h.parts_list_button_label,colorTabLabel:h.color_tab_label,patternTabLabel:h.pattern_tab_label,resetButtonLabel:h.reset_button_label,shareButtonLabel:h.share_button_label,active:"toolbox"===_,skfbHighlight:T,skfbCamera:L,isVideoMode:h.videoMode}),(0,o.jsx)(ak,{selectedPart:x,setSelectedPart:k,setCurrentMenu:C,active:"partsList"===_,skfbHighlight:T,skfbCamera:L,isVideoMode:h.videoMode}),!!(null===(u=h.share_panel)||void 0===u?void 0:u[0])&&(0,o.jsx)(aW,{sketchfabAPI:Z,skfbCamera:L,setCurrentMenu:C,currentCusto:y,content:h.share_panel[0],active:"share"===_}),null!==E&&(0,o.jsx)(oq,{open:0===E,description:(0,eW.yl)(m,"custo-tuto-step1"),buttonCancel:{label:(0,eW.yl)(m,"custo-tuto-skip-btn-label"),callback:()=>H()},buttonConfirm:{label:(0,eW.yl)(m,"custo-tuto-next-btn-label"),callback:()=>O(1)},hasBackdrop:!0,anchored:!1,backdropCallback:()=>H()})]})};aK.propTypes={blok:d().shape({sketchfabId:d().string,create_livery_button_label:d().string,
1start_with_design_button_label:d().string,background_switcher_label:d().string,parts_list_button_label:d().string,color_tab_label:d().string,pattern_tab_label:d().string,reset_button_label:d().string,share_button_label:d().string,share_panel:d().arrayOf(d().shape({})),videoMode:d().bool})},aK.defaultProps={blok:{}};let aQ=$.ZP.div.withConfig({componentId:"sc-86760b1d-0"})(["display:flex;flex-direction:column;justify-content:stretch;gap:",";padding-top:",";@media screen and ","{flex-direction:row;justify-content:center;align-items:center;padding-top:",";}"],(0,J.Z)(20),(0,J.Z)(20),q.Hb.tablet,(0,J.Z)(60)),a0=e=>{let{sketchfabId:t,createLiveryButtonLabel:n,startWithButtonLabel:i,custoId:r}=e,l=(0,s.useRouter)(),{custoModelPartsSettings:c,custoColors:d,custoPatterns:u,setBaseCusto:h}=(0,a.useContext)(W.MV),[p,f]=(0,a.useState)(null),[g,m]=(0,a.useState)(null),v=(0,a.useRef)(null),b=(0,a.useCallback)(()=>{var e;let t=[],n=(e,t)=>{var n;return null===(n=o.find(t=>t.id===e))||void 0===n?void 0:n[t]},i=null!=r?r:null===(e=l.query)||void 0===e?void 0:e["my-fe"],o=i?rP(i,d,u,c):[];return c.forEach(e=>
1{"fullbody"!==e.id&&t.push({id:e.id,color:n(e.id,"color")||"white",pattern:n(e.id,"pattern")||void 0})}),t},[l,c,d,u,r]);return(0,a.useEffect)(()=>{h(b())},[l,h,b]),(0,a.useEffect)(()=>{nl({iframeElement:v.current,sketchfabID:t,successCallback:e=>{f(e),m(new aY(e))}})},[t,f]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(o$,{sketchfabId:t,currentCusto:b(),sketchfabAPI:p,skfbCamera:g,ref:v}),(0,o.jsxs)(aQ,{children:[n&&(0,o.jsx)(rf,{callback:()=>{h(rZ.IS),l.push(rZ.jv.editor)},label:n}),i&&(0,o.jsx)(rm,{href:rZ.jv.editor,label:i})]})]})};a0.propTypes={sketchfabId:d().string,createLiveryButtonLabel:d().string,startWithButtonLabel:d().string,custoId:d().string},a0.defaultProps={sketchfabId:"",createLiveryButtonLabel:void 0,startWithButtonLabel:void 0,custoId:void 0};let a1=e=>{let{blok:t,isShowcase:n,custoId:i}=e;return(0,o.jsx)(o.Fragment,{children:n?(0,o.jsx)(a0,{sketchfabId:t.sketchfabId,createLiveryButtonLabel:t.create_livery_button_label,startWithButtonLabel:t.start_with_design_button_label,custoId:i}):(0,o.jsx)(aK,{blok:t})})};a1.propTypes={blok:d().shape({sketchfabId:d().string,create_livery_button_label:d().string,start_with_design_button_label:d().string}),isShowcase:d().bool,custoId:d().string},a1.defaultProps={blok:{},isShowcase:!0};let a2=e=>{let{blok:t,className:n}=e,i=(null==t?void 0:t.label)?(0,G.sY)(t.label,{nodeResolvers:{[G.e3]:e=>(0,o.jsx)(o.Fragment,{children:e})}}):"",r=()=>{var e,n;if(null==t?void 0:t.url)return(null===(e=t.url.story)||void 0===e?void 0:e.url)?"/".concat(null===(n=t.url.story)||void 0===n?void 0:n.url):t.url.url},a=()=>{switch(null==t?void 0:t.horizontal_align){case"center":return"justify-center";case"right":return"justify-end";default:return""}};return(0,o.jsx)("div",{className:n?"".concat(a()," ").concat(n):a(),children:(()=>{switch(null==t?void 0:t.variant){case"custo-main":return(0,o.jsx)(rm,{label:i,href:r()});case"custo-secondary":return(0,o.jsx)(rf,{label:i,href:r()});case"plus":var e;return(0,o.jsx)(eH.Z,{label:i,href:r(),inheritAnim:!0,target:null==t?void 0:null===(e=t.url)||void 0===e?void 0:e.target});case"arrow":return(0,o.jsx)(eB.Z,{label:i,href:r()});default:return(0,o.jsx)("a",{href:r(),className:"cta",children:i})}})()})};a2.propTypes={blok:d().shape({label:d().object,url:d().oneOfType([d().shape({url:d().string}),d().shape({story:d().shape({url:d().string})})]),horizontal_align:d().string,variant:d().string}),className:d().string},a2.defaultProps={blok:void 0,className:void 0};let a5=$.ZP.div.withConfig({componentId:"sc-9ca11fe6-0"})(["display:flex;flex-direction:column;gap:",";@media screen and ","{gap:",";}"],(0,J.Z)(30),q.Hb.desktop,(0,J.Z)(40)),a3=$.ZP.div.withConfig({componentId:"sc-9ca11fe6-1"})(["font-weight:bold;font-size:",";letter-spacing:0.001em;*{font-size:1em;}@media screen and ","{font-size:",";}"],(0,J.Z)(25),q.Hb.desktop,(0,J.Z)(45)),a4=e=>{var t;let{blok:n}=e,[i,r]=(0,a.useState)(""),{ref:s}=ne({threshold:.1,triggerOnce:!0,onChange:e=>{e?r("fade-element has-intersected"):r("fade-element")}});return(0,o.jsxs)(a5,{ref:s,className:i,children:[n.title&&(0,G.sY)(n.title)&&(0,o.jsxs)(a3,{children:[(0,o.jsx)("div",{className:"fRed",children:n.number}),(0,G.sY)(n.title)]}),n.description&&(0,G.sY)(n.description)&&(0,o.jsx)("div",{children:(0,G.sY)(n.description)}),(null===(t=n.image)||void 0===t?void 0:t.filename)&&(0,o.jsx)(eF.Z,{src:n.image.filename,sizes:eW.Xn,alt:n.image.alt,lazyload:!0}),n.cta.length>0&&(0,o.jsx)(l.Xj,{blok:n.cta[0]})]})};a4.propTypes={blok:d().shape({})},a4.defaultProps={blok:void 0};let a6=$.ZP.div.withConfig({componentId:"sc-7b373a62-0"})(["display:block;padding-top:",";position:relative;overflow:hidden;transition-duration:1.2s;transition-delay:0.2s;@media screen and ","{display:grid;grid-template-rows:min-content auto;grid-template-areas:'topimg topimg picture' '. labelsvalues picture';grid-template-columns:calc(16% - 10px) calc(41% - 20px) calc(43% - 10px);gap:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(20)),a8=(0,$.ZP)(q.X2).withConfig({componentId:"sc-7b373a62-1"})(["grid-area:topimg;align-items:center;height:min-content;padding-bottom:",";gap:",";@media screen and ","{padding-bottom:0;.text_rule{width:80%;}}"],(0,J.Z)(40),(0,J.Z)(20),q.Hb.desktop),a7=(0,$.ZP)(q.JX).withConfig({componentId:"sc-7b373a62-2"})(["display:flex;position:relative;z-index:2;gap:",";@media screen and ","{gap:",";}"],(0,J.Z)(10),q.Hb.tablet,(0,J.Z)(20)),a9=$.ZP.div.withConfig({componentId:"sc-7b373a62-3"})(["display:flex;visibility:",";height:",";grid-area:picture;align-items:end;justify-content:center;opacity:",";transform:",";transition:opacity 0.6s 0.1s ease-in,transform 0.7s cubic-bezier(0.33,1,0.68,1);@media screen and ","{margin-bottom:0;}"],e=>e.active?"visible":"hidden",e=>e.active?"auto":0,e=>e.active?1:0,e=>e.active?"translateX(0)":"translateX(5%)",q.Hb.desktop),se=$.ZP.div.withConfig({componentId:"sc-7b373a62-4"})(["display:",";height:",";grid-area:labelsvalues;padding-top:",";margin:0;opacity:",";transition:opacity 0.28s 0.56s cubic-bezier(0.32,0,0.67,0);@media screen and ","{padding:",";}"],e=>e.active?"block":"none",e=>e.active?"auto":0,e=>e.active?"".concat((0,J.Z)(34)," 0"):"0",e=>e.active?1:0,q.Hb.tablet,e=>e.active?"".concat((0,J.Z)(14)," 0 ").concat((0,J.Z)(34)," 0"):"0"),st=(0,$.ZP)(eV.Z).withConfig({componentId:"sc-7b373a62-5"})(["margin:"," 0 "," 0;@media screen and ","{margin:0 0 "," 0;}"],(0,J.Z)(40),(0,J.Z)(10),q.Hb.desktop,(0,J.Z)(26)),sn=(0,$.ZP)(nN.Z).withConfig({componentId:"sc-7b373a62-6"})(["margin-bottom:",";@media screen and ","{margin-bottom:",";}"],(0,J.Z)(20),q.Hb.desktop,(0,J.Z)(26)),si=(0,$.ZP)(eV.Z).withConfig({componentId:"sc-7b373a62-7"})(["margin-bottom:",";@media screen and ","{margin-bottom:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(26)),sr=(0,$.ZP)(a2).withConfig({componentId:"sc-7b373a62-8"})(["text-align:end;@media screen and ","{text-align:inherit;}"],q.Hb.desktop),so=(0,$.ZP)(ie).withConfig({componentId:"sc-7b373a62-9"})(["min-width:",";min-height:",";height:auto;width:100%;"],(0,J.Z)(45),(0,J.Z)(45)),sa=e=>{let{blok:t}=e,n=(0,a.useRef)(null),[i,r]=(0,a.useState)(0),[s,l]=(0,a.useState)(0),c=e=>{l(e)},d=e=>{r(e)};(0,a.useEffect)(()=>{n.current&&(0,Q.t_)(n.current)},[n]);let u={desktop:{width:130,height:130},tablet:{width:130,height:130},mobile:{width:130,height:130}};return(0,o.jsxs)(a6,{ref:n,className:"fade-element",children:[(0,o.jsxs)(a8,{children:[(0,o.jsx)(q.JX,{size:{m:6,t:4,d:5}
1,children:(0,o.jsx)(X.Z,{label:null==t?void 0:t.title,color:q.O9.white,inheritAnim:!0,headingLevel:"h1"})}),(0,o.jsx)(a7,{size:{m:6,t:8,d:7},children:null==t?void 0:t.thumbnails.map((e,t)=>{var n,r,a,l;return(0,o.jsx)(q.JX,{size:{m:4,t:4,d:4},children:(0,o.jsx)(so,{onClick:()=>d(t),onMouseEnter:()=>c(t),onMouseLeave:()=>c(void 0),children:(0,o.jsx)(eF.Z,{src:i===t||s===t?null==e?void 0:null===(n=e.thumbnail_active)||void 0===n?void 0:n.filename:null==e?void 0:null===(r=e.thumbnail_unactive)||void 0===r?void 0:r.filename,alt:i===t||s===t?null==e?void 0:null===(a=e.thumbnail_active)||void 0===a?void 0:a.alt:null==e?void 0:null===(l=e.thumbnail_unactive)||void 0===l?void 0:l.alt,sizes:u})})},e._uid)})})]}),null==t?void 0:t.showcase_template.map((e,t)=>{var n,r,a,s;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a9,{active:t===i,children:(0,o.jsx)(eF.Z,{src:null===(n=e.image)||void 0===n?void 0:n.filename,alt:null===(r=e.image)||void 0===r?void 0:r.alt},null===(a=e.image)||void 0===a?void 0:a._uid)}),(0,o.jsxs)(se,{active:t===i,colGap:20,children:[(0,o.jsx)(st,{type:"mediumText",weight:"light",color:q.O9.white,label:e.category}),(0,o.jsx)(sn,{type:"h2",color:q.O9.white,label:e.title}),(0,o.jsx)(si,{weight:"light",color:q.O9.white,label:e.description}),(0,o.jsx)(sr,{blok:null==e?void 0:null===(s=e.CTA)||void 0===s?void 0:s[0]})]})]})})]})};sa.propTypes={blok:d().shape({title:d().string,thumbnails:d().arrayOf(d().shape({_uid:d().string,item_name:d().string,thumbnail_active:d().shape({filename:d().string,alt:d().string}),thumbnail_unactive:d().shape({filename:d().string,alt:d().string})})),showcase_template:d().arrayOf(d().shape({CTA:d().arrayOf(d().shape({horizontal_align:d().string,label:d().object,url:d().object})),category:d().string,title:d().string}))})},sa.defaultProps={blok:{}};let ss=$.ZP.div.withConfig({componentId:"sc-344c40c8-0"})(["background-color:",";padding-top:",";padding-bottom:",";@media screen and ","{padding-top:",";padding-bottom:",";}"],e=>{let{bgColor:t}=e;return t?q.O9[t]:q.O9.black},(0,J.Z)(80),(0,J.Z)(120),q.Hb.desktop,(0,J.Z)(120),(0,J.Z)(100)),sl=(0,$.ZP)(rH).withConfig({componentId:"sc-344c40c8-1"})(["margin-bottom:",";@media screen and ","{margin-bottom:",";}"],(0,J.Z)(40),q.Hb.desktop,(0,J.Z)(68)),sc=e=>{var t,n;let{blok:i}=e,r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var e;(null==i?void 0:null===(e=i.components)||void 0===e?void 0:e.length)&&(null==r?void 0:r.current)&&(0,Q.t_)(r.current)},[r,null==i?void 0:i.components]),(0,o.jsx)(ss,{ref:r,className:"fade-element",bgColor:null==i?void 0:i.background_color,children:(0,o.jsxs)(q.W2,{children:[(0,o.jsx)(q.X2,{children:!!(null==i?void 0:i.title)&&(0,o.jsx)(q.JX,{size:{m:6,t:6,d:2},children:(0,o.jsx)(X.Z,{label:null==i?void 0:i.title,color:q.O9.white,inheritAnim:!0})})}),(0,o.jsx)(sl,{children:!!(null==i?void 0:null===(t=i.components)||void 0===t?void 0:t.length)&&i.components.map((e,t)=>{var n,i,r,a;return(.2+t/10).toFixed(1),(0,o.jsx)(rD,{size:{m:12,t:6,d:4},topPadding:{m:40,t:40,d:60},children:(0,o.jsx)(rv,{className:"news_card",type:"",imgPath:null==e?void 0:null===(n=e.image)||void 0===n?void 0:n.filename,altImg:null==e?void 0:null===(i=e.image)||void 0===i?void 0:i.alt,category:null==e?void 0:e.category,title:null==e?void 0:e.title,linkUrl:null==e?void 0:null===(r=e.card_cta_url)||void 0===r?void 0:r.url,genericCtaLabel:null==e?void 0:e.card_cta_label,target:null==e?void 0:null===(a=e.card_cta_url)||void 0===a?void 0:a.target})},null==e?void 0:e.uuid)})}),!!(null==i?void 0:i.cta)&&(0,o.jsx)(a2,{blok:null==i?void 0:null===(n=i.cta)||void 0===n?void 0:n[0]})]})})};sc.propTypes={blok:d().shape({title:d().string,components:d().arrayOf(d().shape({image:d().shape({filename:d().string}),category:d().string,title:d().string,card_cta_url:d().shape({url:d().string}),card_cta_label:d().string})),cta:d().shape({label:d().object,url:d().oneOfType([d().shape({url:d().string}),d().shape({story:d().shape({url:d().string})})]),horizontal_align:d().string,variant:d().string})})},sc.defaultProps={blok:{}};var sd=n(3454);let su={text_content:ee,team_slider:eG,car_slider:nh,hero_banner:nj,partners_slider:n6,partner_content:n3,team_driver_template:iZ,the_team:iR,image_component:iT,image:i9,icon_text:oZ,icon_text_list:oP,slider_cars:iH,terms_conditions_content:iW,motorsport:i0,link_arrow:eB.Z,webgl_iframe:nd,link_plus:i4,paragraph:iC,page_title:i6,page_video:n5,page_image:i9,card_slider:rS,news_headline:rc,title_center:rO,filtered_list:rU,main_asset:rV,history_date:r5,gallery_headline:r4,media_gallery:ov,races_list:oy,
1cookies_policy:ok,image_text_v2:nY.Z,custo_module:a1,cta:a2,custo_step:a4,showcase_template:sa,cards_showcase:sc};function sh(e){let{Component:t,pageProps:n}=e,i=(0,s.useRouter)(),[r,l]=(0,a.useState)(rZ.IS),c=(0,a.useMemo)(()=>({custoMaterialRenderTypes:oS,custoColors:oE,custoModelPartsSettings:oA.Z,custoPatterns:oO,baseCusto:r,setBaseCusto:l}),[r]);return(0,a.useEffect)(()=>{var e,t;(null==n?void 0:null===(t=n.story)||void 0===t?void 0:null===(e=t.content)||void 0===e?void 0:e.component)&&!["custo_page","custo_community"].includes(n.story.content.component)&&l(rZ.IS)},[n,l]),(0,a.useEffect)(()=>{let e=()=>{var e,t;null===(t=document)||void 0===t||null===(e=t.body)||void 0===e||e.focus()};return i.events.on("routeChangeStart",e),()=>{i.events.off("routeChangeStart",e)}},[i]),(0,o.jsx)(W.bu.Provider,{value:n.multiLangLabels,children:(0,o.jsxs)(W.MV.Provider,{value:c,children:[(0,o.jsx)(u.lX,{...(0,eW.Yx)(n.story,null==i?void 0:i.locale)}),(0,o.jsx)(V,{root:!0,options:{duration:1},children:(0,o.jsx)(t,{...n})})]})})}(0,l.$d)({accessToken:(0,nP.Z)("storyblok.token"),use:[l.M$],apiOptions:{cache:{clear:"auto",type:(null==sd?void 0:null===(r=sd.env)||void 0===r?void 0:r.NEXT_PUBLIC_ENVIRONMENT)!=="production"?"none":"memory"}},components:su}),sh.propTypes={Component:d().elementType,pageProps:d().shape({multiLangLabels:d().arrayOf(d().shape({name:d().string,value:d().string,dimension_value:d().string})),story:d().shape({}).isRequired})},sh.defaultProps={Component:{},pageProps:{}};var sp=sh},1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],i=t[1];return(n+i)*3/4-i},t.toByteArray=function(e){var t,n,o=l(e),a=o[0],s=o[1],c=new r((a+s)*3/4-s),d=0,u=s>0?a-4:a;for(n=0;n<u;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[d++]=t>>16&255,c[d++]=t>>8&255,c[d++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[d++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[d++]=t>>8&255,c[d++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,r=i%3,o=[],a=0,s=i-r;a<s;a+=16383)o.push(function(e,t,i){for(var r,o=[],a=t;a<i;a+=3)o.push(n[(r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+n[r>>12&63]+n[r>>6&63]+n[63&r]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===r?o.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===r&&o.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],i=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],i[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";var i=n(675),r=n(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),i=a(n),r=i.write(e,t);return r!==n&&(i=i.slice(0,r)),i}(e,t);if(ArrayBuffer.isView(e))return u(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(E(e,ArrayBuffer)||e&&E(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(E(e,SharedArrayBuffer)||e&&E(e.buffer,SharedArrayBuffer)))return function(e,t,n){var i;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),i}
1(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return s.from(i,t,n);var r=function(e){if(s.isBuffer(e)){var t,n=0|h(e.length),i=a(n);return 0===i.length||e.copy(i,0,0,n),i}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?a(0):u(e):"Buffer"===e.type&&Array.isArray(e.data)?u(e.data):void 0}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(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 d(e){return c(e),a(e<0?0:0|h(e))}function u(e){for(var t=e.length<0?0:0|h(e.length),n=a(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||E(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 n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return P(e).length;default:if(r)return i?-1:Z(e).length;t=(""+t).toLowerCase(),r=!0}}function f(e,t,n){var r,o,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o<n;++o)r+=O[e[o]];return r}(this,t,n);case"utf8":case"utf-8":return b(this,t,n);case"ascii":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(127&e[r]);return i}(this,t,n);case"latin1":case"binary":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var r=t;r<n;++r)i+=String.fromCharCode(e[r]);return i}(this,t,n);case"base64":return r=t,o=n,0===r&&o===this.length?i.fromByteArray(this):i.fromByteArray(this.slice(r,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var i=e.slice(t,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}(this,t,n);default:if(a)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function g(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function m(e,t,n,i,r){var o;if(0===e.length)return -1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(o=n=+n)!=o&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return -1;n=e.length-1}else if(n<0){if(!r)return -1;n=0}if("string"==typeof t&&(t=s.from(t,i)),s.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,r);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,i,r);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,i,r){var o,a=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(r){var d=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===d?0:o-d)){if(-1===d&&(d=o),o-d+1===l)return d*a}else -1!==d&&(o-=o-d),d=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var u=!0,h=0;h<l;h++)if(c(e,o+h)!==c(t,h)){u=!1;break}if(u)return o}return -1}function b(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,a,s,l,c=e[r],d=null,u=c>239?4:c>223?3:c>191?2:1;if(r+u<=n)switch(u){case 1:c<128&&(d=c);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&c)<<6|63&o)>127&&(d=l);break;case 3:o=e[r+1],a=e[r+2],(192&o)==128&&(192&a)==128&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:o=e[r+1],a=e[r+2],s=e[r+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(d=l)}null===d?(d=65533,u=1):d>65535&&(d-=65536,i.push(d>>>10&1023|55296),d=56320|1023&d),i.push(d),r+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}function y(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function w(e,t,n,i,r,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<o)throw RangeError('"value" argument is out of bounds');if(n+i>e.length)throw RangeError("Index out of range")}function x(e,t,n,i,r,o){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function k(e,t,n,i,o){return t=+t,n>>>=0,o||x(e,t,n,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,n,i,23,4),n+4}function _(e,t,n,i,o){return t=+t,n>>>=0,o||x(e,t,n,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,n,i,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)}
vendor: 11,746 bytes, line 1
1,t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.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}}(),s.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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return d(e)},s.allocUnsafeSlow=function(e){return d(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},s.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}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,i=s.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var o=e[n];if(E(o,Uint8Array)&&(o=s.from(o)),!s.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},s.byteLength=p,s.prototype._isBuffer=!0,s.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)g(this,t,t+1);return this},s.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)g(this,t,t+3),g(this,t+1,t+2);return this},s.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)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):f.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,n,i,r){if(E(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.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===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var o=r-i,a=n-t,l=Math.min(o,a),c=this.slice(i,r),d=e.slice(t,n),u=0;u<l;++u)if(c[u]!==d[u]){o=c[u],a=d[u];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},s.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r,o,a,s,l,c,d,u,h,p,f,g,m=this.length-t;if((void 0===n||n>m)&&(n=m),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var v=!1;;)switch(i){case"hex":return function(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(t.substr(2*a,2),16);if(s!=s)break;e[n+a]=s}return a}(this,e,t,n);case"utf8":case"utf-8":return l=t,c=n,S(Z(e,this.length-l),this,l,c);case"ascii":return d=t,u=n,S(j(e),this,d,u);case"latin1":case"binary":return r=this,o=e,a=t,s=n,S(j(o),r,a,s);case"base64":return h=t,p=n,S(P(e),this,h,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,g=n,S(function(e,t){for(var n,i,r=[],o=0;o<e.length&&!((t-=2)<0);++o)i=(n=e.charCodeAt(o))>>8,r.push(n%256),r.push(i);return r}(e,this.length-f),this,f,g);default:if(v)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,s.prototype),i},s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||y(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||y(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},s.prototype.readUInt8=function(e,t){return e>>>=0,t||y(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||y(e,2,this.length),this[e]<<8|this[e+1]},s.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]},s.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])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||y(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||y(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||y(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||y(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||y(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.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},s.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]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||y(e,4,this.length),r.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||y(e,4,this.length),r.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||y(e,8,this.length),r.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||y(e,8,this.length),r.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){var r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}var o=1,a=0;for(this[t]=255&e;++a<n&&(o*=256);)this[t+a]=e/o&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){var r=Math.pow(2,8*n)-1;w(this,e,t,n,r,0)}var o=n-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(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},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(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},s.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);w(this,e,t,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(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},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(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},s.prototype.writeFloatLE=function(e,t,n){return k(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return k(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,i){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=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-n&&(i=e.length-t+n);var r=i-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,i);else if(this===e&&n<t&&t<i)for(var o=r-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,i),t);return r},s.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){var r,o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(r=t;r<n;++r)this[r]=e;
1else{var a=s.isBuffer(e)?e:s.from(e,i),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(r=0;r<n-t;++r)this[r+t]=a[r%l]}return this};var C=/[^+/0-9A-Za-z-_]/g;function Z(e,t){t=t||1/0;for(var n,i=e.length,r=null,o=[],a=0;a<i;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319||a+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function j(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function P(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function S(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length)&&!(r>=e.length);++r)t[r+n]=e[r];return r}function E(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var i=16*n,r=0;r<16;++r)t[i+r]=e[n]+e[r];return t}()},783:function(e,t){t.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,c=l>>1,d=-7,u=n?r-1:0,h=n?-1:1,p=e[t+u];for(u+=h,o=p&(1<<-d)-1,p>>=-d,d+=s;d>0;o=256*o+e[t+u],u+=h,d-=8);for(a=o&(1<<-d)-1,o>>=-d,d+=i;d>0;a=256*a+e[t+u],u+=h,d-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,i),o-=c}return(p?-1:1)*a*Math.pow(2,o-i)},t.write=function(e,t,n,i,r,o){var a,s,l,c=8*o-r-1,d=(1<<c)-1,u=d>>1,h=23===r?5960464477539062e-23:0,p=i?0:o-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=d):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+u>=1?t+=h/l:t+=h*Math.pow(2,1-u),t*l>=2&&(a++,l/=2),a+u>=d?(s=0,a=d):a+u>=1?(s=(t*l-1)*Math.pow(2,r),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&s,p+=f,s/=256,r-=8);for(a=a<<r|s,c+=r;c>0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*g}}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var r=i(72);e.exports=r}()},8851:function(){},7663:function(e){!function(){var t={229:function(e){var t,n,i,r=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],c=!1,d=-1;function u(){c&&i&&(c=!1,i.length?l=i.concat(l):d=-1,l.length&&h())}function h(){if(!c){var e=s(u);c=!0;for(var t=l.length;t;){for(i=l,l=[];++d<t;)i&&i[d].run();d=-1,t=l.length}i=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function i(e){var r=n[e];
1if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var r=i(229);e.exports=r}()},5152:function(e,t,n){e.exports=n(2602)},9008:function(e,t,n){e.exports=n(3867)},5675:function(e,t,n){e.exports=n(6210)},1664:function(e,t,n){e.exports=n(8342)},1163:function(e,t,n){e.exports=n(3079)},2703:function(e,t,n){"use strict";var i=n(414);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9593:function(e,t){"use strict";var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");t.iY=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===a||e===o||e===d||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===h||e.$$typeof===l||e.$$typeof===s||e.$$typeof===c||e.$$typeof===g||void 0!==e.getModuleId)},t.kM=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case r:case a:case o:case d:case u:case f:return e;default:switch(e=e&&e.$$typeof){case l:case c:case p:case h:case s:return e;default:return t}}case i:return t}}}},1358:function(e,t,n){var i;i=e=>(()=>{var t={703:(e,t,n)=>{"use strict";var i=n(414);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{"use strict";t.exports=e}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";i.r(r),i.d(r,{default:()=>b});var e=i(98),t=i.n(e),n=i(697),o=i.n(n);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var s=function(e){var n=e.pageClassName,i=e.pageLinkClassName,r=e.page,o=e.selected,s=e.activeClassName,l=e.activeLinkClassName,c=e.getEventListener,d=e.pageSelectedHandler,u=e.href,h=e.extraAriaContext,p=e.pageLabelBuilder,f=e.rel,g=e.ariaLabel||"Page "+r+(h?" "+h:""),m=null;return o&&(m="page",g=e.ariaLabel||"Page "+r+" is your current page",n=void 0!==n?n+" "+s:s,void 0!==i?void 0!==l&&(i=i+" "+l):i=l),t().createElement("li",{className:n},t().createElement("a",a({rel:f,role:u?void 0:"button",className:i,href:u,tabIndex:o?"-1":"0","aria-label":g,"aria-current":m,onKeyPress:d},c(d)),p(r)))};function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}s.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};var c=function(e){var n=e.breakLabel,i=e.breakAriaLabel,r=e.breakClassName,o=e.breakLinkClassName,a=e.breakHandler,s=e.getEventListener;return t().createElement("li",{className:r||"break"},t().createElement("a",l({className:o,role:"button",tabIndex:"0","aria-label":i,onKeyPress:a},s(a)),n))};function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=e?e:t}function u(e){return(u="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)}
1function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}c.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};var v=function(e){!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&&p(e,t)}(o,e);var n,i,r=(i=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=g(o);return e=i?Reflect.construct(t,arguments,g(this).constructor):t.apply(this,arguments),function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function o(e){var n,i;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o),m(f(n=r.call(this,e)),"handlePreviousPage",function(e){var t=n.state.selected;n.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})}),m(f(n),"handleNextPage",function(e){var t=n.state.selected,i=n.props.pageCount;n.handleClick(e,null,t<i-1?t+1:void 0,{isNext:!0})}),m(f(n),"handlePageSelected",function(e,t){if(n.state.selected===e)return n.callActiveCallback(e),void n.handleClick(t,null,void 0,{isActive:!0});n.handleClick(t,null,e)}),m(f(n),"handlePageChange",function(e){n.state.selected!==e&&(n.setState({selected:e}),n.callCallback(e))}),m(f(n),"getEventListener",function(e){return m({},n.props.eventListener,e)}),m(f(n),"handleClick",function(e,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.isPrevious,a=r.isNext,s=r.isBreak,l=r.isActive;e.preventDefault?e.preventDefault():e.returnValue=!1;var c=n.state.selected,d=n.props.onClick,u=i;if(d){var h=d({index:t,selected:c,nextSelectedPage:i,event:e,isPrevious:void 0!==o&&o,isNext:void 0!==a&&a,isBreak:void 0!==s&&s,isActive:void 0!==l&&l});if(!1===h)return;Number.isInteger(h)&&(u=h)}void 0!==u&&n.handlePageChange(u)}),m(f(n),"handleBreakClick",function(e,t){var i=n.state.selected;n.handleClick(t,e,i<e?n.getForwardJump():n.getBackwardJump(),{isBreak:!0})}),m(f(n),"callCallback",function(e){void 0!==n.props.onPageChange&&"function"==typeof n.props.onPageChange&&n.props.onPageChange({selected:e})}),m(f(n),"callActiveCallback",function(e){void 0!==n.props.onPageActive&&"function"==typeof n.props.onPageActive&&n.props.onPageActive({selected:e})}),m(f(n),"getElementPageRel",function(e){var t=n.state.selected,i=n.props,r=i.nextPageRel,o=i.prevPageRel,a=i.selectedPageRel;return t-1===e?o:t===e?a:t+1===e?r:void 0}),m(f(n),"pagination",function(){var e=[],i=n.props,r=i.pageRangeDisplayed,o=i.pageCount,a=i.marginPagesDisplayed,s=i.breakLabel,l=i.breakClassName,d=i.breakLinkClassName,u=i.breakAriaLabels,h=n.state.selected;if(o<=r)for(var p=0;p<o;p++)e.push(n.getPageElement(p));else{var f=r/2,g=r-f;h>o-r/2?f=r-(g=o-h):h<r/2&&(g=r-(f=h));var m,v,b=function(e){return n.getPageElement(e)},y=[];for(m=0;m<o;m++){var w=m+1;if(w<=a)y.push({type:"page",index:m,display:b(m)});else if(w>o-a)y.push({type:"page",index:m,display:b(m)});else if(m>=h-f&&m<=h+(0===h&&r>1?g-1:g))y.push({type:"page",index:m,display:b(m)});else if(s&&y.length>0&&y[y.length-1].display!==v&&(r>0||a>0)){var x=m<h?u.backward:u.forward;v=t().createElement(c,{key:m,breakAriaLabel:x,breakLabel:s,breakClassName:l,breakLinkClassName:d,breakHandler:n.handleBreakClick.bind(null,m),getEventListener:n.getEventListener}),y.push({type:"break",index:m,display:v})}}y.forEach(function(t,n){var i=t;"break"===t.type&&y[n-1]&&"page"===y[n-1].type&&y[n+1]&&"page"===y[n+1].type&&y[n+1].index-y[n-1].index<=2&&(i={type:"page",index:t.index,display:b(t.index)}),e.push(i.display)})}return e}),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),i=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,n.state={selected:i},n}return n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,n=e.disableInitialCallback,i=e.extraAriaContext,r=e.pageCount,o=e.forcePage;void 0===t||n||this.callCallback(t),i&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(r)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(r,"). Did you forget a Math.ceil()?")),void 0!==t&&t>r-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(r-1,").")),void 0!==o&&o>r-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(r-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage}
1)),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,n=t.pageCount,i=e+t.pageRangeDisplayed;return i>=n?n-1:i}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,n=t.hrefBuilder,i=t.pageCount,r=t.hrefAllControls;if(n)return r||e>=0&&e<i?n(e+1,i,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var n=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(n=n+" "+this.props.extraAriaContext),n}}},{key:"getPageElement",value:function(e){var n=this.state.selected,i=this.props,r=i.pageClassName,o=i.pageLinkClassName,a=i.activeClassName,l=i.activeLinkClassName,c=i.extraAriaContext,d=i.pageLabelBuilder;return t().createElement(s,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:n===e,rel:this.getElementPageRel(e),pageClassName:r,pageLinkClassName:o,activeClassName:a,activeLinkClassName:l,extraAriaContext:c,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:d,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var n=this.props,i=n.disabledClassName,r=n.disabledLinkClassName,o=n.pageCount,a=n.className,s=n.containerClassName,l=n.previousLabel,c=n.previousClassName,u=n.previousLinkClassName,p=n.previousAriaLabel,f=n.prevRel,g=n.nextLabel,m=n.nextClassName,v=n.nextLinkClassName,b=n.nextAriaLabel,y=n.nextRel,w=this.state.selected,x=0===w,k=w===o-1,_="".concat(d(c)).concat(x?" ".concat(d(i)):""),C="".concat(d(m)).concat(k?" ".concat(d(i)):""),Z="".concat(d(u)).concat(x?" ".concat(d(r)):""),j="".concat(d(v)).concat(k?" ".concat(d(r)):"");return t().createElement("ul",{className:a||s,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:_},t().createElement("a",h({className:Z,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":x?"true":"false","aria-label":p,rel:f},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),t().createElement("li",{className:C},t().createElement("a",h({className:j,href:this.getElementHref(w+1),tabIndex:k?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k?"true":"false","aria-label":b,rel:y},this.getEventListener(this.handleNextPage)),g)))}}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(o.prototype,n),Object.defineProperty(o,"prototype",{writable:!1}),o}(e.Component);m(v,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(v,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});let b=v})(),r})(),e.exports=i(n(7294))},6774:function(e){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;
1if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var d=e[c],u=t[c];if(!1===(r=n?n.call(i,d,u,c):void 0)||void 0===r&&d!==u)return!1}return!0}},2392:function(e){var t;t=function(){"use strict";var e=document,t=e.createTextNode.bind(e);function n(e,t,n){e.style.setProperty(t,n)}function i(e,t){return e.appendChild(t)}function r(t,n,r,o){var a=e.createElement("span");return n&&(a.className=n),r&&(o||a.setAttribute("data-"+n,r),a.textContent=r),t&&i(t,a)||a}function o(e,t){return e.getAttribute("data-"+t)}function a(t,n){return t&&0!=t.length?t.nodeName?[t]:[].slice.call(t[0].nodeName?t:(n||e).querySelectorAll(t)):[]}function s(e){for(var t=[];e--;)t[e]=[];return t}function l(e,t){e&&e.some(t)}function c(e){return function(t){return e[t]}}var d={};function u(e,t,n,i){return{by:e,depends:t,key:n,split:i}}function h(e){d[e.by]=e}function p(e,n,o,s,c){e.normalize();var d=[],u=document.createDocumentFragment();s&&d.push(e.previousSibling);var h=[];return a(e.childNodes).some(function(e){if(e.tagName&&!e.hasChildNodes()){h.push(e);return}if(e.childNodes&&e.childNodes.length){h.push(e),d.push.apply(d,p(e,n,o,s,c));return}var i=e.wholeText||"",a=i.trim();a.length&&(" "===i[0]&&h.push(t(" ")),l(""===o&&"function"==typeof Intl.Segmenter?Array.from(new Intl.Segmenter().segment(a)).map(function(e){return e.segment}):a.split(o),function(e,t){t&&c&&h.push(r(u,"whitespace"," ",c));var i=r(u,n,e);d.push(i),h.push(i)})," "===i[i.length-1]&&h.push(t(" ")))}),l(h,function(e){i(u,e)}),e.innerHTML="",i(e,u),d}var f="words",g=u(f,0,"word",function(e){return p(e,"word",/\s+/,0,1)}),m="chars",v=u(m,[f],"char",function(e,t,n){var i=[];return l(n[f],function(e,n){i.push.apply(i,p(e,"char","",t.whitespace&&n))}),i});function b(e){var t=(e=e||{}).key;return a(e.target||"[data-splitting]").map(function(i){var r=i["\uD83C\uDF4C"];if(!e.force&&r)return r;r=i["\uD83C\uDF4C"]={el:i};var a=e.by||o(i,"splitting");a&&"true"!=a||(a=m);var s=(function e(t,n,i){var r=i.indexOf(t);if(-1==r){i.unshift(t);var o=d[t];if(!o)throw Error("plugin not loaded: "+t);l(o.depends,function(n){e(n,t,i)})}else{var a=i.indexOf(n);i.splice(r,1),i.splice(a,0,t)}return i})(a,0,[]).map(c(d)),u=function(e,t){for(var n in t)e[n]=t[n];return e}({},e);return l(s,function(e){if(e.split){var o,a,s=e.by,c=(t?"-"+t:"")+e.key,d=e.split(i,u,r);c&&(a=(o="--"+c)+"-index",l(d,function(e,t){Array.isArray(e)?l(e,function(e){n(e,a,t)}):n(e,a,t)}),n(i,o+"-total",d.length)),r[s]=d,i.classList.add(s)}}),i.classList.add("splitting"),r})}function y(e,t,n){var i=a(t.matching||e.children,e),r={};return l(i,function(e){var t=Math.round(e[n]);(r[t]||(r[t]=[])).push(e)}),Object.keys(r).map(Number).sort(w).map(c(r))}function w(e,t){return e-t}b.html=function(e){var t=(e=e||{}).target=r();return t.innerHTML=e.content,b(e),t.outerHTML},b.add=h;var x=u("lines",[f],"line",function(e,t,n){return y(e,{matching:n[f]},"offsetTop")}),k=u("items",0,"item",function(e,t){return a(t.matching||e.children,e)}),_=u("rows",0,"row",function(e,t){return y(e,t,"offsetTop")}),C=u("cols",0,"col",function(e,t){return y(e,t,"offsetLeft")}),Z=u("grid",["rows","cols"]),j="layout",P=u(j,0,0,function(e,t){var s=t.rows=+(t.rows||o(e,"rows")||1),l=t.columns=+(t.columns||o(e,"columns")||1);if(t.image=t.image||o(e,"image")||e.currentSrc||e.src,t.image){var c=a("img",e)[0];t.image=c&&(c.currentSrc||c.src)}t.image&&n(e,"background-image","url("+t.image+")");for(var d=s*l,u=[],h=r(0,"cell-grid");d--;){var p=r(h,"cell");r(p,"cell-inner"),u.push(p)}return i(e,h),u}),S=u("cellRows",[j],"row",function(e,t,n){var i=t.rows,r=s(i);return l(n[j],function(e,t,n){r[Math.floor(t/(n.length/i))].push(e)}),r}),E=u("cellColumns",[j],"col",function(e,t,n){var i=t.columns,r=s(i);return l(n[j],function(e,t){r[t%i].push(e)}),r}),O=u("cells",["cellRows","cellColumns"],"cell",function(e,t,n){return n[j]});return h(g),h(v),h(x),h(k),h(_),h(C),h(Z),h(P),h(S),h(E),h(O),b},e.exports=t()},455:function(e,t,n){"use strict";n.d(t,{e3:function(){return s},et:function(){return l},sY:function(){return c}});var i=n(7294);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?r(Object(n),!0).forEach(function(t){!function(e,t,n){var i;(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let a=["component"],s="paragraph",l="link";function c(e,t={}){if("object"==typeof e&&"doc"===e.type&&Array.isArray(e.content)){let n=t.blokResolvers,r=void 0===n?{}:n,s=t.defaultBlokResolver,l=void 0===s?function(){return null}:s,c=t.nodeResolvers,d=t.markResolvers,u=t.textResolver,h=void 0===u?function(e){return e}:u,g=o(o({},p),void 0===c?{}:c),m=o(o({},f),void 0===d?{}:d),v=0,b=function(e){return i.isValidElement(e)?i.cloneElement(e,{key:v++}):e},y=function(e){let t=e?e.map(w).filter(function(e){return null!=e}):null;return Array.isArray(t)&&0===t.length?null:t},w=function(e){if("blok"===e.type)return e.attrs.body.map(function(e){let t=e.component,n=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,a),i=r[t];return b(i?i(n):l(t,n))});{var t;let n;if("text"===e.type)n=h(e.text);else{let t=g[e.type];n=t?b(t(y(e.content),e.attrs)):null}return(null!==(t=e.marks)&&void 0!==t?t:[]).reduceRight(function(e,t){let n=m[t.type];return n?b(n(e,t.attrs)):e},n)}};return y(e.content)}if("string"==typeof e){let n=t.defaultStringResolver,i=t.textResolver;return(void 0===n?function(e){return e}:n)((void 0===i?function(e){return e}:i)(e))}return null}let d=function(e){return function(t){return null!=t?i.createElement(e,null,t):null}},u=function(e){return function(){return i.createElement(e)}},h=function(e){return function(t){return i.createElement(e,null,t)}},p={heading:function(e,t){return i.createElement(`h${t.level}`,null,e)},code_block:function(e,t){let n={className:t.class},r=i.createElement("code",n,e);return i.createElement("pre",null,r)},image:function(e,t){return i.createElement("img",t,e)},[s]:d("p"),blockquote:d("blockquote"),ordered_list:d("ol"),bullet_list:d("ul"),list_item:d("li"),horizontal_rule:u("hr"),hard_break:u("br"),emoji:function(e,t){if(!t)return null;let n={"data-type":"emoji","data-name":t.name,emoji:t.emoji};if(t.emoji||!t.fallbackImage)return i.createElement("span",n,t.emoji);{let e={src:t.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:t.name},r=i.createElement("img",e);return i.createElement("span",n,r)}}},f={[l]:function(e,t){let n=t?{href:"email"===t.linktype?`mailto:${t.href}`:t.href,target:t.target}:{};return i.createElement("a",n,e)},styled:function(e,t){let n=t?{className:t.class}:{};return i.createElement("span",n,e)},bold:h("b"),italic:h("i"),strike:h("s"),underline:h("u"),code:h("code"),subscript:h("sub"),superscript:h("sup"),highlight:function(e,t){let n=t?{style:{backgroundColor:t.color}}:{};return i.createElement("span",n,e)},textStyle:function(e,t){let n=t?.color?{style:{color:t.color}}:{};return i.createElement("span",n,e)},anchor:function(e,t){let n=t?{id:t.id}:{};return i.createElement("span",n,e)}}},9521:function(e,t,n){"use strict";n.d(t,{iv:function(){return ew},ZP:function(){return eA},F4:function(){return eO}});var i,r,o,a,s=n(9593),l=n(7294),c=n(6774),d=n.n(c),u=function(e){function t(e,t,i){var r=t.trim().split(f);t=r;var o=r.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=n(e,t[s],i).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=n(e[c]+" ",r[s],i).trim()}return t}function n(e,t,n){var i=t.charCodeAt(0);switch(33>
vendor: 4,185 bytes, line 1
1i&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,o){var a=e+";",s=2*t+3*n+4*o;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===E||2===E&&r(l,1)?"-webkit-"+l+l:l}if(0===E||2===E&&!r(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(Z,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(u,":-webkit-")+a.replace(u,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(y,"tb");break;case 232:l=a.replace(y,"tb-rl");break;case 220:l=a.replace(y,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(k,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(k,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,o).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function r(e,t){var n=e.indexOf(1===t?":":"{"),i=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),T(2!==t?i:i.replace(_,"$1"),n,t)}function o(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,n,i,r,o,a,s,c,d){for(var u,h=0,p=t;h<I;++h)switch(u=A[h].call(l,e,p,n,i,r,o,a,s,c,d)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(T=null,e?"function"!=typeof e?E=1:(E=2,T=e):E=0),s}function l(e,n){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<I){var l=a(-1,n,s,s,P,j,0,0,0,0);void 0!==l&&"string"==typeof l&&(n=l)}var u=function e(n,s,l,u,h){for(var p,f,g,y,x,k=0,_=0,C=0,Z=0,A=0,T=0,L=g=p=0,z=0,B=0,M=0,N=0,F=l.length,H=F-1,D="",U="",V="",W="";z<F;){if(f=l.charCodeAt(z),z===H&&0!==_+Z+C+k&&(0!==_&&(f=47===_?10:47),Z=C=k=0,F++,H++),0===_+Z+C+k){if(z===H&&(0<B&&(D=D.replace(d,"")),0<D.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:D+=l.charAt(z)}f=59}
vendor: 5,302 bytes, line 1
1switch(f){case 123:for(p=(D=D.trim()).charCodeAt(0),g=1,N=++z;z<F;){switch(f=l.charCodeAt(z)){case 123:g++;break;case 125:g--;break;case 47:switch(f=l.charCodeAt(z+1)){case 42:case 47:t:{for(L=z+1;L<H;++L)switch(l.charCodeAt(L)){case 47:if(42===f&&42===l.charCodeAt(L-1)&&z+2!==L){z=L+1;break t}break;case 10:if(47===f){z=L+1;break t}}z=L}}break;case 91:f++;case 40:f++;case 34:case 39:for(;z++<H&&l.charCodeAt(z)!==f;);}if(0===g)break;z++}if(g=l.substring(N,z),0===p&&(p=(D=D.replace(c,"").trim()).charCodeAt(0)),64===p){switch(0<B&&(D=D.replace(d,"")),f=D.charCodeAt(1)){case 100:case 109:case 115:case 45:B=s;break;default:B=O}if(N=(g=e(s,B,g,f,h+1)).length,0<I&&(x=a(3,g,B=t(O,D,M),s,P,j,N,f,h,u),D=B.join(""),void 0!==x&&0===(N=(g=x.trim()).length)&&(f=0,g="")),0<N)switch(f){case 115:D=D.replace(w,o);case 100:case 109:case 45:g=D+"{"+g+"}";break;case 107:g=(D=D.replace(m,"$1 $2"))+"{"+g+"}",g=1===E||2===E&&r("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=D+g,112===u&&(U+=g,g="")}else g=""}else g=e(s,t(s,D,M),g,u,h+1);V+=g,g=M=B=L=p=0,D="",f=l.charCodeAt(++z);break;case 125:case 59:if(1<(N=(D=(0<B?D.replace(d,""):D).trim()).length))switch(0===L&&(45===(p=D.charCodeAt(0))||96<p&&123>p)&&(N=(D=D.replace(" ",":")).length),0<I&&void 0!==(x=a(1,D,s,n,P,j,U.length,u,h,u))&&0===(N=(D=x.trim()).length)&&(D="\0\0"),p=D.charCodeAt(0),f=D.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){W+=D+l.charAt(z);break}default:58!==D.charCodeAt(N-1)&&(U+=i(D,p,f,D.charCodeAt(2)))}M=B=L=p=0,D="",f=l.charCodeAt(++z)}}switch(f){case 13:case 10:47===_?_=0:0===1+p&&107!==u&&0<D.length&&(B=1,D+="\0"),0<I*R&&a(0,D,s,n,P,j,U.length,u,h,u),j=1,P++;break;case 59:case 125:if(0===_+Z+C+k){j++;break}default:switch(j++,y=l.charAt(z),f){case 9:case 32:if(0===Z+k+_)switch(A){case 44:case 58:case 9:case 32:y="";break;default:32!==f&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===Z+_+k&&(B=M=1,y="\f"+y);break;case 108:if(0===Z+_+k+S&&0<L)switch(z-L){case 2:112===A&&58===l.charCodeAt(z-3)&&(S=A);case 8:111===T&&(S=T)}break;case 58:0===Z+_+k&&(L=z);break;case 44:0===_+C+Z+k&&(B=1,y+="\r");break;case 34:case 39:0===_&&(Z=Z===f?0:0===Z?f:Z);break;case 91:0===Z+_+C&&k++;break;case 93:0===Z+_+C&&k--;break;case 41:0===Z+_+k&&C--;break;case 40:0===Z+_+k&&(0===p&&(2*A+3*T==533||(p=1)),C++);break;case 64:0===_+C+Z+k+L+g&&(g=1);break;case 42:case 47:if(!(0<Z+k+C))switch(_){case 0:switch(2*f+3*l.charCodeAt(z+1)){case 235:_=47;break;case 220:N=z,_=42}break;case 42:47===f&&42===A&&N+2!==z&&(33===l.charCodeAt(N+2)&&(U+=l.substring(N,z+1)),y="",_=0)}}0===_&&(D+=y)}T=A,A=f,z++}if(0<(N=U.length)){if(B=s,0<I&&void 0!==(x=a(2,U,B,n,P,j,N,u,h,u))&&0===(U=x).length)return W+U+V;if(U=B.join(",")+"{"+U+"}",0!=E*S){switch(2!==E||r(U,2)||(S=0),S){case 111:U=U.replace(b,":-moz-$1")+U;break;case 112:U=U.replace(v,"::-webkit-input-$1")+U.replace(v,"::-moz-$1")+U.replace(v,":-ms-input-$1")+U}S=0}}return W+U+V}(O,s,n,0,0);return 0<I&&void 0!==(l=a(-2,u,s,s,P,j,u.length,0,0,0))&&(u=l),S=0,j=P=1,u}var c=/^\0+/g,d=/[\0\r\f]/g,u=/: */g,h=/zoo|gra/,p=/([,: ])(transform)/g,f=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,b=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,k=/-self|flex-/g,_=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,Z=/([^-])(image-set\()/,j=1,P=1,S=0,E=1,O=[],A=[],I=0,T=null,R=0;return l.use=function e(t){switch(t){case void 0:case null:I=A.length=0;break;default:if("function"==typeof t)A[I++]=t;else if("object"==typeof t)for(var n=0,i=t.length;n<i;++n)e(t[n]);else R=0|!!t}return e},l.set=s,void 0!==e&&s(e),l},h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=(i=function(e){return p.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},r=Object.create(null),function(e){return void 0===r[e]&&(r[e]=i(e)),r[e]}),g=n(8679),m=n.n(g),v=n(3454);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var y=function(e,t){for(var n=[e[0]],i=0,r=t.length;i<r;i+=1)n.push(t[i],e[i+1]);return n},w=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,s.kM)(e)},x=Object.freeze([]),k=Object.freeze({});function _(e){return"function"==typeof e}function C(e){return e.displayName||e.name||"Component"}function Z(e){return e&&"string"==typeof e.styledComponentId}var j=void 0!==v&&void 0!==v.env&&(v.env.REACT_APP_SC_ATTR||v.env.SC_ATTR)||"data-styled",P="undefined"!=typeof window&&"HTMLElement"in window,S=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==v&&void 0!==v.env&&(void 0!==v.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==v.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==v.env.REACT_APP_SC_DISABLE_SPEEDY&&v.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==v.env.SC_DISABLE_SPEEDY&&""!==v.env.SC_DISABLE_SPEEDY&&"false"!==v.env.SC_DISABLE_SPEEDY&&v.env.SC_DISABLE_SPEEDY));function E(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var O=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,r=i;e>=r;)(r<<=1)<0&&E(16,""+e);this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var o=i;o<r;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),i=n+t;this.groupSizes[e]=0;for(var r=n;r<i;r++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],i=this.indexOfGroup(e),r=i+n,o=i;o<r;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),A=new Map,I=new Map,T=1,R=function(e){if(A.has(e))return A.get(e);for(;I.has(T);)T++;var t=T++;
vendor: 4,646 bytes, line 1
1return A.set(e,t),I.set(t,e),t},L=function(e,t){t>=T&&(T=t+1),A.set(e,t),I.set(t,e)},z="style["+j+'][data-styled-version="5.3.11"]',B=RegExp("^"+j+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),M=function(e,t,n){for(var i,r=n.split(","),o=0,a=r.length;o<a;o++)(i=r[o])&&e.registerName(t,i)},N=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),i=[],r=0,o=n.length;r<o;r++){var a=n[r].trim();if(a){var s=a.match(B);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(L(c,l),M(e,c,s[3]),e.getTag().insertRules(l,i)),i.length=0}else i.push(a)}}},F=function(){return n.nc},H=function(e){var t=document.head,n=e||t,i=document.createElement("style"),r=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var i=t[n];if(i&&1===i.nodeType&&i.hasAttribute(j))return i}}(n),o=void 0!==r?r.nextSibling:null;i.setAttribute(j,"active"),i.setAttribute("data-styled-version","5.3.11");var a=F();return a&&i.setAttribute("nonce",a),n.insertBefore(i,o),i},D=function(){function e(e){var t=this.element=H(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,i=t.length;n<i;n++){var r=t[n];if(r.ownerNode===e)return r}E(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),U=function(){function e(e){var t=this.element=H(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),i=this.nodes[e];return this.element.insertBefore(n,i||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),V=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),W=P,G={isServer:!P,useCSSOMInjection:!S},X=function(){function e(e,t,n){void 0===e&&(e=k),void 0===t&&(t={}),this.options=b({},G,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&P&&W&&(W=!1,function(e){for(var t=document.querySelectorAll(z),n=0,i=t.length;n<i;n++){var r=t[n];r&&"active"!==r.getAttribute(j)&&(N(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this))}e.registerId=function(e){return R(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(b({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,n,i;return this.tag||(this.tag=(t=(e=this.options).isServer,n=e.useCSSOMInjection,i=e.target,new O(t?new V(i):n?new D(i):new U(i))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(R(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(R(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(R(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,i="",r=0;r<n;r++){var o,a=(o=r,I.get(o));if(void 0!==a){var s=e.names.get(a),l=t.getGroup(r);if(s&&l&&s.size){var c=j+".g"+r+'[id="'+a+'"]',d="";void 0!==s&&s.forEach(function(e){e.length>0&&(d+=e+",")}),i+=""+l+c+'{content:"'+d+'"}/*!sc*/\n'}}}return i}(this)},e}(),q=/(a)(d)/gi,$=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=$(t%52)+n;return($(t%52)+n).replace(q,"$1-$2")}var Y=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},K=function(e){return Y(5381,e)};function Q(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(_(n)&&!Z(n))return!1}return!0}var ee=K("5.3.11"),et=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Q(e),this.componentId=t,this.baseHash=Y(ee,t),this.baseStyle=n,X.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var i=this.componentId,r=[];if(this.baseStyle&&r.push(this.baseStyle.generateAndInjectStyles(e,t,n
1)),this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(i,this.staticRulesId))r.push(this.staticRulesId);else{var o=eb(this.rules,e,t,n).join(""),a=J(Y(this.baseHash,o)>>>0);if(!t.hasNameForId(i,a)){var s=n(o,"."+a,void 0,i);t.insertRules(i,a,s)}r.push(a),this.staticRulesId=a}}else{for(var l=this.rules.length,c=Y(this.baseHash,n.hash),d="",u=0;u<l;u++){var h=this.rules[u];if("string"==typeof h)d+=h;else if(h){var p=eb(h,e,t,n),f=Array.isArray(p)?p.join(""):p;c=Y(c,f+u),d+=f}}if(d){var g=J(c>>>0);if(!t.hasNameForId(i,g)){var m=n(d,"."+g,void 0,i);t.insertRules(i,g,m)}r.push(g)}}return r.join(" ")},e}(),en=/^\s*\/\/.*$/gm,ei=[":","[",".","#"];function er(e){var t,n,i,r,o=void 0===e?k:e,a=o.options,s=void 0===a?k:a,l=o.plugins,c=void 0===l?x:l,d=new u(s),h=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,i,r,o,a,s,l,c,d,u){switch(n){case 1:if(0===d&&64===i.charCodeAt(0))return e(i+";"),"";break;case 2:if(0===c)return i+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(r[0]+i),"";default:return i+(0===u?"/*|*/":"")}case -2:i.split("/*|*/}").forEach(t)}}}(function(e){h.push(e)}),f=function(e,i,o){return 0===i&&-1!==ei.indexOf(o[n.length])||o.match(r)?e:"."+t};function g(e,o,a,s){void 0===s&&(s="&");var l=e.replace(en,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,i=RegExp("\\"+(n=o)+"\\b","g"),r=RegExp("(\\"+n+"\\b){2,}"),d(a||!o?"":o,c)}return d.use([].concat(c,[function(e,t,r){2===e&&r.length&&r[0].lastIndexOf(n)>0&&(r[0]=r[0].replace(i,f))},p,function(e){if(-2===e){var t=h;return h=[],t}}])),g.hash=c.length?c.reduce(function(e,t){return t.name||E(15),Y(e,t.name)},5381).toString():"",g}var eo=l.createContext(),ea=(eo.Consumer,l.createContext()),es=(ea.Consumer,new X),el=er();function ec(){return(0,l.useContext)(eo)||es}function ed(e){var t=(0,l.useState)(e.stylisPlugins),n=t[0],i=t[1],r=ec(),o=(0,l.useMemo)(function(){var t=r;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,l.useMemo)(function(){return er({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return(0,l.useEffect)(function(){d()(n,e.stylisPlugins)||i(e.stylisPlugins)},[e.stylisPlugins]),l.createElement(eo.Provider,{value:o},l.createElement(ea.Provider,{value:a},e.children))}var eu=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=el);var i=n.name+t.hash;e.hasNameForId(n.id,i)||e.insertRules(n.id,i,t(n.rules,i,"@keyframes"))},this.toString=function(){return E(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=el),this.name+e.hash},e}(),eh=/([A-Z])/,ep=/([A-Z])/g,ef=/^ms-/,eg=function(e){return"-"+e.toLowerCase()};function em(e){return eh.test(e)?e.replace(ep,eg).replace(ef,"-ms-"):e}var ev=function(e){return null==e||!1===e||""===e};function eb(e,t,n,i){if(Array.isArray(e)){for(var r,o=[],a=0,s=e.length;a<s;a+=1)""!==(r=eb(e[a],t,n,i))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return ev(e)?"":Z(e)?"."+e.styledComponentId:_(e)?"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:eb(e(t),t,n,i):e instanceof eu?n?(e.inject(n,i),e.getName(i)):e:w(e)?function e(t,n){var i,r=[];for(var o in t)t.hasOwnProperty(o)&&!ev(t[o])&&(Array.isArray(t[o])&&t[o].isCss||_(t[o])?r.push(em(o)+":",t[o],";"):w(t[o])?r.push.apply(r,e(t[o],o)):r.push(em(o)+": "+(null==(i=t[o])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||o in h||o.startsWith("--")?String(i).trim():i+"px")+";"));return n?[n+" {"].concat(r,["}"]):r}(e):e.toString()}var ey=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ew(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return _(e)||w(e)?ey(eb(y(x,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ey(eb(y(e,n)))}var ex=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ek=/(^-|-$)/g;function e_(e){return e.replace(ex,"-").replace(ek,"")}var eC=function(e){return J(K(e)>>>0)};function eZ(e){return"string"==typeof e}var ej=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eP=l.createContext();eP.Consumer;var eS={},eE=function(e){return function e(t,n,i){if(void 0===i&&(i=k),!(0,s.iY)(n))return E(1,String(n));var r=function(){return t(n,i,ew.apply(void 0,arguments))};return r.withConfig=function(r){return e(t,n,b({},i,{},r))},r.attrs=function(r){return e(t,n,b({}
1,i,{attrs:Array.prototype.concat(i.attrs,r).filter(Boolean)}))},r}(function e(t,n,i){var r=Z(t),o=!eZ(t),a=n.attrs,s=void 0===a?x:a,c=n.componentId,d=void 0===c?(y=n.displayName,w=n.parentComponentId,eS[j="string"!=typeof y?"sc":e_(y)]=(eS[j]||0)+1,P=j+"-"+eC("5.3.11"+j+eS[j]),w?w+"-"+P:P):c,u=n.displayName,h=void 0===u?eZ(t)?"styled."+t:"Styled("+C(t)+")":u,p=n.displayName&&n.componentId?e_(n.displayName)+"-"+n.componentId:n.componentId||d,g=r&&t.attrs?Array.prototype.concat(t.attrs,s).filter(Boolean):s,v=n.shouldForwardProp;r&&t.shouldForwardProp&&(v=n.shouldForwardProp?function(e,i,r){return t.shouldForwardProp(e,i,r)&&n.shouldForwardProp(e,i,r)}:t.shouldForwardProp);var y,w,j,P,S,E=new et(i,p,r?t.componentStyle:void 0),O=E.isStatic&&0===s.length,A=function(e,t){return function(e,t,n,i){var r,o,a,s,c,d,u,h=e.attrs,p=e.componentStyle,g=e.defaultProps,m=e.foldedComponentIds,v=e.shouldForwardProp,y=e.styledComponentId,w=e.target,x=(r=(0,l.useContext)(eP),void 0===(o=g)&&(o=k),void 0===(a=t.theme!==o.theme&&t.theme||r||o.theme||k)&&(a=k),s=b({},t,{theme:a}),c={},h.forEach(function(e){var t,n,i,r=e;for(t in _(r)&&(r=r(s)),r)s[t]=c[t]="className"===t?(n=c[t],i=r[t],n&&i?n+" "+i:n||i):r[t]}),[s,c]),C=x[0],Z=x[1],j=(d=ec(),u=(0,l.useContext)(ea)||el,i?p.generateAndInjectStyles(k,d,u):p.generateAndInjectStyles(C,d,u)),P=Z.$as||t.$as||Z.as||t.as||w,S=eZ(P),E=Z!==t?b({},t,{},Z):t,O={};for(var A in E)"$"!==A[0]&&"as"!==A&&("forwardedAs"===A?O.as=E[A]:(v?v(A,f,P):!S||f(A))&&(O[A]=E[A]));return t.style&&Z.style!==t.style&&(O.style=b({},t.style,{},Z.style)),O.className=Array.prototype.concat(m,y,j!==y?j:null,t.className,Z.className).filter(Boolean).join(" "),O.ref=n,(0,l.createElement)(P,O)}(S,e,t,O)};return A.displayName=h,(S=l.forwardRef(A)).attrs=g,S.componentStyle=E,S.displayName=h,S.shouldForwardProp=v,S.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):x,S.styledComponentId=p,S.target=r?t.target:t,S.withComponent=function(t){var r=n.componentId,o=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i<o.length;i++)t.indexOf(n=o[i])>=0||(r[n]=e[n]);return r}(n,["componentId"]),a=r&&r+"-"+(eZ(t)?t:e_(C(t)));return e(t,b({},o,{attrs:g,componentId:a}),i)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function e(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(var o=0;o<i.length;o++){var a=i[o];if(ej(a))for(var s in a)"__proto__"!==s&&"constructor"!==s&&"prototype"!==s&&function(t,n,i){var r=t[i];ej(n)&&ej(r)?e(r,n):t[i]=n}(t,a[s],s)}return t}({},t.defaultProps,e):e}}),Object.defineProperty(S,"toString",{value:function(){return"."+S.styledComponentId}}),o&&m()(S,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S},e)};function eO(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=ew.apply(void 0,[e].concat(n)).join("");return new eu(eC(r),r)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){eE[e]=eE(e)}),(o=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),X.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,n,i){var r=i(eb(this.rules,t,n,i).join(""),""),o=this.componentId+e;n.insertRules(o,o,r)},o.removeStyles=function(e,t){t.clearRules(this.componentId+e)},o.renderStyles=function(e,t,n,i){e>2&&X.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,i)},(a=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=F();
1return"<style "+[n&&'nonce="'+n+'"',j+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?E(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return E(2);var t,n=((t={})[j]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=F();return i&&(n.nonce=i),[l.createElement("style",b({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new X({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?E(2):l.createElement(ed,{sheet:this.instance},e)},a.interleaveWithNodeStream=function(e){return E(3)};var eA=eE},83:function(e,t,n){"use strict";var i=n(7294),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useState,a=i.useEffect,s=i.useLayoutEffect,l=i.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=o({inst:{value:n,getSnapshot:t}}),r=i[0].inst,d=i[1];return s(function(){r.value=n,r.getSnapshot=t,c(r)&&d({inst:r})},[e,n,t]),a(function(){return c(r)&&d({inst:r}),e(function(){c(r)&&d({inst:r})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:d},6251:function(e,t,n){"use strict";var i=n(7294),r=n(1688),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useSyncExternalStore,s=i.useRef,l=i.useEffect,c=i.useMemo,d=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,r){var u=s(null);if(null===u.current){var h={hasValue:!1,value:null};u.current=h}else h=u.current;var p=a(e,(u=c(function(){function e(e){if(!l){if(l=!0,a=e,e=i(e),void 0!==r&&h.hasValue){var t=h.value;if(r(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=i(e);return void 0!==r&&r(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,i,r]))[0],u[1]);return l(function(){h.hasValue=!0,h.value=p},[p]),d(p),p}},1688:function(e,t,n){"use strict";e.exports=n(83)},2798:function(e,t,n){"use strict";e.exports=n(6251)},3399:function(e,t,n){var i=n(8833).default;function r(){"use strict";e.exports=r=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function h(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,n){return e[t]=n}}function p(e,n,i,r){var o,a,l=Object.create((n&&n.prototype instanceof y?n:y).prototype);return s(l,"_invoke",{value:(o=new O(r||[]),a=g,function(n,r){if(a===m)throw Error("Generator is already running");if(a===v){if("throw"===n)throw r;return{value:t,done:!0}}for(o.method=n,o.arg=r;;){var s=o.delegate;if(s){var l=function e(n,i){var r=i.method,o=n.iterator[r];if(o===t)return i.delegate=null,"throw"===r&&n.iterator.return&&(i.method="return",i.arg=t,e(n,i),"throw"===i.method)||"return"!==r&&(i.method="throw",i.arg=TypeError("The iterator does not provide a '"+r+"' method")),b;var a=f(o,n.iterator,i.arg);if("throw"===a.type)return i.method="throw",i.arg=a.arg,i.delegate=null,b;var s=a.arg;return s?s.done?(i[n.resultName]=s.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):s:(i.method="throw",i.arg=TypeError("iterator result is not an object"),i.delegate=null,b)}(s,o);if(l){if(l===b)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(a===g)throw a=v,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a=m;var c=f(e,i,o);if("normal"===c.type){if(a=o.done?v:"suspendedYield",c.arg===b)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(a=v,o.method="throw",o.arg=c.arg)}})}),l}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var g="suspendedStart",m="executing",v="completed",b={};function y(){}function w(){}function x(){}var k={};h(k,c,function(){return this});var _=Object.getPrototypeOf,C=_&&_(_(A([])));C&&C!==o&&a.call(C,c)&&(k=C);var Z=x.prototype=y.prototype=Object.create(k);function j(e){["next","throw","return"].forEach(function(t){h(e,t,function(e){return this._invoke(t,e)})})}function P(e,t){var n;s(this,"_invoke",{value:function(r,o){function s(){return new t(function(n,s){!function n(r,o,s,l){var c=f(e[r],e,o);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==i(u)&&a.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,s,l)},function(e){n("throw",e,s,l)}):t.resolve(u).then(function(e){d.value=e,s(d)},function(e){return n("throw",e,s,l)})}l(c.arg)}(r,o,n,s)})}return n=n?n.then(s,s):s()}})}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e||""===e){var n=e[c];if(n)return n.call(e);
vendor: 4,466 bytes, line 1
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(a.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw TypeError(i(e)+" is not iterable")}return w.prototype=x,s(Z,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:w,configurable:!0}),w.displayName=h(x,u,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,h(e,u,"GeneratorFunction")),e.prototype=Object.create(Z),e},n.awrap=function(e){return{__await:e}},j(P.prototype),h(P.prototype,d,function(){return this}),n.AsyncIterator=P,n.async=function(e,t,i,r,o){void 0===o&&(o=Promise);var a=new P(p(e,t,i,r),o);return n.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},j(Z),h(Z,u,"Generator"),h(Z,c,function(){return this}),h(Z,"toString",function(){return"[object Generator]"}),n.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},n.values=A,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),c=a.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&a.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;E(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:A(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),b}},n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},8833:function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5478:function(e,t,n){var i=n(3399)();e.exports=i;try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},9036:function(e,t,n){"use strict";let i;n.d(t,{$d:function(){return Y},LF:function(){return H},M$:function(){return F},Xj:function(){return W},bS:function(){return q},f0:function(){return G}});var r=n(7294),o=n(7066),a=Object.defineProperty,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>
1{for(var n in t||(t={}))l.call(t,n)&&d(e,n,t[n]);if(s)for(var n of s(t))c.call(t,n)&&d(e,n,t[n]);return e},h=(e,t)=>{var n={};for(var i in e)l.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&s)for(var i of s(e))0>t.indexOf(i)&&c.call(e,i)&&(n[i]=e[i]);return n},p=Object.defineProperty,f=Object.defineProperties,g=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,y=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&y(e,n,t[n]);if(m)for(var n of m(t))b.call(t,n)&&y(e,n,t[n]);return e},x=(e,t)=>f(e,g(t));let k=!1,_=[],C=e=>new Promise((t,n)=>{if("undefined"==typeof window||(window.storyblokRegisterEvent=e=>{if(window.location===window.parent.location){console.warn("You are not in Draft Mode or in the Visual Editor.");return}k?e():_.push(e)},document.getElementById("storyblok-javascript-bridge")))return;let i=document.createElement("script");i.async=!0,i.src=e,i.id="storyblok-javascript-bridge",i.onerror=e=>n(e),i.onload=e=>{_.forEach(e=>e()),k=!0,t(e)},document.getElementsByTagName("head")[0].appendChild(i)}),Z=function(e,t){if(!e)return null;let n={};for(let i in e){let r=e[i];t.indexOf(i)>-1&&null!==r&&(n[i]=r)}return n},j=e=>"email"===e;var 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:Z(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"strike"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link(e){let t=w({},e.attrs),{linktype:n="url"}=e.attrs;return j(n)&&(t.href=`mailto:${t.href}`),t.anchor&&(t.href=`${t.href}#${t.anchor}`,delete t.anchor),{tag:[{tag:"a",attrs:t}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]})}};let S=function(e){let t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},n=/[&<>"']/g,i=RegExp(n.source);return e&&i.test(e)?e.replace(n,e=>t[e]):e};class E{constructor(e){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={}){if(e.content&&Array.isArray(e.content)){let t="";return e.content.forEach(e=>{t+=this.renderNode(e)}),t}return console.warn("The render method must receive an object with a content field, which is an array"),""}renderNode(e){let t=[];e.marks&&e.marks.forEach(e=>{let n=this.getMatchingMark(e);n&&t.push(this.renderOpeningTag(n.tag))});let n=this.getMatchingNode(e);return n&&n.tag&&t.push(this.renderOpeningTag(n.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(S(e.text)):n&&n.singleTag?t.push(this.renderTag(n.singleTag," /")):n&&n.html&&t.push(n.html),n&&n.tag&&t.push(this.renderClosingTag(n.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let n=this.getMatchingMark(e);n&&t.push(this.renderClosingTag(n.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let n=`<${e.tag}`;if(e.attrs)for(let t in e.attrs){let i=e.attrs[t];null!==i&&(n+=` ${t}="${i}"`)}return`${n}${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){if("function"==typeof this.nodes[e.type])return this.nodes[e.type](e)}getMatchingMark(e){if("function"==typeof this.marks[e.type])return this.marks[e.type](e)}}function O(e){return"number"==typeof e&&e==e&&e!==1/0&&e!==-1/0}function A(e,t,n){if(!O(t))throw TypeError("Expected `limit` to be a finite number");if(!O(n))throw TypeError("Expected `interval` to be a finite number");var i=[],r=[],o=0,a=function(){o++;var t=setTimeout(function(){o--,i.length>0&&a(),r=r.filter(function(e){return e!==t})},n);0>r.indexOf(t)&&r.push(t);var s=i.shift();s.resolve(e.apply(s.self,s.args))},s=function(){var e=arguments,n=this;return new Promise(function(r,s){i.push({resolve:r,reject:s,args:e,self:n}),o<t&&a()})};
1return s.abort=function(){r.forEach(clearTimeout),r=[],i.forEach(function(e){e.reject(new throttle.AbortError)}),i.length=0},s}A.AbortError=function(){Error.call(this,"Throttled function aborted"),this.name="AbortError"};let I=function(e,t){if(!e)return null;let n={};for(let i in e){let r=e[i];t.indexOf(i)>-1&&null!==r&&(n[i]=r)}return n};var T={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:I(e.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"strike"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link(e){let t=w({},e.attrs),{linktype:n="url"}=e.attrs;return"email"===n&&(t.href=`mailto:${t.href}`),t.anchor&&(t.href=`${t.href}#${t.anchor}`,delete t.anchor),{tag:[{tag:"a",attrs:t}]}},styled:e=>({tag:[{tag:"span",attrs:e.attrs}]})}};class R{constructor(e){e||(e=T),this.marks=e.marks||[],this.nodes=e.nodes||[]}addNode(e,t){this.nodes[e]=t}addMark(e,t){this.marks[e]=t}render(e={}){if(e.content&&Array.isArray(e.content)){let t="";return e.content.forEach(e=>{t+=this.renderNode(e)}),t}return console.warn("The render method must receive an object with a content field, which is an array"),""}renderNode(e){let t=[];e.marks&&e.marks.forEach(e=>{let n=this.getMatchingMark(e);n&&t.push(this.renderOpeningTag(n.tag))});let n=this.getMatchingNode(e);return n&&n.tag&&t.push(this.renderOpeningTag(n.tag)),e.content?e.content.forEach(e=>{t.push(this.renderNode(e))}):e.text?t.push(function(e){let t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},n=/[&<>"']/g,i=RegExp(n.source);return e&&i.test(e)?e.replace(n,e=>t[e]):e}(e.text)):n&&n.singleTag?t.push(this.renderTag(n.singleTag," /")):n&&n.html&&t.push(n.html),n&&n.tag&&t.push(this.renderClosingTag(n.tag)),e.marks&&e.marks.slice(0).reverse().forEach(e=>{let n=this.getMatchingMark(e);n&&t.push(this.renderClosingTag(n.tag))}),t.join("")}renderTag(e,t){return e.constructor===String?`<${e}${t}>`:e.map(e=>{if(e.constructor===String)return`<${e}${t}>`;{let n=`<${e.tag}`;if(e.attrs)for(let t in e.attrs){let i=e.attrs[t];null!==i&&(n+=` ${t}="${i}"`)}return`${n}${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){if("function"==typeof this.nodes[e.type])return this.nodes[e.type](e)}getMatchingMark(e){if("function"==typeof this.marks[e.type])return this.marks[e.type](e)}}let L=(e=0,t=e)=>{let n=e<t?1:-1;return((e=0,t)=>[...Array(e)].map(t))(Math.abs(t-e)||0,(t,i)=>i*n+e)},z=(e,t,n)=>{let i=[];for(let r in e){let o;if(!Object.prototype.hasOwnProperty.call(e,r))continue;let a=e[r],s=n?"":encodeURIComponent(r);o="object"==typeof a?z(a,t?t+encodeURIComponent("["+s+"]"):s,Array.isArray(a)):(t?t+encodeURIComponent("["+s+"]"):s)+"="+encodeURIComponent(a),i.push(o)}return i.join("&")},B={},M={};class N{constructor(e,t){if(!t){let n=e.region?`-${e.region}`:"",i=!1===e.https?"http":"https";t=void 0===e.oauthToken?`${i}://api${n}.storyblok.com/v2`:`${i}://api${n}.storyblok.com/v1`}let n=Object.assign({},e.headers),i=5;void 0!==e.oauthToken&&(n.Authorization=e.oauthToken,i=3),void 0!==e.rateLimit&&(i=e.rateLimit),this.richTextResolver=new R(e.richTextSchema),"function"==typeof e.componentResolver&&this.setComponentResolver(e.componentResolver),this.maxRetries=e.maxRetries||5,this.throttle=A(this.throttledRequest,i,1e3),this.accessToken=e.accessToken,this.relations={},this.links={},this.cache=e.cache||{clear:"manual"},this.client=o.default.create({baseURL:t,timeout:e.timeout||0,headers:n,proxy:e.proxy||!1}),e.responseInterceptor&&this.client.interceptors.response.use(t=>e.responseInterceptor(t)),this.resolveNestedRelations=e.resolveNestedRelations||!0}setComponentResolver(e){this.richTextResolver.addNode("blok",t=>{let n="";return t.attrs.body.forEach(t=>{n+=e(t.component,t)}),{html:n}})}
1parseParams(e={}){return e.version||(e.version="published"),e.token||(e.token=this.getToken()),e.cv||(e.cv=M[e.token]),Array.isArray(e.resolve_relations)&&(e.resolve_relations=e.resolve_relations.join(",")),e}factoryParamOptions(e,t={}){return((e="")=>e.indexOf("/cdn/")>-1)(e)?this.parseParams(t):t}makeRequest(e,t,n,i){let r=this.factoryParamOptions(e,((e={},t=25,n=1)=>x(w({},e),{per_page:t,page:n}))(t,n,i));return this.cacheResponse(e,r)}get(e,t){let n=`/${e}`,i=this.factoryParamOptions(n,t);return this.cacheResponse(n,i)}async getAll(e,t={},n){let i=t.per_page||25,r=`/${e}`,o=r.split("/");n=n||o[o.length-1];let a=await this.makeRequest(r,t,i,1),s=a.total?Math.ceil(a.total/i):1;return((e=[],t)=>e.map(t).reduce((e,t)=>[...e,...t],[]))([a,...await (async(e=[],t)=>Promise.all(e.map(t)))(L(1,s),async e=>this.makeRequest(r,t,i,e+1))],e=>Object.values(e.data[n]))}post(e,t){let n=`/${e}`;return this.throttle("post",n,t)}put(e,t){let n=`/${e}`;return this.throttle("put",n,t)}delete(e,t){let n=`/${e}`;return this.throttle("delete",n,t)}getStories(e){return this.get("cdn/stories",e)}getStory(e,t){return this.get(`cdn/stories/${e}`,t)}setToken(e){this.accessToken=e}getToken(){return this.accessToken}_cleanCopy(e){return JSON.parse(JSON.stringify(e))}_insertLinks(e,t){let n=e[t];n&&"multilink"==n.fieldtype&&"story"==n.linktype&&"string"==typeof n.id&&this.links[n.id]?n.story=this._cleanCopy(this.links[n.id]):n&&"story"===n.linktype&&"string"==typeof n.uuid&&this.links[n.uuid]&&(n.story=this._cleanCopy(this.links[n.uuid]))}_insertRelations(e,t,n){if(n.indexOf(e.component+"."+t)>-1){if("string"==typeof e[t])this.relations[e[t]]&&(e[t]=this._cleanCopy(this.relations[e[t]]));else if(e[t].constructor===Array){let n=[];e[t].forEach(e=>{this.relations[e]&&n.push(this._cleanCopy(this.relations[e]))}),e[t]=n}}}_insertAssetsRelations(e,t){t.forEach(t=>{e.id===t.id&&(e.original=t,e.original.filename=e.filename,e.original.filename=e.original.filename.includes("https://s3.amazonaws.com/")?e.original.filename:e.original.filename.replace("https://","https://s3.amazonaws.com/"),delete e.original.s3_filename)})}iterateTree(e,t){let n=e=>{if(null!=e){if(e.constructor===Array)for(let t=0;t<e.length;t++)n(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),this._insertLinks(e,i)):"id"in e&&"asset"===e.fieldtype&&this._insertAssetsRelations(e,t),n(e[i])}}};n(e.content)}async resolveLinks(e,t){let n=[];if(e.link_uuids){let i=e.link_uuids.length,r=[];for(let t=0;t<i;t+=50){let n=Math.min(i,t+50);r.push(e.link_uuids.slice(t,n))}for(let e=0;e<r.length;
1e++)(await this.getStories({per_page:50,language:t.language,version:t.version,by_uuids:r[e].join(",")})).data.stories.forEach(e=>{n.push(e)})}else n=e.links;n.forEach(e=>{this.links[e.uuid]=x(w({},e),{_stopResolving:!0})})}async resolveRelations(e,t){let n=[];if(e.rel_uuids){let i=e.rel_uuids.length,r=[];for(let t=0;t<i;t+=50){let n=Math.min(i,t+50);r.push(e.rel_uuids.slice(t,n))}for(let e=0;e<r.length;e++)(await this.getStories({per_page:50,language:t.language,version:t.version,by_uuids:r[e].join(",")})).data.stories.forEach(e=>{n.push(e)})}else n=e.rels;n.forEach(e=>{this.relations[e.uuid]=x(w({},e),{_stopResolving:!0})})}async resolveStories(e,t){let n=[];if(void 0!==t.resolve_relations&&t.resolve_relations.length>0&&(e.rels||e.rel_uuids)&&(n=t.resolve_relations.split(","),await this.resolveRelations(e,t)),["1","story","url"].indexOf(t.resolve_links)>-1&&(e.links||e.link_uuids)&&await this.resolveLinks(e,t),this.resolveNestedRelations)for(let e in this.relations)this.iterateTree(this.relations[e],n);e.story?this.iterateTree(e.story,n):e.stories.forEach(e=>{this.iterateTree(e,n)})}resolveAssetsRelations(e){let{assets:t,stories:n,story:i}=e;if(n)for(let e of n)this.iterateTree(e,t);else{if(!i)return e;this.iterateTree(i,t)}}cacheResponse(e,t,n){return void 0===n&&(n=0),new Promise(async(i,r)=>{var o;let a=z({url:e,params:t}),s=this.cacheProvider();if("auto"===this.cache.clear&&"draft"===t.version&&await this.flushCache(),"published"===t.version&&"/cdn/spaces/me"!=e){let e=await s.get(a);if(e)return i(e)}try{let n=await this.throttle("get",e,{params:t,paramsSerializer:e=>z(e)}),o={data:n.data,headers:n.headers};if(o.data.assets&&o.data.assets.length&&this.resolveAssetsRelations(o.data),o=Object.assign({},o,{perPage:n.headers["per-page"]?parseInt(n.headers["per-page"]):0,total:n.headers["per-page"]?parseInt(n.headers.total):0}),200!=n.status)return r(n);(o.data.story||o.data.stories)&&await this.resolveStories(o.data,t),"published"===t.version&&"/cdn/spaces/me"!=e&&s.set(a,o),o.data.cv&&("draft"==t.version&&M[t.token]!=o.data.cv&&this.flushCache(),M[t.token]=o.data.cv),i(o)}catch(a){if(a.response&&429===a.response.status&&(n+=1)<this.maxRetries)return console.log(`Hit rate limit. Retrying in ${n} seconds.`),await (o=1e3*n,new Promise(e=>setTimeout(e,o))),this.cacheResponse(e,t,n).then(i).catch(r);r(a)}})}throttledRequest(e,t,n){return this.client[e](t,n)}cacheVersions(){return M}cacheVersion(){return M[this.accessToken]}setCacheVersion(e){this.accessToken&&(M[this.accessToken]=e)}cacheProvider(){return"memory"===this.cache.type?{get:e=>B[e],getAll:()=>B,set(e,t){B[e]=t},flush(){B={}}}:{get(){},getAll(){},set(){},flush(){}}}async flushCache(){return await this.cacheProvider().flush(),this}}let F=(e={})=>{let{apiOptions:t}=e;if(!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 N(t)}};var H=e=>{if("object"!=typeof e||void 0===e._editable)return{};let t=JSON.parse(e._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));return{"data-blok-c":JSON.stringify(t),"data-blok-uid":t.id+"-"+t.uid}};let D=(e,t,n={})=>{if("undefined"!=typeof window){if(void 0===window.storyblokRegisterEvent){console.error("Storyblok Bridge is disabled. Please enable it to use it. Read https://github.com/storyblok/storyblok-js");return}if(!e){console.warn("Story ID is not defined. Please provide a valid ID.");return}window.storyblokRegisterEvent(()=>{new window.StoryblokBridge(n).on(["input","published","change"],n=>{"input"===n.action&&n.story.id===e?t(n.story):("change"===n.action||"published"===n.action)&&n.storyId===e&&window.location.reload()})})}},U=(e={})=>{let{bridge:t,accessToken:n,use:r=[],apiOptions:o={},richText:a={}}=e;o.accessToken=o.accessToken||n;let s={bridge:t,apiOptions:o},l={};return r.forEach(e=>{l=w(w({},l),e(s))}),!1!==t&&C("https://app.storyblok.com/f/storyblok-v2-latest.js"),i=new E(a.schema),a.resolver&&V(i,a.resolver),l},V=(e,t)=>{e.addNode("blok",e=>{let n="";
1return e.attrs.body.forEach(e=>{n+=t(e.component,e)}),{html:n}})},W=(0,r.forwardRef)((e,t)=>{var{blok:n}=e,i=h(e,["blok"]);if(!n)return console.error("Please provide a 'blok' property to the StoryblokComponent"),r.createElement("div",null,"Please provide a blok property to the StoryblokComponent");let o=J(n.component);return o?r.createElement(o,u({ref:t,blok:n},i)):r.createElement("div",null)});W.displayName="StoryblokComponent";let G=(e={},t={},n=!0)=>{let[i,o]=(0,r.useState)(e);return n?((0,r.useEffect)(()=>{D(i.id,e=>o(e),t),o(e)},[e]),i):e},X=null,q=()=>(X||console.error("You can't use getStoryblokApi if you're not loading apiPlugin."),X),$={},J=e=>$[e]?$[e]:(console.error(`Component ${e} doesn't exist.`),!1),Y=(e={})=>{let{storyblokApi:t}=U(e);X=t,$=e.components}},7066:function(e,t,n){"use strict";let i,r,o,a;n.d(t,{default:function(){return tp}});var s,l,c,d,u={};function h(e,t){return function(){return e.apply(t,arguments)}}n.r(u),n.d(u,{hasBrowserEnv:function(){return ev},hasStandardBrowserEnv:function(){return ey},hasStandardBrowserWebWorkerEnv:function(){return ew},navigator:function(){return eb},origin:function(){return ex}});var p=n(3454);let{toString:f}=Object.prototype,{getPrototypeOf:g}=Object,{iterator:m,toStringTag:v}=Symbol,b=(i=Object.create(null),e=>{let t=f.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())}),y=e=>(e=e.toLowerCase(),t=>b(t)===e),w=e=>t=>typeof t===e,{isArray:x}=Array,k=w("undefined");function _(e){return null!==e&&!k(e)&&null!==e.constructor&&!k(e.constructor)&&j(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let C=y("ArrayBuffer"),Z=w("string"),j=w("function"),P=w("number"),S=e=>null!==e&&"object"==typeof e,E=e=>{if("object"!==b(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(v in e)&&!(m in e)},O=y("Date"),A=y("File"),I=y("Blob"),T=y("FileList"),R=y("URLSearchParams"),[L,z,B,M]=["ReadableStream","Request","Response","Headers"].map(y);function N(e,t,{allOwnKeys:n=!1}={}){let i,r;if(null!=e){if("object"!=typeof e&&(e=[e]),x(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{let r;if(_(e))return;let o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;for(i=0;i<a;i++)r=o[i],t.call(null,e[r],r,e)}}}function F(e,t){let n;if(_(e))return null;t=t.toLowerCase();let i=Object.keys(e),r=i.length;for(;r-- >0;)if(t===(n=i[r]).toLowerCase())return n;return null}let H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=e=>!k(e)&&e!==H,U=(r="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>r&&e instanceof r),V=y("HTMLFormElement"),W=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),G=y("RegExp"),X=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),i={};N(n,(n,r)=>{let o;!1!==(o=t(n,r,e))&&(i[r]=o||n)}),Object.defineProperties(e,i)},q=y("AsyncFunction"),$=(s="function"==typeof setImmediate,l=j(H.postMessage),s?setImmediate:l?(c=`axios@${Math.random()}`,d=[],H.addEventListener("message",({source:e,data:t})=>{e===H&&t===c&&d.length&&d.shift()()},!1),e=>{d.push(e),H.postMessage(c,"*")}):e=>setTimeout(e)),J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(H):void 0!==p&&p.nextTick||$;var Y={isArray:x,isArrayBuffer:C,isBuffer:_,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||j(e.append)&&("formdata"===(t=b(e))||"object"===t&&j(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&C(e.buffer)},isString:Z,isNumber:P,isBoolean:e=>!0===e||!1===e,isObject:S,isPlainObject:E,isEmptyObject:e=>{if(!S(e)||_(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:L,isRequest:z,isResponse:B,isHeaders:M,isUndefined:k,isDate:O,isFile:A,isBlob:I,isRegExp:G,isFunction:j,isStream:e=>S(e)&&j(e.pipe),isURLSearchParams:R,isTypedArray:U,isFileList:T,forEach:N,merge:function e(){let{caseless:t,skipUndefined:n}=D(this)&&this||{},i={},r=(r,o)=>{let a=t&&F(i,o)||o;
1E(i[a])&&E(r)?i[a]=e(i[a],r):E(r)?i[a]=e({},r):x(r)?i[a]=r.slice():n&&k(r)||(i[a]=r)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&N(arguments[e],r);return i},extend:(e,t,n,{allOwnKeys:i}={})=>(N(t,(t,i)=>{n&&j(t)?e[i]=h(t,n):e[i]=t},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let r,o,a;let s={};if(t=t||{},null==e)return t;do{for(o=(r=Object.getOwnPropertyNames(e)).length;o-- >0;)a=r[o],(!i||i(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=!1!==n&&g(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let i=e.indexOf(t,n);return -1!==i&&i===n},toArray:e=>{if(!e)return null;if(x(e))return e;let t=e.length;if(!P(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let i=(e&&e[m]).call(e);for(;(n=i.next())&&!n.done;){let i=n.value;t.call(e,i[0],i[1])}},matchAll:(e,t)=>{let n;let i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:V,hasOwnProperty:W,hasOwnProp:W,reduceDescriptors:X,freezeMethods:e=>{X(e,(t,n)=>{if(j(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(j(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(x(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:F,global:H,isContextDefined:D,isSpecCompliantForm:function(e){return!!(e&&j(e.append)&&"FormData"===e[v]&&e[m])},toJSONObject:e=>{let t=Array(10),n=(e,i)=>
1{if(S(e)){if(t.indexOf(e)>=0)return;if(_(e))return e;if(!("toJSON"in e)){t[i]=e;let r=x(e)?[]:{};return N(e,(e,t)=>{let o=n(e,i+1);k(o)||(r[t]=o)}),t[i]=void 0,r}}return e};return n(e,0)},isAsyncFn:q,isThenable:e=>e&&(S(e)||j(e))&&j(e.then)&&j(e.catch),setImmediate:$,asap:J,isIterable:e=>null!=e&&j(e[m])};function K(e,t,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}Y.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=K.prototype,ee={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ee[e]={value:e}}),Object.defineProperties(K,ee),Object.defineProperty(Q,"isAxiosError",{value:!0}),K.from=(e,t,n,i,r,o)=>{let a=Object.create(Q);Y.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let s=e&&e.message?e.message:"Error",l=null==t&&e?e.code:t;return K.call(a,s,l,n,i,r),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",o&&Object.assign(a,o),a};var et=n(1876).Buffer;function en(e){return Y.isPlainObject(e)||Y.isArray(e)}function ei(e){return Y.endsWith(e,"[]")?e.slice(0,-2):e}function er(e,t,n){return e?e.concat(t).map(function(e,t){return e=ei(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let eo=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});var ea=function(e,t,n){if(!Y.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let i=(n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Y.isUndefined(t[e])})).metaTokens,r=n.visitor||c,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Y.isSpecCompliantForm(t);if(!Y.isFunction(r))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Y.isDate(e))return e.toISOString();if(Y.isBoolean(e))return e.toString();if(!s&&Y.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(e)||Y.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):et.from(e):e}function c(e,n,r){let s=e;if(e&&!r&&"object"==typeof e){if(Y.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else{var c;if(Y.isArray(e)&&(c=e,Y.isArray(c)&&!c.some(en))||(Y.isFileList(e)||Y.endsWith(n,"[]"))&&(s=Y.toArray(e)))return n=ei(n),s.forEac
1h(function(e,i){Y.isUndefined(e)||null===e||t.append(!0===a?er([n],i,o):null===a?n:n+"[]",l(e))}),!1}}return!!en(e)||(t.append(er(r,n,o),l(e)),!1)}let d=[],u=Object.assign(eo,{defaultVisitor:c,convertValue:l,isVisitable:en});if(!Y.isObject(e))throw TypeError("data must be an object");return!function e(n,i){if(!Y.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+i.join("."));d.push(n),Y.forEach(n,function(n,o){!0===(!(Y.isUndefined(n)||null===n)&&r.call(t,n,Y.isString(o)?o.trim():o,i,u))&&e(n,i?i.concat(o):[o])}),d.pop()}}(e),t};function es(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function el(e,t){this._pairs=[],e&&ea(e,this,t)}let ec=el.prototype;function ed(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eu(e,t,n){let i;if(!t)return e;let r=n&&n.encode||ed;Y.isFunction(n)&&(n={serialize:n});let o=n&&n.serialize;if(i=o?o(t,n):Y.isURLSearchParams(t)?t.toString():new el(t,n).toString(r)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ec.append=function(e,t){this._pairs.push([e,t])},ec.toString=function(e){let t=e?function(t){return e.call(this,t,es)}:es;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eh{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Y.forEach(this.handlers,function(t){null!==t&&e(t)})}}var ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ef="undefined"!=typeof URLSearchParams?URLSearchParams:el,eg="undefined"!=typeof FormData?FormData:null,em="undefined"!=typeof Blob?Blob:null;let ev="undefined"!=typeof window&&"undefined"!=typeof document,eb="object"==typeof navigator&&navigator||void 0,ey=ev&&(!eb||0>["ReactNative","NativeScript","NS"].indexOf(eb.product)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ex=ev&&window.location.href||"http://localhost";var ek={...u,isBrowser:!0,classes:{URLSearchParams:ef,FormData:eg,Blob:em},protocols:["http","https","file","blob","url","data"]},e_=function(e){if(Y.isFormData(e)&&Y.isFunction(e.entries)){let t={};return Y.forEachEntry(e,(e,n)=>{!function e(t,n,i,r){let o=t[r++];if("__proto__"===o)return!0;let a=Number.isFinite(+o),s=r>=t.length;return(o=!o&&Y.isArray(i)?i.length:o,s)?Y.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n:(i[o]&&Y.isObject(i[o])||(i[o]=[]),e(t,n,i[o],r)&&Y.isArray(i[o])&&(i[o]=function(e){let t,n;let i={},r=Object.keys(e),o=r.length;for(t=0;t<o;t++)i[n=r[t]]=e[n];return i}(i[o]))),!a}(Y.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null};let eC={transitional:ep,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let i=t.getContentType()||"",r=i.indexOf("application/json")>-1,o=Y.isObject(e);if(o&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return r?JSON.stringify(e_(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e)||Y.isReadableStream(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1){var a,s;return(a=e,s=this.formSerializer,ea(a,new ek.classes.URLSearchParams,{visitor:function(e,t,n,i){return ek.isNode&&Y.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...s})).toString()}if((n=Y.isFileList(e))||i.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return ea(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(Y.isString(e))try{return(0,JSON.parse)(e),Y.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eC.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(Y.isResponse(e)||Y.isReadableStream(e))return e;if(e&&Y.isString(e)&&(n&&!this.responseType||i)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!n&&i){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ek.classes.FormData,Blob:ek.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],e=>{eC.headers[e]={}});let eZ=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ej=e=>{let t,n,i;let r={};return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),t=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!t||r[t]&&eZ[t]||("set-cookie"===t?r[t]?r[t].push(n):r[t]=[n]:r[t]=r[t]?r[t]+", "+n:n)}),r};let eP=Symbol("internals");function eS(e){return e&&String(e).trim().toLowerCase()}function eE(e){return!1===e||null==e?e:Y.isArray(e)?e.map(eE):String(e)}let eO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eA(e,t,n,i,r){if(Y.isFunction(i))return i.call(this,t,n);if(r&&(t=n),Y.isString(t)){if(Y.isString(i))return -1!==t.indexOf(i);if(Y.isRegExp(i))return i.test(t)}}class eI{constructor(e){e&&this.set(e)}set(e,t,n){let i=this;function r(e,t,n){let r=eS(t);if(!r)throw Error("header name must be a non-empty string");let o=Y.findKey(i,r);o&&void 0!==i[o]&&!0!==n&&(void 0!==n||!1===i[o])||(i[o||t]=eE(e))}let o=(e,t)=>Y.forEach(e,(e,n)=>r(e,n,t));if(Y.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Y.isString(e)&&(e=e.trim())&&!eO(e))o(ej(e),t);else if(Y.isObject(e)&&Y.isIterable(e)){let n={},i,r;for(let t of e){if(!Y.isArray(t))throw TypeError("Object iterator must return a key-value pair");
1n[r=t[0]]=(i=n[r])?Y.isArray(i)?[...i,t[1]]:[i,t[1]]:t[1]}o(n,t)}else null!=e&&r(t,e,n);return this}get(e,t){if(e=eS(e)){let n=Y.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=i.exec(e);)n[t[1]]=t[2];return n}(e);if(Y.isFunction(t))return t.call(this,e,n);if(Y.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eS(e)){let n=Y.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eA(this,this[n],n,t)))}return!1}delete(e,t){let n=this,i=!1;function r(e){if(e=eS(e)){let r=Y.findKey(n,e);r&&(!t||eA(n,n[r],r,t))&&(delete n[r],i=!0)}}return Y.isArray(e)?e.forEach(r):r(e),i}clear(e){let t=Object.keys(this),n=t.length,i=!1;for(;n--;){let r=t[n];(!e||eA(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){let t=this,n={};return Y.forEach(this,(i,r)=>{let o=Y.findKey(n,r);if(o){t[o]=eE(i),delete t[r];return}let a=e?r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(r).trim();a!==r&&delete t[r],t[a]=eE(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Y.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&Y.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[eP]=this[eP]={accessors:{}}).accessors,n=this.prototype;function i(e){let i=eS(e);t[i]||(!function(e,t){let n=Y.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(e,n,r){return this[i].call(this,t,e,n,r)},configurable:!0})})}(n,e),t[i]=!0)}return Y.isArray(e)?e.forEach(i):i(e),this}}function eT(e,t){let n=this||eC,i=t||n,r=eI.from(i.headers),o=i.data;return Y.forEach(e,function(e){o=e.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function eR(e){return!!(e&&e.__CANCEL__)}
1function eL(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}function ez(e,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eI.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(eI.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Y.freezeMethods(eI),Y.inherits(eL,K,{__CANCEL__:!0});var eB=function(e,t){let n;let i=Array(e=e||10),r=Array(e),o=0,a=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),c=r[a];n||(n=l),i[o]=s,r[o]=l;let d=a,u=0;for(;d!==o;)u+=i[d++],d%=e;if((o=(o+1)%e)===a&&(a=(a+1)%e),l-n<t)return;let h=c&&l-c;return h?Math.round(1e3*u/h):void 0}},eM=function(e,t){let n,i,r=0,o=1e3/t,a=(t,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-r;s>=o?a(e,t):(n=e,i||(i=setTimeout(()=>{i=null,a(n)},o-s)))},()=>n&&a(n)]};let eN=(e,t,n=3)=>{let i=0,r=eB(50,250);return eM(n=>{let o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-i,l=r(s);i=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},eF=(e,t)=>{let n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},eH=e=>(...t)=>Y.asap(()=>e(...t));var eD=ek.hasStandardBrowserEnv?(o=new URL(ek.origin),a=ek.navigator&&/(msie|trident)/i.test(ek.navigator.userAgent),e=>(e=new URL(e,ek.origin),o.protocol===e.protocol&&o.host===e.host&&(a||o.port===e.port))):()=>!0,eU=ek.hasStandardBrowserEnv?{write(e,t,n,i,r,o,a){if("undefined"==typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];Y.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Y.isString(i)&&s.push(`path=${i}`),Y.isString(r)&&s.push(`domain=${r}`),!0===o&&s.push("secure"),Y.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function eV(e,t,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(i||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eW=e=>e instanceof eI?{...e}:e;function eG(e,t){t=t||{};let n={};function i(e,t,n,i){return Y.isPlainObject(e)&&Y.isPlainObject(t)?Y.merge.call({caseless:i},e,t):Y.isPlainObject(t)?Y.merge({},t):Y.isArray(t)?t.slice():t}function r(e,t,n,r){return Y.isUndefined(t)?Y.isUndefined(e)?void 0:i(void 0,e,n,r):i(e,t,n,r)}function o(e,t){if(!Y.isUndefined(t))return i(void 0,t)}function a(e,t){return Y.isUndefined(t)?Y.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,r,o){return o in t?i(n,r):o in e?i(void 0,n):void 0}let l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>r(eW(e),eW(t),n,!0)};return Y.forEach(Object.keys({...e,...t}),function(i){let o=l[i]||r,a=o(e[i],t[i],i);Y.isUndefined(a)&&o!==s||(n[i]=a)}),n}var eX=e=>{let t=eG({},e),{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;if(t.headers=a=eI.from(a),t.url=eu(eV(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Y.isFormData(n)){if(ek.hasStandardBrowserEnv||ek.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(Y.isFunction(n.getHeaders)){let e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}}if(ek.hasStandardBrowserEnv&&(i&&Y.isFunction(i)&&(i=i(t)),i||!1!==i&&eD(t.url))){let e=r&&o&&eU.read(o);e&&a.set(r,e)}return t},eq="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let i,r,o,a,s;let l=eX(e),c=l.data,d=eI.from(l.headers).normalize(),{responseType:u,onUploadProgress:h,onDownloadProgress:p}=l;function f(){a&&a(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(i),l.signal&&l.signal.removeEventListener("abort",i)}let g=new XMLHttpRequest;function m(){if(!g)return;let i=eI.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());ez(function(e){t(e),f()},function(e){n(e),f()},{data:u&&"text"!==u&&"json"!==u?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:e,request:g}),g=null}g.open(l.method.toUpperCase(),l.url,!0),g.timeout=l.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new K("Request aborted",K.ECONNABORTED,e,g)),g=null)},g.onerror=function(t){let i=new K(t&&t.message?t.message:"Network Error",K.ERR_NETWORK,e,g);i.event=t||null,n(i),g=null},g.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",i=l.transitional||ep;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new K(t,i.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,g)),g=null},void 0===c&&d.setContentType(null),"setRequestHeader"in g&&Y.forEach(d.toJSON(),function(e,t){g.setRequestHeader(t,e)}),Y.isUndefined(l.withCredentials)||(g.withCredentials=!!l.withCredentials),u&&"json"!==u&&(g.responseType=l.responseType),p&&([o,s]=eN(p,!0),g.addEventListener("progress",o)),h&&g.upload&&([r,a]=eN(h),g.upload.addEventListener("progress",r),g.upload.addEventListener("loadend",a)),(l.cancelToken||l.signal)&&(i=t=>{g&&(n(!t||t.type?new eL(null,e,g):t),g.abort(),g=null)},l.cancelToken&&l.cancelToken.subscribe(i),l.signal&&(l.signal.aborted?i():l.signal.addEventListener("abort",i)));let v=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(v&&-1===ek.protocols.indexOf(v)){n(new K("Unsupported protocol "+v+":",K.ERR_BAD_REQUEST,e));return}g.send(c||null)})},e$=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController,r=function(e){if(!n){n=!0,a();let t=e instanceof Error?e:this.reason;i.abort(t instanceof K?t:new eL(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>
1{o=null,r(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t),a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),e=null)};e.forEach(e=>e.addEventListener("abort",r));let{signal:s}=i;return s.unsubscribe=()=>Y.asap(a),s}};let eJ=function*(e,t){let n,i=e.byteLength;if(!t||i<t){yield e;return}let r=0;for(;r<i;)n=r+t,yield e.slice(r,n),r=n},eY=async function*(e,t){for await(let n of eK(e))yield*eJ(n,t)},eK=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eQ=(e,t,n,i)=>{let r;let o=eY(e,t),a=0,s=e=>{!r&&(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{let{done:t,value:i}=await o.next();if(t){s(),e.close();return}let r=i.byteLength;if(n){let e=a+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:e0}=Y,e1=(({Request:e,Response:t})=>({Request:e,Response:t}))(Y.global),{ReadableStream:e2,TextEncoder:e5}=Y.global,e3=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e4=e=>{let t;let{fetch:n,Request:i,Response:r}=e=Y.merge.call({skipUndefined:!0},e1,e),o=n?e0(n):"function"==typeof fetch,a=e0(i),s=e0(r);if(!o)return!1;let l=o&&e0(e2),c=o&&("function"==typeof e5?(t=new e5,e=>t.encode(e)):async e=>new Uint8Array(await new i(e).arrayBuffer())),d=a&&l&&e3(()=>{let e=!1,t=new i(ek.origin,{body:new e2,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),u=s&&l&&e3(()=>Y.isReadableStream(new r("").body)),h={stream:u&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{h[e]||(h[e]=(t,n)=>{let i=t&&t[e];if(i)return i.call(t);throw new K(`Response type '${e}' is not supported`,K.ERR_NOT_SUPPORT,n)})});let p=async e=>{if(null==e)return 0;if(Y.isBlob(e))return e.size;if(Y.isSpecCompliantForm(e)){let t=new i(ek.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Y.isArrayBufferView(e)||Y.isArrayBuffer(e)?e.byteLength:(Y.isURLSearchParams(e)&&(e+=""),Y.isString(e))?(await c(e)).byteLength:void 0},f=async(e,t)=>{let n=Y.toFiniteNumber(e.getContentLength());return null==n?p(t):n};return async e=>{let t,{url:o,method:s,data:l,signal:c,cancelToken:p,timeout:g,onDownloadProgress:m,onUploadProgress:v,responseType:b,headers:y,withCredentials:w="same-origin",fetchOptions:x}=eX(e),k=n||fetch;b=b?(b+"").toLowerCase():"text";let _=e$([c,p&&p.toAbortSignal()],g),C=null,Z=_&&_.unsubscribe&&(()=>{_.unsubscribe()});try{if(v&&d&&"get"!==s&&"head"!==s&&0!==(t=await f(y,l))){let e,n=new i(o,{method:"POST",body:l,duplex:"half"});if(Y.isFormData(l)&&(e=n.headers.get("content-type"))&&y.setContentType(e),n.body){let[e,i]=eF(t,eN(eH(v)));l=eQ(n.body,65536,e,i)}}Y.isString(w)||(w=w?"include":"omit");let n=a&&"credentials"in i.prototype,c={...x,signal:_,method:s.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:n?w:void 0};C=a&&new i(o,c);let p=await (a?k(C,x):k(o,c)),g=u&&("stream"===b||"response"===b);if(u&&(m||g&&Z)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=p[t]});let t=Y.toFiniteNumber(p.headers.get("content-length")),[n,i]=m&&eF(t,eN(eH(m),!0))||[];p=new r(eQ(p.body,65536,n,()=>{i&&i(),Z&&Z()}),e)}b=b||"text";let j=await h[Y.findKey(h,b)||"text"](p,e);return!g&&Z&&Z(),await new Promise((t,n)=>{ez(t,n,{data:j,headers:eI.from(p.headers),status:p.status,statusText:p.statusText,config:e,request:C})})}catch(t){if(Z&&Z(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,e,C),{cause:t.cause||t});throw K.from(t,t&&t.code,e,C)}}},e6=new Map,e8=e=>{let t=e&&e.env||{},{fetch:n,Request:i,Response:r}=t,o=[i,r,n],a=o.length,s,l,c=e6;for(;a--;)s=o[a],void 0===(l=c.get(s))&&c.set(s,l=a?new Map:e4(t)),c=l;return l};e8();let e7={http:null,xhr:eq,fetch:{get:e8}};Y.forEach(e7,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e9=e=>`- ${e}`,te=e=>Y.isFunction(e)||null===e||!1===e;var tt=function(e,t){let n,i;let{length:r}=e=Y.isArray(e)?e:[e],o={};for(let a=0;a<r;a++){let r;if(i=n=e[a],!te(n)&&void 0===(i=e7[(r=String(n)).toLowerCase()]))throw new K(`Unknown adapter '${r}'`);if(i&&(Y.isFunction(i)||(i=i.get(t))))break;o[r||"#"+a]=i}if(!i){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new K("There is no suitable adapter to dispatch the request "+(r?e.length>
11?"since :\n"+e.map(e9).join("\n"):" "+e9(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function tn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eL(null,e)}function ti(e){return tn(e),e.headers=eI.from(e.headers),e.data=eT.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt(e.adapter||eC.adapter,e)(e).then(function(t){return tn(e),t.data=eT.call(e,e.transformResponse,t),t.headers=eI.from(t.headers),t},function(t){return!eR(t)&&(tn(e),t&&t.response&&(t.response.data=eT.call(e,e.transformResponse,t.response),t.response.headers=eI.from(t.response.headers))),Promise.reject(t)})}let tr="1.13.2",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let ta={};to.transitional=function(e,t,n){function i(e,t){return"[Axios v"+tr+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,o)=>{if(!1===e)throw new K(i(r," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!ta[r]&&(ta[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},to.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var ts={assertOptions:function(e,t,n){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);let i=Object.keys(e),r=i.length;for(;r-- >0;){let o=i[r],a=t[o];if(a){let t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new K("option "+o+" must be "+n,K.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:to};let tl=ts.validators;class tc{constructor(e){this.defaults=e||{},this.interceptors={request:new eh,response:new eh}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,i;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:r,paramsSerializer:o,headers:a}=t=eG(this.defaults,t);void 0!==r&&ts.assertOptions(r,{silentJSONParsing:tl.transitional(tl.boolean),forcedJSONParsing:tl.transitional(tl.boolean),clarifyTimeoutError:tl.transitional(tl.boolean)},!1),null!=o&&(Y.isFunction(o)?t.paramsSerializer={serialize:o}:ts.assertOptions(o,{encode:tl.function,serialize:tl.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ts.assertOptions(t,{baseUrl:tl.spelling("baseURL"),withXsrfToken:tl.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=a&&Y.merge(a.common,a[t.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=eI.concat(s,a);let l=[],c=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(c=c&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let d=[];this.interceptors.response.forEach(function(e){d.push(e.fulfilled,e.rejected)});let u=0;if(!c){let e=[ti.bind(this),void 0];for(e.unshift(...l),e.push(...d),i=e.length,n=Promise.resolve(t);u<i;)n=n.then(e[u++],e[u++]);return n}i=l.length;let h=t;for(;u<i;){let e=l[u++],t=l[u++];try{h=e(h)}catch(e){t.call(this,e);break}}try{n=ti.call(this,h)}catch(e){return Promise.reject(e)}for(u=0,i=d.length;u<i;)n=n.then(d[u++],d[u++]);return n}getUri(e){return eu(eV((e=eG(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(e){tc.prototype[e]=function(t,n){return this.request(eG(n||{},{method:e,url:t,data:(n||{}).data}))}}),Y.forEach(["post","put","patch"],function(e){function t(t){return function(n,i,r){return this.request(eG(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}tc.prototype[e]=t(),tc.prototype[e+"Form"]=t(!0)});class td{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,r){n.reason||(n.reason=new eL(e,i,r),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
1subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new td(function(t){e=t}),cancel:e}}}let tu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tu).forEach(([e,t])=>{tu[t]=e});let th=function e(t){let n=new tc(t),i=h(tc.prototype.request,n);return Y.extend(i,tc.prototype,n,{allOwnKeys:!0}),Y.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(eG(t,n))},i}(eC);th.Axios=tc,th.CanceledError=eL,th.CancelToken=td,th.isCancel=eR,th.VERSION=tr,th.toFormData=ea,th.AxiosError=K,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return Y.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eG,th.AxiosHeaders=eI,th.formToJSON=e=>e_(Y.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tt,th.HttpStatusCode=tu,th.default=th;var tp=th},3219:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(3074);function r(e){return function t(n){return 0==arguments.length||(0,i.Z)(n)?t:e.apply(this,arguments)}}},839:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(3219),r=n(3074);function o(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return(0,r.Z)(n)?t:(0,i.Z)(function(t){return e(n,t)});default:return(0,r.Z)(n)&&(0,r.Z)(o)?t:(0,r.Z)(n)?(0,i.Z)(function(t){return e(t,o)}):(0,r.Z)(o)?(0,i.Z)(function(t){return e(n,t)}):e(n,o)}}}},3074:function(e,t,n){"use strict";function i(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}n.d(t,{Z:function(){return i}})},3916:function(e,t,n){"use strict";function i(e){return"[object String]"===Object.prototype.toString.call(e)}n.d(t,{Z:function(){return i}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(3079)}),_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.